query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Starts the underlying persistence engine and makes warppersist ready for use. For instance, with hibernate, it creates a SessionFactory and may open connection pools. This method must be called by your code prior to using any warppersist or hibernate artifacts. If already started, calling this method does nothing, if already stopped, it also does nothing.
public abstract void start();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void start() throws PersistenceException;", "@Override\n\t@SuppressWarnings(\"unchecked\")\n\tpublic void start() {\n\t\tinitLogger();\n\n\t\tif (!databaseEnabled) {\n\t\t\tlog.info(\"DB not enabled.\");\n\t\t\treturn;\n\t\t}\n\n\t\tlog.info(\"DB start ----------\");\n\n\t\tfinal PetiteContainer petiteContainer ...
[ "0.677082", "0.653711", "0.6120046", "0.5977846", "0.5933013", "0.5865931", "0.57869655", "0.57151556", "0.567907", "0.5602075", "0.55830914", "0.5441913", "0.54151225", "0.5379312", "0.5316073", "0.5313358", "0.5289506", "0.5273253", "0.5238522", "0.5217177", "0.52048886", ...
0.0
-1
Stops the underlying persistence engine. For instance, with Hibernate, it closes the SessionFactory. If already stopped, calling this method does nothing. If not yet started, it also does nothing.
public abstract void shutdown();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void stop() {\r\n\t\tlogger.trace(\"JPA: transactional handler for [{}] stopped.\", pojoClassName);\r\n\r\n\t\tif (jpaService != null) {\r\n\t\t\tjpaService.removeEntityManagerFactoryListener(this);\r\n\t\t}\r\n\t}", "public void stop() {\n session.close(false);\n }", "public ...
[ "0.6953473", "0.6510114", "0.6306257", "0.6140964", "0.60994434", "0.6086439", "0.607532", "0.6028935", "0.5976582", "0.5938793", "0.59294856", "0.5904063", "0.5888101", "0.5852708", "0.58486664", "0.58483595", "0.5840194", "0.58299357", "0.5824035", "0.58005613", "0.57973975...
0.0
-1
A factory for warppersist using Hibernate in your Guice module. See for proper documentation on the EDSL.
public static SessionStrategyBuilder usingHibernate() { return new PersistenceServiceBuilderImpl(PersistenceFlavor.HIBERNATE, persistenceModuleVisitor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface IHibernatePersistenceModule extends IPersistenceModule {\r\n\t/**\r\n\t * Retorna a sessao do hibernate\r\n\t * \r\n\t * @return a sessao\r\n\t */\r\n\tSession getSession();\r\n}", "private ORMServiceFactory() { }", "private HibernateToListDAO(){\r\n\t\tfactory = new AnnotationConfiguration()....
[ "0.6455917", "0.63201255", "0.6279872", "0.6179368", "0.6117186", "0.60473704", "0.6037633", "0.5959957", "0.5908664", "0.588633", "0.58375674", "0.5807332", "0.5761171", "0.57359535", "0.5721905", "0.5705237", "0.5656757", "0.5653863", "0.5642639", "0.5609077", "0.55835384",...
0.7103633
0
Constructor de la clase Sala.
public Sala(int butacas) { this.butacas = butacas; contador++; identificador = contador; this.sesiones = new ArrayList<Sesion>(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SlanjePoruke() {\n }", "public Salle() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}", "public AntrianPasien() {\r\n\r\n }", "public Aritmetica(){ }", "public JSFOla() {\n }", "public Pasien() {\r\n }", "public Alojamiento() {\r\n\t}", "public TebakNusantara()\n...
[ "0.80961657", "0.7881193", "0.75729537", "0.75221443", "0.7458783", "0.7451569", "0.74377424", "0.73723584", "0.73570997", "0.7286744", "0.7237931", "0.72338986", "0.7166972", "0.70389473", "0.70059943", "0.7004416", "0.6953432", "0.69425946", "0.69226444", "0.6860888", "0.68...
0.0
-1
Getters Metodo getter de identificador
public int getIdentificador() { return identificador; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java....
[ "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.7737476", "0.76393086", "0.76393086", ...
0.0
-1
Metodo getter de contador
public static int getContador() { return contador; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic char getCont() {\n\t\treturn super.getCont();\n\t}", "public int getcontador(){\nreturn contador;}", "public int getConto() {\n return (Integer)this.getCampo(nomeConto).getValore();\n }", "@Override\n public C get() {\n return content;\n }", "public CuentaContable...
[ "0.7214064", "0.716808", "0.70683044", "0.70612425", "0.69265693", "0.68654627", "0.6864801", "0.68255156", "0.67806536", "0.6759934", "0.6724898", "0.6723508", "0.67024326", "0.6691331", "0.65984", "0.65702164", "0.65695256", "0.6508817", "0.6473046", "0.646834", "0.6455744"...
0.7043904
4
Metodo getter de butacas
public int getButacas() { return butacas; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTipoAtaque(){return tipoAtaque;}", "public String getEtiqueta()\n/* 27: */ {\n/* 28:41 */ return this.etiqueta;\n/* 29: */ }", "public String getNombre()\r\n/* 17: */ {\r\n/* 18:41 */ return this.nombre;\r\n/* 19: */ }", "public String getNombre()\r\n/* 60: */ {\...
[ "0.68325233", "0.6683457", "0.65504324", "0.65487766", "0.65089774", "0.64507437", "0.64488155", "0.6443166", "0.64428324", "0.64428324", "0.6410385", "0.64054793", "0.6346787", "0.6336315", "0.6287692", "0.6276122", "0.62702525", "0.6263442", "0.6259378", "0.62528646", "0.62...
0.6696666
1
Metodo getter de sesiones
public List<Sesion> getSesiones() { return sesiones; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Sessio getSessio() {\n return sessio;\n }", "SessionManager get();", "public SSOToken getSSOToken() {\n return ssoToken;\n }", "public String getSession() {\n return this.session;\n }", "public S segundo() {\n\t\treturn this.segundo;\n\t}", "public String getSessionID() {...
[ "0.74143106", "0.6729481", "0.62450826", "0.61535215", "0.6086487", "0.60404223", "0.60193664", "0.6013236", "0.5993612", "0.59918463", "0.5970369", "0.59490144", "0.5946775", "0.5945763", "0.59390664", "0.5903227", "0.5873728", "0.58638513", "0.585415", "0.5832027", "0.58230...
0.70625323
1
Setters Metodo setter de butacas
public void setButacas(int butacas) { this.butacas = butacas; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setValor(String valor)\n/* 22: */ {\n/* 23:34 */ this.valor = valor;\n/* 24: */ }", "public void setBunga(int tipeBunga){\n }", "public void setNombre(String nombre)\r\n/* 65: */ {\r\n/* 66: 76 */ this.nombre = nombre;\r\n/* 67: */ }", "public void setNombre(...
[ "0.7010111", "0.6851556", "0.67764556", "0.66844046", "0.66748786", "0.6667991", "0.65896374", "0.65658313", "0.65312463", "0.65169406", "0.64626664", "0.64456207", "0.6441361", "0.64122075", "0.6402006", "0.6392659", "0.63888246", "0.6380663", "0.6371337", "0.6349687", "0.63...
0.0
-1
Anade una sesion dada a la lista de sesiones de la sala. Ademas comprueba que no se solapen en el tiempo.
public Boolean anadirSesion(Sesion sesion) { if (sesion == null) { return false; } for (Sesion sesionAux : sesiones) { Boolean valido = true; /* * Comprobamos que no se solapa con las peliculas existentes - No empieza en * mitad de una pelicula - No termina en mitad de una pelicula - No abarca una * pelicula entera */ if (sesion.getFecha().after(sesionAux.getFecha()) && sesion.getFecha().before(sesionAux.finalSesion())) { valido = false; } else if (sesion.finalSesion().after(sesionAux.getFecha()) && sesion.finalSesion().before(sesionAux.finalSesion())) { valido = false; } else if (sesion.getFecha().before(sesionAux.getFecha()) && sesion.finalSesion().after(sesionAux.finalSesion())) { valido = false; } if (!valido) { return false; } if (sesionAux == sesion) { return true; } } sesiones.add(sesion); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Sesion> getSesiones() {\r\n\t\treturn sesiones;\r\n\t}", "@Override\n\tpublic List<Seccion> listarSecciones() {\n\t\t\n \tList<Seccion> secciones= entity.createQuery(\"FROM Seccion\", Seccion.class).getResultList();\n \t\n\t\treturn secciones;\n\t}", "@Override\n public void getAllSystem...
[ "0.6766993", "0.5808061", "0.57960546", "0.57761407", "0.5757384", "0.5731303", "0.569677", "0.5689415", "0.5639655", "0.5621302", "0.5571409", "0.5562962", "0.55537516", "0.5524115", "0.55072975", "0.54012996", "0.5372658", "0.5372096", "0.53557765", "0.53518736", "0.5309239...
0.0
-1
Metodo que elimina una sesion de la sala
public boolean removeSesion(Sesion sesion) { for (Sesion se : this.sesiones) { // Busca la sesion a eliminar if (sesion == se) { this.sesiones.remove(se); return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void deleteBySSO(String sso) {\n\t\t\r\n\t}", "public void eliminar() throws SQLException {\r\n\t\tConexion conexion = new Conexion();\r\n\t\tConnection cn = conexion.conectar();\r\n\t\tStatement stm = cn.createStatement();\r\n\t\t//Delete en users del usuariop con el que iniciaste sesion p...
[ "0.6824332", "0.6676931", "0.65962744", "0.6479146", "0.64766", "0.63778883", "0.6358898", "0.63447845", "0.63414985", "0.6340157", "0.62665874", "0.6266216", "0.62592226", "0.62273276", "0.6222211", "0.62203693", "0.620927", "0.61969423", "0.61905825", "0.6185689", "0.616994...
0.0
-1
invalidate the session , this will clear the data from configured database (Mysql/redis/hazelcast)
@RequestMapping("/logout") public String destroySession(HttpServletRequest request) { request.getSession().invalidate(); return "redirect: "; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void flushAndClearSession();", "void clearSession();", "void clearSession();", "public void invalidateSessionobjects(){\n\n\t}", "public void clearSessionCache() {\n ofy().clear();\n }", "public void clearUserSession() {\n editor.clear();\r\n editor.commit();\r\n }", "@Override\n\t...
[ "0.7700277", "0.74181855", "0.74181855", "0.7312402", "0.72048503", "0.6957548", "0.6957213", "0.6908271", "0.6796207", "0.6796207", "0.67910075", "0.67618495", "0.67455846", "0.670774", "0.6580962", "0.6545152", "0.65436035", "0.652392", "0.64830047", "0.6452641", "0.6442021...
0.0
-1
Create a mock NavController
@Test public void testNavigationToInGameScreen() { NavController mockNavController = mock(NavController.class); // // Create a graphical FragmentScenario for the TitleScreen // FuiydfghjragmentScenario<HomeFragment> titleScenario = FragmentScenario.launchInContainer(HomeFragment.class); // // // Set the NavController property on the fragment // titleScenario.onFragment(fragment -> // Navigation.setViewNavController(fragment.requireView(), mockNavController) // ); // // // Verify that performing a click prompts the correct Navigation action // onView(ViewMatchers.withId(R.id.play_btn)).perform(ViewActions.click()); // verify(mockNavController).navigate(R.id.action_title_screen_to_in_game); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testHomePage() throws Exception{\n System.out.println(\"home\");\n HomeController controller = new HomeController();\n MockMvc mockMvc = standaloneSetup(controller).build();\n mockMvc.perform(get(\"/\")).andExpect(view().name(\"home\"));\n assertEquals(\"ho...
[ "0.59917134", "0.5822823", "0.5758856", "0.57432973", "0.5598477", "0.5571154", "0.5561283", "0.5555181", "0.551688", "0.54771256", "0.5430119", "0.5395464", "0.53745854", "0.5364098", "0.53600323", "0.5352273", "0.5333307", "0.53104633", "0.5286127", "0.52595735", "0.5238167...
0.6396988
0
TODO Autogenerated method stub
@Override public void onCustomDestroy() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onCustomDraw(Graphics2D g) { g.setColor(Color.black); g.fillRect(x, y, width, height); g.setColor(Color.green); for(int i = 0; i < 50; i++){ if(text[i] != null){ g.drawString(text[i], 11, (i*10)+20); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onCustomUpdate() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void Received(Object o, String msg) { if(interval == 50){ for(int i = 0; i < 50; i++){ if(i == 0){ text[i] = null; }else{ text[i-1] = text[i]; } } text[interval-1] = msg; }else{ text[interval] = msg; interval++; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
main method to test the library
public static void main(String[] args) throws IOException, ClassNotFoundException { //Test library merge and append File file1 = new File("C:/pandyDS/SpecA.mgf"); File file2 = new File("C:/pandyDS/SpecA_converted.msp"); SpectraReader rd = new MgfReader(file1); SpectraWriter wr = new MspWriter(file2); ArrayList<Spectrum> spectraAll; spectraAll=rd.readAll(); for(Spectrum s:spectraAll){ wr.write(s); } // File file3 = new File("C:/pandyDS/testfile3.msp"); // MergeLibrary mrg = new MergeLibrary(file1, file2, file3); // mrg.Start(); //AppendLibrary appnd=new AppendLibrary(file1, file2); //appnd.Append(); // File file=new File("C:/pandyDS/testfile.mgf"); // File decoyFile = new File("C:/pandyDS/testfile_decoy" + ".mgf"); // BufferedWriter bw=null; // // Indexer gi; // try { // gi = new Indexer(file); // // List<IndexKey> indxList=gi.generate(); // // // SpectraReader rd = new MgfReader(file, indxList); // SpectraWriter wr = new MgfWriter(decoyFile); // // bw = new BufferedWriter(new FileWriter(decoyFile)); // Spectrum spectrum; // for (IndexKey indx : indxList) { // Long pos = indx.getPos(); // spectrum = rd.readAt(pos); // wr.write(spectrum, bw); // } // // // } catch (IOException ex) { // Logger.getLogger(MspWriter.class.getName()).log(Level.SEVERE, null, ex); // }finally { // try { // bw.close(); // } catch (IOException ex) { // Logger.getLogger(MspWriter.class.getName()).log(Level.SEVERE, null, ex); // } // } // // // // File specfile = new File("C:/pandyDS/MSMSpos20_6.mzML");// human_hcd_selected.msp// MSMSpos20_6.mzML//AdLungCD4_Medium.mgf // File opfile = new File("C:/pandyDS/AdLungCD4_Medium.mgf"); // //// if (specfile.getName().endsWith("mzML")) { //// //// MzmlReader reader = new MzmlReader(specfile); //// ArrayList<Spectrum> spec = reader.readAll(); //// System.out.println("reading finished" + spec.toString()); //// //// } // // String indxfilename = specfile.getName().substring(0, specfile.getName().lastIndexOf(".")); // File indxfile = new File(specfile.getParent(), indxfilename + ".idx"); // // double pcm = 1298.5546875;//584.8876; //; // double error = 0.03; // // List<Spectrum> spectra = null; // List<IndexKey> indxList; // // if (indxfile.exists()) { // // Indexer indxer = new Indexer(); // indxList = indxer.readFromFile(indxfile); // // } else { // // Indexer gi = new Indexer(specfile); // indxList = gi.generate(); // Collections.sort(indxList); // // } // // SpectraReader rd = null; // SpectraWriter wr = null; // if (specfile.getName().endsWith("mgf")) { // rd = new MgfReader(specfile, indxList); // wr = new MspWriter(opfile, spectra); // // } else if (specfile.getName().endsWith("msp")) { // rd = new MspReader(specfile, indxList); // wr = new MspWriter(opfile, spectra); // // } // // if (rd != null) { // spectra = rd.readPart(pcm, error); // wr.write(); // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n // PUT YOUR TEST CODE HERE\n }", "@Test\n public void testMain() {\n System.out.println(\"main\");\n String[] args = null;\n GOL_Main.main(args);\n }", "@Test\n public void main() {\n MainApp.main(new String[] {});\n }...
[ "0.75204146", "0.7466147", "0.74376476", "0.7424068", "0.7271703", "0.7117155", "0.7111036", "0.7088689", "0.7069095", "0.7067642", "0.7003563", "0.70034146", "0.69969606", "0.6987386", "0.6982785", "0.6978013", "0.6911712", "0.6833195", "0.6809943", "0.67726254", "0.6766968"...
0.0
-1
This method is used to orderProductsTest.
@Test public void testAccountSummaryTest() { Mockito.when(accountService.accountSummary(1)).thenReturn(accountSummaryResponseDto); AccountSummaryResponseDto response = accountController.accountSummary(1); Integer expected = Constant.ACCEPTED; assertEquals(expected, response.getStatusCode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Before\r\n\tpublic void setUp() throws Exception {\r\n\t\to = new Order(\"Customer 1\");\t\t\r\n\t\to.addProduct(new Product(\"p101\",\"Orange\",12,10));\r\n\t\to.addProduct(new Product(\"p102\",\"Banana\",4,5));\r\n\t\to.addProduct(new Product(\"p103\",\"Apple\",10,10));\r\n\t\to.addProduct(new Product(\"p104\",...
[ "0.70236343", "0.69627506", "0.6877449", "0.6708328", "0.6559939", "0.6555852", "0.6543598", "0.6538305", "0.6433107", "0.6430471", "0.6423837", "0.64193404", "0.64011246", "0.6388971", "0.63759995", "0.636534", "0.6344489", "0.63265234", "0.62915206", "0.6290752", "0.6266244...
0.0
-1
creates coretables for channels and plugins
private void install() { Statement stmt; try { stmt = this.dbh.createStatement(); stmt.setQueryTimeout(30); } catch (SQLException e) { Logger.getRootLogger().error("Unable to create Sqlite-statement", e); System.exit(1); return; // not necessary } Logger.getRootLogger().info("Installing tables"); try { // create `channels` table stmt.executeUpdate("" + "CREATE TABLE IF NOT EXISTS `channels` (" + "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT," + "`name` VARCHAR(100) NOT NULL UNIQUE," + "`owner` VARCHAR(100) NOT NULL" + ")" ); // create `plugins` table stmt.executeUpdate("" + "CREATE TABLE IF NOT EXISTS `plugins` (" + "`id` INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT," + "`type` INTEGER NOT NULL DEFAULT 1," + "`package` VARCHAR(100) NOT NULL UNIQUE," + "`version` VARCHAR(10) NOT NULL DEFAULT '1'," + "`author` VARCHAR(50) NOT NULL DEFAULT 'anonymus'" + ")" ); // create `plugins_to_channels` table stmt.executeUpdate("" + "CREATE TABLE IF NOT EXISTS `plugins_to_channels` (" + "`channel_id` INTEGER NOT NULL," + "`plugin_id` INTEGER NOT NULL," + "PRIMARY KEY(`channel_id` DESC, `plugin_id` DESC)" + ")" ); } catch (SQLException e) { Logger.getRootLogger().fatal("Unable to install required Database-tables", e); System.exit(1); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void buildTables() {\n\t\tint k = G.getK();\n\t\tint numEachPod = k * k / 4 + k;\n \n\t\tbuildEdgeTable(k, numEachPod);\n\t\tbuildAggTable(k, numEachPod);\n\t\tbuildCoreTable(k, numEachPod); \n\t}", "private void buildCoreTable(int k, int numEachPod) {\n\t\tfor (int c = 0; c < k * k / 4; c++...
[ "0.6362052", "0.6061354", "0.5810673", "0.57630783", "0.57156074", "0.57088834", "0.57083124", "0.5681662", "0.5630169", "0.5627141", "0.5615423", "0.5561384", "0.5560889", "0.5552095", "0.5548112", "0.5525689", "0.5513898", "0.5503225", "0.5500771", "0.54907", "0.5466554", ...
0.5709074
5
/Metodo que crea un vector de N pocisones con numeros aleatorios
public static int[] constructor(int n) { int v[] = new int[n]; for (int i = 0; i < v.length; i++) { int dato = (int) (Math.random() * 20); v[i] = dato; } return v; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initVector(int n) {\n\t\tvector = new ArrayList<Integer>(n);\n\t\tfor(int i=0;i<n;i++)\n\t\tvector.add(0);\n\t}", "private void createNVertices() {\n\t\tfor (int i = 0; i < this.numNVertices; i++) {\n\t\t\tvertices.add(new Vertex('n', this.countNID++));\n\t\t}\n\t}", "public Percolation(int n) {\n ...
[ "0.5900809", "0.58232147", "0.5621977", "0.561931", "0.56177247", "0.559712", "0.5592009", "0.5574275", "0.55530345", "0.5533717", "0.55300266", "0.5482024", "0.54688114", "0.54681545", "0.5459833", "0.5423789", "0.53808445", "0.5372131", "0.53667855", "0.53429407", "0.532483...
0.512202
30
Metodo Que ordena un vector
public static int[] ordenar(int vector[]) { int aux = 0; for (int i = 0; i < vector.length; i++) { for (int j = i + 1; j < vector.length; j++) { if (vector[i]>vector[j]){ aux = vector[i]; vector[i] = vector[j]; vector[j] = aux; } } } return vector; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private VectorArit CasteoVectores(VectorArit v, TipoPrimitivo t) {\r\n switch (t) {\r\n case STRING:\r\n return VectorToString(v);\r\n case NUMERIC:\r\n return VectorToDouble(v);\r\n case INTEGER:\r\n return VectorToInt(v);\r\n ...
[ "0.63214165", "0.5934104", "0.5883662", "0.5779841", "0.57730097", "0.57593226", "0.5752938", "0.57513773", "0.57297397", "0.5719713", "0.57193416", "0.57166505", "0.57144326", "0.57140964", "0.5694332", "0.5691753", "0.56769395", "0.5647594", "0.56463176", "0.5644753", "0.56...
0.0
-1
TODO Autogenerated method stub
@Override public Integer addHwStudyLog(Integer tjId, Integer stuId, Integer step, Integer stepComplete, Integer currentGold,Integer access, Integer taskNumber) throws WEBException { try { tjDao = (HwStudyTjDao) DaoFactory.instance(null).getDao(Constants.DAO_HW_STUDY_TJ_INFO); uDao = (UserDao) DaoFactory.instance(null).getDao(Constants.DAO_USER_INFO); hwLogDao = (HwTraceStudyLogDao) DaoFactory.instance(null).getDao(Constants.DAO_HW_TRACE_STUDY_LOG_INFO); Session sess = HibernateUtil.currentSession(); tran = sess.beginTransaction(); HwTraceStudyLogInfo logInfo = new HwTraceStudyLogInfo(tjDao.getEntityById(sess, tjId), uDao.getEntityById(sess, stuId).get(0), access, CurrentTime.getCurrentTime(), step, stepComplete,0, 1, taskNumber, currentGold,0); hwLogDao.save(sess, logInfo); tran.commit(); return logInfo.getId(); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); throw new WEBException("增加溯源学习记录时出现异常!"); } finally{ HibernateUtil.closeSession(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean updateStudyLog(Integer id, Integer step, Integer stepComplete, Integer isFinish, Integer currentGold,Integer access, Integer taskNumber,String addTime) throws WEBException { try { hwLogDao = (HwTraceStudyLogDao) DaoFactory.instance(null).getDao(Constants.DAO_HW_TRACE_STUDY_LOG_INFO); Session sess = HibernateUtil.currentSession(); tran = sess.beginTransaction(); HwTraceStudyLogInfo logInfo = hwLogDao.getEntityById(sess, id); if(logInfo != null){ if(!step.equals(0)){ logInfo.setStep(step); } if(!stepComplete.equals(-1)){ logInfo.setStepComplete(stepComplete); } if(!isFinish.equals(-1)){ logInfo.setIsFinish(isFinish); } if(currentGold.equals(1)){ logInfo.setCurrentGold(logInfo.getCurrentGold() + 1); } if(!access.equals(-1)){ logInfo.setAccess(access); } if(!taskNumber.equals(-1)){ logInfo.setTaskNumber(taskNumber); } if(!addTime.equals("")){ logInfo.setAddTime(addTime); } hwLogDao.update(sess, logInfo); tran.commit(); return true; } return false; } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); throw new WEBException("修改家庭作业溯源学习记录信息时出现异常!"); } finally{ HibernateUtil.closeSession(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public HwTraceStudyLogInfo getEntityById(Integer id) throws WEBException { try { hwLogDao = (HwTraceStudyLogDao) DaoFactory.instance(null).getDao(Constants.DAO_HW_TRACE_STUDY_LOG_INFO); Session sess = HibernateUtil.currentSession(); return hwLogDao.getEntityById(sess, id); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); throw new WEBException("根据主键获取溯源学习记录时出现异常!"); } finally{ HibernateUtil.closeSession(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public HwTraceStudyLogInfo getEntityByTjId(Integer tjId) throws WEBException { try { hwLogDao = (HwTraceStudyLogDao) DaoFactory.instance(null).getDao(Constants.DAO_HW_TRACE_STUDY_LOG_INFO); Session sess = HibernateUtil.currentSession(); return hwLogDao.getEntityByTjId(sess, tjId); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); throw new WEBException("根据统计编号获取溯源学习记录时出现异常!"); } finally{ HibernateUtil.closeSession(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
run in a new window the game with parameters
@FXML void HandleStart(ActionEvent event){ Runtime runTime = Runtime.getRuntime(); try { Process process = runTime.exec("java -jar ~/../target/GameOfLife-1.0-SNAPSHOT.jar "+StartMain.getInstance().densite+" "+StartMain.getInstance().nbCycle+" "+StartMain.getInstance().tempo+" "+StartMain.getInstance().nbColonnesCellules+" "+StartMain.getInstance().nbLignesCellules+" "+JeuDeLaVie.getNbminsolitude()+" "+JeuDeLaVie.getNbmaxsurpopulation()+" "+JeuDeLaVie.getNbminreproduction()+" "+JeuDeLaVie.getNbmaxreproduction()+" "+StartMain.getInstance().typeJeu); } catch (IOException ex) { Logger.getLogger(ButtonController.class.getName()).log(Level.SEVERE, null, ex); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void run() {\n\t\t\t\t\t\tNewCustomWindow.createAndShowCustomGame();\n\t\t\t\t\t\t// Close the start menu window and remove it from memory\n\t\t\t\t\t\tstartMenu.dispose();\n\t\t\t\t\t}", "public abstract void start(String[] args, Window window);", "private void launchCreateGame() {\n\t\tString name = n...
[ "0.7022476", "0.69415814", "0.67851555", "0.6752817", "0.6744994", "0.6709767", "0.67007977", "0.66854876", "0.668113", "0.66545284", "0.65986675", "0.6551616", "0.65349203", "0.6520534", "0.6518986", "0.65016", "0.6468814", "0.64483297", "0.6437313", "0.642892", "0.6410184",...
0.0
-1
lunch menu game type screen
@FXML void HandleGameType(ActionEvent event) throws Exception{ MenuController.GoMenuGameType(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void goToMenu() {\n game.setScreen(new MainMenuScreen(game));\n\n }", "public void menu() {\n m.add(\"Go adventuring!!\", this::goAdventuring );\n m.add(\"Display information about your character\", this::displayCharacter );\n m.add(\"Visit shop\", this::goShopping);\n ...
[ "0.7235015", "0.70937675", "0.6970109", "0.682199", "0.67367727", "0.6707763", "0.6704987", "0.665881", "0.6610541", "0.65879625", "0.6586987", "0.6584587", "0.657441", "0.65607446", "0.6524696", "0.65026367", "0.6499866", "0.6445971", "0.64372164", "0.6436853", "0.64361477",...
0.0
-1
/ If this is a secure server, we now setup the SSLContext we'll use for creating the SSLEngines throughout the lifetime of this process.
private void createSSLContext() throws Exception { char[] passphrase = "passphrase".toCharArray(); KeyStore ks = KeyStore.getInstance("JKS"); ks.load(new FileInputStream("testkeys"), passphrase); KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); kmf.init(ks, passphrase); TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509"); tmf.init(ks); sslContext = SSLContext.getInstance("TLS"); sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SslContext buildSslContext()\n throws SSLException\n {\n if (isClient) {\n return buildClientSslContext();\n } else {\n return buildServerSslContext();\n }\n }", "protected void init() throws Exception {\n if (this.sslConfiguration != null && this.sslConfiguration.enabled()) {\n ...
[ "0.7407885", "0.72941804", "0.726486", "0.72472215", "0.7177604", "0.71761596", "0.7083458", "0.70073843", "0.6977811", "0.69520986", "0.6660368", "0.65890545", "0.6568121", "0.64627564", "0.64618874", "0.6436158", "0.6353164", "0.63472205", "0.63349813", "0.6314732", "0.6232...
0.6859375
10
/ Parse the arguments, decide what type of server to run, see if there are any defaults to change.
static private Server createServer(String args[]) throws Exception { if (args.length < 1) { usage(); } int port = PORT; int backlog = BACKLOG; boolean secure = SECURE; for (int i = 1; i < args.length; i++) { if (args[i].equals("-port")) { checkArgs(i, args.length); port = Integer.valueOf(args[++i]); } else if (args[i].equals("-backlog")) { checkArgs(i, args.length); backlog = Integer.valueOf(args[++i]); } else if (args[i].equals("-secure")) { secure = true; } else { usage(); } } Server server = null; if (args[0].equals("B1")) { server = new B1(port, backlog, secure); } else if (args[0].equals("BN")) { server = new BN(port, backlog, secure); } else if (args[0].equals("BP")) { server = new BP(port, backlog, secure); } else if (args[0].equals("N1")) { server = new N1(port, backlog, secure); } else if (args[0].equals("N2")) { server = new N2(port, backlog, secure); } return server; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void parseCommandLine(String[] args) {\r\n\t\tif (args.length != 3)\r\n\t\t\terror(\"usage: Tester server port url-file\");\r\n\t\t\t\r\n\t\tserverName = args[0];\r\n\t\tserverPort = Integer.parseInt(args[1]);\r\n\t\turlFileName = args[2];\r\n\t}", "public static void main(String[] args) {\n\t\tSe...
[ "0.7005613", "0.6829176", "0.669121", "0.66101766", "0.6567814", "0.6565872", "0.65180254", "0.6458062", "0.6449949", "0.64004236", "0.6341087", "0.63049114", "0.63046056", "0.62838644", "0.62688524", "0.62649804", "0.6244437", "0.6240965", "0.6238036", "0.61834", "0.61537486...
0.60488135
32
Handles the HTTP GET method.
@Override protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processRequest(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void doGet( )\n {\n \n }", "@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}", "@Override\n\tprotected Method getMethod() {\n\t\treturn Method.GET;\n\t}", "@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) thro...
[ "0.7589609", "0.71665615", "0.71148175", "0.705623", "0.7030174", "0.70291144", "0.6995984", "0.697576", "0.68883485", "0.6873811", "0.6853569", "0.6843572", "0.6843572", "0.6835363", "0.6835363", "0.6835363", "0.68195957", "0.6817864", "0.6797789", "0.67810035", "0.6761234",...
0.0
-1
Handles the HTTP POST method.
@Override protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { processRequest(request, response); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void doPost(Request request, Response response) {\n\n\t}", "@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) {\n }", "public void doPost( )\n {\n \n }", "@Override\n public String getMethod() {\n return \"POST\";\n ...
[ "0.73289514", "0.71383566", "0.7116213", "0.7105215", "0.7100045", "0.70236707", "0.7016248", "0.6964149", "0.6889435", "0.6784954", "0.67733276", "0.67482096", "0.66677034", "0.6558593", "0.65582114", "0.6525548", "0.652552", "0.652552", "0.652552", "0.65229493", "0.6520197"...
0.0
-1
Returns a short description of the servlet.
@Override public String getServletInfo() { return "Short description"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getServletInfo()\n {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short description\";\n }", "public String getServletInfo() {\n return \"Short d...
[ "0.87634975", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8732279", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8699131", "0.8531295", "0.8531295", "0.85282224", "0.85282224", ...
0.0
-1
/ Fonction qui donne a Zoe une reference vers le niveau actuel
public static void affecterNiveauZoe(Zoe Zoe, Niveau niveau) { Zoe.setNiveau(niveau); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void ref() {\n\n\t}", "String getReference();", "String getReference();", "public String getReference();", "public String getReference();", "public void setReference(Reference ref)\n {\n this.ref = ref;\n }", "Variable getRefers();", "java.lang.String getRef();", "boolean hasRef();"...
[ "0.67327744", "0.65277207", "0.65277207", "0.6525879", "0.6525879", "0.6510276", "0.64988387", "0.6427836", "0.638825", "0.6331264", "0.63049024", "0.6286747", "0.62496364", "0.6238941", "0.6180799", "0.61693704", "0.61565715", "0.6127937", "0.61236566", "0.61236566", "0.6095...
0.0
-1
/ Fonction qui donne aux monstres une reference vers le niveau actuel et met s'il y a presence de bonus
public static void prejeuMonstre(Monstre[] monstres, Niveau niveau, boolean bonus) { // Boucle qui met le bon niveau a tous les monstres for (int i=0; i<monstres.length; i++) { monstres[i].setNiveau(niveau); monstres[i].setBonus(bonus); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void obsluga_bonusu()\n {\n if(bonusy_poziomu>0)\n {\n boolean numer= los.nextBoolean();\n if(numer){\n bon.add(new Bonus(w.getPolozenie_x(),w.getPolozenie_y(),getWidth(),getHeight()));\n bonusy_poziomu--;\n }\n }\n ...
[ "0.66448325", "0.6596453", "0.6575114", "0.6519328", "0.6492323", "0.6207395", "0.61957556", "0.605151", "0.6039322", "0.60267854", "0.59525186", "0.5878976", "0.5878976", "0.5878976", "0.58747977", "0.5861159", "0.57924676", "0.5784002", "0.5772238", "0.5772238", "0.5735092"...
0.53960615
48
/ Fonction qui affiche tous le visuel du jeu
public static void afficherJeu(Zoe Zoe, Niveau niveau){ // Affiche les coeurs et les hexaforces String attributZoe = Zoe.affichageZoe(Zoe.viesActuels); System.out.println(attributZoe); // Affiche le niveau avec tous les symbols System.out.println(niveau.afficherCarte()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateVisibility(Camera cam) {\n int i = 0;\n \n for(WE_Face face : listaDeFaces){\n WE_Aresta arestaFace = face.getArestaDaFace();\n \n Vertice third = null;\n searchForAnyArestaParaEsquerda:\n for (WE_Aresta aresta : listaDeA...
[ "0.67006075", "0.6576039", "0.6254212", "0.61977917", "0.61843705", "0.61463726", "0.61404395", "0.61404395", "0.6124608", "0.60879934", "0.60622376", "0.6004154", "0.59984225", "0.59778583", "0.5976365", "0.5976365", "0.5972247", "0.5972247", "0.5972247", "0.5970363", "0.594...
0.0
-1
/ Fonction qui execute le(s) tour(s) de Zoe
public static int tourZoe(Zoe Zoe) { Scanner scanner = new Scanner(System.in); String actionZoe = scanner.nextLine(); Zoe.actions(actionZoe); int nombreTours = actionZoe.length(); return nombreTours; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void tourJeu(){\n\n\t\twhile(true){\n\t\t\tconsole.afficherEtatJoueurs();\n\t\t\tpasserTour();\n\t\t\tconsole.quelJoueurJoue(tour);\n\t\t\tconsole.afficherJeu();\n\t\t\tconsole.afficherDirectionAssam();\n\n\t\t\tint n;\n\t\t\twhile ((n = console.demanderNbDeplacement()) == -1 );\n\n\t\t\tconsole.aff...
[ "0.7285149", "0.65247583", "0.65145916", "0.64008564", "0.6045031", "0.60350883", "0.6027424", "0.59413755", "0.58892256", "0.5888247", "0.5888059", "0.5880839", "0.5855821", "0.58443075", "0.5843921", "0.5767963", "0.573751", "0.57287765", "0.5720331", "0.5717866", "0.571433...
0.6131509
4
/ Fonction qui execute l'action des monstres. Le nombre de tours de Zoe affecte le nombre de tour de chaques monstres.
public static void tourMonstres(Monstre[] monstres, int nbToursZoe, Zoe Zoe){ for (int i=0; i<nbToursZoe; i++) { for (int j=0; j<monstres.length; j++) { monstres[j].actions(Zoe); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void passerTour(){\n\t\tif(tour<jeu.getJoueurs().length){\n\t\t\ttour++;\n\t\t}\n\t\telse {\n\t\t\ttour = 1;\n\t\t}\n\t\tfor(int i=0;i<joueurElimine;i++){\n\t\t\tif(jeu.getJoueurs()[tour-1].getMonnaie()==0){\n\t\t\t\tif(tour<jeu.getJoueurs().length){\n\t\t\t\t\ttour++;\n\t\t\t\t}\n\t\t\t\telse {\n\t\...
[ "0.66761893", "0.642168", "0.6147579", "0.6112899", "0.6012489", "0.5983858", "0.59773225", "0.5976432", "0.59442574", "0.5870063", "0.5783799", "0.57436", "0.57310826", "0.56492114", "0.5644951", "0.5640282", "0.5598704", "0.55064195", "0.54906046", "0.54891187", "0.5471391"...
0.76514906
0
Constructor for primary key
public BaseServiceReturnItem (java.lang.Long id) { this.setId(id); initialize(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PrimaryKey createPrimaryKey();", "public DatasetParameterPK() {\n }", "public ParametroPorParametroPK() {\r\n\t}", "PrimaryKey getPrimarykey();", "Key getPrimaryKey();", "public TdOficioAfectacionPK() {\n }", "PrimaryKey getPrimaryKey();", "public DomainPK()\n {\n }", "public LeaguePrimar...
[ "0.7875029", "0.7489606", "0.739803", "0.7096801", "0.70711553", "0.69975173", "0.69803166", "0.69716835", "0.6964837", "0.69633687", "0.69163185", "0.67959905", "0.6758902", "0.6702319", "0.6702319", "0.6702319", "0.6699209", "0.65859973", "0.6582905", "0.65318656", "0.65293...
0.0
-1
Return the unique identifier of this class
public java.lang.Long getId () { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getId() {\n return this.getClass().getSimpleName() + \"@\" + this.hashCode();\n }", "public String getUniqueID();", "public String getUniqueID ( ) { return _uniqueID; }", "String getUniqueID();", "public String getClassid() {\n return classid;\n }", "String getUniqueId()...
[ "0.8099061", "0.7793248", "0.7745005", "0.773952", "0.76971465", "0.76135826", "0.75959677", "0.75864595", "0.754388", "0.75299907", "0.75275266", "0.7500354", "0.7487855", "0.74852705", "0.74435693", "0.7425048", "0.74089086", "0.74007654", "0.73874485", "0.7354514", "0.7352...
0.0
-1
Set the unique identifier of this class
public void setId (java.lang.Long id) { this.id = id; this.hashCode = Integer.MIN_VALUE; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setID() {\n\t\tthis.ID = UUID.randomUUID().toString();\n\t}", "public void setUniqueID(String uniqueID)\r\n {\r\n m_uniqueID = uniqueID;\r\n }", "@Override\n\tpublic void setUniqueId(int id) {}", "public void setUniqueId(final String uniqueId) {\n _uniqueId = uniqueId;\n }", "publi...
[ "0.7281828", "0.7188852", "0.70595604", "0.7058688", "0.69680285", "0.6883223", "0.6781155", "0.67765903", "0.67603344", "0.6737482", "0.6681386", "0.66533566", "0.6612935", "0.66081303", "0.66040903", "0.6576922", "0.657261", "0.65361136", "0.653008", "0.6522364", "0.6506520...
0.0
-1
Return the value associated with the column: NUM
public java.lang.Integer getNum () { return num; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Number getNumber(int columnIndex);", "public double getValue() {\n return this.num;\n }", "public int getValue(){\n return number;\n }", "public String getNum() {\r\n return num;\r\n }", "public int getNum()\n {\n return num;\n }", "public int getNum()...
[ "0.6936958", "0.64814305", "0.62828445", "0.62596214", "0.6228687", "0.6228687", "0.62235963", "0.6214427", "0.62131584", "0.62131584", "0.62131584", "0.6198278", "0.61922896", "0.61922896", "0.6161063", "0.6161063", "0.6060306", "0.6053685", "0.6049525", "0.5978967", "0.5942...
0.58291215
25
Set the value related to the column: NUM
public void setNum (java.lang.Integer num) { this.num = num; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNum(int num) {\r\n this.num = num;\r\n }", "public void setNum(int num) {\n\t\tthis.num = num;\n\t}", "public void setNum(Integer num) {\n this.num = num;\n }", "public void setNum(Integer num) {\n this.num = num;\n }", "void setNumber(int row, int col, int num)...
[ "0.7108231", "0.70241135", "0.6954984", "0.6954984", "0.66639274", "0.6609961", "0.6607876", "0.65093005", "0.64212847", "0.63326526", "0.6270441", "0.62689966", "0.6240475", "0.6222095", "0.62080216", "0.61992157", "0.618126", "0.61773396", "0.6174726", "0.6129724", "0.60329...
0.6885704
4
Return the value associated with the column: SERVICE_BOOK
public java.lang.String getServiceBook () { return serviceBook; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getBookStatus() {\n return bookStatus;\n }", "public Integer getBookStatus() {\n return bookStatus;\n }", "public Integer getBookStatus() {\n return bookStatus;\n }", "public java.lang.Integer getServicecode() {\n\treturn servicecode;\n}", "public YangString get...
[ "0.5524256", "0.5524256", "0.5524256", "0.5400927", "0.53713125", "0.53713125", "0.5369319", "0.5363089", "0.5345418", "0.5335713", "0.5335713", "0.53348863", "0.531426", "0.53022575", "0.53022575", "0.53022575", "0.5251686", "0.5246318", "0.5241709", "0.52137995", "0.5213799...
0.6005395
0
Set the value related to the column: SERVICE_BOOK
public void setServiceBook (java.lang.String serviceBook) { this.serviceBook = serviceBook; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setORM_Book(i_book.Book value) {\r\n\t\tthis.book = value;\r\n\t}", "public void setServiceID(java.lang.String serviceID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.x...
[ "0.63312083", "0.56940866", "0.5651675", "0.5566594", "0.55442786", "0.54620355", "0.54361147", "0.54361147", "0.54361147", "0.5409383", "0.54068124", "0.53936017", "0.53615385", "0.5329467", "0.5321317", "0.5319181", "0.52635354", "0.52635354", "0.5258751", "0.52523845", "0....
0.6133853
1
Return the value associated with the column: SERVICE_PERSON
public java.lang.String getServicePerson () { return servicePerson; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Number getPersonId() {\n return (Number)getAttributeInternal(PERSONID);\n }", "public YangString getServiceValue() throws JNCException {\n return (YangString)getValue(\"service\");\n }", "public YangString getServiceValue() throws JNCException {\n return (YangString)getValue(\...
[ "0.59232795", "0.5754407", "0.5754407", "0.57404387", "0.5676789", "0.55922586", "0.5549725", "0.55384815", "0.55249757", "0.55112106", "0.54975414", "0.54834706", "0.54746044", "0.5450744", "0.5434458", "0.54322934", "0.53836846", "0.5379159", "0.5363581", "0.5345281", "0.53...
0.67127407
0
Set the value related to the column: SERVICE_PERSON
public void setServicePerson (java.lang.String servicePerson) { this.servicePerson = servicePerson; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPersonService(PersonService personService) {\n\t\tthis.personService = personService;\n\t}", "public void setPersonId(Number value) {\n setAttributeInternal(PERSONID, value);\n }", "@Schema(hidden = true)\n public void setPerson(Person person) {\n this.person = person;\n }", "pu...
[ "0.6717794", "0.6070029", "0.5962703", "0.5865762", "0.58086413", "0.5802559", "0.57970816", "0.572589", "0.56853914", "0.56026006", "0.55869216", "0.5573512", "0.5569501", "0.55376834", "0.552711", "0.55220544", "0.5497926", "0.5487438", "0.5468736", "0.5453237", "0.54520404...
0.67976415
0
Return the value associated with the column: RECEIVE_DATE
public java.sql.Date getReceiveDate () { return receiveDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceiveDate (java.sql.Date receiveDate) {\r\n\t\tthis.receiveDate = receiveDate;\r\n\t}", "public String getReceivalDate(){\n\t\treturn this.receivalDate;\n\t}", "public Date getRecvdatetime() {\n\t\treturn recvdatetime;\n\t}", "public Date getReceiveTime() {\n return receiveTime;\n }", ...
[ "0.6509327", "0.63798857", "0.6161401", "0.61121404", "0.60551006", "0.60257477", "0.6011285", "0.5999104", "0.59124535", "0.5841963", "0.58288544", "0.58068424", "0.579086", "0.5779429", "0.5758535", "0.57352537", "0.571112", "0.57070386", "0.570136", "0.5661382", "0.5661382...
0.742255
0
Set the value related to the column: RECEIVE_DATE
public void setReceiveDate (java.sql.Date receiveDate) { this.receiveDate = receiveDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReceivalDate(String receivalDate){\n\t\tthis.receivalDate = \"\";\n\t\tthis.receivalDate += receivalDate;\n\t}", "public java.sql.Date getReceiveDate () {\r\n\t\treturn receiveDate;\r\n\t}", "public void setDeliveryDate(Date value) {\n setAttributeInternal(DELIVERYDATE, value);\n }", ...
[ "0.6576765", "0.6559312", "0.6425802", "0.6425802", "0.63350135", "0.62677294", "0.6257617", "0.62378836", "0.61931956", "0.6143409", "0.6142806", "0.6142806", "0.61417836", "0.6133891", "0.6075066", "0.6061214", "0.6053868", "0.6046655", "0.60438484", "0.60438484", "0.602839...
0.75373715
0
Return the value associated with the column: RECEIVE_SIGN
public java.lang.String getReceiveSign () { return receiveSign; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSign();", "public String getSignReturn() {\n return signReturn;\n }", "public java.lang.String getCallSign() {\n\t\treturn _tempNoTiceShipMessage.getCallSign();\n\t}", "public String getReceivedSerialNumber() ;", "public String getSign() {\n\n return this.sign;\n }", "public...
[ "0.60519964", "0.6037758", "0.58185416", "0.57647234", "0.5740999", "0.57341", "0.57204276", "0.56862503", "0.5438912", "0.5438546", "0.5399595", "0.53400064", "0.5312313", "0.53099316", "0.530916", "0.530916", "0.5293842", "0.52688295", "0.5260902", "0.5185618", "0.5167809",...
0.66244304
0
Set the value related to the column: RECEIVE_SIGN
public void setReceiveSign (java.lang.String receiveSign) { this.receiveSign = receiveSign; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSign(String sign) {\n\n this.sign = sign;\n }", "public void setSignMastered(String sign, boolean value){\n mUsersRef.child(getUsername()).child(\"myDeck\").child(sign).child(\"mastered\").setValue(value);\n }", "public java.lang.String getReceiveSign () {\r\n\t\treturn recei...
[ "0.5723191", "0.56001914", "0.5486269", "0.5430713", "0.5391959", "0.538449", "0.5313442", "0.52883625", "0.5275333", "0.5267394", "0.52587426", "0.5204737", "0.5176847", "0.5169121", "0.51689273", "0.5154358", "0.508573", "0.50522655", "0.50236297", "0.49506265", "0.49116883...
0.61792696
0
Return the value associated with the column: MEMO
public java.lang.String getMemo () { return memo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private double getValMorp ( cell c, morphogen m) {\t\t\r\n\t\tif ( m.equals(morphogen.a))\r\n\t\t\treturn c.getVal1();\r\n\t\telse\r\n\t\t\treturn c.getVal2();\r\n\t}", "public YangString getMobilityEventsMmeValue() throws JNCException {\n return (YangString)getValue(\"mobility-events-mme\");\n }", "...
[ "0.65881", "0.64199007", "0.6288984", "0.604211", "0.6015559", "0.5962728", "0.5945381", "0.59305966", "0.5884451", "0.5858049", "0.5827038", "0.5819219", "0.58150303", "0.58131206", "0.579903", "0.5749416", "0.57219136", "0.57192117", "0.5702069", "0.56916535", "0.5667837", ...
0.0
-1
Set the value related to the column: MEMO
public void setMemo (java.lang.String memo) { this.memo = memo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public baconhep.TTau.Builder setM(float value) {\n validate(fields()[3], value);\n this.m = value;\n fieldSetFlags()[3] = true;\n return this; \n }", "@Override\n\tpublic void set(Medicamento novo) {\n\t\t\n\n\t\t\tcon = ConexaoSingleton.getInstance();\n\t\t\ttry {\n\t\t\t\tpst = con.prep...
[ "0.61112434", "0.603441", "0.5887616", "0.5844712", "0.580847", "0.58007246", "0.5768148", "0.5718913", "0.5710743", "0.56997156", "0.5656071", "0.5654677", "0.564886", "0.5616349", "0.5613179", "0.5573371", "0.5572601", "0.55376035", "0.5532492", "0.55187064", "0.5492005", ...
0.0
-1
Return the value associated with the column: RETURN_ID
public com.justonetech.biz.domain.ServiceReturn getServiceReturn () { return serviceReturn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private long getSelectedReturnIndex() {\r\n if (returnSelection != null && returnSelection.getKeys().hasNext()) {\r\n return new Long((Integer) returnSelection.getKeys().next());\r\n } else {\r\n return selectedReturnRowId;\r\n }\r\n }", "public Long getReturnpolicyI...
[ "0.66242284", "0.61415035", "0.61084133", "0.60820866", "0.59003645", "0.5881589", "0.5873758", "0.5816421", "0.5816421", "0.57676023", "0.56885135", "0.5687783", "0.5682583", "0.56746465", "0.56744444", "0.56724274", "0.56349653", "0.5633595", "0.56299394", "0.56051034", "0....
0.0
-1
Set the value related to the column: RETURN_ID
public void setServiceReturn (com.justonetech.biz.domain.ServiceReturn serviceReturn) { this.serviceReturn = serviceReturn; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void set_return(int param){\r\n \r\n // setting primitive attribute tracker to true\r\n local_returnTracker =\r\n param != java.lang.Integer.MIN_VALUE;\r\n ...
[ "0.64205813", "0.6347778", "0.6292875", "0.61179847", "0.61179847", "0.61179847", "0.61179847", "0.60550666", "0.5935282", "0.59046024", "0.5898585", "0.5898585", "0.5826087", "0.5780523", "0.5776837", "0.5762143", "0.5762143", "0.5762143", "0.5762143", "0.5762143", "0.576214...
0.0
-1
accept property value visitor
@Override public void accept(IPropertyValueVisitor visitor) { // attributes _acceptSingleAttribute(java.lang.String.class, cleon.projectmethods.hermes.metamodel.spec.modules.projectmanagement.planning.scope.workpackage.backlog.BacklogPackage.Text_date, visitor); _acceptSingleAttribute(java.lang.String.class, cleon.projectmethods.hermes.metamodel.spec.modules.projectmanagement.planning.scope.workpackage.backlog.BacklogPackage.Text_text, visitor); // relations _acceptSingle(ch.actifsource.core.javamodel.IClass.class, ch.actifsource.core.CorePackage.Resource_typeOf, visitor); _acceptSingle(cleon.projectmethods.hermes.metamodel.spec.modules.projectmanagement.resource.persons.javamodel.IPerson.class, cleon.projectmethods.hermes.metamodel.spec.modules.projectmanagement.planning.scope.workpackage.backlog.BacklogPackage.Text_writer, visitor); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object visitValue(ValueNode node, Object state);", "public interface IValueVisitor\n{\n\n\t/**\n\t * a text value\n\t * @param value the value\n\t */\n\tvoid text(String value);\n\n\t/**\n\t * a null value\n\t */\n\tvoid nullValue();\n\n\t/**\n\t * an long value\n\t * @param value the value\n\t */\n\tvoid longVa...
[ "0.66204965", "0.65092605", "0.638733", "0.6286489", "0.6250349", "0.62250674", "0.6223266", "0.62140715", "0.6213732", "0.62093127", "0.61912566", "0.6147297", "0.613078", "0.6123941", "0.59997606", "0.59441984", "0.59339434", "0.5898068", "0.5834721", "0.5834381", "0.582667...
0.6102167
14
/ renamed from: a
private int m9193a(ec ecVar, int i) { int i2 = 0; int cellHeight = this.this$0.b.getCellHeight(); if (this.this$0.b.isHorizontale()) { return cellHeight; } int i3; boolean z = this.f3906c; if (ecVar.m9111d()) { Integer num = (Integer) ecVar.m9123k(10); if (num != null) { i2 = num.intValue(); i3 = 0; } else { boolean z2 = z; i2 = cellHeight; } } else { i3 = 0; } int d = this.this$0.b.m1512d(); if (d > 0 && r1 > d) { i2 = d; } m9195a(i, i2); if (i3 != 0) { i3 = C1503b.m10422a(this.a, true) + this.this$0.b.m1514i(); if (d <= 0 || i3 <= d) { d = i3; } i3 = this.this$0.b.getMinCellHeight(); if (d >= i3) { i3 = d; } if (i3 != i2) { m9195a(i, i3); i2 = i3; } } return i2; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
private int m9194b(ec ecVar, int i) { int i2 = 0; int largeurColonneZR = this.this$0.b.getLargeurColonneZR(); if (!this.this$0.b.isHorizontale()) { return this.this$0.b.getLargeurColonneZR(); } int i3; boolean z = this.f3906c; if (ecVar.m9111d()) { Integer num = (Integer) ecVar.m9123k(10); if (num != null) { i2 = num.intValue(); i3 = 0; } else { boolean z2 = z; i2 = largeurColonneZR; } } else { i3 = 0; } int d = this.this$0.b.m1512d(); if (d > 0 && i > d) { i2 = d; } m9195a(i2, i); if (i3 == 0) { return i2; } i3 = C1503b.m10444b(this.a, true) + this.this$0.b.m1515j(); if (d <= 0 || i3 <= d) { d = i3; } i3 = this.this$0.b.getMinCellWidth(); if (d >= i3) { i3 = d; } if (i3 == i2) { return i2; } m9195a(i3, i); return i3; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: a
protected void m9195a(int i, int i2) { int i3 = this.this$0.b.m1514i(); int j = this.this$0.b.m1515j(); if (j != i || i3 != i2) { Iterator it = this.a.iterator(); while (it.hasNext()) { ((gc) it.next()).ancrer(i - j, i2 - i3, 0, 0, 15); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
protected void m9196a(ec ecVar) { boolean z = this.f3908e; this.f3908e = true; try { int cellHeight; int b; if (this.this$0.b.isHorizontale()) { cellHeight = this.this$0.b.getCellHeight(); b = m9194b(ecVar, cellHeight); } else { b = this.this$0.b.getLargeurColonneZR(); cellHeight = m9193a(ecVar, b); } LayoutParams layoutParams = getLayoutParams(); if (!(cellHeight == layoutParams.height && b == layoutParams.width)) { layoutParams.height = cellHeight; layoutParams.width = b; requestLayout(); } this.f3908e = z; } catch (Throwable th) { this.f3908e = z; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public void mo3574a(ec ecVar, boolean z) { super.mo3574a(ecVar, z); this.f3907d = ((eb) getParent()).m8950b(ecVar); invalidate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
protected void mo3575b(gc gcVar) { super.mo3575b(gcVar); boolean isHorizontale = this.this$0.b.isHorizontale(); if ((isHorizontale && C0727l.m3092b(gcVar.getAnchorOptions(), 8)) || (!isHorizontale && C0727l.m3092b(gcVar.getAnchorOptions(), 7))) { this.f3906c = true; gcVar.addChampListener(this); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1
/ renamed from: c
protected void mo3576c() { m9185a(this.this$0.b.getChampIterator()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", ...
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723",...
0.0
-1
/ renamed from: e
protected boolean m9200e() { return this.this$0.b._getEtat() != 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\...
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.586...
0.0
-1
String keyType = null;
public void execute() throws ExecuteException { InsertQuery query = new InsertQuery(con,this.cmd,this.dataInfoCollection); query.setKeyType(keyType); try { query.executeSQL(); } catch (SQLException e) { throw new ExecuteException(e); }finally{ try { query.close(); } catch (SQLException e) { } } UpdateInfo updateIfno = query.getResult(); if(keyType == null || keyType.equals(Constanst.KEY_TYPE_AUTO)){ this.executeInfo.setKeyValue(updateIfno.getKey()); }else{ this.executeInfo.setKeyValue(this.keyValue); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String getKey() {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}", "@Override\r\n\tpublic String getKey() {\n\t\treturn null;\r\n\t}", "private String createTypeKey(int type, String key) {\r\n\t\treturn type + \"-\" + key;\r\n\t}", "public nat...
[ "0.67329854", "0.6710643", "0.6710643", "0.66230893", "0.65776443", "0.6575417", "0.656424", "0.6560878", "0.6438812", "0.64297265", "0.6384316", "0.63736534", "0.63400894", "0.631082", "0.63056624", "0.6291325", "0.62719226", "0.6271295", "0.6236539", "0.6232355", "0.6226948...
0.0
-1
Created by bfq on 2020/4/4
public interface Advice extends MethodInterceptor { public Pointcut getPointcut(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public final void mo51373a() {\n }", "...
[ "0.557411", "0.5311786", "0.5311786", "0.5296138", "0.5285719", "0.5207049", "0.5185292", "0.51576316", "0.5139428", "0.50935173", "0.5091223", "0.5084968", "0.5083947", "0.5059934", "0.5022158", "0.5008068", "0.4996308", "0.49837133", "0.49728927", "0.49587104", "0.49486786"...
0.0
-1
Gets the value of the visaCaseNumber property.
public long getVisaCaseNumber() { return visaCaseNumber; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setVisaCaseNumber(long value) {\n this.visaCaseNumber = value;\n }", "public int getCaseNumber() {\n return caseNumber;\n }", "public boolean getCaseNr() {\n\t\treturn caseNr == 1? true : false;\n\t}", "@Override\n public int getCaseNumber() {\n return IDNum;\n }"...
[ "0.7687566", "0.69092244", "0.6079492", "0.60271776", "0.5967032", "0.59580743", "0.59564877", "0.5791589", "0.5789168", "0.5773904", "0.5691707", "0.56308615", "0.5324101", "0.52746964", "0.5265688", "0.523982", "0.5217898", "0.52099395", "0.5188324", "0.5153855", "0.5150577...
0.86281
0
Sets the value of the visaCaseNumber property.
public void setVisaCaseNumber(long value) { this.visaCaseNumber = value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getVisaCaseNumber() {\n return visaCaseNumber;\n }", "void setCHVNumber(int number)\r\n {\r\n number_of_CHV = number;\r\n }", "public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setControlNumber(java.lang.String value) {\n validate(fields()[4], value);\n th...
[ "0.7013126", "0.58409816", "0.5754643", "0.57392174", "0.56623673", "0.54937166", "0.5421153", "0.5417746", "0.52267903", "0.5214061", "0.52130514", "0.5178736", "0.5178736", "0.5178736", "0.5160763", "0.51551706", "0.5147548", "0.5119079", "0.5117029", "0.5089839", "0.504281...
0.8176725
0
Logout from system. Invalidate admin session
@Override public String execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession session = request.getSession(); session.invalidate(); return ViewManager.INDEX_PAGE_PASS; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void logout() {\n \n FacesContext.getCurrentInstance().getExternalContext().invalidateSession();\n try {\n FacesContext.getCurrentInstance().getExternalContext()\n .redirect(\"/BookStorePelikSangat/faces/admin/loginadmin...
[ "0.79273826", "0.78699046", "0.7805195", "0.77710986", "0.7767413", "0.76986235", "0.76853335", "0.76791626", "0.76791626", "0.7572106", "0.75602525", "0.75584626", "0.752498", "0.7510998", "0.7501469", "0.74685717", "0.746157", "0.7362547", "0.73374414", "0.7272754", "0.7272...
0.0
-1
Creates a new daisy with the given color.
public Daisy(double stemLength, DaisyColor color) { super("Daisy", stemLength, 0); switch (color) { case BLUE: { setPrice(BLUE_DAISY_PRICE*((int)(stemLength/30)+1)); break; } case WHITE: { setPrice(WHITE_DAISY_PRICE*((int)(stemLength/30)+1)); break; } } this.color = color; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Daisy(double stemLength, Date dateOfDelivery, DaisyColor color) {\n super(\"Daisy\", stemLength, dateOfDelivery, 0);\n switch (color) {\n case BLUE: {\n setPrice(BLUE_DAISY_PRICE*((int)(stemLength/30)+1));\n break;\n }\n case WHITE...
[ "0.7091217", "0.6624477", "0.57760364", "0.5650347", "0.5644583", "0.55928266", "0.5576623", "0.5528731", "0.5451031", "0.5389482", "0.53478134", "0.5329976", "0.53206646", "0.53198415", "0.5319302", "0.5310403", "0.53054774", "0.52970576", "0.52931404", "0.5292077", "0.52659...
0.7225704
0
Creates a new daisy with the given dateOfDelivery and color.
public Daisy(double stemLength, Date dateOfDelivery, DaisyColor color) { super("Daisy", stemLength, dateOfDelivery, 0); switch (color) { case BLUE: { setPrice(BLUE_DAISY_PRICE*((int)(stemLength/30)+1)); break; } case WHITE: { setPrice(WHITE_DAISY_PRICE*((int)(stemLength/30)+1)); break; } } this.color = color; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Daisy(double stemLength, DaisyColor color) {\n super(\"Daisy\", stemLength, 0);\n switch (color) {\n case BLUE: {\n setPrice(BLUE_DAISY_PRICE*((int)(stemLength/30)+1));\n break;\n }\n case WHITE: {\n setPrice(WHITE_D...
[ "0.5561515", "0.55032545", "0.5410405", "0.5322098", "0.52410066", "0.5238788", "0.5223386", "0.5221072", "0.5090405", "0.5049208", "0.49983674", "0.4963657", "0.49501812", "0.489324", "0.4877507", "0.48445675", "0.48445675", "0.48411742", "0.48264962", "0.48174503", "0.48145...
0.7285188
0
TODO Bind views to XML files
private void initialiseViews() { setDefaultKeyMode(DEFAULT_KEYS_SEARCH_LOCAL); bindings = DataBindingUtil.setContentView(this, R.layout.activity_catalog_product); bindings.activityCatalogProductPb.setVisibility(View.GONE); bindings.activityCatalogProductFab.setOnClickListener(v -> { Intent addProductIntent = new Intent(ProductCatalogMain.this, ProductEditor.class); startActivity(addProductIntent); overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left); }); setSupportActionBar(bindings.activityCatalogProductToolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); tabPageAdapter = new ProductCatalogFragmentPageAdapter(getSupportFragmentManager()); tabViewPager = bindings.activityCatalogProductVp; tabViewPager.setAdapter(tabPageAdapter); if (bindings.activityCatalogProductVp != null) { setupViewPager(bindings.activityCatalogProductVp); } // Sets up the Tab's and their titles. bindings.activityCatalogProductTl.setupWithViewPager(bindings.activityCatalogProductVp); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void loadViews(){\n\t}", "private void registerViews() {\n\t}", "Views getViews();", "private void addViews() {\n\t}", "private void setViews() {\n\n }", "@Override\r\n\tprotected void initViews() {\n\t\t\r\n\t}", "public interface CarXmlView extends BaseView {\n void showResult(String xm...
[ "0.71133024", "0.70821327", "0.68628645", "0.67331994", "0.6714735", "0.6571972", "0.6466424", "0.6466343", "0.64560914", "0.64560914", "0.6455302", "0.6455302", "0.64201814", "0.640527", "0.6364634", "0.6363591", "0.6316308", "0.63149536", "0.63120335", "0.62703276", "0.6226...
0.0
-1
static Statement st=null; static ResultSet rp=null; Creates new form Pacientes
public Pacientes() { initComponents(); mostrarDatosPaciente(""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DanielPatricio() throws SQLException {\n initComponents();\n //limpiar();\n recargarDropDownCarros();\n recargarTextArea();\n recargarDataTable();\n \n \n }", "public PujaDAO() {\n con = null;\n st = null;\n rs = null;\n }", "pu...
[ "0.6362129", "0.6316293", "0.6314269", "0.63084066", "0.6283506", "0.6270804", "0.6246365", "0.6246168", "0.62287366", "0.61261946", "0.61131215", "0.6041894", "0.6010456", "0.60064816", "0.60018826", "0.5993024", "0.5949169", "0.59426934", "0.5852555", "0.58464944", "0.58409...
0.5567483
73
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPopupMenu1 = new javax.swing.JPopupMenu(); jMenuItem1 = new javax.swing.JMenuItem(); jMenuItem2 = new javax.swing.JMenuItem(); jPanel1 = new javax.swing.JPanel(); BMostrarDatos = new javax.swing.JButton(); jLabel1 = new javax.swing.JLabel(); jLabel2 = new javax.swing.JLabel(); jLabel3 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jLabel6 = new javax.swing.JLabel(); TxtCedula = new javax.swing.JTextField(); TxtNombre = new javax.swing.JTextField(); TxtFecNac = new javax.swing.JTextField(); TxtSexo = new javax.swing.JTextField(); TxtDireccion = new javax.swing.JTextField(); BSalir1 = new javax.swing.JButton(); jScrollPane1 = new javax.swing.JScrollPane(); TablaPaciente = new javax.swing.JTable(); TxtBuscar = new javax.swing.JTextField(); BGrabarPaciente1 = new javax.swing.JButton(); BBuscar1 = new javax.swing.JButton(); BActualizar = new javax.swing.JButton(); jMenuItem1.setText("Modificar"); jMenuItem1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem1ActionPerformed(evt); } }); jPopupMenu1.add(jMenuItem1); jMenuItem2.setText("Eliminar"); jMenuItem2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jMenuItem2ActionPerformed(evt); } }); jPopupMenu1.add(jMenuItem2); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); jPanel1.setBackground(new java.awt.Color(0, 153, 255)); BMostrarDatos.setBackground(new java.awt.Color(0, 51, 153)); BMostrarDatos.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N BMostrarDatos.setForeground(new java.awt.Color(255, 255, 255)); BMostrarDatos.setText("MOSTRAR DATOS"); BMostrarDatos.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { BMostrarDatosActionPerformed(evt); } }); jLabel1.setFont(new java.awt.Font("Yu Gothic UI", 1, 36)); // NOI18N jLabel1.setForeground(new java.awt.Color(255, 255, 255)); jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel1.setText("CONSULTA DE PACIENTES"); jLabel1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); jLabel2.setText("CEDULA :"); jLabel3.setText("NOMBRE :"); jLabel4.setText("FECHA NACIMIENTO :"); jLabel5.setText("SEXO :"); jLabel6.setText("DIRECCION :"); BSalir1.setBackground(new java.awt.Color(0, 51, 153)); BSalir1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N BSalir1.setForeground(new java.awt.Color(255, 255, 255)); BSalir1.setText("REGRESAR"); BSalir1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { BSalir1ActionPerformed(evt); } }); TablaPaciente.setModel(new javax.swing.table.DefaultTableModel( new Object [][] { }, new String [] { } )); TablaPaciente.setComponentPopupMenu(jPopupMenu1); TablaPaciente.setGridColor(new java.awt.Color(0, 128, 128)); TablaPaciente.setSelectionForeground(new java.awt.Color(0, 255, 255)); jScrollPane1.setViewportView(TablaPaciente); BGrabarPaciente1.setBackground(new java.awt.Color(0, 51, 153)); BGrabarPaciente1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N BGrabarPaciente1.setForeground(new java.awt.Color(255, 255, 255)); BGrabarPaciente1.setText("GRABAR"); BGrabarPaciente1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { BGrabarPaciente1ActionPerformed(evt); } }); BBuscar1.setBackground(new java.awt.Color(0, 51, 153)); BBuscar1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N BBuscar1.setForeground(new java.awt.Color(255, 255, 255)); BBuscar1.setText("BUSCAR"); BBuscar1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { BBuscar1ActionPerformed(evt); } }); BActualizar.setBackground(new java.awt.Color(0, 51, 153)); BActualizar.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N BActualizar.setForeground(new java.awt.Color(255, 255, 255)); BActualizar.setText("ACTUALIZAR"); BActualizar.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { BActualizarActionPerformed(evt); } }); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel1Layout.createSequentialGroup() .addContainerGap(36, Short.MAX_VALUE) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(BGrabarPaciente1) .addGap(18, 18, 18) .addComponent(BActualizar)) .addGroup(jPanel1Layout.createSequentialGroup() .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel2) .addComponent(jLabel3) .addComponent(jLabel4) .addComponent(jLabel5) .addComponent(jLabel6)) .addGap(29, 29, 29) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(TxtSexo, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TxtFecNac, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TxtCedula, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(TxtNombre, javax.swing.GroupLayout.DEFAULT_SIZE, 441, Short.MAX_VALUE) .addComponent(TxtDireccion))) .addGroup(jPanel1Layout.createSequentialGroup() .addComponent(TxtBuscar, javax.swing.GroupLayout.PREFERRED_SIZE, 156, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(17, 17, 17) .addComponent(BBuscar1) .addGap(18, 18, 18) .addComponent(BMostrarDatos))) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 637, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(42, 42, 42)) .addGroup(jPanel1Layout.createSequentialGroup() .addGap(280, 280, 280) .addComponent(BSalir1) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(33, 33, 33) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel2) .addComponent(TxtCedula, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel3) .addComponent(TxtNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel4) .addComponent(TxtFecNac, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel5) .addComponent(TxtSexo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel6) .addComponent(TxtDireccion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(17, 17, 17) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(BGrabarPaciente1) .addComponent(BActualizar)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(TxtBuscar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(BBuscar1) .addComponent(BMostrarDatos)) .addGap(38, 38, 38) .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 261, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(BSalir1) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) ); pack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "...
0.0
-1
The IPrimitiveSize interface defines a primitive size.
public interface IPrimitiveSize { /** * The number of bits in byte. */ int NumberOfBitsInByte = 8; interface InBytes { /** * The size of a byte in bytes. */ int ByteSize = 1; /** * The size of a short in bytes. */ int ShortSize = 2; /** * The size of an integer in bytes. */ int IntegerSize = 4; /** * The size of a long in bytes. */ int LongSize = 8; /** * The size of a float in bytes. */ int FloatSize = 4; /** * The size of a double in bytes. */ int DoubleSize = 8; /** * The size of a char in bytes. */ int CharacterSize = 2; /** * The size of a reference in bytes. * Assuming 64-bit architecture. */ int ReferenceSize = 8; } interface InBits { /** * The size of a byte in bytes. */ int ByteSize = InBytes.ByteSize * NumberOfBitsInByte; /** * The size of a short in bytes. */ int ShortSize = InBytes.ShortSize * NumberOfBitsInByte; /** * The size of an integer in bytes. */ int IntegerSize = InBytes.IntegerSize * NumberOfBitsInByte; /** * The size of a long in bytes. */ int LongSize = InBytes.LongSize * NumberOfBitsInByte; /** * The size of a float in bytes. */ int FloatSize = InBytes.FloatSize * NumberOfBitsInByte; /** * The size of a double in bytes. */ int DoubleSize = InBytes.DoubleSize * NumberOfBitsInByte; /** * The size of a char in bytes. */ int CharacterSize = InBytes.CharacterSize * NumberOfBitsInByte; /** * The size of a reference in bytes. * Assuming 64-bit architecture. */ int ReferenceSize = InBytes.ReferenceSize * NumberOfBitsInByte; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IntegerLiteral getSize();", "com.google.protobuf.Int32Value getSize();", "public PrimitiveType getPrimitiveType() {\n return primitiveType;\n }", "@ApiModelProperty(example = \"3615\", value = \"Numeric value in bytes\")\n /**\n * Numeric value in bytes\n *\n * @return size Integer\n */\n publi...
[ "0.6145448", "0.5681228", "0.5652917", "0.5637894", "0.56328356", "0.5626155", "0.5577384", "0.5577021", "0.55463964", "0.55463964", "0.55463964", "0.55463964", "0.5530485", "0.55146396", "0.54650337", "0.5430484", "0.54145676", "0.539323", "0.5366771", "0.5363509", "0.535007...
0.70386416
0
This is an abstract method which is implemented by all the sub classes. Display will be defer to each other.
public abstract void display();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void display() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void display() {\n\t\t\r\n\t}", "@Override\n public void display() {\n\n }", "@Override\n\tpublic void display() {\n\t\t\n\t}", "@Override\n\tpublic void display() {\n\t\t\n\t}", "abstract public void display();", "@Over...
[ "0.7927285", "0.7927285", "0.7899963", "0.7883296", "0.7883296", "0.78786385", "0.78464556", "0.78464556", "0.78464556", "0.78211373", "0.7735873", "0.769346", "0.75926614", "0.7502174", "0.74387276", "0.73924106", "0.73924106", "0.72661626", "0.72643065", "0.72070354", "0.71...
0.7892911
4
This is a common method for all ducks. This is inherited by all sub classes.
public void swim() { System.out.println("All the ducks can swim. This is an unchanged behavior for all ducks"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "public void createDeck(){\n //Does nothing because it will be overridden in the child classes.\n }", "@Override\npublic Deck<T> getDeck(){\n\treturn deck;\n}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic...
[ "0.55455387", "0.55096704", "0.54517406", "0.54252", "0.5381472", "0.53167534", "0.5295077", "0.52857673", "0.5285353", "0.5282858", "0.52787775", "0.52598536", "0.52598536", "0.52427155", "0.52427155", "0.5237559", "0.5229334", "0.5229334", "0.5199264", "0.51991564", "0.5174...
0.0
-1
This is a common method for all ducks. This is inherited by all sub classes.
public void performQuck() { quackBehavior.quack(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "public void createDeck(){\n //Does nothing because it will be overridden in the child classes.\n }", "@Override\npublic Deck<T> getDeck(){\n\treturn deck;\n}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic...
[ "0.5546246", "0.55092895", "0.54506826", "0.542717", "0.5381288", "0.5318404", "0.52967435", "0.52866614", "0.528556", "0.528174", "0.5278904", "0.5262047", "0.5262047", "0.52437335", "0.52437335", "0.5237968", "0.52309746", "0.52309746", "0.5201038", "0.5199889", "0.5175078"...
0.0
-1
This is a common method for all ducks. This is inherited by all sub classes.
public void performFly() { flyBehavior.fly(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "public void createDeck(){\n //Does nothing because it will be overridden in the child classes.\n }", "@Override\npublic Deck<T> getDeck(){\n\treturn deck;\n}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic...
[ "0.5546246", "0.55092895", "0.54506826", "0.542717", "0.5381288", "0.5318404", "0.52967435", "0.52866614", "0.528556", "0.528174", "0.5278904", "0.5262047", "0.5262047", "0.52437335", "0.52437335", "0.5237968", "0.52309746", "0.52309746", "0.5201038", "0.5199889", "0.5175078"...
0.0
-1
TODO Autogenerated method stub
@Override protected void lazyLoad() { if (!isPrepared || !isVisible) { return; } initResumeInfo(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); isPrepared = true; activity = getActivity(); app = (App) activity.getApplication(); handler = new ResumeInfoHandler(activity, this); resumeInfoFragment = ResumeInfoFragment.this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { String note = edit_note.getText().toString().trim(); noteDialog.dismiss(); setNote(note); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { noteDialog.dismiss(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onDismiss(DialogInterface dialog) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { if (container == null) { return null; } View view = inflater.inflate(R.layout.fragment_resumeinfo, container, false); resumeinfo_content = (ScrollView) view.findViewById(R.id.resumeinfo_content); workExperienceLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_workexperience_layout); eduBackgroundLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_edubackground_layout); projectExperienceLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_projectexperience_layout); selfEvaluationLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_selfevaluation_layout); languageLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_language_layout); professionalSkillLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_professionalskill_layout); trainingExperienceLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_trainingexperience_layout); // // 添加附件、作品 // resumeinfoaccessorylayout = (LinearLayout) view.findViewById(R.id.resumeinfo_accessory_layout); /* lins = (LinearLayout) view.findViewById(R.id.lins);*/ cerificateLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_cerificate_layout); tvNoResume= (TextView) view.findViewById(R.id.tv_noResume); otherLayout = (LinearLayout) view.findViewById(R.id.resumeinfo_other_layout); // 初始化头布局==3 headinfo_job = (LinearLayout) view.findViewById(R.id.headinfo_job); headInfoNote = (TextView) view.findViewById(R.id.headinfo_note); applyJobName = (TextView) view.findViewById(R.id.apply_job_name); lableApplyJobTime = (TextView) view.findViewById(R.id.lable_apply_job_time); applyJobTime = (TextView) view.findViewById(R.id.apply_job_time); // 初始化个人信息==18 personInfoName = (TextView) view.findViewById(R.id.personinfo_name); personInfoSex = (TextView) view.findViewById(R.id.personinfo_sex); personInfoAge = (TextView) view.findViewById(R.id.personinfo_age); btn_resumeinfo_note = (Button) view.findViewById(R.id.btn_resumeinfo_note); btn_resumeinfo_note.setOnClickListener(this); // 添加初始化血型 personinfobloodtype = (TextView) view.findViewById(R.id.personinfo_bloodtype); personInfoDegree = (TextView) view.findViewById(R.id.personinfo_degree); // 添加初始化身高 personinfoheight = (TextView) view.findViewById(R.id.personinfo_height); personInfoCountry = (TextView) view.findViewById(R.id.personinfo_country); personInfoNowplace = (TextView) view.findViewById(R.id.personinfo_nowplace); personInfoHukou = (TextView) view.findViewById(R.id.personinfo_hukou); personInfoWorkyear = (TextView) view.findViewById(R.id.personinfo_workyear); personInfoPostRank = (TextView) view.findViewById(R.id.personinfo_post_rank); personInfoPoliticsStatus = (TextView) view.findViewById(R.id.personinfo_politics_status); personInfoMarriageStatus = (TextView) view.findViewById(R.id.personinfo_marriage_status); personInfoCellphone = (TextView) view.findViewById(R.id.personinfo_cellphone_number); /* personInfoTelphone = (TextView) view.findViewById(R.id.personinfo_telphone);*/ personInfoEmailAddress = (TextView) view.findViewById(R.id.personinfo_emailaddress); personInfoMessageAddress = (TextView) view.findViewById(R.id.personinfo_message_address); personInfoHomePage = (TextView) view.findViewById(R.id.personinfo_homepage); personInfoMessagetype = (TextView) view.findViewById(R.id.personinfo_messagetype); /* personInfoMessageNum = (TextView) view.findViewById(R.id.personinfo_message_num);*/ personInfoPhoto = (ImageView) view.findViewById(R.id.personinfo_photo); callPhone1 = (ImageView) view.findViewById(R.id.call_phone_1); /*callPhone2 = (ImageView) view.findViewById(R.id.call_phone_2);*/ cellphoneTr = (TableRow) view.findViewById(R.id.cellphone_tr); /*telphoneTr = (TableRow) view.findViewById(R.id.telphone_tr);*/ emailTr = (TableRow) view.findViewById(R.id.email_tr); homepageTr = (TableRow) view.findViewById(R.id.homepage_tr); messagetypeTr = (TableRow) view.findViewById(R.id.messagetype_tr); /* messagenumTr = (TableRow) view.findViewById(R.id.messagenum_tr);*/ personinfoTitle = (TextView) view.findViewById(R.id.personinfo_title); // 初始化求职意向==7 jobIntentionWorktype = (TextView) view.findViewById(R.id.jobintention_worktype); jobIntentionExpectPosition = (TextView) view.findViewById(R.id.jobintention_expectposition); jobIntentionIndustry = (TextView) view.findViewById(R.id.jobintention_industry); jobIntentionField = (TextView) view.findViewById(R.id.jobintention_field); jobIntentionWorkPalce = (TextView) view.findViewById(R.id.jobintention_workplace); jobIntentionExceptSalary = (TextView) view.findViewById(R.id.jobintention_expectsalary); jobIntentionState = (TextView) view.findViewById(R.id.jobintention_state); // 初始化工作经验==10 workExperienceTime = (TextView) view.findViewById(R.id.workexperience_time); workExperienceCompany = (TextView) view.findViewById(R.id.workexperience_company); workExperienceCompanyType = (TextView) view.findViewById(R.id.workexperience_companytype); workExperienceCompanySize = (TextView) view.findViewById(R.id.workexperience_companysize); workExperienceAddress = (TextView) view.findViewById(R.id.workexperience_address); workExperiencePresalary = (TextView) view.findViewById(R.id.workexperience_presalary); workExperiencePosition = (TextView) view.findViewById(R.id.workexperience_position); workExperienceDuty = (TextView) view.findViewById(R.id.workexperience_duty); workExperienceResonLeave = (TextView) view.findViewById(R.id.workexperience_resonleave); workExperienceAbroad = (TextView) view.findViewById(R.id.workexperience_abroad); // 初始化教育背景==6 eduBackgroundTime = (TextView) view.findViewById(R.id.edubackground_time); eduBackgroundSchoolName = (TextView) view.findViewById(R.id.edubackground_schoolname); eduBackgroundDegree = (TextView) view.findViewById(R.id.edubackground_degree); eduBackgroundMajor = (TextView) view.findViewById(R.id.edubackground_major); // 专业描述 eduBackgroundMajorDes = (TextView) view.findViewById(R.id.edubackground_major_des); eduBackgroundAbroad = (TextView) view.findViewById(R.id.edubackground_abroad); // 初始化项目经验==5 projectExperienceTime = (TextView) view.findViewById(R.id.projectexperience_time); projectExperienceName = (TextView) view.findViewById(R.id.projectexperience_name); projectExperienceDesc = (TextView) view.findViewById(R.id.projectexperience_desc); projectExperiencePosition = (TextView) view.findViewById(R.id.projectexperience_position); projectExperienceDuty = (TextView) view.findViewById(R.id.projectexperience_duty); // 初始化自我评价==1 selfEvaluationDesc = (TextView) view.findViewById(R.id.selfevaluation_desc); // 初始化语言==3 languageType = (TextView) view.findViewById(R.id.language_type); languageReadWrite = (TextView) view.findViewById(R.id.language_readwrite); languageListenSpeak = (TextView) view.findViewById(R.id.language_listenspeak); // 初始化专业技能==3 professionalSkillName = (TextView) view.findViewById(R.id.professionalskill_name); professionalSkillUserTime = (TextView) view.findViewById(R.id.professionalskill_usertime); professionalSkillLevel = (TextView) view.findViewById(R.id.professionalskill_level); // 初始化培训经历==6 trainingExperienceTime = (TextView) view.findViewById(R.id.trainingexperience_time); trainingExperienceOrganization = (TextView) view.findViewById(R.id.trainingexperience_organization); trainingExperienceCourses = (TextView) view.findViewById(R.id.trainingexperience_courses); trainingExperienceCertificate = (TextView) view.findViewById(R.id.trainingexperience_certificate); trainingExperienceAddress = (TextView) view.findViewById(R.id.trainingexperience_address); trainingExperienceDesc = (TextView) view.findViewById(R.id.trainingexperience_desc); // 初始化附件、作品 cerificateaccessories = (TextView) view.findViewById(R.id.cerificate_accessories); cerificatename = (TextView) view.findViewById(R.id.cerificate_name2); // 初始化证书==2 cerificateTime = (TextView) view.findViewById(R.id.cerificate_time); cerificateName = (TextView) view.findViewById(R.id.cerificate_name); // 添加证书描述 cerificatedescribe = (TextView) view.findViewById(R.id.cerificate_describe); // 初始化其他==1 otherLabelName = (TextView) view.findViewById(R.id.other_lable_name); otherName = (TextView) view.findViewById(R.id.other_name); return view; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); // 注册广播,接收修改备注信息 brocast = new ResumeInfoFragmentBrocast(); IntentFilter filter = new IntentFilter(NOTE_ACTION); activity.registerReceiver(brocast, filter); lazyLoad(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onDestroyView() { super.onDestroyView(); resume_id = null; cellNums = null; telNums = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onDestroy() { super.onDestroy(); activity.unregisterReceiver(brocast); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onReceive(Context context, Intent intent) { if (intent.getAction().equals(NOTE_ACTION)) { remark = intent.getStringExtra("remark"); updataNote(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(View v) { switch (v.getId()) { case R.id.call_phone_1: if (cellNums != null) { showNumDialog(cellNums); } else { callPhone(personInfoCellphone.getText().toString().trim()); } break; case R.id.call_phone_2: if (telNums != null) { showNumDialog(telNums); } else { /*callPhone(personInfoTelphone.getText().toString().trim());*/ } break; case R.id.btn_resumeinfo_note: showNoteDialog(); break; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { dialog.dismiss(); callPhone(nums[position]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Added a sleep statement to match the app's execution delay. The recommended way to handle such scenarios is to use Espresso idling resources:
@Test public void espressoMateriTest() { try { Thread.sleep(1000); } catch (InterruptedException e) { e.printStackTrace(); } ViewInteraction appCompatImageView = onView( allOf(withId(R.id.menu1), childAtPosition( childAtPosition( withId(R.id.viewpager), 0), 1), isDisplayed())); appCompatImageView.perform(click()); ViewInteraction tabView = onView( allOf(childAtPosition( childAtPosition( withId(R.id.sliding_tabs), 0), 1), isDisplayed())); tabView.perform(click()); ViewInteraction viewPager = onView( allOf(withId(R.id.viewpager), childAtPosition( allOf(withId(R.id.llMateri), childAtPosition( withId(android.R.id.content), 0)), 1), isDisplayed())); viewPager.perform(swipeLeft()); DataInteraction constraintLayout = onData(withId(R.id.iv_pendahuluan_gambar)) .inAdapterView(allOf(withId(android.R.id.list), isDisplayed())) .atPosition(2); constraintLayout.perform(click()); ViewInteraction appCompatImageButton = onView( allOf(withContentDescription("Navigate up"), childAtPosition( allOf(withId(R.id.toolbar), childAtPosition( withId(R.id.collapsing_toolbar), 2)), 1), isDisplayed())); appCompatImageButton.perform(click()); ViewInteraction appCompatImageButton2 = onView( allOf(withContentDescription("Navigate up"), childAtPosition( allOf(withId(R.id.toolbar), childAtPosition( withId(R.id.appbar), 0)), 1), isDisplayed())); appCompatImageButton2.perform(click()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void emulateDelay() {\n try {\n Thread.sleep(700);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }", "@Test\n public void TestNexAppPM () {\n onView(withId(R.id.noUpcoming)).check(matches(withText(containsString(\"PM\"))));//TODO...
[ "0.6329192", "0.625443", "0.61722654", "0.6090032", "0.60600704", "0.59429723", "0.5914971", "0.5884248", "0.5882851", "0.5879715", "0.5860015", "0.5856374", "0.58225805", "0.5687348", "0.56762683", "0.56717646", "0.56540644", "0.56410664", "0.5624015", "0.561431", "0.5605257...
0.0
-1
will point to the first one to enter
MyStack(){ super(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void nextFocusedField(KeyEvent ke) {\r\n Gui.sumFieldFocused(); //Aumenta el contador\r\n //Si el foco esta en algun nodo del formulario \r\n if(Gui.getFieldFocused() < Gui.getFieldsSize()){\r\n //Se Enfoca el nuevo nodo correspondiente\r\n Gui.getFields()[Gui.ge...
[ "0.6265088", "0.6089085", "0.6012461", "0.59886366", "0.5974503", "0.5927294", "0.5906873", "0.5895546", "0.58734775", "0.5811904", "0.5804171", "0.57738596", "0.57644993", "0.5762404", "0.5755621", "0.5738582", "0.5737383", "0.57226944", "0.5630624", "0.5627708", "0.5625517"...
0.0
-1
Add value to the beginning of the list. Stack is LIFO.
public void push(String item) { Node node = new Node(); node.data=item; node.next=last; last=node; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void pushFront(T value) throws ListException;", "protected void insertBeginning(T value) {\r\n\t\tthis.getHead().setPrev(new SNode<T>(value, this.getHead().getPrev()));\r\n\t\tthis.size++;\r\n\t}", "public void addToFront(T value) {\n\t\tstart = new Node<T>(value, start);\n\t}", "public void addAtStart(T val...
[ "0.74555767", "0.71938634", "0.70971245", "0.70686775", "0.6988472", "0.6896495", "0.6891972", "0.68437946", "0.68368435", "0.68224", "0.67939454", "0.6793815", "0.6762084", "0.6750559", "0.6728683", "0.6692737", "0.6674098", "0.66405964", "0.6631151", "0.6607144", "0.6584834...
0.0
-1
No args constructor for use in serialization
public FragmentCount() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "MyEncodeableWithoutPublicNoArgConstructor() {}", "public ObjectSerializationEncoder() {\n // Do nothing\n }", "@SuppressWarnings(\"unused\")\n public NoConstructor() {\n // Empty\n }", "defaultConstructor(){}", "public Data() {}", "private SerializerFactory() {\n ...
[ "0.74630904", "0.7387007", "0.7210724", "0.7029566", "0.7018587", "0.6977819", "0.69339114", "0.6881743", "0.6739828", "0.6727297", "0.6717886", "0.67169136", "0.669586", "0.669586", "0.66750634", "0.66246814", "0.6604095", "0.6532946", "0.65235436", "0.6500072", "0.6466648",...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column zd_role.id
public Integer getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getRoleid() {\r\n return roleid;\r\n }", "public Long getRoleid() {\n return roleid;\n }", "public Integer getIdRole() {\n\t\treturn idRole;\n\t}", "public Integer getRoleId() {\r\n return roleId;\r\n }", "public Integer getRoleId() {\n return roleId;\n ...
[ "0.74501044", "0.732397", "0.7262289", "0.72408026", "0.72011054", "0.72011054", "0.72011054", "0.72011054", "0.72011054", "0.72011054", "0.72011054", "0.72011054", "0.714592", "0.714592", "0.714592", "0.7102998", "0.7082246", "0.70705456", "0.70705456", "0.70705456", "0.7070...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column zd_role.id
public void setId(Integer id) { this.id = id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRoleid(Integer roleid) {\r\n this.roleid = roleid;\r\n }", "public void setRoleId(Integer roleId) {\r\n this.roleId = roleId;\r\n }", "public void setRoleId(Integer roleId) {\n this.roleId = roleId;\n }", "public void setRoleId(Integer roleId) {\n this.role...
[ "0.69548875", "0.68775445", "0.6730358", "0.6730358", "0.6730358", "0.6730358", "0.6730358", "0.6730358", "0.6730358", "0.6730358", "0.6721428", "0.6698875", "0.66763073", "0.66574156", "0.66284287", "0.6610339", "0.6583831", "0.6583831", "0.6583831", "0.6565975", "0.6565975"...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column zd_role.name
public String getName() { return name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getRoleName();", "public String getRole_name() {\n return role_name;\n }", "public String getRoleName() {\r\n return roleName;\r\n }", "public String getRoleName() {\r\n return roleName;\r\n }", "public String roleName() {\n return this.roleName;\n }", "publ...
[ "0.70858", "0.7061863", "0.6912407", "0.6912407", "0.6857614", "0.68541646", "0.68541646", "0.68541646", "0.68541646", "0.68541646", "0.68541646", "0.68460697", "0.6835332", "0.6835332", "0.6791915", "0.678932", "0.676354", "0.658669", "0.6326298", "0.6326298", "0.623711", ...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column zd_role.name
public void setName(String name) { this.name = name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRoleName(String paramRole) {\n\tstrRoleName = paramRole;\n }", "@Override\n public void setRole(String roleName) {\n this.role = roleName;\n }", "public void setRole_name(String role_name) {\n this.role_name = role_name;\n }", "public void setRoleName(java.lang.Strin...
[ "0.7076561", "0.67169803", "0.6635539", "0.65658486", "0.6357839", "0.6356653", "0.63374406", "0.6243312", "0.62432766", "0.6229162", "0.61663496", "0.61663496", "0.61386424", "0.61386424", "0.6107648", "0.6107648", "0.6107648", "0.6107648", "0.6107648", "0.6043749", "0.60437...
0.0
-1
Keycloak email action constructor
KeycloakEmailActions(String propKey){ this.propKey = propKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Email(){}", "public Email() {\n\t}", "public EmailSender()\r\n {\r\n this(\"javaemailsender\" ,\"sendtestemail\");\r\n }", "public MailCommand() {\n this(\"\");\n }", "public MJEasyEmail email() {\n return new MJEasyEmail(this, new MailjetRequest(Email.resource));\n }...
[ "0.6387811", "0.62005615", "0.6038691", "0.599328", "0.578157", "0.57457924", "0.5737826", "0.5737759", "0.5686693", "0.568494", "0.56655914", "0.5634487", "0.563159", "0.56140053", "0.5597342", "0.55914426", "0.5562717", "0.5553835", "0.55028176", "0.5450365", "0.5434589", ...
0.76265997
0