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
public static final String takesGorilla = "Farmer Takes Gorilla";
public FarmerMover() { //super.addMove(goesAlone, s -> tryAlone(s)); super.addMove(goesAlone, new UnaryOperator<State>() { @Override public State apply(State state) { return tryAlone(state); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String name(){\n return \"10.Schneiderman.Lorenzo\"; \n }", "protected String myString(){\n \treturn( \"gate \" + name ); \n }", "String constant();", "public static String giveMeMyName(){\n return \"Okan\";\n }", "public String getName() {\r\n return \"Boyer/Moore-Such...
[ "0.62974703", "0.62667173", "0.6255996", "0.6254219", "0.6190665", "0.6150641", "0.6092238", "0.60199445", "0.5988472", "0.5931175", "0.59308046", "0.5919739", "0.5892566", "0.58787906", "0.5877217", "0.58766806", "0.5861407", "0.5830695", "0.5790711", "0.5783568", "0.5774977...
0.0
-1
localonly for first scenario
@Before("@First") public void beforeFirst() { System.out.println("Launch FF browser---first"); System.out.println("Enter the free crm url--first"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setupLocal() {}", "public boolean isLocal()\n {\n return true;\n }", "boolean isLocal();", "public boolean isLocal();", "@Given(\"prepare to Access & exfiltrate data within the victim's security zone\")\npublic void preaccessexfiltratedatawithinthevictimssecurityzone(){\n}", "...
[ "0.6351302", "0.5937696", "0.58660805", "0.58147234", "0.58116645", "0.58041614", "0.57327396", "0.5679621", "0.5616558", "0.5569762", "0.5567626", "0.55515516", "0.55409795", "0.5535382", "0.5470451", "0.54554", "0.5446285", "0.5395959", "0.5379906", "0.5352055", "0.5349239"...
0.0
-1
do something with the clicked item :D
@Override public boolean onItemClick(View view, int position, IDrawerItem drawerItem) { if(position==2){ Intent intent = new Intent(MainActivity.this,MessagesActivity.class); startActivity(intent); // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void itemClick(int pos) {\n }", "void clickItem(int uid);", "@Override\n public void OnItemClick(int position) {\n }", "@Override\n public void onItemClick(int pos) {\n }", "@Override\n public void onItemClicked(int ite...
[ "0.7961985", "0.7699526", "0.76754653", "0.7665146", "0.7632704", "0.7625776", "0.7574927", "0.7547716", "0.7534029", "0.7530553", "0.75143266", "0.75095266", "0.74618304", "0.74457765", "0.7439025", "0.741205", "0.741205", "0.741205", "0.741205", "0.741205", "0.74098104", ...
0.0
-1
open / close the drawer
@Override public void onClick(View view) { drawer.openDrawer(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onDrawerOpened() {\n\t\t\t\tshowDown();\n\t\t\t}", "private void closeDrawer(){\n if (drawerLayout.isDrawerOpen(GravityCompat.START)){\n drawerLayout.closeDrawer(GravityCompat.START);\n }\n }", "@Override\n\t\t\tpublic void onDrawerClosed() {\n\t\t\t\tsh...
[ "0.7443765", "0.7217419", "0.7107806", "0.70989466", "0.7054605", "0.7040216", "0.6985007", "0.6916619", "0.68350655", "0.67313826", "0.6729863", "0.6724859", "0.66026324", "0.6588077", "0.6574931", "0.6574931", "0.6550155", "0.6532717", "0.6532657", "0.6524295", "0.6516058",...
0.7010436
6
falta inserir no banco e arrumar o curso
public boolean salvar() { try { if(caixaCpf.getText()!=null) { Tecnico tecnico = new Tecnico(); Unidade unidade = new UnidadeDAO().buscaSigla(comboUnidadeTrab.getSelectedItem().toString()); Date data = new Date (Integer.parseInt(caixaAno.getText())-1900,Integer.parseInt(caixaMes.get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void inserir(Comentario c);", "public void insert(Curso curso) throws SQLException {\n String query = \"\";\n Conexion db = new Conexion();\n\n query = \"INSERT INTO curso VALUES (NULL,?,?,?);\";\n \n PreparedStatement ps = db.conectar().prepareStatement(query);\n ...
[ "0.7418478", "0.6840561", "0.67604077", "0.6697892", "0.6694722", "0.66941756", "0.66784066", "0.6672608", "0.664304", "0.6615241", "0.6573904", "0.6573455", "0.65069914", "0.64888096", "0.64793384", "0.64361787", "0.6409636", "0.64084625", "0.64004827", "0.63702273", "0.6353...
0.0
-1
Count list of rice cookers quantity
long countAll();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getRecipesCount();", "int getAcksCount();", "int getAcksCount();", "int getPurchasableOffersCount();", "int getReaultCount();", "public int getNumRecipes()\n {\n return _recipes.size();\n }", "public int beanBagsInStock() {\n int counter = 0;\r\n // Loop through every object in the ...
[ "0.69558454", "0.65551925", "0.65551925", "0.6326168", "0.6322229", "0.63147485", "0.62691784", "0.62491333", "0.62283707", "0.6195228", "0.611558", "0.6107395", "0.61024046", "0.6061455", "0.6043482", "0.59664524", "0.5948663", "0.5934025", "0.59252685", "0.59239584", "0.591...
0.0
-1
Count list of rice cookers quantity by filter
long countByFilter(String keySearch, String brands, Double priceFrom, Double priceTo);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getAllShelfCount(String filter, String username);", "long getRecipesCount();", "public Integer getAllWishlistCount(String filter, String username);", "default int countItems(Predicate<ItemStack> filter) {\n return streamStacks().filter(filter).mapToInt(InvTools::sizeOf).sum();\n }", ...
[ "0.70259666", "0.6663535", "0.6576796", "0.6411348", "0.62122333", "0.61918825", "0.61918825", "0.61903214", "0.61591643", "0.6101985", "0.6101657", "0.6100207", "0.606905", "0.6008339", "0.5933522", "0.59330326", "0.58065355", "0.5803557", "0.5802236", "0.5794622", "0.575856...
0.615793
9
Get list of rice cookers per page
List<RiceCooker> getPerPage(long startRow, long maxRows);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\tpublic int getCount() {\n\t\t\treturn mPagers.size();\r\n\t\t}", "public Integer getPerPage();", "public List<RLOrder> getItems() {\n\t\treturn _orders.getPage(_currentPage);\n\t}", "public Book[] getRecommendBooks()\n {\n String stmnt = String.format(\n \"SELECT * F...
[ "0.5276335", "0.51792204", "0.5134875", "0.512817", "0.50705886", "0.5036833", "0.5016816", "0.50125706", "0.50026387", "0.4992365", "0.4972273", "0.49635378", "0.49601018", "0.49573392", "0.49285877", "0.48979715", "0.4874319", "0.48357034", "0.48331302", "0.48319903", "0.48...
0.69854236
0
Get list of rice cookers by brand
List<RiceCooker> getByFilter(String keySearch, String brands, Double priceFrom, Double priceTo, long startRow, long maxRows);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Car> findCarsByBrand(String brand){\r\n return repository.findCarsByBrand(brand);\r\n }", "List<Car> getByBrandAndColor(String brand, String color);", "public List<Brand> getBrands(String name) throws IOException {\n return getBrands(name,25,0);\n }", "@Override\r\n\tpublic Lis...
[ "0.6530474", "0.6256362", "0.62341094", "0.6034965", "0.59556025", "0.5941279", "0.5933072", "0.59324974", "0.5923962", "0.586286", "0.58325464", "0.5789296", "0.5761614", "0.5761614", "0.5761614", "0.5761614", "0.5761123", "0.57505643", "0.5745148", "0.56230664", "0.56044316...
0.68428004
0
Get rice cooker by ID
RiceCooker getById(long id);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "RiceCooker getByName(String name);", "@Override\n\tpublic Recipe getRecipe(int id) {\n\t\tRestTemplate restTemplate = new RestTemplate();\n\t\t\n\t\tResponseEntity<Recipe> rateResponse =\n\t\t restTemplate.exchange(BASE_URL + RECIPE_URL + id, HttpMethod.GET, \n\t\t \t\tnull, new ParameterizedTypeRe...
[ "0.72646666", "0.65730435", "0.6512605", "0.63316154", "0.62590283", "0.6167694", "0.6145172", "0.6114683", "0.61028385", "0.61008817", "0.60913277", "0.6068862", "0.60620344", "0.60532403", "0.59662694", "0.5942797", "0.59339184", "0.5877956", "0.5877177", "0.58658725", "0.5...
0.86215955
0
Get rice cooker by name
RiceCooker getByName(String name);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "RiceCooker getById(long id);", "public IReasoner findReasoner(String name, String version) {\r\n if (null == name) {\r\n throw new IllegalArgumentException(\"name must not be null\");\r\n }\r\n IReasoner reasoner = registry.findReasoner(name, version);\r\n if (null == reaso...
[ "0.6799454", "0.5639343", "0.5636517", "0.5502213", "0.5495147", "0.5404588", "0.532283", "0.531175", "0.5266", "0.52636653", "0.52253693", "0.5192177", "0.50884175", "0.50774854", "0.5071923", "0.5064789", "0.5036392", "0.5035628", "0.5029691", "0.50275224", "0.4997807", "...
0.88525254
0
Add new rice cooker
void add(RiceCooker riceCooker);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addNewRecipe() {\r\n listOfRecipes.add(new Recipe().createNewRecipe());\r\n }", "public void cook(Chef chef) {\n new Cooker(chef).cookIngredients(ingredients);\n }", "RecipeObject addRecipe(RecipeObject recipe);", "void addRecipe(RecipeGroup rg)\r\n\t{\tthis.recipes.add(rg);\t}", ...
[ "0.6249134", "0.6047058", "0.5882229", "0.5855133", "0.57432693", "0.5737869", "0.57032627", "0.5678704", "0.5677394", "0.564361", "0.56386006", "0.5610436", "0.5561743", "0.5546581", "0.54874843", "0.54477566", "0.5411447", "0.54012036", "0.53798527", "0.5370476", "0.5356530...
0.8196147
0
Referenced classes of package p.ae: d
private static class <init> implements e { public String a() { return ""; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String[] getReferencedJavaClasses() {\n\t\tclass ClassNameVisitor extends JVisitor {\n\t\t\tList<String> classNames = new ArrayList<String>();\n\n\t\t\t@Override\n\t\t\tpublic boolean visit(JClassType x, Context ctx) {\n\t\t\t\tclassNames.add(x.getName());\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\tClassNa...
[ "0.6315536", "0.62709033", "0.5758734", "0.5726772", "0.56804854", "0.56410384", "0.56236356", "0.56197786", "0.5570939", "0.5440337", "0.5440337", "0.54364085", "0.5423255", "0.5381681", "0.53747994", "0.5363474", "0.5340984", "0.53378254", "0.53019315", "0.52651286", "0.522...
0.0
-1
System.out.println("id="+ key.getId() + ",name=" + key.getName());
@RequestMapping(value = "/saveOrUpdate", method = RequestMethod.POST) public ModelAndView saveOrUpdate(Key key) { if (key.getId() == null) { keyDao.save(key); } else { keyDao.update(key); } return new ModelAndView("redirect:/key/list"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString(){\n return key;\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Key, ID: \"+this.id;\n\t}", "@Override\n public String getKey()\n {\n return id; \n }", "@Override\n public String toString() {\n return key;\n }", "@Override\n\...
[ "0.78866243", "0.78189325", "0.78086406", "0.7552862", "0.744931", "0.7402115", "0.7370907", "0.73637325", "0.7211289", "0.7153909", "0.71031225", "0.71012074", "0.71012074", "0.71012074", "0.71012074", "0.70581776", "0.701672", "0.7015289", "0.7015289", "0.6981944", "0.69761...
0.0
-1
System.out.println("id="+ key.getId() + ",name=" + key.getName());
@RequestMapping(value = "/delete/{id}", method = RequestMethod.GET) public ModelAndView delete(@PathVariable Integer id) { Key key = keyDao.findById(id); keyDao.delete(key); return new ModelAndView("redirect:/key/list"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString(){\n return key;\n }", "@Override\n\tpublic String toString() {\n\t\treturn \"Key, ID: \"+this.id;\n\t}", "@Override\n public String getKey()\n {\n return id; \n }", "@Override\n public String toString() {\n return key;\n }", "@Override\n\...
[ "0.7887503", "0.7819655", "0.7809655", "0.75535446", "0.74502134", "0.74030757", "0.7371414", "0.7364542", "0.72117484", "0.7154844", "0.7104299", "0.7102279", "0.7102279", "0.7102279", "0.7102279", "0.7059049", "0.70174056", "0.7016248", "0.7016248", "0.698308", "0.69766384"...
0.0
-1
Constructors Create a detached DropTableItemRecord
public DropTableItemRecord() { super(DropTableItem.DROP_TABLE_ITEM); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DropTableItemRecord(Integer id, Integer dropTableId, String itemType, Integer amount, String quality, Integer chance, String toolType) {\n super(DropTableItem.DROP_TABLE_ITEM);\n\n set(0, id);\n set(1, dropTableId);\n set(2, itemType);\n set(3, amount);\n set(4, qua...
[ "0.66616756", "0.64535314", "0.64498305", "0.5601794", "0.5569436", "0.55606", "0.5477672", "0.5440149", "0.542818", "0.5399753", "0.53956616", "0.5364347", "0.5364122", "0.5355677", "0.5338157", "0.5305849", "0.52796274", "0.5276669", "0.5257684", "0.5246513", "0.5246513", ...
0.79189885
0
Create a detached, initialised DropTableItemRecord
public DropTableItemRecord(Integer id, Integer dropTableId, String itemType, Integer amount, String quality, Integer chance, String toolType) { super(DropTableItem.DROP_TABLE_ITEM); set(0, id); set(1, dropTableId); set(2, itemType); set(3, amount); set(4, quality); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DropTableItemRecord() {\n super(DropTableItem.DROP_TABLE_ITEM);\n }", "public static void createItemTable() {\n\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tstatement = connection.createStatement();\n\t\t\t// Drop table if already exists and as per SQL query availabl...
[ "0.7500433", "0.6188091", "0.6188091", "0.5803276", "0.578791", "0.5761174", "0.5327936", "0.5301794", "0.5274363", "0.5257437", "0.5235731", "0.51938933", "0.5167324", "0.51176494", "0.50988895", "0.50928056", "0.5092512", "0.50772494", "0.503576", "0.5031475", "0.50215465",...
0.6327746
1
/ Selection sort that swaps the max element to the end of the array instead of the normal implementation
private static void selectionSort (int[] array) { for (int i = array.length-1; i >= 0; i--) { int index = i; for (int j = i - 1; j >= 0; j--) if (array[j] > array[index]) index = j; if (isSorted(array)) return; swap(array, index, i); System.out.println(Arrays.toString(array)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void sort (int[] data)\n {\n \t\n \tfor(int i = 0; i < data.length-1; i++)\n \t{\n \t\tint max = data[i];\n \t\tint indexOfMax = i;\n \t\t\n \t\tfor(int j = i + 1; j < data.length; j++)\n \t\t{\n \t\t\tif(data[j] > max)\n \t\t\t{\n \t\t\t\tmax = data[j];\n \t\t\...
[ "0.7118795", "0.70238984", "0.69161516", "0.6899262", "0.68765795", "0.676144", "0.6696559", "0.6695713", "0.66936743", "0.6672982", "0.66694343", "0.6645887", "0.66303134", "0.6629756", "0.6612053", "0.6602474", "0.65875006", "0.65854603", "0.6584621", "0.65782136", "0.65771...
0.6456851
31
/ Selection sort that swaps the minimum value into the beginning and the maximum value into the end through the use of a double counter for loop
static void doubleSelectionSort (int [] array) { for (int i = 0, j = array.length - 1; (i < array.length && j >= 0); i++, j--) { int minIndex = i; int maxIndex = j; for (int a = i + 1; a < array.length; a++) if (array[a] < array[minIndex]) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void selectionSort(int[] x)\n {\n for (int i = 0; i < x.length-1; i++) {\n int minIndex = i;\n for (int j = i+1; j < x.length; j++) {\n if (x[minIndex] > x[j]) {\n minIndex = j;\n }\n }\n int temp = x[i];\n x[i] = x[minIndex];\n ...
[ "0.71681297", "0.7136642", "0.7097561", "0.70929813", "0.7086052", "0.7013808", "0.6958998", "0.6947133", "0.69386643", "0.6882323", "0.6875387", "0.6860467", "0.6860242", "0.68293464", "0.6794491", "0.6772997", "0.6764786", "0.67565644", "0.6739498", "0.6739498", "0.6678451"...
0.69428927
8
swap for code reuse
static void swap (int[] array, int max, int location) { int temp = array[location]; array[location] = array[max]; array[max] = temp; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void swap() {\n\t\tCode.put(Code.dup_x1);\n\t\tCode.put(Code.pop);\n\t}", "private void swap(int firstIdx, int secondIdx) {\r\n // TODO\r\n }", "private void swapElement ( int p1, int p2 )\n\t{\n\t}", "private void swapTransforms() {\n Transform tmp = workTransform;\n workTrans...
[ "0.73568267", "0.675189", "0.6717871", "0.66713613", "0.6661913", "0.6634007", "0.66334784", "0.6605213", "0.65997714", "0.655954", "0.6508049", "0.6505778", "0.649754", "0.6496706", "0.6404099", "0.63904774", "0.63859916", "0.63849956", "0.63808936", "0.63782996", "0.6356830...
0.0
-1
increasing efficiency i.e. saving compute cycles i hope
static boolean isSorted(int[] array) { for (int i = 0; i < array.length - 1; i++) { if (array[i] > array[i + 1]) return false; } return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void compute() {\n\t\t\r\n\t}", "private void baseAlgorithm() {\n\t\tlong start = System.nanoTime();\n\t\tinitCentroids();\n\t\tint counter = 0;\n\t\twhile (counter < 1000\n\t\t\t\t&& (lastCentroids == null || !SeriesComparator.equalClustering(lastCentroids, centroids))) {\n\t\t\tresetCl...
[ "0.62412804", "0.6175845", "0.61008704", "0.5906348", "0.58886504", "0.58253086", "0.5811831", "0.57587063", "0.57343477", "0.5731134", "0.57259375", "0.569916", "0.56470436", "0.5623143", "0.5603916", "0.5602921", "0.5594273", "0.55928725", "0.5585468", "0.5579364", "0.55204...
0.0
-1
precalculated according to the formula given in the paper
public double precalculatedWordEntropyThreshold(int C){ if(C==2){ return 0.9182958340544896; } if(C==3){ return 0.9463946303571861; } return -1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private double solution() {\n final double h = (getTextToDouble(textX1) - getTextToDouble(textX0)) / ( 2*getTextToDouble(textN)) / 3;\n double[][] mass = xInitialization();\n double answer, evenSum = 0, oddSum = 0;\n for (int i = 0; i < 2; i++) {\n for (double element : mass[...
[ "0.6203203", "0.6174052", "0.61085105", "0.60848796", "0.604453", "0.6042713", "0.5968742", "0.5959696", "0.5956764", "0.59115535", "0.5868854", "0.5860507", "0.58287096", "0.5816965", "0.58134425", "0.5806174", "0.57683975", "0.57455486", "0.5712055", "0.5684619", "0.5676997...
0.0
-1
returns the URI for this schema
public static String getURI() { return uri; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract String getSchemaURI();", "public java.lang.String getSchemaUrl() {\n java.lang.Object ref = schemaUrl_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUt...
[ "0.8299131", "0.7284013", "0.7248824", "0.7186848", "0.699356", "0.69570565", "0.694444", "0.6922156", "0.6890571", "0.688888", "0.6886123", "0.6866626", "0.68499005", "0.68499005", "0.6843764", "0.6793117", "0.6783322", "0.67643267", "0.6763316", "0.6760919", "0.6752134", ...
0.6726918
23
formatowanie wydruku na ekran
public String toString() { return "Półka " + shelfName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String saveFormat() {\n return \"E\" + super.saveFormat() + \",\" + by;\n }", "protected abstract String format();", "@Override // prekrytie danej metody predka\r\n public String toString() {\r\n return super.toString()\r\n + \" vaha: \" + String.form...
[ "0.65975755", "0.65339243", "0.6426692", "0.62630355", "0.62442213", "0.62271595", "0.61583185", "0.6101439", "0.6093347", "0.6028381", "0.5972699", "0.59192044", "0.5865814", "0.58196974", "0.58095944", "0.5787035", "0.57792765", "0.5760606", "0.57500345", "0.57393306", "0.5...
0.0
-1
Blang provides a way of building a factor graph declaratively. Recall that factor graphs are bipartite undirected graphs with two types of nodes: factors and variables. Each factor computes one factor in a target unnormalized density broken into a product of factors. Each variable holds one coordinate of a state. For n...
@Tutorial(showSource = true, showSignature = true, showLink = true, linkPrefix = "src/test/java/") @Override public void process(ProcessorContext context) { samples.add(model.likelihood.parameters.max.getValue() - observation.getValue()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void testBuildGraph_FactorArr() {\n // And now factors\n CostFunction[] factors = new CostFunction[]{\n factory.buildCostFunction( new Variable[]{v[0],v[1]}, 0 ),\n factory.buildCostFunction( new Variable[]{v[0],v[1]}, 0 ),\n factory.buildCostFunctio...
[ "0.6258298", "0.5631883", "0.55938655", "0.55793315", "0.54248625", "0.54083514", "0.53523004", "0.51998276", "0.51870716", "0.51726097", "0.50929886", "0.50442797", "0.5035047", "0.50098526", "0.4947453", "0.49426845", "0.49420846", "0.4933177", "0.48624757", "0.48230088", "...
0.0
-1
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump.
anx j6(asg r27, long r28) { /* r26 = this; r0 = r27; r8 = r0.j6; Catch:{ DataFormatException -> 0x01db } r12 = 0; r4 = 0; r4 = (byte[]) r4; Catch:{ DataFormatException -> 0x01db } r23 = -1; r22 = 0; r13 = r12; r6 = r28; L_0x00...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "protected void method_2247() {\r\n // $FF: Couldn't be decom...
[ "0.7616782", "0.75728166", "0.7525724", "0.74507046", "0.74505866", "0.74373597", "0.7381616", "0.7381616", "0.7366568", "0.735341", "0.73420185", "0.73150736", "0.7308675", "0.73055106", "0.7274724", "0.72523946", "0.72216254", "0.71979403", "0.7177258", "0.7136552", "0.7106...
0.0
-1
TODO Autogenerated method stub
@Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { MyCheckBox myCheckBox = (MyCheckBox) buttonView; NLog.e(TAG, "onCheckedChanged:%s", localPosition); if (imgSum >= imageNum && isChecked) { buttonView.set...
{ "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 run() { System.out.println(" ThriftServer start ing ...."); try { if (!server.isServing()) { server.serve(); } } catch (Exception e) { e.printStackTrace(); } finally { if (transport != null) { transport.close(); } } }
{ "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 setApplicationContext(ApplicationContext applicationContext) throws BeansException { context=applicationContext; }
{ "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 afterPropertiesSet() throws Exception { }
{ "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
Check all attributes are real valued, otherwise throw exception
@Override protected Instances determineOutputFormat(Instances inputFormat) throws Exception { for (int i = 0; i < inputFormat.numAttributes(); i++) { if (inputFormat.classIndex() != i) { if (!inputFormat.attribute(i).isNumeric()) { throw new Exception( "Non numeric attribute not allowed for B...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void checkAttributes() throws JellyTagException\n {\n if (getField() == null)\n {\n throw new MissingAttributeException(\"field\");\n }\n if (getVar() == null)\n {\n if (!(getParent() instanceof ValueSupport))\n {\n throw...
[ "0.6355511", "0.622448", "0.6093646", "0.6049597", "0.5996701", "0.5983716", "0.5983716", "0.59349555", "0.5928759", "0.5912529", "0.58701175", "0.5766582", "0.57470185", "0.5739222", "0.56948304", "0.5691122", "0.5688232", "0.5660121", "0.5658666", "0.5634048", "0.5628816", ...
0.0
-1
TODO Autogenerated method stub
public String getRevision() { return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void 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
Disables tracking security state changes.
public jpuppeteer.util.XFuture<?> disable() { return connection.send("Security.disable", null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void securityOff()\n {\n m_bSecurity = false;\n }", "public void onPowerSaveUnwhitelisted(AppStateTracker sender) {\n updateAllJobs();\n unblockAllUnrestrictedAlarms();\n }", "@Override\n\tpublic void undo() {\n\t\tsecurity.off();\n\t}", "public void disable()\n ...
[ "0.71419734", "0.65235287", "0.64063567", "0.6363929", "0.62918127", "0.627052", "0.6268723", "0.62349665", "0.6203954", "0.6203954", "0.61521333", "0.61473763", "0.6137016", "0.6097732", "0.6094742", "0.608247", "0.6072466", "0.60424894", "0.60391825", "0.6030233", "0.601474...
0.57978314
83
Enables tracking security state changes.
public jpuppeteer.util.XFuture<?> enable() { return connection.send("Security.enable", null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void securityOn()\n {\n m_bSecurity = true;\n }", "void enableSecurity();", "public void enableLogCollection(LogCollectionState state);", "public void enableUpdates(boolean state) {\n sEnableUpdate = state;\n }", "protected void enableSecurityAdvisor() {\r\n\tif (osylSecuritySer...
[ "0.70074594", "0.64095694", "0.58274144", "0.5818673", "0.5767012", "0.57386774", "0.5731102", "0.5706373", "0.5684633", "0.5679206", "0.5667932", "0.5651059", "0.5643721", "0.561997", "0.5619216", "0.5613178", "0.5596323", "0.5588037", "0.5584555", "0.5568691", "0.55518377",...
0.5239727
94
Enable/disable whether all certificate errors should be ignored. experimental
public jpuppeteer.util.XFuture<?> setIgnoreCertificateErrors(jpuppeteer.cdp.client.entity.security.SetIgnoreCertificateErrorsRequest request) { return connection.send("Security.setIgnoreCertificateErrors", request); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public AltsChannelBuilder enableUntrustedAltsForTesting() {\n enableUntrustedAlts = true;\n return this;\n }", "void onSSLCertificateError(UnrecognizedCertificateException exception);", "@Test\n public void skipSslTest() {\n // TODO: test skipSsl\n }", "@Override\n\tpublic boolean isError...
[ "0.61253875", "0.59959495", "0.58578837", "0.5721888", "0.5653426", "0.5648099", "0.5603596", "0.5459067", "0.545616", "0.5412962", "0.54032665", "0.5390859", "0.53619593", "0.535149", "0.5347528", "0.5335215", "0.5311373", "0.5253002", "0.5249389", "0.5208632", "0.5201536", ...
0.6931099
0
Return the registraion for a User for a Trail
Registration registration(long idUser, long idTrail);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IUser getRegistrator(){\n\t\treturn User.get().\n\t\t\t\tsetPerson(Person.get()\n\t\t\t\t\t\t.setFirstname(\"Regisytator\")\n\t\t\t\t\t\t.setLastname(\"Registrator\")\n\t\t\t\t\t\t.setEmail(\"rr@ukr.net\")\n\t\t\t\t\t\t.build()\n\t\t\t\t\t\t)\n\t\t\t\t.setAccount(Account.get()\n\t\t\t\t\t\t.setLogin(\"regis...
[ "0.644149", "0.6023558", "0.58626205", "0.5852696", "0.58156127", "0.5805507", "0.57773006", "0.5717163", "0.5687922", "0.56727123", "0.56727123", "0.5670782", "0.5668482", "0.56480694", "0.56373405", "0.55856407", "0.55676645", "0.5541126", "0.55383414", "0.55381876", "0.553...
0.6881472
0
Return all registration of the user
List<Registration> allRegUser(long idUser);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<UserRegistrationDto> getAllRegistrations();", "public final List<String> isRegisteredUser() {\n return queryForAll();\n }", "public static List<UserFollowRegistration> findAll() {\n\t\treturn getPersistence().findAll();\n\t}", "public List<Users> getUserAlreadyRegistered() {\n\t\treturn this.UserAlr...
[ "0.79913557", "0.69707334", "0.6892657", "0.67134297", "0.6676592", "0.6644732", "0.6586699", "0.65860635", "0.6581531", "0.65623516", "0.65557665", "0.65144616", "0.6508212", "0.6482514", "0.64818805", "0.6446082", "0.6440138", "0.64005005", "0.637994", "0.637994", "0.637719...
0.79636467
1
Return the number of registrion for a user
int getNumberOfRegsUser(long idUser);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getUserCount();", "int getUserCount();", "int getUsersCount();", "int getUsersCount();", "int getUsersCount();", "Integer loadUserCount();", "public int getUserCount() {\n\t\t\treturn 7;\n\t\t}", "public int numberOfUsers() {\r\n \tint anzahlUser=userDAO.getUserList().size();\r\n \treturn a...
[ "0.7775628", "0.7775628", "0.76174533", "0.76174533", "0.76174533", "0.75351894", "0.74158233", "0.7378126", "0.7355972", "0.73439604", "0.72644025", "0.72023237", "0.7176473", "0.70714515", "0.7037702", "0.70236456", "0.695324", "0.695163", "0.68838304", "0.68187195", "0.681...
0.7738861
2
Return some registration for a user for pagination
List<Registration> allRegUserPagination(long idUser, int currentPage, int elementPerPage);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Registration> allRegUser(long idUser);", "private void getPaginatedSearchResults(HttpServletRequest request, NewUserActionForm newUserBean,\r\n\t\t\t\tIExtendedPaginatedList thePage)throws BaseAppException{\r\n\t\tUserRegistrationService service = new UserRegistrationService();\r\n\t\tthePage = thePage == n...
[ "0.6570342", "0.6459135", "0.6415611", "0.6327617", "0.631838", "0.62175024", "0.599733", "0.5954339", "0.5942962", "0.5838404", "0.58027494", "0.5798813", "0.57939744", "0.57789373", "0.5738566", "0.57230437", "0.570744", "0.5702045", "0.56874436", "0.56002957", "0.5593767",...
0.81023955
0
Return all registration for a trail
List<Registration> allRegTrail(long idTrail);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Registration> allRegTrailPagination(long idTrail, int currentPage, int elementPerPage);", "public RuleSetInfo[] listRegistrations() throws RemoteException, RuleException;", "public List<Entry> getAllLiterature() {\n List<Entry> allLiterature = new ArrayList<>();\n for (Entry l : litRegister)...
[ "0.67044437", "0.6198352", "0.6120617", "0.60566837", "0.59529704", "0.5831974", "0.5829681", "0.56955594", "0.5634744", "0.56232476", "0.54329765", "0.54322696", "0.5381624", "0.53617424", "0.5329569", "0.5263628", "0.5217837", "0.52058256", "0.5200541", "0.51686066", "0.514...
0.81050503
0
Return the number of registrion for a trail
int getNumberOfRegsTrail(long idTrail);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int numberOfOccorrence();", "int getReaultCount();", "int getTransitFlightsCount();", "public int rodCount ();", "private int countGrasses()//issues...see comment below in countTrees()\n {\n int grasses = 0;\n Field field = getField();\n Iterator<Location> it;\n List<O...
[ "0.6492386", "0.64429325", "0.6246969", "0.6094494", "0.6059772", "0.5948486", "0.59310526", "0.5929134", "0.58853495", "0.58588773", "0.58446246", "0.58433825", "0.5804588", "0.57578456", "0.5755189", "0.57490075", "0.5744287", "0.5744287", "0.5738064", "0.57341003", "0.5733...
0.75528723
0
Return some registration for a trail for pagination
List<Registration> allRegTrailPagination(long idTrail, int currentPage, int elementPerPage);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<Registration> allRegUserPagination(long idUser, int currentPage, int elementPerPage);", "List<Registration> allRegTrail(long idTrail);", "Registration registration(long idUser, long idTrail);", "void findWithPagination(Pagination<Activity, Assignment> pagination);", "public Page<Account> getAccPage(Pa...
[ "0.6107073", "0.6103161", "0.57561535", "0.56632084", "0.557003", "0.5509926", "0.5499054", "0.549067", "0.54083294", "0.54052514", "0.52320385", "0.5173844", "0.5150696", "0.5096528", "0.50467384", "0.501465", "0.50085145", "0.4986742", "0.49834105", "0.49737847", "0.4961898...
0.7445632
0
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7249559", "0.7204226", "0.71981144", "0.7180145", "0.7110589", "0.70431244", "0.7041351", "0.70150685", "0.70118093", "0.69832", "0.6947845", "0.69419056", "0.6937257", "0.6920975", "0.6920975", "0.68938893", "0.68867826", "0.6878929", "0.6877472", "0.68656766", "0.6865676...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79046357", "0.78057253", "0.7766443", "0.7727836", "0.76324654", "0.76225346", "0.7584511", "0.7531118", "0.74883616", "0.7457812", "0.7457812", "0.74387413", "0.74217904", "0.74036336", "0.7392069", "0.7387262", "0.7379348", "0.7370635", "0.73624563", "0.73561275", "0.734...
0.0
-1
Remove all the temporary annotations added by this validator.
static void removeMessages() { UIJob job = new UIJob("Removing as-you-type JBT validation problems") { public IStatus runInUIThread(IProgressMonitor monitor) { if(!EclipseUIUtil.isActiveEditorDirty()) { ITextEditor e = EclipseUIUtil.getActiveEditor(); if(e!=null) { IEditorInput inpu...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeAnnotations() {\n if (currentIndicators.isEmpty()) {\n return;\n }\n // remove annotations from the model\n synchronized (annotationModelLockObject) {\n if (annotationModel instanceof IAnnotationModelExtension) {\n ((IAnnotationModelExtension) annotationModel).replaceAnnotat...
[ "0.7297565", "0.67714477", "0.6670468", "0.64971715", "0.646304", "0.6434173", "0.6380769", "0.6198618", "0.612935", "0.5933537", "0.5865833", "0.58587384", "0.5806944", "0.57736284", "0.5684568", "0.5668805", "0.5668766", "0.5654695", "0.5643267", "0.56421274", "0.5557357", ...
0.5047402
91
Validate the java element
public void validateJavaElement(Collection<IRegion> dirtyRegions, IValidationContext helper, IReporter reporter) { validateJavaElement(dirtyRegions, helper, reporter, false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void validateElement(XElement element) {\n validateElement(toJavac(element));\n }", "public static void validateElement(Element element) {\n try {\n element.accept(ELEMENT_VALIDATING_VISITOR, null);\n } catch (RuntimeException exception) {\n throw ValidationException.from(except...
[ "0.6888231", "0.6523724", "0.63139987", "0.6296242", "0.6296242", "0.6263435", "0.6252693", "0.62325025", "0.6216385", "0.6211005", "0.62092257", "0.620787", "0.620787", "0.6199328", "0.6182431", "0.6147486", "0.61443186", "0.61317784", "0.6115332", "0.606481", "0.606408", ...
0.57321113
32
Chega aqui a String com o PROGRAMA
public boolean interpreta(String com[]){ int i, contv = 0, j; char tok; String aux; for(i = 0 ; i < com.length && com[i] != null; i++){ com[i]=com[i].trim(); com[i]=com[i].trim(); com[i]=com[i].replace("fimenquanto","#"); com[i]=com[i].replace("fimse","*"); com[i]=com[i].replace("else",","); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getPrenume();", "@Test\n public void testSpremiKonfiguraciju_String() throws Exception {\n System.out.println(\"spremiKonfiguraciju\");\n KonfiguracijaTxt instance = new KonfiguracijaTxt(datKonf.getName());\n instance.spremiKonfiguraciju(datKonf.getName());\n asser...
[ "0.6323259", "0.5785724", "0.5712604", "0.56789047", "0.56343615", "0.5630668", "0.55110514", "0.5489317", "0.54680973", "0.5456675", "0.5444929", "0.5296285", "0.52840006", "0.5260623", "0.52441716", "0.52287704", "0.52165467", "0.5215435", "0.5200563", "0.51981014", "0.5181...
0.0
-1
TODO Autogenerated method stub
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_list_shop_cart); Paypal.startPaypalService(this); initUI(); initData(); }
{ "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 showDetailOrder(int position) { Bundle b = new Bundle(); b.putInt("position", position); ((MainTabActivity) getParent()).gotoActivity( MyMenuActivity.class, b); ...
{ "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 deleteItem(int position) { GlobalValue.arrMyMenuShop.remove(position); shopAdapter.notifyDataSetChanged(); }
{ "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 protected void onStart() { super.onStart(); }
{ "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 onResume() { super.onResume(); refreshContent(); }
{ "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 protected void onStop() { super.onStop(); }
{ "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.btnOrder: onBtnOrderClick(); break; default: 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 onBackPressed() { this.getParent().onBackPressed(); }
{ "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) { dialog.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 String fullName = txtFullName.getText().toString(); String email = txtEmail.getText().toString(); String phone = txtPhone.getText().toString();
@Override public void onClick(View v) { String address = txtAddress.getText().toString(); if (!address.isEmpty()) { data = createOfferJson(GlobalValue.arrMyMenuShop, txtAddress.getText().toString()); Log.e(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void RetrieveEditTextData() {\n\n strFirstName = etFirstName.getText().toString();\n strMiddleName = etMiddleName.getText().toString();\n strLastName = etLastName.getText().toString();\n strEmployId = etEmployId.getText().toString();\n strDesignation = etDesignation.getTe...
[ "0.6770968", "0.66187197", "0.6567304", "0.65199447", "0.65028584", "0.6462097", "0.6443715", "0.6412072", "0.6375427", "0.6350543", "0.6349553", "0.6322048", "0.629881", "0.62835413", "0.6269456", "0.620396", "0.6151985", "0.61171997", "0.6114823", "0.60853803", "0.6085172",...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface dialog, int which) { dialog.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 onSuccess(Object object) { String strJson = (String) object; try { JSONObject json = new JSONObject(strJson); if (json.getString(WebServiceConfig.KEY_STATUS) ...
{ "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 onError(VolleyError error) { Toast.makeText(self, ErrorNetworkHandler.processError(error), Toast.LENGTH_LONG).show(); }
{ "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
Check if no view has focus:
private void hideKeyboard() { View view = this.getCurrentFocus(); if (view != null) { InputMethodManager inputManager = (InputMethodManager) this .getSystemService(Context.INPUT_METHOD_SERVICE); inputManager.hideSoftInputFromWindow(view.getWindowToken(), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean m36208d(View view) {\n return view != null && view.hasWindowFocus();\n }", "public boolean hasFocus() {\n return hasFocus;\n }", "@Override\r\n\tpublic boolean isFocused() {\n\t\treturn false;\r\n\t}", "boolean hasFocus() {\n\t\t\tif (text == null || text.isDisposed())...
[ "0.752144", "0.71540445", "0.71503836", "0.71252257", "0.6989558", "0.6839896", "0.6835727", "0.68034774", "0.67644054", "0.6644914", "0.65743554", "0.65302986", "0.6448699", "0.643322", "0.6394429", "0.6380685", "0.63306206", "0.6325382", "0.63178706", "0.62391496", "0.62239...
0.0
-1
Metodo puente para enlazar jsp. Redirecciona a login.jsp
@Action( value="loginAction", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/login.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/login.jsp") } ) public String login() { return SUCCESS; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void login_student() {\n\t\trender(\"student/login.jsp\");\r\n\t}", "@Override\r\n\tpublic void login_interviewer() {\n\t\trender(\"interviewer/login.jsp\");\r\n\t}", "@Override\r\n\tpublic void login_admin() {\n\t\trender(\"admin/login.jsp\");\r\n\t}", "public String toLogin() {\r\n\t\...
[ "0.7342648", "0.7204772", "0.7067711", "0.66639555", "0.66380215", "0.6611897", "0.660786", "0.65975034", "0.6548227", "0.65160644", "0.64969695", "0.64789206", "0.64656764", "0.6392322", "0.6378395", "0.63622874", "0.63565964", "0.63413227", "0.63075954", "0.629727", "0.6273...
0.0
-1
Metodo para cumplimentar el registro. Si exito;se direcciona al registro.jsp donde se visualiza el formulario.
@Action( value="registroAction", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/registro.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/welcome.jsp") } ) public String registro() { ActionContext contexto = ActionContext.getContext(); ResultSet ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String guardarRutina() {\n\t\ttry {\n\t\t\tif(vEditing)\n\t\t\t\trutBuss.doActualizar(newRutina);\n\t\t\telse\n\t\t\t\t\n\t\t\t\trutBuss.doGuardar(newRutina);\n\t\t\treturn \"list-rutinas?faces-redirect=true\";\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tSystem.out.println(...
[ "0.6947435", "0.66701514", "0.66617304", "0.66336846", "0.66226894", "0.649848", "0.64687693", "0.638701", "0.63791656", "0.6365847", "0.6353661", "0.6335923", "0.6316238", "0.6311975", "0.63119", "0.6310726", "0.6309191", "0.6305822", "0.62649125", "0.6257996", "0.6257063", ...
0.65680087
5
Metodo para salir de la sesion
@Action( value="logoutAction", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/welcome.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/welcome.jsp") } ) public String logout() { ActionContext contexto = ActionContext.getContext(); ResultSet result1=null;...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void salir() {\n LoginManager.getInstance().logOut();\n irInicio();\n }", "@Override\n\tpublic void salir() {\n\t\t\n\t}", "@Override\r\n\tpublic void salvar(Registro registro) {\n\t\t\r\n\t}", "@Override\n\tpublic void registrarSalida() {\n\t\t\n\t}", "@Override\n\tpublic void regi...
[ "0.6602681", "0.64499015", "0.60627276", "0.6052436", "0.6052436", "0.60075957", "0.5980804", "0.5922432", "0.5813654", "0.5758414", "0.5742414", "0.5727499", "0.5714874", "0.5643341", "0.5641686", "0.5626953", "0.5618162", "0.55939835", "0.55914277", "0.55763453", "0.5553689...
0.0
-1
Metodo para verificar usuario
@Action( value="verificarUsuarioAccion", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/welcome.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/login.jsp") } ) public String verificarUsuario() { ActionContext contexto = ActionContext.getContext(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean correctUser() {\n // TODO mirar si l'usuari es unic a la base de dades\n return true;\n }", "public boolean verificarUsuario(){\n boolean estado = false;\n try{\n this.usuarioBean = (Dr_siseg_usuarioBean) this.manejoFacesContext.obtenerObjetoSession(\"usuari...
[ "0.74332017", "0.7105872", "0.70155746", "0.6988942", "0.6979397", "0.6979397", "0.6979397", "0.6979397", "0.6979397", "0.6979397", "0.6979397", "0.6926776", "0.68735284", "0.68735284", "0.68735284", "0.68735284", "0.68735284", "0.68735284", "0.6867528", "0.6840657", "0.68207...
0.0
-1
Metodo para controlar la vista de los usuarios
@Action( value="listarUsuariosAction", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/borrarUsuario.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/welcome.jsp") } ) public String listarUsuario() { ActionContext contexto = ActionContex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void accionUsuario() {\n\t\t\r\n\t}", "private void controladorUser(Controlador controlador){\n this.contUserCrearProyecto = controlador.getUserCrearProyecto();\n inicioUser.setControlCrearProyecto(contUserCrearProyecto);\n \n this.contUserCrearColectivo = controlador.getUs...
[ "0.7006442", "0.6892012", "0.687302", "0.6860138", "0.68006206", "0.6766776", "0.6627556", "0.6570125", "0.65679467", "0.65430117", "0.6527042", "0.65022653", "0.6495631", "0.6473322", "0.63910145", "0.6332432", "0.63119316", "0.6310618", "0.625478", "0.6250789", "0.6245036",...
0.0
-1
Metodo para borrar usuarios de la BD;recibira de la vista el nick seleccionado a borrar
@Action( value="borrarUsuarioAction", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/welcome.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/borrarUsuario.jsp") } ) public String borrarUsuario() { ActionContext contexto = ActionContext.getContext(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result eliminarUsuario(String nick) \n\t {\n\t\t //if (nick.isEmpty())\n\t\t\t //return ok(\"<mensaje>Introduzca un nick </mensaje>\");\n\t\t //else\n\t\t //{\n\t\t\t System.out.println(\"Eliminando Usuario\");\n\t\t\t GestorUsuario beta =new GestorUsuario();\n\t\t\t UsuarioOD alfa = new Usua...
[ "0.71209836", "0.7095717", "0.7020344", "0.6887642", "0.68273854", "0.675239", "0.6594795", "0.64944994", "0.6486706", "0.6484002", "0.6415841", "0.6361631", "0.63379675", "0.6291635", "0.62704444", "0.62635183", "0.62396616", "0.6233803", "0.6220934", "0.6205262", "0.6176427...
0.0
-1
Metodo que elimina el usuario al darse de baja en la vista al recibir su nick de la tabla usuario y borra su lista depeliculas pendientes
@Action( value="bajaAction", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/welcome.jsp"), @Result(name=ERROR, type="dispatcher", location="/jsp/welcome.jsp") } ) public String bajaUser() { ActionContext contexto = ActionContext.getContext(); Map<String, Obj...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void eliminar() {\n\t\tLOG.info(\"Se elimino el usuario de la bd\");\n\t}", "public void eliminar() {\n try {\n userFound = clientefacadelocal.find(this.idcliente);\n if (userFound != null) {\n clientefacadelocal.remove(userFound);\n ...
[ "0.75992477", "0.7203057", "0.7199296", "0.71503407", "0.7146637", "0.7132558", "0.70768154", "0.7069386", "0.70646197", "0.7060409", "0.7035225", "0.6983784", "0.69471383", "0.6925683", "0.6922999", "0.6916399", "0.6876408", "0.68620485", "0.68301374", "0.6799436", "0.676928...
0.0
-1
Metodo que se utiliza para modificar los datos del usuario
@Action( value="editUser", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/editauser.jsp") } ) public String editUser() { ActionContext contexto = ActionContext.getContext(); ResultSet result1=null; PreparedStatement ps1=null; try { ge...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Usuario modificar() {\n\t\tLOG.info(\"Se modifico el usuario de la bd\");\n\t\treturn usuario;\n\t}", "@Override\n\t/*Método que se utilizará en el momento de modificar los datos de un usuario desde su panel de usuario*/\n\tpublic String modificarUsuario(String nombreusuario, String nombre,St...
[ "0.7620108", "0.7376601", "0.7246384", "0.7235415", "0.718197", "0.7135342", "0.7113743", "0.7113743", "0.7037947", "0.70105934", "0.70070624", "0.7000656", "0.69994557", "0.6977682", "0.69204265", "0.69189173", "0.69042677", "0.69001865", "0.6876299", "0.6874107", "0.6843787...
0.0
-1
Metodo para modificar usuario en la BD
@Action( value="modificaUser", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/welcome.jsp") } ) public String modificaUser() { ActionContext contexto = ActionContext.getContext(); ResultSet result1=null; ResultSet result3=null; P...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic Usuario modificar() {\n\t\tLOG.info(\"Se modifico el usuario de la bd\");\n\t\treturn usuario;\n\t}", "public void save() {\r\n\t\tString checkQuery = \"SELECT * FROM users WHERE id = \" + this.id;\r\n\t\tStatement stm;\r\n\t\tResultSet rs = null;\r\n\t\ttry {\r\n\t\t\tconnection = DBConnecti...
[ "0.7947356", "0.7587268", "0.7586209", "0.75445145", "0.7518367", "0.74805593", "0.74753314", "0.7378756", "0.7372911", "0.73703134", "0.72650397", "0.72318274", "0.7224372", "0.72188205", "0.72186244", "0.7174923", "0.7145793", "0.70905304", "0.69844973", "0.6950053", "0.693...
0.0
-1
Metodo que utiliza el administrador para modificar los datos del usuario
@Action( value="editAdmin", results= { @Result(name=SUCCESS, type="dispatcher", location="/jsp/editauser.jsp") } ) public String editAdmin() { ActionContext contexto = ActionContext.getContext(); ResultSet result1=null; PreparedStatement ps1=null; try { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean ModificarUsuario(Usuario creador, int id, String nombreMostrar, boolean admin,int tipoPersonal,int tipodescuento, boolean notas, boolean habilitacion,boolean profesor, int ciProfesor){\r\n if (creador.isAdmin()){\r\n try {\r\n String sql= \"Update sistemasEM.usuarios...
[ "0.72563124", "0.7251845", "0.7183776", "0.7133356", "0.6978043", "0.6883194", "0.6869261", "0.679674", "0.679674", "0.6793286", "0.6757147", "0.66936654", "0.66931117", "0.66796124", "0.667518", "0.6643007", "0.6586364", "0.65419984", "0.6536822", "0.65280956", "0.6524563", ...
0.64985615
24
Metodos getters y setters
public String getRol() { return rol; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void get() {}", "public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }", "private GetProperty(Builder builder) {\n super(builder);\n }", "public Value mak...
[ "0.6211614", "0.6078424", "0.60579175", "0.60438126", "0.5971869", "0.59133816", "0.5868211", "0.58474904", "0.58402586", "0.58184814", "0.58148587", "0.5805279", "0.5795658", "0.57565635", "0.57565635", "0.5753891", "0.5753891", "0.57373965", "0.57249963", "0.57069194", "0.5...
0.0
-1
APPLICATION Launch the application.
public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { try { LottoGUI frame = new LottoGUI(); frame.setVisible(true); } catch (Exception e) { e.printStackTrace(); } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void launchApp();", "public void startApp()\r\n\t{\n\t}", "public static void main(String[] args) \r\n\t {\r\n\t\tApplication.launch(args);\r\n\t }", "public void startApp() {\n\n\t\tboolean isContinue = true;\n\t\tint i = 0;\n\t\twhile (isContinue) {\n\t\t\ti = displayAppMenu();\n\t\t\texecuteMenuItem(i);\n...
[ "0.7255352", "0.6418749", "0.6409691", "0.63616383", "0.6306352", "0.63002175", "0.62595516", "0.62595516", "0.6233584", "0.62234396", "0.62227184", "0.62086743", "0.6193524", "0.6193524", "0.61933464", "0.61718696", "0.6142272", "0.6088029", "0.60724", "0.60724", "0.60724", ...
0.0
-1
FRAME Create the frame.
public LottoGUI() { setTitle("CompSci Lotto"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setBounds(100, 100, 500, 300); contentPane = new JPanel(); contentPane.setBackground(Color.LIGHT_GRAY); contentPane.setInheritsPopupMenu(true); contentPane.setIgnoreRepaint(true); contentPane.setForeground(Col...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "FRAME createFRAME();", "Frame createFrame();", "private void createFrame() {\n System.out.println(\"Assembling \" + name + \" frame\");\n }", "private void createFrame(){\n System.out.println(\"Assembling \" + name + \" frame.\");\n }", "public void buildFrame();", "private Frame buil...
[ "0.82615983", "0.8073803", "0.7714517", "0.76124513", "0.7468359", "0.72563905", "0.6965051", "0.6884396", "0.67337036", "0.6714673", "0.65968287", "0.65681845", "0.65422994", "0.6521203", "0.6472816", "0.6461656", "0.64075136", "0.63003236", "0.62503994", "0.62457985", "0.62...
0.0
-1
Table for the numbers 0 thru 48
private void numbersPanel(JPanel panel_Numbers) { JButton btnNumButton = new JButton("0"); btnNumButton.setBorder(new SoftBevelBorder(BevelBorder.LOWERED, null, null, null, null)); btnNumButton.setBackground(Color.LIGHT_GRAY); btnNumButton.setBounds(0, 0, 52, 35); panel_Numbers.add(btnNumButton); JButton...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void printNumbers() {\n\t\tSystem.out.println(56);\n\t\tSystem.out.println(0b11); // 3 binary\n\t\tSystem.out.println(017); // 15 octal\n\t\tSystem.out.println(0x1F); //31 hexadecimal\n\t}", "public void displayTimesTable(int table) {\n if (table >= TABLE_MIN && table <= TABLE_MAX) {\n ...
[ "0.60613006", "0.5957082", "0.59221274", "0.59124964", "0.5844031", "0.57781243", "0.56150246", "0.5589367", "0.55791384", "0.5577547", "0.5577089", "0.55665404", "0.5562123", "0.5551169", "0.55468726", "0.55383694", "0.5533432", "0.5513449", "0.5480285", "0.54597455", "0.543...
0.0
-1
Main side Button components of GUI DRAW, RESET & QUIT currently no actions
private void buttonsPanel(JPanel panel_buttons) { //BUTTON COMPONENETS JButton btnDraw = new JButton("DRAW"); btnDraw.setMinimumSize(new Dimension(81, 34)); btnDraw.setMaximumSize(new Dimension(81, 34)); btnDraw.setOpaque(true); btnDraw.setBorderPainted(false); btnDraw.setHideActionText(true); btnDraw.s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void actionPerformed(GuiButton par1GuiButton)\n {\n if (par1GuiButton.id == 0)\n {\n this.mc.displayGuiScreen(new GuiOptions(this, this.mc.gameSettings));\n }\n\n if (par1GuiButton.id == 5)\n {\n this.mc.displayGuiScreen(new GuiLanguage(this, th...
[ "0.7158241", "0.70960754", "0.68093073", "0.6808638", "0.6795006", "0.67859745", "0.6748996", "0.67149025", "0.66776395", "0.6649154", "0.66483885", "0.6631161", "0.66140544", "0.6612554", "0.6602035", "0.66000074", "0.6572896", "0.65642345", "0.65241265", "0.652238", "0.6521...
0.66717774
9
Displays current progress & amount of money at bottom
private void textInfoBottom(JPanel panel_TextInfo) { contentPane.setLayout(gl_contentPane_1); txtrPreparing = new JTextArea(); txtrPreparing.setBackground(Color.WHITE); txtrPreparing.setText("Preparing... "); JTextArea textArea = new JTextArea(); textArea.setBackground(Color.WHITE); textArea.setText(" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void viewBalance() {\n\t\tSystem.out.println(\"This is your current Balance $\" + tuitionBalance);\n\t}", "public void display()\r\n\t{\r\n\t\tSystem.out.println(\"Dollar: $\"+getAmount());\r\n\t\tSystem.out.println(\"Rupiah: Rp.\"+dollarTorp());\r\n\t}", "public void updateTotalSpentLabel() {\n ...
[ "0.6654065", "0.644165", "0.63448393", "0.6295546", "0.6285441", "0.6237344", "0.61941916", "0.6186383", "0.61740345", "0.6162151", "0.61501783", "0.6149421", "0.6143083", "0.6116854", "0.60793567", "0.6077816", "0.60686547", "0.60575694", "0.6045839", "0.6034613", "0.6031815...
0.0
-1
This class was generated by Apache CXF 3.1.11.fuse000281redhat3 20200904T15:37:01.593+03:00 Generated source version: 3.1.11.fuse000281redhat3
@WebService(targetNamespace = "http://www.example.org/s2/", name = "s2") @XmlSeeAlso({ObjectFactory.class}) @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface S2 { @WebMethod(operationName = "S2Operation", action = "http://www.example.org/s2/S2Operation") @WebResult(name = "Fulfill...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@WebService(targetNamespace = \"http://demo.cxf.com/\", name = \"SampleService\")\n@XmlSeeAlso({ObjectFactory.class})\npublic interface SampleService {\n\n @WebMethod\n @RequestWrapper(localName = \"serviceMethod\", targetNamespace = \"http://demo.cxf.com/\", className = \"com.cxf.demo.sample.client.ServiceM...
[ "0.65001154", "0.64667946", "0.64052165", "0.62900144", "0.6266559", "0.6191063", "0.61379015", "0.61112225", "0.6100773", "0.6081383", "0.60616255", "0.6060299", "0.60510474", "0.6038655", "0.59908843", "0.59848315", "0.5960314", "0.59479666", "0.5947551", "0.5923736", "0.59...
0.0
-1
TODO whether send to server
public boolean replyResult(int answer){ _numberOfChoice = answer; return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\r\n\tprotected void processRespond() {\n\r\n\t}", "@Override\n\tpublic void sendResponse() {\n\t\t\n\t}", "private String requesttosend() throws IOException {\n\t\tsender.sendMsg(Constants.REQSEND);\r\n\t\t//等待接收的返回状态\r\n\t\treturn sender...
[ "0.6057191", "0.6057191", "0.6016226", "0.5996144", "0.5972976", "0.59635216", "0.59335345", "0.592153", "0.58500504", "0.56759715", "0.56702477", "0.561739", "0.5607737", "0.5578246", "0.5573505", "0.5569028", "0.5526047", "0.5522789", "0.5521548", "0.5520886", "0.5497138", ...
0.0
-1
Create the custom dialog.
@FXML void onAnadirTelefonoAction(ActionEvent event) { Dialog<Pair<String, TipoTelefono>> dialog = new Dialog<>(); dialog.setTitle("Nuevo Teléfono"); dialog.setHeaderText("Introduzca el nuevo número de teléfono."); Stage stage = (Stage) dialog.getDialogPane().getScene().getWindow(); // Add a custom ic...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract Dialog createDialog(DialogDescriptor descriptor);", "protected abstract JDialog createDialog();", "public StandardDialog() {\n super();\n init();\n }", "public Dialog<String> createDialog() {\n\t\t// Creating a dialog\n\t\tDialog<String> dialog = new Dialog<String>();\n\n\t\t...
[ "0.7489584", "0.7485023", "0.73916453", "0.7371017", "0.7357187", "0.7224414", "0.69419426", "0.6941058", "0.69032675", "0.6900464", "0.68747187", "0.6823478", "0.6807518", "0.67972654", "0.6794309", "0.6787894", "0.6786069", "0.67785823", "0.6732079", "0.6728969", "0.6723161...
0.0
-1
TODO Autogenerated method stub
@SuppressWarnings("unused") public static void main(String[] args) { Scanner sc=new Scanner(System.in); System.out.println("Enter your car number"); number=sc.nextInt(); System.out.println("How many years old car do you have-"); years=sc.hasNextInt(); System.out.println("Car Barnd-"); br...
{ "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
Need to separate this logic out of setUp() so that each Test can use different simulated endpoints
private void createConnection() { this.callbacks = getCallbacks(); Properties props = new Properties(); props.putAll(getTestProps()); props.putAll(getProps()); this.connection = Connections.create((ConnectionCallbacks) callbacks, props); configureConnection(connection); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@BeforeAll\n public static void setUp(){\n baseURI = ConfigurationReader.getProperty(\"spartan.base_url\");\n basePath = \"/api\" ;\n }", "@Before\n public void setUp() {\n \tserver = super.populateTest();\n }", "@Before\n public void setup() {\n endpoint = new Endpoint();\n ...
[ "0.70210624", "0.701393", "0.68540686", "0.6800122", "0.6787871", "0.6674305", "0.6662349", "0.6648479", "0.6630511", "0.66035944", "0.6591459", "0.65838", "0.65821683", "0.6581158", "0.65626884", "0.65281355", "0.650909", "0.6506722", "0.64979196", "0.648624", "0.6480986", ...
0.0
-1
this.callbacks.latch.countDown(); // allow the test to finish
@Override protected boolean shouldSendThrowException() { return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void finishTest() {\r\n\t\tlatch.countDown();\r\n\t}", "@Test\n public void testNextWaiting() {\n }", "@Test\n void setCompleted() {\n }", "@Test\n void markCompleted() {\n }", "public interface TestOnSeparateThreadCallback {\n\n void finish(TestRunner.Stats stats);\n\n}", "@T...
[ "0.77332056", "0.7397746", "0.69877416", "0.6942369", "0.6871439", "0.68635213", "0.6618889", "0.65695", "0.6547371", "0.6533375", "0.6473689", "0.64554846", "0.64288014", "0.6419852", "0.64194804", "0.64194804", "0.6396167", "0.6386375", "0.63746613", "0.63586307", "0.633488...
0.0
-1
Create a market with a random amount of items and then open the IO
public Market(LegendsGame game) { this.game = game; Random r = new Random(); r.nextInt(itemCap); items = new ArrayList<>(); this.addNumItems(r.nextInt(itemCap-1) + 1); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FinalMysteryItem() {\n int randomIndex = new Random().nextInt(7);\n item = new Item(listOfPossibleNames[randomIndex], PRICE_TO_BUY);\n }", "public Market(LegendsGame game, int numItems) {\n\t\tthis.game = game;\n\t\t\n\t\titems = new ArrayList<>();\n\t\t\n\t\tthis.addNumItems(numItems);\n...
[ "0.5830008", "0.57817394", "0.56971425", "0.56544167", "0.55808586", "0.5570358", "0.55136514", "0.5368968", "0.53509444", "0.5344111", "0.5316222", "0.530626", "0.5292871", "0.5259038", "0.52291644", "0.52280813", "0.52099305", "0.5204263", "0.5174584", "0.51489556", "0.5148...
0.59505886
0
Create a market with a specified amount of items and then open the IO
public Market(LegendsGame game, int numItems) { this.game = game; items = new ArrayList<>(); this.addNumItems(numItems); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createItem (String name, String description, double price);", "public Market(LegendsGame game) {\n\t\tthis.game = game;\n\t\t\n\t\tRandom r = new Random();\n\t\t\n\t\tr.nextInt(itemCap);\n\t\t\n\t\titems = new ArrayList<>();\n\t\t\n\t\tthis.addNumItems(r.nextInt(itemCap-1) + 1);\n\t\t\n\t}", "public Vendi...
[ "0.5970539", "0.5549524", "0.53821796", "0.53554875", "0.53467405", "0.53262264", "0.5325647", "0.5303771", "0.52519107", "0.5219258", "0.51961946", "0.51667", "0.5143537", "0.51377434", "0.5127804", "0.5093881", "0.5073893", "0.50634164", "0.5058488", "0.50561684", "0.504928...
0.6120453
0
Create a market with the specified items and then open the IO
public Market(LegendsGame game, ArrayList<Item> items) { this.game = game; this.items = items; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void createItem (String name, String description, double price);", "public Market(LegendsGame game, int numItems) {\n\t\tthis.game = game;\n\t\t\n\t\titems = new ArrayList<>();\n\t\t\n\t\tthis.addNumItems(numItems);\n\t\t\n\t}", "QuoteItem createQuoteItem();", "private void createItems()\n {\n Item...
[ "0.6377711", "0.5915244", "0.5627273", "0.55968875", "0.5509994", "0.5455589", "0.54534465", "0.5434629", "0.53700995", "0.5366661", "0.53647834", "0.5355207", "0.53206503", "0.53204453", "0.5318896", "0.53065187", "0.5304349", "0.52442956", "0.52413034", "0.5210916", "0.5207...
0.57731277
2
fonction pour choisir le sexe aleatoire
public Sim.Sex chooseSex() { if(RND.nextInt() > 0.5) { return Sim.Sex.M; } else { return Sim.Sex.F; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void chocoContraPared() {}", "public static int menu()\n {\n \n int choix;\n System.out.println(\"MENU PRINCIPAL\");\n System.out.println(\"--------------\");\n System.out.println(\"1. Operation sur les membres\");\n System.out.println(\"2. Operati...
[ "0.6045709", "0.60456634", "0.5936578", "0.59250045", "0.58859265", "0.5876119", "0.585251", "0.5807422", "0.5731317", "0.5674995", "0.56694967", "0.5632418", "0.5627612", "0.5620344", "0.5604763", "0.56031233", "0.55999035", "0.55953246", "0.5592927", "0.5573625", "0.5570738...
0.0
-1
fonction pour choisir un nouveau ou ancien partenaire pour la mere
public Sim chooseMate(Sim x, double time) { Sim y = null; Sim z; if(!x.isInARelationship(time) || RND.nextDouble() > FIDELITY) { do { z = population.randomSim(); // isMatingAge() vérifie si z est de l'age adéquat if (z.getSex() != x.get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n new Auxiliares().setMsj(3,\"PENSUM ID YA EXISTE\");\n }\n }", "public boolean insert(Panier ...
[ "0.6646285", "0.62676775", "0.62612355", "0.61674327", "0.60208774", "0.5975046", "0.5931863", "0.5859339", "0.5811353", "0.56535566", "0.5646115", "0.5643749", "0.5638968", "0.5622965", "0.55829823", "0.5579481", "0.55591613", "0.55330586", "0.5522332", "0.54887986", "0.5485...
0.0
-1
Do not search staging groups.
@Override public void addFilters( PortletRequest portletRequest, BooleanFilter preBooleanfilter, BooleanFilter postFilter, QueryContext queryContext) throws Exception { preBooleanfilter.addRequiredTerm(Field.STAGING_GROUP, false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tvoid findAllFilteredNonExistingGroup() {\n\t\tinitSpringSecurityContext(\"fdaugan\");\n\t\tfinal TableItem<UserOrgVo> tableItem = resource.findAll(null, \"any\", null, newUriInfoAsc(\"id\"));\n\t\tAssertions.assertEquals(0, tableItem.getRecordsTotal());\n\t}", "@Test\n @WithMockUhUser(username = \"ia...
[ "0.5736439", "0.5491832", "0.5489241", "0.5398918", "0.5356599", "0.5320002", "0.5221129", "0.52015585", "0.5143182", "0.51392734", "0.50712657", "0.50284857", "0.49961647", "0.4989278", "0.49827555", "0.49725315", "0.4926374", "0.49148333", "0.4887185", "0.48474076", "0.4833...
0.47287723
30
Need to keep track of deleted turnpoints so can delete from db when(if) user saves changes
@Override public void onItemDismiss(int position) { taskAndTurnpointsViewModel.deleteTaskTurnpoint(position); notifyDataSetChanged(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void delete(ArrayList<League> leagues) {\n\n }", "private void deleteSelectedWaypoints() {\r\n\t ArrayList<String> waypointsToRemove = new ArrayList<String>();\r\n\t int size = _selectedList.size();\r\n\t for (int i = _selectedList.size() - 1; i >= 0; --i) {\r\n boole...
[ "0.59979683", "0.56497264", "0.54623485", "0.54450107", "0.5433845", "0.54009193", "0.5390209", "0.5375667", "0.5319027", "0.5282188", "0.5278772", "0.5259683", "0.52576697", "0.5223716", "0.52082837", "0.5205777", "0.52028525", "0.51895547", "0.5178891", "0.5165454", "0.5154...
0.0
-1
Log.d(TAG, "onCheckedChanged: use_new_switch = " + isChecked);
@Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { switch (buttonView.getId()){ case R.id.retina_fd: FaceDetectManager.setRetinaFD(isChecked); mRetina_FD.setChecked(FaceConstants.RETINA_FD); AttApp.sp.edit().putB...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onCheck(boolean isChecked) {\n Log.e(\"isChecked\", \"onCheck: isChecked=\" + isChecked);\n }", "@Override\n public v...
[ "0.7870051", "0.7828047", "0.7820045", "0.76615703", "0.763039", "0.763039", "0.75906736", "0.75274503", "0.7501349", "0.747102", "0.744942", "0.74312264", "0.742028", "0.7373845", "0.7291119", "0.7283011", "0.7278117", "0.727209", "0.7265889", "0.72548825", "0.72547436", "...
0.78064126
3
Attempts to sign in or register the account specified by the login form. If there are form errors (invalid email, missing fields, etc.), the errors are presented and no actual login attempt is made.
private void attemptLogin() { // Reset errors. mEmailView.setError(null); mPasswordView.setError(null); // Store values at the time of the login attempt. String email = mEmailView.getText().toString(); String password = mPasswordView.getText().toString(); boole...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void attemptLogin() {\n\n // Reset errors.\n mEmailField.setError(null);\n mPasswordField.setError(null);\n\n // Store values at the time of the login attempt.\n String email = mEmailField.getText().toString();\n String password = mPasswordField.getText().toString(...
[ "0.7639994", "0.73655164", "0.72952414", "0.72541916", "0.7183463", "0.7179415", "0.7117357", "0.7117357", "0.7115867", "0.71086144", "0.7105682", "0.71056384", "0.7103931", "0.70956737", "0.7082859", "0.70784634", "0.7047862", "0.70448834", "0.70272285", "0.6994295", "0.6972...
0.62389743
63
The member which holds an expression The constructor creates an expression.
public BaseExpression(Expression e) { this.e1 = e; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Expression() { }", "public Expression() {\r\n }", "Expression createExpression();", "public Expression(IExpressionPart expressionPart)\r\n\t{\r\n\t\tthis.expressionPart = expressionPart;\r\n\t}", "public ParseExpression(){\n expression = null;\n }", "public Expression(Expression exp) {\r\n\t...
[ "0.79929125", "0.7728813", "0.74458456", "0.7084598", "0.6860873", "0.68590516", "0.6802662", "0.6797755", "0.6705075", "0.6624646", "0.6624639", "0.66162586", "0.6590457", "0.6557828", "0.65563667", "0.6548632", "0.65458757", "0.6460468", "0.6418389", "0.6411368", "0.6396241...
0.64148587
19
getVariables creates and returns a list with all of the variables in every expression.
public List<String> getVariables() { List<String> newList = new ArrayList<String>(); newList.addAll(e1.getVariables()); return newList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<IVariableDef> getVariables();", "public List allVariables() {\r\n\t\tArrayList vars = new ArrayList();\r\n\t\tfor (int i = 0; i < elements.size(); ++i) {\r\n\t\t\tObject ob = elements.get(i);\r\n\t\t\tif (ob instanceof Variable) {\r\n\t\t\t\tvars.add(ob);\r\n\t\t\t} else if (ob instanceof FunctionDef) {\r\n...
[ "0.77727956", "0.7717045", "0.7536246", "0.7297446", "0.7258569", "0.7236245", "0.71119773", "0.70837694", "0.70393515", "0.6920714", "0.6823843", "0.675035", "0.6629523", "0.6542097", "0.6524703", "0.6514687", "0.65132284", "0.6508971", "0.6381883", "0.63686764", "0.63254476...
0.7369587
3
getE1 returns the e1 Expression.
public Expression getE1() { return e1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Float getE1() {\r\n return e1;\r\n }", "public void setE1(Float e1) {\r\n this.e1 = e1;\r\n }", "E1Rule createE1Rule();", "public java.lang.String getExt1()\n {\n return this.ext1;\n }", "Expression getExpression();", "Expression getExpression();", "Expression ge...
[ "0.7295544", "0.67979705", "0.6173737", "0.59440213", "0.5879629", "0.5879629", "0.5879629", "0.5879629", "0.5876519", "0.58422023", "0.58294094", "0.58232677", "0.58232677", "0.58231634", "0.5782326", "0.57605284", "0.57251364", "0.57202375", "0.56981045", "0.56879556", "0.5...
0.8758685
0
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Overriden by subtypes to perform general purpose unit validation. This method will not be invoked if the unit is in install and do not publish state.
protected void validateUnit(Unit unit, IDeployValidationContext context, IDeployReporter reporter) { assert unit != null; assert context != null; assert reporter != null; /*remove per defect 5568 * if (!hasNodeMemberUnit(unit)) { reporter.addStatus( DeployCoreStatusFactory.INSTANCE.createDeployS...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void validate() {\n // no implementation.\n }", "protected void validate() {\n // no op\n }", "@Override\n\tpublic void selfValidate() {\n\t\t\n\t}", "@Override\n\tpublic void validate() {\n\t\tsuper.validate();\n\t}", "@Override\r\n public void validate() {\r\n }", "p...
[ "0.68846154", "0.67663974", "0.6579381", "0.65559024", "0.65422845", "0.64542055", "0.644752", "0.64149934", "0.63930047", "0.63637817", "0.6348469", "0.63420457", "0.63053095", "0.6281562", "0.6281562", "0.6215941", "0.6215941", "0.61589926", "0.6145601", "0.6145601", "0.614...
0.64818853
5
Called when the activity is first created.
public void onCreate(Bundle icicle) { super.onCreate(icicle); // UDPTest(); Thread t1 = new Thread(new Runnable() { public void run() { // TODO Auto-generated method stub Log.e("bc", "thread started!"); // UTPDirectTest(); // UDPTest(); UDPBroadcastTest(); } }); t1.start(); // ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivit...
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879",...
0.0
-1
TODO Autogenerated method stub
public void run() { Log.e("bc", "thread started!"); // UTPDirectTest(); // UDPTest(); UDPBroadcastTest(); }
{ "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
private void UDPBroadcastTest() { WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE); if (wifi != null) { WifiManager.MulticastLock lock = wifi .createMulticastLock("Log_Tag"); lock.acquire(); } int DISCOVERY_PORT = 1989; int TIMEOUT_MS = 5000; try { DatagramSocket soc...
{ "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