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
End of variables declaration//GENEND:variables // Configurar componentes de clase padre // //
private void modificarComponentesPanelPadre() { panelCrearArticuloClienteDistribuidor_labelTitulo.setText(panelCrearArticuloClienteDistribuidor_labelTitulo.getText() + "Distribuidor"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ConfigCuenta() {\n initComponents();\n }", "public PDocente() {\n initComponents();\n }", "public Nivel1Palabras() {\n initComponents();\n }", "public CadastroComplemento() {\n initComponents();\n \n }", "public LibroDiario() {\n initComponents()...
[ "0.67718405", "0.66472465", "0.6593972", "0.65585643", "0.65420324", "0.6526607", "0.6518559", "0.65136003", "0.65032655", "0.65005344", "0.6470659", "0.6461182", "0.6425848", "0.6425848", "0.6392284", "0.6385235", "0.63680494", "0.63647866", "0.63399917", "0.6337994", "0.633...
0.60872924
89
/ Reestablece la ventana al modo inicial. pido un booleano porque hay ocaciones en las que se llamara y se preguntara algo en un JPtionPane pero desde otro lado que se haga lo mismo pero que NO se va a hacer la misma pregunta con el JOpptionPane.
public static void eventoArticuloClienteDistribuidor(boolean preguntar) { if (preguntar) { if (Logica.Cuadros_Emergentes.confirmacionDefinida("" + "-Se borraran todos los datos escritos del nuevo distribuidor.\n\n") == 0) { panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldCodigo.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldNombre.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldContacto.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldDireccion.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_botonHistorialDeDistribuidor.setVisible(false); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldCodigo.setEditable(true); Diseño.Facturacion.paneles_base.panelBase_inventarioClientesDistribuidores.reestablecerComponentes(); } } else { panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldCodigo.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldNombre.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldContacto.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldDireccion.setText(""); panel_nuevoDistribuidor.panelNuevoDistribuidor_botonHistorialDeDistribuidor.setVisible(false); panel_nuevoDistribuidor.panelNuevoDistribuidor_textFieldCodigo.setEditable(true); Diseño.Facturacion.paneles_base.panelBase_inventarioClientesDistribuidores.reestablecerComponentes(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void verificaJogo(){\n\t\t\t\tif(jogo.verificaPerdeu()) {\n\t \t\tJOptionPane dialogo = new JOptionPane();\n\t \t\t\n\t \t\tint opcao = dialogo.showConfirmDialog(this, \"Voce Perdeu!!\\nDeseja jogar novamente?\", \"mensagem\", JOptionPane.YES_NO_OPTION);\n\t \t\t\n\t \t\ti...
[ "0.71450156", "0.6544222", "0.65002346", "0.63524765", "0.63308096", "0.63235104", "0.6243806", "0.62308365", "0.6225968", "0.61845315", "0.6181724", "0.6135522", "0.6134984", "0.61294836", "0.61252576", "0.61148465", "0.6100575", "0.60868496", "0.6040994", "0.6035347", "0.59...
0.0
-1
Replaces all instances of oldString with newString in line.
public static final String replace(String line, String oldString, String newString) { int i = 0; if ((i = line.indexOf(oldString, i)) >= 0) { char[] line2 = line.toCharArray(); char[] newString2 = newString.toCharArray(); int oLength = oldString.length(); StringBuffer buf = new StringBuffer(line2.length); buf.append(line2, 0, i).append(newString2); i += oLength; int j = i; while ((i = line.indexOf(oldString, i)) > 0) { buf.append(line2, j, i - j).append(newString2); i += oLength; j = i; } buf.append(line2, j, line2.length - j); return buf.toString(); } return line; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final String replace(String line, String oldString, String newString,\r\n Integer count) {\r\n if (line == null) {\r\n return null;\r\n }\r\n int i = 0;\r\n if ((i = line.indexOf(oldString, i)) >= 0) {\r\n int cou...
[ "0.7342498", "0.73041475", "0.7095136", "0.6384834", "0.63764584", "0.6250673", "0.62350565", "0.62286204", "0.6159936", "0.61065155", "0.60079026", "0.59669274", "0.59662646", "0.5934023", "0.5928691", "0.58993673", "0.58401144", "0.57176095", "0.5703411", "0.56406885", "0.5...
0.82597667
0
Replaces all instances of oldString with newString in line. The count Integer is updated with number of replaces.
public static final String replace(String line, String oldString, String newString, Integer count) { if (line == null) { return null; } int i = 0; if ((i = line.indexOf(oldString, i)) >= 0) { int counter = 0; counter++; char[] line2 = line.toCharArray(); char[] newString2 = newString.toCharArray(); int oLength = oldString.length(); StringBuffer buf = new StringBuffer(line2.length); buf.append(line2, 0, i).append(newString2); i += oLength; int j = i; while ((i = line.indexOf(oldString, i)) > 0) { counter++; buf.append(line2, j, i - j).append(newString2); i += oLength; j = i; } buf.append(line2, j, line2.length - j); count = new Integer(counter); return buf.toString(); } return line; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final String replace(String line, String oldString,\r\n String newString, int[] count) {\r\n if (line == null) {\r\n return null;\r\n }\r\n int i = 0;\r\n if ((i = line.indexOf(oldString, i)) >= 0) {\r\n int count...
[ "0.80783975", "0.6716636", "0.5777312", "0.564263", "0.5616854", "0.5610561", "0.55227894", "0.5519932", "0.5515342", "0.55137575", "0.5506234", "0.54463995", "0.536763", "0.53464884", "0.531996", "0.53009516", "0.5292519", "0.52873707", "0.52862513", "0.52632767", "0.5247682...
0.807634
1
This method takes a string which may contain HTML tags (ie, , ' \",\' characters to their HTML escape sequences.
public static final String escapeHTMLTags(String input) { if (input == null || input.length() == 0) { return input; } StringBuffer buf = new StringBuffer(input.length()); char ch = ' '; for (int i = 0; i < input.length(); i++) { ch = input.charAt(i); if (ch == '<') { buf.append(LT); } else if (ch == '>') { buf.append(GT); } else if (ch == '\'') { buf.append(S_QUTO); } else if (ch == '"') { buf.append(D_QUTO); } else { buf.append(ch); } } return buf.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String escapeHTML(String str){\r\n\t\treturn FuzzyXMLUtil.escape(str, true);\r\n\t}", "public String htmlSpecialChar(String string){\n String res = string.replaceAll(\"&\",\"&amp;\");\n res = res.replace(\"'\",\"&#039;\");\n res = res.replace(\"\\\"\",\"&qout;\");\n res ...
[ "0.75686324", "0.71380633", "0.6995056", "0.6995056", "0.69878703", "0.69548607", "0.6930169", "0.6897258", "0.6897258", "0.67140806", "0.667418", "0.658806", "0.658791", "0.6563567", "0.65505683", "0.6492526", "0.64658993", "0.6442347", "0.62842524", "0.6274099", "0.6183128"...
0.68194413
9
Turns an array of bytes into a String representing each byte as an unsigned hex number. Method by Santeri Paavolainen, Helsinki Finland 1996 (c) Santeri Paavolainen, Helsinki Finland 1996 Distributed under LGPL.
public static final String toHex(byte hash[]) { StringBuffer buf = new StringBuffer(hash.length * 2); int i; for (i = 0; i < hash.length; i++) { if (((int) hash[i] & 0xff) < 0x10) { buf.append("0"); } buf.append(Long.toString((int) hash[i] & 0xff, 16)); } return buf.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String bytesToHex(byte[] array) {\n StringBuffer hexString = new StringBuffer();\n for (int i = 0; i < array.length; i++) {\n String hex = Integer.toHexString(0xff & array[i]);\n if(hex.length() == 1) hexString.append('0');\n hexString.append(hex);\n }\n return hexString.to...
[ "0.7797354", "0.7484988", "0.74239755", "0.74197125", "0.73959094", "0.73832333", "0.7368379", "0.7360785", "0.73486114", "0.7335343", "0.73117346", "0.7307478", "0.7302626", "0.7234784", "0.7219073", "0.72055393", "0.7204463", "0.71985567", "0.7193657", "0.71854174", "0.7167...
0.67714506
59
Converts a line of text into an array of lower case words. Words are delimited by the following characters: , .\r\n:/\+ In the future, this method should be changed to use a BreakIterator.wordInstance(). That class offers much more fexibility.
public static final String[] toLowerCaseWordArray(String text) { StringTokenizer tokens = new StringTokenizer(text, " ,\r\n.:/\\+"); String[] words = new String[tokens.countTokens()]; for (int i = 0; i < words.length; i++) { words[i] = tokens.nextToken().toLowerCase(); } return words; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String[] tokenizeWords(String line) {\n\n String[] lineTokens = new String[0];\n if (!line.equals(\"\") && !line.equals(\" \")) {\n lineTokens = line.split(\":| :|: | : \");\n }\n return lineTokens;\n }", "public static void cleanLine(String[] wordsInLine){...
[ "0.65255475", "0.6295577", "0.6206356", "0.61068445", "0.58388305", "0.57989323", "0.5798677", "0.577965", "0.5675932", "0.5616769", "0.5592343", "0.55916536", "0.5538546", "0.5518138", "0.54871714", "0.5477432", "0.5472991", "0.54534084", "0.5429917", "0.5423927", "0.5398248...
0.66440725
0
Returns a new String array with some of the most common English words removed. The specific words removed are: a, and, as, at, be, do, i, if, in, is, it, so, the, to
public static final String[] removeCommonWords(String[] words) { if (commonWordsMap == null) { synchronized (initLock) { if (commonWordsMap == null) { commonWordsMap = new HashMap(); for (int i = 0; i < commonWords.length; i++) { commonWordsMap.put(commonWords[i], commonWords[i]); } } } } ArrayList results = new ArrayList(words.length); for (int i = 0; i < words.length; i++) { if (!commonWordsMap.containsKey(words[i])) { results.add(words[i]); } } return (String[]) results.toArray(new String[results.size()]); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String[] topHotWords( int count ){\r\n //If the number put in the arguments is greater than the number of distinct hotwords\r\n //in the document, limit it to distinctCount\r\n if (count > distinctCount()){\r\n count = distinctCount();\r\n }\r\n ...
[ "0.62825316", "0.62634915", "0.6031538", "0.5916538", "0.59010714", "0.58673036", "0.5781763", "0.57433", "0.5640746", "0.56398004", "0.56154794", "0.55996835", "0.5587909", "0.55695134", "0.5538732", "0.55329317", "0.5513848", "0.5513493", "0.55133164", "0.55043185", "0.5503...
0.6397735
0
Breaks up words that are longer than maxCount with spaces.
public static String createBreaks(String input) { char[] chars = input.toCharArray(); int len = chars.length; StringBuffer buf = new StringBuffer(len); int count = 0; int cur = 0; for (int i = 0; i < len; i++) { if (chars[i] == '\n') { buf.append(chars, cur, i - cur).append(BR_TAG); cur = i + 1; } else if (chars[i] == '\r' && i < len - 1 && chars[i + 1] == '\n') { buf.append(chars, cur, i - cur).append(BR_TAG); i++; cur = i + 1; } count++; } buf.append(chars, cur, len - cur); return buf.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void minMaxLengthWords(String input) \n {\n int len = input.length(); \n int si = 0, ei = 0; \n int min_length = len, min_start_index = 0, \n max_length = 0, max_start_index = 0; \n \n // Loop while input string is not empty \n while (ei <= len) \n ...
[ "0.59773916", "0.58766043", "0.584692", "0.583423", "0.5804603", "0.5782027", "0.5758108", "0.5722916", "0.5589129", "0.55693805", "0.55606", "0.5522652", "0.54903054", "0.5488032", "0.54800695", "0.544775", "0.5447334", "0.54401475", "0.5338296", "0.53334826", "0.5321144", ...
0.0
-1
Replaces all instances of oldString with newString in line. The count Integer is updated with number of replaces.
public static final String replace(String line, String oldString, String newString, int[] count) { if (line == null) { return null; } int i = 0; if ((i = line.indexOf(oldString, i)) >= 0) { int counter = 0; counter++; char[] line2 = line.toCharArray(); char[] newString2 = newString.toCharArray(); int oLength = oldString.length(); StringBuffer buf = new StringBuffer(line2.length); buf.append(line2, 0, i).append(newString2); i += oLength; int j = i; while ((i = line.indexOf(oldString, i)) > 0) { counter++; buf.append(line2, j, i - j).append(newString2); i += oLength; j = i; } buf.append(line2, j, line2.length - j); count[0] = counter; return buf.toString(); } return line; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static final String replace(String line, String oldString, String newString,\r\n Integer count) {\r\n if (line == null) {\r\n return null;\r\n }\r\n int i = 0;\r\n if ((i = line.indexOf(oldString, i)) >= 0) {\r\n int cou...
[ "0.8077355", "0.67191195", "0.57808316", "0.5644468", "0.56155115", "0.56127685", "0.5523325", "0.551989", "0.55181307", "0.5515298", "0.5507359", "0.5445852", "0.5368787", "0.5348422", "0.5321246", "0.53003746", "0.5292781", "0.5286754", "0.5286533", "0.5264632", "0.5248505"...
0.80795217
0
TODO Autogenerated method stub
@Override public void hide() { PostSign.Destroy(); levelbuilder = 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 dispose() { batch.dispose(); }
{ "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
stop music if running
@Override public void pause() { PhoneDevice.Settings.stopMusic(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop() {\n\t\tmusic.stop();\n\t}", "public static void stopMusic() {\n\t\tcurrentMusic.stop();\n\t}", "void stopMusic();", "public void stop()\n {\n if(AudioDetector.getInstance().isNoAudio() || musicPlayer == null)\n {\n return;\n }\n\n\n musicPlayer.sto...
[ "0.82558525", "0.8093107", "0.80892736", "0.8085145", "0.797755", "0.7965841", "0.7938318", "0.7874093", "0.7836195", "0.7831672", "0.7706569", "0.76889086", "0.7688733", "0.76232237", "0.75281197", "0.7490848", "0.74556", "0.7429563", "0.7427662", "0.74155486", "0.74143606",...
0.6872903
47
TODO Autogenerated method stub
@Override public void resize(int arg0, int arg1) { }
{ "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
stop music if running
@Override public void resume() { PhoneDevice.Settings.playMusic(PhoneDevice.Settings.MusicEnum.psyche_up); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void stop() {\n\t\tmusic.stop();\n\t}", "public static void stopMusic() {\n\t\tcurrentMusic.stop();\n\t}", "void stopMusic();", "public void stop()\n {\n if(AudioDetector.getInstance().isNoAudio() || musicPlayer == null)\n {\n return;\n }\n\n\n musicPlayer.sto...
[ "0.82558525", "0.8093107", "0.80892736", "0.8085145", "0.797755", "0.7965841", "0.7938318", "0.7874093", "0.7836195", "0.7831672", "0.7706569", "0.76889086", "0.7688733", "0.76232237", "0.75281197", "0.7490848", "0.74556", "0.7429563", "0.7427662", "0.74155486", "0.74143606",...
0.0
-1
====================Background Management Methods========================// ====================Block Management Methods========================//
private void Management_Block(Block block){ switch(block.BlockState){ case 0: // player is not lost game. continue with tile micro managment for (Tile tile : block.Wall){ Rectangle rectTile = new Rectangle(); rectTile = tile.getRectTile(); boolean CoinCollision = CollisionDetection(playerUser.bounds,rectTile); switch(tile.state) { case 0: // no collision, show the block batch.draw(tile.getBlockImg(), rectTile.x,rectTile.y,rectTile.width,rectTile.height); if (PauseGame) continue; if (CoinCollision==true){ tile.state++; } else if (ThisGameRound==GameState.Running){ if (block.Passed==false){ if (playerUser.position.x > block.Wall.get(0).rectTile.x){ levelbuilder.gamePoints = levelbuilder.gamePoints + 1; fntScore.setBitmapText("Score: " + String.valueOf(levelbuilder.gamePoints)); block.Passed=true; } } else if (block.Passed==true){ //do nothing. } } break; case 1: batch.draw(tile.getBlockImg(),rectTile.x,rectTile.y,rectTile.width,rectTile.height); // if there is a collotion, draw it one time only // collision, but player has key PhoneDevice.Vibrate(); if ((playerUser.color==block.color) || (playerUser.color==Color.ALL)){ tile.setBlockImg(tile.BlockType); tile.PlayBreakThoughSound(); } // collision, but player dont have a key: break from tile loop and // draw block crash effect else if (DEBUG==false){ block.BlockState=1; ThisGameRound = GameState.GameOver; break; } tile.pe = Effects.setNewEffect(enumEffects.TileDistruction, block.color); tile.pe.setPosition(tile.getRectTile().x, tile.getRectTile().y+tile.Height/2); tile.pe.start(); tile.state++; break; case 2: // continue to draw the effect: no matter collision result tile.pe.setPosition(tile.getRectTile().x, tile.getRectTile().y+tile.Height/2); tile.pe.update(Gdx.graphics.getDeltaTime()); tile.pe.draw(batch,Gdx.graphics.getDeltaTime()); break; } } break; case 1: // player hit the wall without key for (Tile tile : block.Wall){ Rectangle rectTile = new Rectangle(); rectTile = tile.getRectTile(); batch.draw(tile.getBlockImg(), rectTile.x,rectTile.y,rectTile.width,rectTile.height); } block.PlayCrashSound(); block.pe = Effects.setNewEffect(enumEffects.Crash, block.color); block.pe.setPosition(playerUser.bounds.x + playerUser.bounds.width, playerUser.bounds.y + playerUser.bounds.height/2); block.pe.start(); block.BlockState++; break; case 2: for (Tile tile : block.Wall){ Rectangle rectTile = new Rectangle(); rectTile = tile.getRectTile(); batch.draw(tile.getBlockImg(), rectTile.x,rectTile.y,rectTile.width,rectTile.height); } block.pe.update(Gdx.graphics.getDeltaTime()); block.pe.draw(batch,Gdx.graphics.getDeltaTime()); break; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void start_block();", "public void enterBackground();", "@Override\n public boolean block() {\n return false;\n }", "private void backgroundExecution() {\n // This moves the time consuming operation to a child thread.\n Thread thread=new Thread(null, doBackgroundThr...
[ "0.6619607", "0.6176382", "0.5859426", "0.5845339", "0.56644666", "0.565766", "0.56572396", "0.56345475", "0.56188977", "0.5603881", "0.557374", "0.55683637", "0.55619615", "0.5516072", "0.5491405", "0.54843956", "0.54766655", "0.5441834", "0.54349804", "0.54349804", "0.54349...
0.64296407
1
====================Block Management Methods========================// ====================coin Management Methods========================//
private void Managment_Coins(CoinPattern cp){ // coin managment: collection of coins and effects for (CoinData coin : cp.getCoins()){ boolean CoinCollision = CollisionDetection(playerUser.bounds,coin.location); if (CoinCollision) { // if player collected the coin // change the this coin image to collected if (PauseGame) continue; if (!coin.Collected){ coin.Collected=true; levelbuilder.gamePoints = levelbuilder.gamePoints + coin.value; fntScore.setBitmapText("Score: " + String.valueOf(levelbuilder.gamePoints)); coin.PlayCoinCollectedSound(); Vector2 peCoord = new Vector2().add(coin.location.x, coin.location.y+ coin.coinTexture.Height/2); coin.pe.setPosition(coin.location.x,coin.location.y + coin.coinTexture.Height/2); coin.pe.start(); } coin.pe.update(Gdx.graphics.getDeltaTime()); coin.pe.draw(batch,Gdx.graphics.getDeltaTime()); } else if (coin.Collected==false){ batch.draw(coin.coinTexture.TextureCandy, coin.location.x,coin.location.y,coin.location.width, coin.location.height); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void processBlock()\n\t{\n\t\tDBSet databaseSet = DBSet.createEmptyDatabaseSet();\n\t\t\t\t\t\t\t\t\t\t\n\t\t//PROCESS GENESISBLOCK\n\t\tGenesisBlock genesisBlock = new GenesisBlock();\n\t\tgenesisBlock.process(databaseSet);\n\t\t\t\t\t\t\t\t\t\t\n\t\t//CREATE KNOWN ACCOUNT\n\t\tbyte[] seed = Crypt...
[ "0.6865204", "0.66639966", "0.66508704", "0.6485054", "0.64833343", "0.6449562", "0.6409959", "0.6382828", "0.628835", "0.62822944", "0.61548954", "0.61138505", "0.6095866", "0.60937995", "0.6086039", "0.60362405", "0.59933543", "0.5955477", "0.5948999", "0.59323287", "0.5922...
0.5972076
17
====================coin Managment Methods========================// ==============================Management_Player==========================//
private void Management_Player(){ // render the Player switch(ThisGameRound){ case EndRound: return; case GameOver: // do nothing break; case Running: if (PauseGame==false){ playerUser.PlayerMovement(); } else if (PauseGame==true){ // do not update gravity } break; } batch.draw(playerUser.getframe(PauseGame), playerUser.getPosition().x , playerUser.getPosition().y, playerUser.getBounds().width, playerUser.getBounds().height); switch (playerUser.EquipedToolCycle) { case 0: startTimeTool = System.currentTimeMillis(); break; case 1: if (PauseGame==true){ return; } // tool is grabbed estimatedTimeEffect = System.currentTimeMillis() - startTimeTool; playerUser.pe_grab.setPosition(playerUser.getPosition().x + playerUser.getBounds().width/2, playerUser.getPosition().y + playerUser.getBounds().height/2); playerUser.pe_grab.update(Gdx.graphics.getDeltaTime()); playerUser.pe_grab.draw(batch,Gdx.graphics.getDeltaTime()); if (estimatedTimeEffect >= Conf.SYSTIME_MS){ estimatedTimeEffect = 0; playerUser.ToolEquiped(); startTimeTool = System.currentTimeMillis(); playerUser.EquipedToolCycle++; }else{ // do nothing } break; case 2: if (PauseGame==true){ return; } estimatedTimeEffect = (System.currentTimeMillis() - startTimeTool) / 1000; playerUser.pe_equip.setPosition(playerUser.getPosition().x + playerUser.getBounds().width/2, playerUser.getPosition().y + playerUser.getBounds().height/2); playerUser.pe_equip.update(Gdx.graphics.getDeltaTime()); playerUser.pe_equip.draw(batch,Gdx.graphics.getDeltaTime()); if (estimatedTimeEffect>=Conf.TOOL_TIME_USAGE_LIMIT){ playerUser.EquipedToolCycle=0; playerUser.color = Color.NONE; } if (estimatedTimeEffect>=Conf.TOOL_TIME_USAGE_MUSIC_LIMIT){ PhoneDevice.Settings.setMusicValue(true); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Player(String name){\n this.name = name;\n funds = 500;\n shares = new ArrayList<>(5);\n votedStocks = new StringBuilder();\n votesLeft = 2;\n tradesLeft = 2;\n playerWorth = 0;\n botMode = false;\n addShares();\n }", "public Player(int playerNumb...
[ "0.63852316", "0.6325781", "0.6284606", "0.62709737", "0.62473637", "0.62473637", "0.621504", "0.61731344", "0.61326164", "0.61110437", "0.610334", "0.60994583", "0.60939234", "0.6069318", "0.6054204", "0.6052462", "0.60467964", "0.60280854", "0.6015805", "0.600234", "0.59945...
0.6488364
0
to store key and node address of each value
public LRU_cache(int capacity) { cap = capacity; head.next = tail; tail.prev = head; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "interface Node<K, V> {\n /** Returns the key of current node */\n K getKey();\n /** Returns the value of current node */\n V getValue();\n }", "@Override\r\n public String toString() {\r\n return key.toString() + \"=\" + value.toString();\r\n }", "public ...
[ "0.6294076", "0.5982374", "0.597364", "0.5866199", "0.5863237", "0.58591753", "0.58261025", "0.5824239", "0.5769327", "0.5762221", "0.5686785", "0.5661402", "0.5652561", "0.563393", "0.56043965", "0.56030786", "0.55982417", "0.5585085", "0.55369514", "0.5514521", "0.5508547",...
0.0
-1
Time complexity : O(1)
public int get(int key) { if(map.containsKey(key)) { Node node = map.get(key); removeNode(node); insertNode(node); return node.val; } return -1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f1(int N) {\n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n) \n x++; \n return x; \n \n }", "public static int f2(int N) { \n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n)\n // O(n)`\n ...
[ "0.68292564", "0.6759917", "0.6171902", "0.60125536", "0.5993456", "0.59920543", "0.5903843", "0.5863308", "0.5830999", "0.5829468", "0.5820722", "0.57998943", "0.5792089", "0.5757094", "0.57415026", "0.56855154", "0.5661954", "0.56505007", "0.55638015", "0.54611206", "0.5455...
0.0
-1
Time complexity : O(1)
public void put(int key, int value) { if(map.containsKey(key)) removeNode(map.get(key)); if(map.size() == cap) removeNode(tail.prev); insertNode(new Node(key, value)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int f1(int N) {\n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n) \n x++; \n return x; \n \n }", "public static int f2(int N) { \n int x = 0; //O(1)\n for(int i = 0; i < N; i++) // O(n)\n // O(n)`\n ...
[ "0.68283224", "0.67592007", "0.6170663", "0.6011288", "0.5991883", "0.5991026", "0.5904107", "0.58631265", "0.58303416", "0.5829604", "0.5820585", "0.57996774", "0.57916445", "0.5757008", "0.57404727", "0.56851274", "0.5661457", "0.5649543", "0.55637896", "0.5461028", "0.5455...
0.0
-1
/ 1.8 default and static methods are allowed 1.9 private methods are allowed Default methods = Virtual extension method = defender method
interface I{ public void m1(); public void m2(); default void m3(){ System.out.println("Default methods in interface"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:33:59.917 -0500\", hash_original_method = \"4F6254C867328A153FDD5BD23453E816\", hash_generated_method = \"627F9C594B5D3368AD9A21A5E...
[ "0.6820438", "0.64549214", "0.64200723", "0.61969334", "0.6185218", "0.6042278", "0.5999175", "0.5996857", "0.59952015", "0.59224683", "0.58946526", "0.58466643", "0.5841855", "0.5841855", "0.58358556", "0.5801281", "0.5796542", "0.57877624", "0.5774064", "0.57712275", "0.577...
0.53212017
78
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump.
public static void init(android.app.Application r4, java.lang.String r5) { /* r0 = lock; monitor-enter(r0); if (r4 == 0) goto L_0x008a; L_0x0005: r1 = android.text.TextUtils.isEmpty(r5); Catch:{ all -> 0x0088 } if (r1 == 0) goto L_0x000d; L_0x000b: goto L_0x008a; L_0x000d: r1 = 0; r2 = type; Catch:{ all -> 0x0088 } utAndSecurityInit(r5, r1, r4, r2); Catch:{ all -> 0x0088 } r1 = ONLINE_FEEDBACK_URL; Catch:{ all -> 0x0088 } feedbackUrl = r1; Catch:{ all -> 0x0088 } r1 = LOCAL_FEEDBACK_URL; Catch:{ all -> 0x0088 } webviewUrl = r1; Catch:{ all -> 0x0088 } r1 = com.alibaba.sdk.android.feedback.util.i.b(r4); Catch:{ all -> 0x0088 } deviceID = r1; Catch:{ all -> 0x0088 } r1 = android.text.TextUtils.isEmpty(r1); Catch:{ all -> 0x0088 } if (r1 == 0) goto L_0x0029; L_0x0027: monitor-exit(r0); Catch:{ all -> 0x0088 } return; L_0x0029: r1 = r4.getApplicationContext(); Catch:{ all -> 0x0088 } mContext = r1; Catch:{ all -> 0x0088 } mAppkey = r5; Catch:{ all -> 0x0088 } r1 = mFeedbackCustomInfoMap; Catch:{ all -> 0x0088 } r2 = "appkey"; r1.put(r2, r5); Catch:{ all -> 0x0088 } r5 = mFeedbackCustomInfoMap; Catch:{ all -> 0x0088 } r1 = "deviceId"; r2 = deviceID; Catch:{ all -> 0x0088 } r5.put(r1, r2); Catch:{ all -> 0x0088 } r5 = "ywPrefsTools"; r1 = 0; r5 = r4.getSharedPreferences(r5, r1); Catch:{ all -> 0x0088 } r1 = "annoy_uid"; r2 = ""; r1 = r5.getString(r1, r2); Catch:{ all -> 0x0088 } r2 = "annoy_password"; r3 = ""; r5 = r5.getString(r2, r3); Catch:{ all -> 0x0088 } r2 = new java.lang.StringBuilder; Catch:{ all -> 0x0088 } r3 = "uid:"; r2.<init>(r3); Catch:{ all -> 0x0088 } r2.append(r1); Catch:{ all -> 0x0088 } r3 = " password:"; r2.append(r3); Catch:{ all -> 0x0088 } r2.append(r5); Catch:{ all -> 0x0088 } r2 = mFeedbackCustomInfoMap; Catch:{ all -> 0x0088 } r3 = "openIMId"; r2.put(r3, r1); Catch:{ all -> 0x0088 } r1 = mFeedbackCustomInfoMap; Catch:{ all -> 0x0088 } r2 = "credential"; r1.put(r2, r5); Catch:{ all -> 0x0088 } com.alibaba.sdk.android.feedback.util.n.a(); Catch:{ all -> 0x0088 } r5 = 1; isUTInit = r5; Catch:{ all -> 0x0088 } com.alibaba.sdk.android.a.a.a(r5); Catch:{ all -> 0x0088 } r5 = com.alibaba.sdk.android.a.d.AMS_FEEDBACK; Catch:{ all -> 0x0088 } com.alibaba.sdk.android.a.a.a(r4, r5); Catch:{ all -> 0x0088 } monitor-exit(r0); Catch:{ all -> 0x0088 } return; L_0x0088: r4 = move-exception; goto L_0x008c; L_0x008a: monitor-exit(r0); Catch:{ all -> 0x0088 } return; L_0x008c: monitor-exit(r0); Catch:{ all -> 0x0088 } throw r4; */ throw new UnsupportedOperationException("Method not decompiled: com.alibaba.sdk.android.feedback.impl.FeedbackAPI.init(android.app.Application, java.lang.String):void"); }
{ "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
/ JADX WARNING: inconsistent code. / Code decompiled incorrectly, please refer to instructions dump.
public static void init(android.app.Application r3, java.lang.String r4, java.lang.String r5) { /* r0 = lock; monitor-enter(r0); if (r3 == 0) goto L_0x0090; L_0x0005: r1 = android.text.TextUtils.isEmpty(r4); Catch:{ all -> 0x008e } if (r1 == 0) goto L_0x000d; L_0x000b: goto L_0x0090; L_0x000d: r1 = type; Catch:{ all -> 0x008e } utAndSecurityInit(r4, r5, r3, r1); Catch:{ all -> 0x008e } r1 = ONLINE_FEEDBACK_URL; Catch:{ all -> 0x008e } feedbackUrl = r1; Catch:{ all -> 0x008e } r1 = LOCAL_FEEDBACK_URL; Catch:{ all -> 0x008e } webviewUrl = r1; Catch:{ all -> 0x008e } r1 = com.alibaba.sdk.android.feedback.util.i.b(r3); Catch:{ all -> 0x008e } deviceID = r1; Catch:{ all -> 0x008e } r1 = android.text.TextUtils.isEmpty(r1); Catch:{ all -> 0x008e } if (r1 == 0) goto L_0x0028; L_0x0026: monitor-exit(r0); Catch:{ all -> 0x008e } return; L_0x0028: r1 = r3.getApplicationContext(); Catch:{ all -> 0x008e } mContext = r1; Catch:{ all -> 0x008e } mAppkey = r4; Catch:{ all -> 0x008e } r1 = mFeedbackCustomInfoMap; Catch:{ all -> 0x008e } r2 = "appkey"; r1.put(r2, r4); Catch:{ all -> 0x008e } r4 = mFeedbackCustomInfoMap; Catch:{ all -> 0x008e } r1 = "deviceId"; r2 = deviceID; Catch:{ all -> 0x008e } r4.put(r1, r2); Catch:{ all -> 0x008e } r4 = mFeedbackCustomInfoMap; Catch:{ all -> 0x008e } r1 = "appSecret"; r4.put(r1, r5); Catch:{ all -> 0x008e } r4 = "ywPrefsTools"; r5 = 0; r4 = r3.getSharedPreferences(r4, r5); Catch:{ all -> 0x008e } r5 = "annoy_uid"; r1 = ""; r5 = r4.getString(r5, r1); Catch:{ all -> 0x008e } r1 = "annoy_password"; r2 = ""; r4 = r4.getString(r1, r2); Catch:{ all -> 0x008e } r1 = new java.lang.StringBuilder; Catch:{ all -> 0x008e } r2 = "uid:"; r1.<init>(r2); Catch:{ all -> 0x008e } r1.append(r5); Catch:{ all -> 0x008e } r2 = " password:"; r1.append(r2); Catch:{ all -> 0x008e } r1.append(r4); Catch:{ all -> 0x008e } r1 = mFeedbackCustomInfoMap; Catch:{ all -> 0x008e } r2 = "openIMId"; r1.put(r2, r5); Catch:{ all -> 0x008e } r5 = mFeedbackCustomInfoMap; Catch:{ all -> 0x008e } r1 = "credential"; r5.put(r1, r4); Catch:{ all -> 0x008e } com.alibaba.sdk.android.feedback.util.n.a(); Catch:{ all -> 0x008e } r4 = 1; isUTInit = r4; Catch:{ all -> 0x008e } com.alibaba.sdk.android.a.a.a(r4); Catch:{ all -> 0x008e } r4 = com.alibaba.sdk.android.a.d.AMS_FEEDBACK; Catch:{ all -> 0x008e } com.alibaba.sdk.android.a.a.a(r3, r4); Catch:{ all -> 0x008e } monitor-exit(r0); Catch:{ all -> 0x008e } return; L_0x008e: r3 = move-exception; goto L_0x0092; L_0x0090: monitor-exit(r0); Catch:{ all -> 0x008e } return; L_0x0092: monitor-exit(r0); Catch:{ all -> 0x008e } throw r3; */ throw new UnsupportedOperationException("Method not decompiled: com.alibaba.sdk.android.feedback.impl.FeedbackAPI.init(android.app.Application, java.lang.String, java.lang.String):void"); }
{ "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.7617459", "0.7573662", "0.75262785", "0.74514425", "0.74513507", "0.74378777", "0.7382313", "0.7382313", "0.7367218", "0.73539925", "0.7342764", "0.73155916", "0.7308106", "0.7306313", "0.7273729", "0.7253095", "0.7222029", "0.7198275", "0.71782386", "0.7137191", "0.710699...
0.0
-1
Creates new form Inicio
public Inicio() { initComponents(); setIconImage(new ImageIcon(getClass().getResource("/imagenes/iconogira.png")).getImage()); this.setLocationRelativeTo(null); this.setTitle("GIIA"); DefaultListModel<String> model = new DefaultListModel<>(); jListIntegrantes.setModel(model); jTextFieldMediaTiempoEst.setEditable(false); jTextFieldMediaTiempoReal.setEditable(false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void create(Formulario form){\n daoFormulario.create(form);\n }", "public creacionempresa() {\n initComponents();\n mostrardatos();\n }", "public frmAfiliado() {\n initComponents();\n \n }", "public FormInserir() {\n initComponents();\n }", ...
[ "0.6993054", "0.6985426", "0.6954153", "0.681345", "0.67655253", "0.676181", "0.6758866", "0.6717438", "0.6688648", "0.66685706", "0.6632749", "0.66263914", "0.659723", "0.65587", "0.6557283", "0.65562373", "0.65447265", "0.6527449", "0.65252644", "0.651884", "0.65077907", ...
0.6149359
79
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() { jLabel10 = new javax.swing.JLabel(); jLabel7 = new javax.swing.JLabel(); jLabel8 = new javax.swing.JLabel(); jComboBoxGrupos = new javax.swing.JComboBox<>(); jComboBoxProyecto = new javax.swing.JComboBox<>(); jButton2 = new javax.swing.JButton(); jLabel1 = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); desdeTF = new javax.swing.JTextField(); hastaTF = new javax.swing.JTextField(); aprenderBtn = new javax.swing.JButton(); jScrollPane1 = new javax.swing.JScrollPane(); jListIntegrantes = new javax.swing.JList<>(); jLabel11 = new javax.swing.JLabel(); jSeparator1 = new javax.swing.JSeparator(); jLabelEstadisticas = new javax.swing.JLabel(); jSeparator2 = new javax.swing.JSeparator(); jLabelMediaReal = new javax.swing.JLabel(); jLabelMediaEstimada = new javax.swing.JLabel(); jTextFieldMediaTiempoEst = new javax.swing.JTextField(); jTextFieldMediaTiempoReal = new javax.swing.JTextField(); jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/fondo2.png"))); // NOI18N jLabel10.setText("jLabel10"); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setBackground(new java.awt.Color(204, 204, 204)); setMaximumSize(new java.awt.Dimension(720, 700)); setMinimumSize(new java.awt.Dimension(639, 336)); jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel7.setText("Grupo:"); jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel8.setText("Proyecto:"); jComboBoxGrupos.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { jComboBoxGruposItemStateChanged(evt); } }); jComboBoxProyecto.addItemListener(new java.awt.event.ItemListener() { public void itemStateChanged(java.awt.event.ItemEvent evt) { jComboBoxProyectoItemStateChanged(evt); } }); jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/infochik2.png"))); // NOI18N jButton2.setBorder(null); jButton2.setContentAreaFilled(false); jButton2.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton2ActionPerformed(evt); } }); jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel1.setText("Desde:"); jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabel4.setText("Hasta:"); jButton1.setBackground(new java.awt.Color(255, 255, 255)); jButton1.setText("Analizar"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); desdeTF.setText("2018-02-02"); desdeTF.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { desdeTFActionPerformed(evt); } }); hastaTF.setText("2018-05-28"); hastaTF.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { hastaTFActionPerformed(evt); } }); aprenderBtn.setText("Aprender"); aprenderBtn.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { aprenderBtnActionPerformed(evt); } }); jListIntegrantes.setBackground(new java.awt.Color(254, 254, 254)); jScrollPane1.setViewportView(jListIntegrantes); jLabel11.setText("Integrantes:"); jSeparator1.setOrientation(javax.swing.SwingConstants.VERTICAL); jLabelEstadisticas.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); jLabelEstadisticas.setText("Estadísticas"); jLabelMediaReal.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabelMediaReal.setText("Media Tiempo Real:"); jLabelMediaEstimada.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT); jLabelMediaEstimada.setText("Media Tiempo Estimado:"); jLabelMediaEstimada.setMaximumSize(new java.awt.Dimension(37, 16)); jTextFieldMediaTiempoEst.setHorizontalAlignment(javax.swing.JTextField.RIGHT); jTextFieldMediaTiempoReal.setHorizontalAlignment(javax.swing.JTextField.RIGHT); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 62, Short.MAX_VALUE)) .addGap(12, 12, 12) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jComboBoxProyecto, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jComboBoxGrupos, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 62, Short.MAX_VALUE) .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(desdeTF, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGroup(layout.createSequentialGroup() .addGap(13, 13, 13) .addComponent(hastaTF, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addComponent(jSeparator2) .addGroup(layout.createSequentialGroup() .addComponent(jLabelEstadisticas, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGap(109, 109, 109)) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabelMediaEstimada, javax.swing.GroupLayout.DEFAULT_SIZE, 175, Short.MAX_VALUE) .addComponent(jLabelMediaReal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jTextFieldMediaTiempoEst) .addComponent(jTextFieldMediaTiempoReal)))) .addComponent(aprenderBtn, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup() .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButton2)) .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 296, Short.MAX_VALUE)) .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addGap(30, 30, 30) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jSeparator1) .addGroup(layout.createSequentialGroup() .addGap(25, 25, 25) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jComboBoxGrupos, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createSequentialGroup() .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jComboBoxProyecto, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(desdeTF, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(hastaTF, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(10, 10, 10) .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jLabelEstadisticas, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabelMediaEstimada, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextFieldMediaTiempoEst, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabelMediaReal) .addComponent(jTextFieldMediaTiempoReal, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 36, Short.MAX_VALUE)) .addGroup(layout.createSequentialGroup() .addComponent(jLabel11) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jScrollPane1))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(aprenderBtn, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 37, Short.MAX_VALUE) .addComponent(jButton1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))) .addContainerGap()) ); 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
End of variables declaration//GENEND:variables
private ArrayList<Tarea> getTareas(Date desde, Date hasta) { BDConsulter consulter = new BDConsulter(DATABASE_URL, DATABASE_USER, DATABASE_PASS);//genero la clase, que se conecta a la base postgresql consulter.connect();//establezco la conexion //Si no hay ningun integrante seleccionado, selecciono todos List<String> integrantesSeleccionados = jListIntegrantes.getSelectedValuesList(); DefaultListModel<String> model = (DefaultListModel<String>) jListIntegrantes.getModel(); List<String> integrantes = new ArrayList<String>(); if (integrantesSeleccionados.size() == 0) { for (int i = 0; i < model.getSize(); i++) { System.out.println((model.getElementAt(i))); integrantes.add(model.getElementAt(i)); } integrantesSeleccionados = integrantes; } ArrayList<Tarea> tareas = new ArrayList<>(); for (String s : integrantesSeleccionados) { tareas.addAll(consulter.getTareas(desde, hasta, (String) jComboBoxProyecto.getSelectedItem(), (String) jComboBoxGrupos.getSelectedItem(), s));//obtengo las tareas creadas entre un rango de fecha dado } consulter.disconnect();//termino la conexion con la base//termino la conexion con la base return tareas; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void mo38117a() {\n }", "@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}", "private void assignment() {\n\n\t\t\t}", "private void kk12() {\n\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\n pu...
[ "0.6359434", "0.6280371", "0.61868024", "0.6094568", "0.60925734", "0.6071678", "0.6052686", "0.60522056", "0.6003249", "0.59887564", "0.59705925", "0.59680873", "0.5967989", "0.5965816", "0.5962006", "0.5942372", "0.5909877", "0.5896588", "0.5891321", "0.5882983", "0.5881482...
0.0
-1
value of last update time
protected String getValueOfColumnLastUpdateTime(String databaseType) { String result = "current_timestamp()"; if (databaseType.equalsIgnoreCase("DB2")) { result = "CURRENT TIMESTAMP"; } else if (databaseType.equalsIgnoreCase("ORACLE")) { result = "CURRENT_TIMESTAMP"; } else if (databaseType.equalsIgnoreCase("POSTGRES") || databaseType.equalsIgnoreCase("POSTGRESQL")) { result = "CURRENT_TIMESTAMP"; } return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getLastUpdatedTime();", "public long getLastUpdateTs() {\n return lastUpdateTs;\n }", "long getTsUpdate();", "public String getUpdatetime() {\n\t\treturn updatetime;\n\t}", "public String getUpdatetime() {\n\t\treturn updatetime;\n\t}", "public Date getTimeUpdate() {\n return timeUpdate;\...
[ "0.8140912", "0.8096959", "0.80206096", "0.79863703", "0.79863703", "0.79390955", "0.7922989", "0.7871786", "0.7871786", "0.7867475", "0.7866504", "0.78178334", "0.7817278", "0.7774385", "0.7774385", "0.7763296", "0.7743493", "0.77362233", "0.7718248", "0.77022403", "0.770183...
0.0
-1
value of last update user
protected String getValueOfColumnLastUpdateUser() { return SessionContext.open().getUid(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Long getUserUpdated();", "public String getLastUpdateUser() {\n return lastUpdateUser;\n }", "public String getLastUpdateUser() {\n return lastUpdateUser;\n }", "public String getLastupdateby() {\n return lastupdateby;\n }", "public Long getUpdateUser() {\n return updat...
[ "0.8195737", "0.81169134", "0.81169134", "0.7764151", "0.7649455", "0.7616139", "0.7579674", "0.7550478", "0.75486994", "0.751759", "0.751759", "0.751759", "0.7495738", "0.7450941", "0.7450941", "0.7450941", "0.7450941", "0.7450941", "0.7450941", "0.7450941", "0.7381149", "...
0.8210649
0
Create where conditions for select
protected String createWhereConditions( EmDescDto desc, Map<String, String> param, boolean selectByPK) { StringBuilder sql = new StringBuilder(); StringBuilder paramConditions = new StringBuilder(); if (param != null) { if (!selectByPK && param.containsKey("theSQLCondition")) { String theSQLCondition = param.get("theSQLCondition"); sql.append(" WHERE "); sql.append(theSQLCondition); } Set<String> selectParam = new HashSet<String>(); // Check if all query params are pk if (selectByPK) { Set<String> primaryKeySet = desc.getPrimaryKeyColSet(); if (primaryKeySet != null) { boolean allKeysExsits = true; for (Map.Entry<String, String> entry : param.entrySet()) { String key = entry.getKey(); if (!primaryKeySet.contains(key)) { allKeysExsits = false; throw new ApplicationException(UME_EMS_MSG_201, new Object[] { desc.getEntCfg().getEntId()}); } } if (allKeysExsits) { selectParam = primaryKeySet; } } } else { selectParam = param.keySet(); } for (String key : selectParam) { EmColDescDto colCfg = desc.getColCfg(key); if (colCfg != null) { if (paramConditions.length() == 0) { paramConditions.append(" WHERE "); } else { paramConditions.append(" AND "); } paramConditions.append(colCfg.getColId()); paramConditions.append("="); paramConditions.append("{"); paramConditions.append(key); paramConditions.append("}"); } } sql.append(paramConditions); if (param.containsKey("theGroupByCondition")) { String theGroupByCondition = param.get("theGroupByCondition"); sql.append(" GROUP BY "); sql.append(theGroupByCondition); } } return sql.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String genWhereConditionsFromFilters(TableFields tableFields, String filters);", "String getWhereClause();", "private String _buildWhereCondition(Vector conditions){\n String strConditions = \"\";\n if(conditions != null){\n strConditions = clsPopulateFunctions.joinVector(conditions, \...
[ "0.6657324", "0.6642841", "0.6544941", "0.6449675", "0.62915826", "0.6254857", "0.6235019", "0.61774987", "0.616233", "0.60925174", "0.60796094", "0.60752517", "0.60716945", "0.6022653", "0.6019255", "0.60144615", "0.6012848", "0.5945542", "0.5925332", "0.5922984", "0.5858221...
0.6430083
4
Resets all counters between phases.
public void reset() { counters = null; counterMap = null; counterValueMap = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void reset() {\n\t\tfor(int i=0; i<mRemainedCounters; i++){\n\t\t\tfinal ICounter counter = this.mCounters.getFirst();\n\t\t\tcounter.reset();\n\t\t\tthis.mCounters.removeFirst();\n\t\t\tthis.mCounters.addLast(counter);\n\t\t}\n\t\tthis.mRemainedCounters = this.mCounters.size();\n\t}", "publi...
[ "0.8172266", "0.76790947", "0.75879997", "0.7388006", "0.73709697", "0.72725445", "0.72618395", "0.72113043", "0.72056764", "0.7200247", "0.719106", "0.7184761", "0.7184761", "0.71669376", "0.7139924", "0.7114621", "0.70968664", "0.7062089", "0.7059944", "0.7019894", "0.70197...
0.7934952
1
Returns all faces messages.
public List<FacesMessage> getMessages() { return FxJsfUtils.getMessages(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Face[] getFaces() {\n return faces;\n }", "static FaceSegment[] allFaces() {\n FaceSegment[] faces = new FaceSegment[6];\n for (int i = 0; i < faces.length; i++) {\n faces[i] = new FaceSegment();\n }\n return faces;\n }", "public void getMessages(){\n if(GU...
[ "0.67729604", "0.67187", "0.6607268", "0.6468156", "0.644609", "0.6432321", "0.64155847", "0.63861066", "0.6358541", "0.6350703", "0.63418704", "0.6319835", "0.63063365", "0.6302794", "0.6267419", "0.62634", "0.62440455", "0.6237416", "0.6199642", "0.619626", "0.6196119", "...
0.71657807
0
Returns all faces messages grouped by their summary.
public List<FxFacesMessages> getGroupedFxMessages() { return FxJsfUtils.getGroupedFxMessages(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<ResolvedMessage> getAll() { // e.g. th:each=\"error : ${errors.all}\"\n List<ResolvedMessage> list = new ArrayList<ResolvedMessage>();\n messages.accessByFlatIterator().forEachRemaining(message -> {\n list.add(createResolvedMessage(message));\n });\n return list;\...
[ "0.5704064", "0.5320656", "0.5305155", "0.5236041", "0.52269953", "0.51880944", "0.51436746", "0.5124448", "0.5093458", "0.509038", "0.5056489", "0.503865", "0.5027607", "0.5013867", "0.5011135", "0.50067127", "0.499721", "0.49838665", "0.49695438", "0.49668616", "0.49660754"...
0.6052208
0
Returns true if grouped FxMessages are available.
public boolean getHasGroupedFxMessages() { List l = getGroupedFxMessages(); return (l != null && l.size() > 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isGroupMessage() {\n return (msgType == MessageType.GROUP_MESSAGE);\n }", "public boolean hasMessages()\r\n {\r\n return !mailbox.isEmpty();\r\n }", "boolean hasAreSystemMessages();", "public boolean hasCLMAILGROUP() {\n return fieldSetFlags()[6];\n }", "@Override\n\...
[ "0.6600429", "0.6498179", "0.64520735", "0.62406564", "0.6203208", "0.61886454", "0.6140325", "0.6140325", "0.6140325", "0.6140325", "0.6140325", "0.6140325", "0.6140325", "0.6140325", "0.6004332", "0.5970268", "0.59296167", "0.5929415", "0.5915457", "0.58896047", "0.5868043"...
0.87615395
0
Returns all faces messages.
public List<FxFacesMessage> getFxMessages() { return FxJsfUtils.getFxMessages(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<FacesMessage> getMessages() {\n return FxJsfUtils.getMessages(null);\n }", "public Face[] getFaces() {\n return faces;\n }", "static FaceSegment[] allFaces() {\n FaceSegment[] faces = new FaceSegment[6];\n for (int i = 0; i < faces.length; i++) {\n faces[i] = ne...
[ "0.7165938", "0.67712903", "0.67171437", "0.6608", "0.64697206", "0.6446096", "0.64317954", "0.64156276", "0.6359182", "0.6351202", "0.6343162", "0.63196725", "0.63068205", "0.6302615", "0.6268586", "0.6264262", "0.62455475", "0.6237396", "0.61998236", "0.61974823", "0.619629...
0.6386683
8
Returns true if the current request's error messages contain the given ID.
public Map<String, Boolean> getContainsErrorId() { return new HashMap<String, Boolean>() { @Override public Boolean get(Object key) { if (key == null) { return false; } final String keyString = key.toString(); for (FxFacesMessage message : getFxMessages()) { if (keyString.equals(message.getId())) { return true; } } return false; } }; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static boolean hasErrFound(final int id) {\r\n\t\tsynchronized (workerLock) {\r\n\t\t\treturn (errFoundByThread == id);\r\n\t\t}\r\n\t}", "public synchronized boolean isValid(String id)\n\t{\n\t\treturn this.validUeis.containsKey(id);\n\t}", "boolean hasMessageID();", "public boolean hasErrorId() {\n...
[ "0.65515536", "0.6486282", "0.63907355", "0.6377784", "0.63730764", "0.6325141", "0.62226546", "0.62226546", "0.61258465", "0.61258465", "0.6118413", "0.6114843", "0.6057139", "0.60492826", "0.60342413", "0.6008966", "0.5970079", "0.5959522", "0.59077734", "0.58224636", "0.58...
0.6017174
15
Returns the next page to display based on the request parameter page.
public String gotoPage() { return FxJsfUtils.getParameter("page"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected ActionForward nextPage( UserRequest request )\n {\n int pageNumber = request.getParameterAsInt( PAGE_KEY, 0 );\n HttpServletRequest req = request.getRequest();\n req.setAttribute( PAGE_KEY, \"\"+ ++pageNumber );\n return request.getMapping().findForward( PAGE_KEY + pageNumber );\n }", "pr...
[ "0.7406921", "0.6752993", "0.6498618", "0.64258784", "0.63269013", "0.6226538", "0.6213171", "0.6185442", "0.6182438", "0.6165417", "0.61488193", "0.6106324", "0.6073575", "0.604345", "0.5981599", "0.59625936", "0.5961203", "0.5957808", "0.59519297", "0.59274197", "0.5921463"...
0.63289773
4
Updates the current session language supplied in the "updateLanguageId" property and rerenders the current page.
public void updateLanguage() { try { getUserTicket().setLanguage(EJBLookup.getLanguageEngine().load(updateLanguageId)); } catch (FxApplicationException e) { new FxFacesMsgErr(e).addToContext(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateLanguage() {\n this.title.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.skinSwitcher.updateLanguage();\n this.langSwitcher.updateLanguage();\n this.pawnSwitcher.updateLanguage();\n this.musicManager.updateLanguage();\n this.back.setText...
[ "0.6631075", "0.6311312", "0.60505754", "0.60134333", "0.59621376", "0.56778044", "0.5544179", "0.53747785", "0.5372732", "0.53613144", "0.5309903", "0.52537006", "0.5239374", "0.5185037", "0.51655805", "0.5123146", "0.5089237", "0.50789165", "0.5059257", "0.5014816", "0.4990...
0.68628645
0
Returns the ticket of the calling user.
public UserTicket getUserTicket() { return FxJsfUtils.getRequest().getUserTicket(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Ticket getTicketByAssignee(int ticketId, int userId);", "public String getTicketCreatedBy() {\n\t\treturn TicketCreatedBy;\n\t}", "public phonecallTicket getTicket(){\n return currentticket;\n }", "public Ticket getTicket() {\n return ticket;\n }", "public Ticket getCurrentTicket(){return thi...
[ "0.66252834", "0.65669495", "0.65474325", "0.64686424", "0.63182145", "0.6125457", "0.61098", "0.6095931", "0.606132", "0.6051786", "0.60341144", "0.598934", "0.5983808", "0.5973566", "0.59728956", "0.59579885", "0.5931426", "0.5910896", "0.58825475", "0.58740187", "0.5732142...
0.742806
0
Get a handle to the response
public FxResponseWrapper getResponse() { return FxJsfUtils.getResponse(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getResponse ()\r\n {\r\n\r\n return response_;\r\n }", "ResponseHandler createResponseHandler();", "public T getResponse() {\n return response;\n }", "@Override\n\tpublic void handleResponse() {\n\t\t\n\t}", "public HttpResponseWrapper getResponse() {\n return respon...
[ "0.6811028", "0.6725465", "0.6651939", "0.66112673", "0.6555062", "0.64208245", "0.6289979", "0.62155694", "0.6171082", "0.6128731", "0.6125783", "0.6102163", "0.6067526", "0.6035279", "0.6015189", "0.6001608", "0.6000448", "0.59845096", "0.5975924", "0.5952014", "0.5949719",...
0.53857607
92
Get a handle to the request
public FxRequest getRequest() { return FxJsfUtils.getRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Object handle(Object request);", "public Object handleRequest(P request) throws Exception;", "private Handler getHandler(Request request) {\n return resolver.get(request.getClass().getCanonicalName()).create();\n }", "void handleRequest();", "int getHandle();", "int getHandle();", "int getHan...
[ "0.686836", "0.65111274", "0.64981204", "0.63627887", "0.61567974", "0.61567974", "0.61567974", "0.615179", "0.6086066", "0.60845554", "0.5942907", "0.5942907", "0.5942907", "0.5928722", "0.5895166", "0.58922535", "0.58790076", "0.58650285", "0.585985", "0.5839076", "0.583907...
0.0
-1
Get the current context path
public String getContextPath() { return FxJsfUtils.getRequest().getContextPath(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getContextPath();", "String getContextPath();", "String getContextPath();", "@Override\n\tpublic String getContextPath() {\n\t\treturn contextPath;\n\t}", "String getContextPath() {\n return contextPath;\n }", "public String getCurrentPath() {\n\t\treturn DataManager.getCurrentPath();\n\...
[ "0.818693", "0.818693", "0.818693", "0.77774274", "0.77277046", "0.75364745", "0.7528611", "0.73485345", "0.7344581", "0.7340919", "0.7296484", "0.7140932", "0.7095062", "0.7072129", "0.6998093", "0.69920665", "0.68395215", "0.6838978", "0.6831185", "0.6778042", "0.67524153",...
0.8119831
3
Get the context path for the (optional!) backend application
public String getFlexiveContextPath() { return "/flexive"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getContextPath();", "String getContextPath();", "String getContextPath();", "@Override\n\tpublic String getContextPath() {\n\t\treturn contextPath;\n\t}", "public String getContextPath() {\n return FxJsfUtils.getRequest().getContextPath();\n }", "String getContextPath() {\n return...
[ "0.74421185", "0.74421185", "0.74421185", "0.7192006", "0.71740973", "0.6973", "0.69245607", "0.68718296", "0.6650507", "0.6613032", "0.6589034", "0.65310955", "0.6362639", "0.6362639", "0.62168056", "0.6174353", "0.6139879", "0.60952204", "0.60892814", "0.6073921", "0.605621...
0.5577621
50
Get the protocol, servername and (optional if nonstandard) port
public String getServerBase() { HttpServletRequest request = FxJsfUtils.getRequest().getRequest(); return "http" + (request.isSecure() ? "s://" : "://") + FxRequestUtils.getExternalServerName(request); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "default String protocol() {\n return (String) metadata().get(\"x-server-protocol\");\n }", "String getProtocol();", "java.lang.String getPort();", "java.lang.String getPort();", "public String getProtocol() {\n String protocol = getPropertyAsString(PROTOCOL);\n if (protoco...
[ "0.72005534", "0.691217", "0.6801793", "0.6801793", "0.671293", "0.6692769", "0.6681969", "0.6636132", "0.66331846", "0.65603125", "0.6531693", "0.65227616", "0.64198035", "0.64038813", "0.64031136", "0.6400472", "0.63451594", "0.63198966", "0.6311997", "0.62853825", "0.62774...
0.0
-1
Get the document base (server base and context path)
public String getDocumentBase() { return getServerBase() + getContextPath() + "/"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public URL getDocumentBase() {\n/* 158 */ return this.stub.getDocumentBase();\n/* */ }", "static String getBase(HttpServletRequest request) {\n String fullPath = request.getRequestURI();\n int baseEnd = getDividingIndex(fullPath);\n return fullPath.substring(0, baseEnd + 1);\n }", "@Ove...
[ "0.74305344", "0.7381877", "0.7183853", "0.71827656", "0.71827656", "0.7093513", "0.69304067", "0.6910673", "0.66805714", "0.6669153", "0.6601574", "0.6556842", "0.6543543", "0.65045375", "0.64452535", "0.6411854", "0.6400556", "0.6392224", "0.63884133", "0.6349472", "0.63315...
0.88911504
0
Returns the browser that the client is using
public FxRequest.Browser getBrowser() { return FxJsfUtils.getRequest().getBrowser(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getBrowser();", "public static String getBrowser(){\n\t\treturn browser;\n\t}", "public String getBrowser(){\n\t\tif (prop.getProperty(\"browser\") == null)\n\t\t\treturn \"\";\n\t\treturn prop.getProperty(\"browser\");\n\t}", "public String getBrowserName(){\r\n\t\treturn rb.getProperty(\"browser\");...
[ "0.821864", "0.8127422", "0.80081433", "0.7996605", "0.7965044", "0.79365873", "0.776753", "0.7734115", "0.7448908", "0.73860127", "0.7343454", "0.72668415", "0.72209626", "0.718494", "0.716716", "0.6907504", "0.6878932", "0.6691459", "0.6399263", "0.6381721", "0.6378732", ...
0.76923275
8
Check if the backend supports the current browser
public boolean getIsSupportedBackendBrowserVersion() { final FxRequest req = FxJsfUtils.getRequest(); switch( req.getBrowser() ) { case FIREFOX: return req.getBrowserVersion() >= 2.0d; case IE: return req.getBrowserVersion() >= 7.0d; case GECKO: return req.getBrowserVersion() >= 1.8; // firefox 2.0 upwards case SAFARI: return req.getBrowserVersion() >= 530; // safari 4.0+ - http://en.wikipedia.org/wiki/Safari_version_history default: return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean useInternalBrowser() {\n\t\treturn (isWindows() || isLinux() || isMac());\n\t}", "public boolean isSetBrowser() {\n return this.browser != null;\n }", "public static boolean isBrowserIE() {\r\n\t\treturn ConfigProperties.BROWSER.equalsIgnoreCase(INTERNET_EXPLORER);\r\n\t}", "pub...
[ "0.7407874", "0.71595705", "0.691501", "0.6658194", "0.65915734", "0.6539062", "0.64794225", "0.6436711", "0.6336111", "0.6326276", "0.63092047", "0.63043386", "0.62840235", "0.6262111", "0.62333924", "0.6218378", "0.618985", "0.6188357", "0.61594653", "0.6152813", "0.6128503...
0.74866796
0
Returns the browser version that the client is using
public double getBrowserVersion() { return FxJsfUtils.getRequest().getBrowserVersion(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getCurrentBrowserVersion() {\r\n\t\tCapabilities c = ((RemoteWebDriver) driver).getCapabilities();\r\n\t\treturn c.getVersion();\r\n\t}", "public static String getBrowser(){\n\t\treturn browser;\n\t}", "public String getBrowser(){\n\t\tif (prop.getProperty(\"browser\") == null)\n\t\t\tretu...
[ "0.84650004", "0.7457155", "0.74373883", "0.7389944", "0.7315182", "0.73120624", "0.72361624", "0.72016424", "0.71749", "0.71265835", "0.6976229", "0.68499386", "0.6783919", "0.67056894", "0.6693253", "0.66829586", "0.6668611", "0.66552305", "0.66454875", "0.6606789", "0.6581...
0.8288269
1
Returns the browser that the client is using
public String getBrowserAsString() { return String.valueOf(FxJsfUtils.getRequest().getBrowser()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getBrowser();", "public static String getBrowser(){\n\t\treturn browser;\n\t}", "public String getBrowser(){\n\t\tif (prop.getProperty(\"browser\") == null)\n\t\t\treturn \"\";\n\t\treturn prop.getProperty(\"browser\");\n\t}", "public String getBrowserName(){\r\n\t\treturn rb.getProperty(\"browser\");...
[ "0.821864", "0.8127422", "0.80081433", "0.7996605", "0.7965044", "0.79365873", "0.7734115", "0.76923275", "0.7448908", "0.73860127", "0.7343454", "0.72668415", "0.72209626", "0.718494", "0.716716", "0.6907504", "0.6878932", "0.6691459", "0.6399263", "0.6381721", "0.6378732", ...
0.776753
6
Get verbose information about the flexive build
public String getBuildInfoVerbose() { return FxSharedUtils.getFlexiveEditionFull() + " " + FxSharedUtils.getFlexiveVersion() + "/build #" + FxSharedUtils.getBuildNumber() + " - " + FxSharedUtils.getBuildDate(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBuildInfo() {\n return FxSharedUtils.getFlexiveEdition() + \" \" + FxSharedUtils.getFlexiveVersion();\n }", "public boolean isVerbose();", "Object getVerbose();", "Object getVerbose();", "public static boolean verbose() {\n return verbose;\n }", "public boolean isVerb...
[ "0.6783362", "0.6602174", "0.6391385", "0.6391385", "0.62918353", "0.62776977", "0.6168902", "0.6122685", "0.6122685", "0.60030204", "0.5985065", "0.59262305", "0.5872924", "0.58693933", "0.58569366", "0.58569366", "0.58374906", "0.5796369", "0.57960576", "0.57540864", "0.569...
0.81568724
0
Get the flexive edition
public String getEdition() { return FxSharedUtils.getFlexiveEdition(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getEdition() {\n return edition;\n }", "public double getEdition() {\n return edition;\n }", "public int getEdition() {\n return edition;\n }", "public String getEditionFull() {\n return FxSharedUtils.getFlexiveEditionFull();\n }", "public int getEditio...
[ "0.72502214", "0.72502214", "0.7248843", "0.7234323", "0.7216774", "0.70393777", "0.7024754", "0.6381386", "0.62896645", "0.6284892", "0.6066078", "0.59671164", "0.59573513", "0.5816526", "0.5808547", "0.57241017", "0.57089424", "0.5700028", "0.5672757", "0.5669925", "0.56316...
0.7665031
0
Get the flexive edition with product
public String getEditionFull() { return FxSharedUtils.getFlexiveEditionFull(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getProductEdition();", "public double getEdition() {\n return edition;\n }", "public double getEdition() {\n return edition;\n }", "public String getEdition() {\n return FxSharedUtils.getFlexiveEdition();\n }", "public int getEdition() {\n return edition;\...
[ "0.79238015", "0.7038938", "0.7038938", "0.7024694", "0.69247496", "0.6895179", "0.6789512", "0.66748935", "0.635978", "0.63438606", "0.63293767", "0.6251654", "0.61369413", "0.6083078", "0.602317", "0.60203683", "0.601518", "0.60142237", "0.60073864", "0.60065776", "0.600657...
0.6638692
8
Get information about the flexive build
public String getBuildInfo() { return FxSharedUtils.getFlexiveEdition() + " " + FxSharedUtils.getFlexiveVersion(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBuildInfoVerbose() {\n return FxSharedUtils.getFlexiveEditionFull() + \" \" + FxSharedUtils.getFlexiveVersion() + \"/build #\" + FxSharedUtils.getBuildNumber() + \" - \" + FxSharedUtils.getBuildDate();\n }", "public static BuildInfo getBuildInfo() {\n return BUILD_INFO;\n }",...
[ "0.7389371", "0.69716007", "0.6466513", "0.6173926", "0.60208637", "0.59976596", "0.5930151", "0.5755131", "0.5694794", "0.56820786", "0.5655313", "0.5642484", "0.56085974", "0.559299", "0.55642605", "0.55552435", "0.55489", "0.55474615", "0.5534737", "0.552391", "0.55208504"...
0.78247714
0
Get a list of all installed and deployed drop names.
public List<String> getDrops() { return FxSharedUtils.getDrops(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection<String> getNamesOfPackagesInstalled() {\n\teval(\"cellfun(@(x) x.name, pkg('list'), 'UniformOutput', false);\");\n\treturn getStringCellFromAns();\n }", "public List<String> getDeployments() {\n return runtimeClient.getDeployments();\n }", "public List<String> getDbNames() {\n ...
[ "0.69230235", "0.65447223", "0.6501684", "0.6267505", "0.6246858", "0.61477894", "0.61257833", "0.599781", "0.5973843", "0.59625953", "0.596228", "0.5910846", "0.5831384", "0.5819929", "0.5793827", "0.5767687", "0.5727976", "0.5726479", "0.569568", "0.56501615", "0.5645387", ...
0.6758352
1
Get a list of all installed and deployed drops.
public List<FxDropApplication> getDropApplications() { return FxSharedUtils.getDropApplications(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<String> getDrops() {\n return FxSharedUtils.getDrops();\n }", "public List<String> getDeployments() {\n return runtimeClient.getDeployments();\n }", "public boolean getDrops() {\r\n\t\treturn drops;\r\n\t}", "@ZenCodeType.Method\n @ZenCodeType.Getter(\"drops\")\n public ...
[ "0.7006746", "0.6347843", "0.62428015", "0.59495324", "0.5778631", "0.5737466", "0.5679993", "0.56743443", "0.56487125", "0.5563364", "0.5543455", "0.5502702", "0.5470093", "0.5462021", "0.54602885", "0.54474854", "0.544532", "0.54395676", "0.5430825", "0.531821", "0.5314367"...
0.6244725
2
Get a list of all installed and deployed drops that have a web application context, excluding the flexive backend application.
public List<FxDropApplication> getDropApplicationsWithContext() { final ArrayList<FxDropApplication> apps = Lists.newArrayList(FxSharedUtils.getDropApplications()); final Iterator<FxDropApplication> iter = apps.iterator(); while (iter.hasNext()) { final FxDropApplication application = iter.next(); if (!application.isWebContextAvailable() // drop flexive backend application form list || "flexive".equals(application.getName()) || "flexive-backend-war".equals(application.getName())) { iter.remove(); } } return apps; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<FxDropApplication> getDropApplications() {\n return FxSharedUtils.getDropApplications();\n }", "private List<String> getSubModulesForEar(com.sun.enterprise.deployment.Application application) {\n List<String> moduleInfoList = new ArrayList<String>();\n for (ModuleDescriptor mo...
[ "0.6550882", "0.5989191", "0.580185", "0.57384104", "0.54678065", "0.5467554", "0.5426887", "0.54201126", "0.5376662", "0.5364358", "0.53411025", "0.5301187", "0.5300513", "0.5234112", "0.52333534", "0.52274704", "0.519985", "0.51860756", "0.5185619", "0.5124304", "0.5118698"...
0.75868005
0
Get the flexive header string
public String getHeader() { String header = FxSharedUtils.getHeader(); if (header.indexOf("$user$") > 0) header = header.replaceAll("\\$user\\$", getRequest().getUserTicket().getUserName()); return header; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getHeader();", "public String getHeader();", "public String getHeader() {\n\t\treturn header.toString();\n\t}", "com.didiyun.base.v1.Header getHeader();", "public String getHeader() {\n\t\tString header = \"id\" + \",\" + \"chrId\" + \",\" + \"strand\" + \",\" + \"TSS\" + \",\" + \"PolyASi...
[ "0.8046803", "0.78155744", "0.7545925", "0.746511", "0.74009824", "0.7207916", "0.7189929", "0.7189929", "0.71581197", "0.7149619", "0.7134654", "0.7129894", "0.70150214", "0.693075", "0.6890604", "0.68794453", "0.6871829", "0.6803464", "0.6751925", "0.6717168", "0.67142004",...
0.6953059
13
Provides parametric access to UIInput form values. Returns the submitted value during decoding, if available, otherwise the value property is returned.
public Map<String, Object> getComponentValue() { return FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<String, Object>() { @Override public Object get(Object key) { final UIInput component = (UIInput) getCurrentInstance().getViewRoot().findComponent((String) key); return component.getSubmittedValue() != null ? component.getSubmittedValue() : component.getValue(); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n\tpublic V getValue() {\n\t\t\n\t\tif (!valueSet) {\n\t\t\t// If the value has not been set this instance has recently been de-serialized\n\t\t\t\n\t\t\tif (valueIsSerializable) {\n\t\t\t\t// The original value was serializable and will thus have been been de-serialized too\n\t\t\...
[ "0.6719605", "0.6395893", "0.6246209", "0.6173021", "0.6137494", "0.6124125", "0.6124125", "0.6124125", "0.6124125", "0.6124125", "0.61153835", "0.61153835", "0.61153835", "0.61153835", "0.61153835", "0.61153835", "0.61153835", "0.6071071", "0.6053622", "0.6041171", "0.603068...
0.5652943
93
Check via map if the calling user is in the given role
public Map<String, Boolean> getIsInRole() { return FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<String, Boolean>() { @Override public Boolean get(Object key) { return getUserTicket().isInRole(Role.valueOf((String) key)); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasRole();", "public boolean hasRole(String roleName);", "@Override\n\t\tpublic boolean isUserInRole(String role) {\n\t\t\treturn false;\n\t\t}", "boolean anyGranted(String roles);", "public boolean isUserInRole(String role) {\r\n\t\treturn true;\r\n\t}", "@Override\n public boolean isUserInRo...
[ "0.7219751", "0.7013326", "0.69444585", "0.6876128", "0.6813509", "0.67000043", "0.66984946", "0.66792643", "0.6673782", "0.66690457", "0.6614608", "0.6541262", "0.6532249", "0.649827", "0.6451821", "0.6377206", "0.63663614", "0.6345091", "0.63309073", "0.6094682", "0.6030007...
0.6873737
4
Get the instance count of the given ID
public Map<Long, Long> getInstanceCount() { if (instanceCountMap == null) { FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<Long, Long>() { @Override public Long get(Object key) { return EJBLookup.getTypeEngine().getInstanceCount(Long.valueOf(key.toString())); } }, true); } return instanceCountMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int countInstances();", "public int getInstanceCount() {\n return instanceCount;\n }", "public int getInstanceCount() {\n return instanceCount;\n }", "@Required\n @Updatable\n public Integer getInstanceCount() {\n return instanceCount;\n }", "@Override\n\...
[ "0.6706023", "0.66603225", "0.66603225", "0.6580723", "0.65267086", "0.6518768", "0.6451904", "0.63850147", "0.63850147", "0.63402116", "0.62451994", "0.6211421", "0.6176594", "0.6176594", "0.61518234", "0.6124975", "0.6104826", "0.605702", "0.6031143", "0.6000793", "0.595811...
0.63524497
9
Escape a String for usage in java script (remove characters like ')
public Map<String, String> getEscapeForJavaScript() { return FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<String, String>() { @Override public String get(Object key) { return FxFormatUtils.escapeForJavaScript(String.valueOf(key), false, true); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected String escape( String text )\n {\n return text.replaceAll( \"([`\\\\|*_])\", \"\\\\\\\\$1\" );\n }", "public static String escapeJS(String inText)\n {\n return inText\n .replaceAll(\"(?<!\\\\\\\\)'\", \"\\\\\\\\'\")\n .replaceAll(\"(?<!\\\\\\\\)\\\"\", \"\\\\\\\\\\\"\")\n...
[ "0.7346744", "0.7222326", "0.71036035", "0.6996536", "0.690972", "0.6772029", "0.67557245", "0.67335", "0.668517", "0.66817605", "0.6628708", "0.6612792", "0.66042465", "0.659365", "0.65620375", "0.6539158", "0.6526861", "0.6517123", "0.6513143", "0.65062016", "0.64999413", ...
0.57475317
88
Returns the lowercase name of the given JSF message severity.
public Map<FacesMessage.Severity, String> getSeverityName() { return FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<FacesMessage.Severity, String>() { @Override public String get(Object key) { final FacesMessage.Severity severity = (FacesMessage.Severity) key; if (FacesMessage.SEVERITY_ERROR.equals(severity)) { return "error"; } else if (FacesMessage.SEVERITY_FATAL.equals(severity)) { return "fatal"; } else if (FacesMessage.SEVERITY_INFO.equals(severity)) { return "info"; } else if (FacesMessage.SEVERITY_WARN.equals(severity)) { return "warn"; } else { return ""; } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSeverity() {\n return severity.toString().toLowerCase(Locale.US);\n }", "String getSeverity();", "public java.lang.String getSeverity() {\n return severity;\n }", "public java.lang.String getSeverity() {\n return severity;\n }", "public String getSeverity() { \n\t\tr...
[ "0.67365026", "0.65861595", "0.6350923", "0.62830484", "0.6054543", "0.59611785", "0.57714385", "0.57564676", "0.5753177", "0.56857324", "0.56495935", "0.56495935", "0.5594576", "0.5591377", "0.5527041", "0.5489963", "0.54765356", "0.54373705", "0.54373705", "0.54373705", "0....
0.72380555
0
Returns a new unique ID, obtained from the view root.
public String getUniqueId() { return getCurrentInstance().getViewRoot().createUniqueId(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static int generateViewId() {\n return View.generateViewId();\n }", "private Id getViewContainerID() {\n if (semantic == null) {\n return Id.invalid();\n }\n return new Id(RefreshIDFactory.getOrCreateID(viewContainer));\n }", "public static int generateV...
[ "0.7964353", "0.7287025", "0.70621383", "0.698851", "0.6985677", "0.6976504", "0.6976504", "0.69487715", "0.68939406", "0.68172914", "0.67112523", "0.66258633", "0.6438816", "0.6398271", "0.6372352", "0.6245333", "0.6233478", "0.6231383", "0.6194186", "0.61875755", "0.6148464...
0.7681216
1
Provides a keybased counter service for JSF pages. Supply your (unique) key and get an autoincremented counter value, starting with 0.
public Map<Object, Integer> getCounter() { if (counterMap == null) { counterMap = FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<Object, Integer>() { @Override public Integer get(Object key) { if (counters == null) { counters = new HashMap<Object, Integer>(); } final int ctr = FxSharedUtils.get(counters, key, -1) + 1; counters.put(key, ctr); return ctr; } }, true); } return counterMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String generateKey(String key, PageContext pc)\n {\n HttpServletRequest req = (HttpServletRequest)pc.getRequest();\n\n // use the key as the suffix by default\n String suffix = key;\n if (suffix == null) {\n String saved = (String)req.getAttribute(Constants.J...
[ "0.6172416", "0.6120213", "0.605619", "0.59935987", "0.59410644", "0.58677864", "0.5861414", "0.5810127", "0.5807238", "0.57325363", "0.5688072", "0.5664153", "0.5663668", "0.5648038", "0.5601324", "0.5599757", "0.55930614", "0.55550325", "0.5550992", "0.5532509", "0.55212086...
0.55623937
17
Returns the unique page ID generated for flexive responses.
public long getPageId() { final HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse(); return response instanceof FxResponseWrapper ? ((FxResponseWrapper) response).getId() : -1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static String getPageViewId() {\n if (PAGEVIEW_ID == null) {\n PAGEVIEW_ID = generateRandomId();\n }\n return PAGEVIEW_ID;\n }", "protected abstract String getInitialPageId();", "public String getPageId() {\n return pageId;\n }", "public int getPageI...
[ "0.69449604", "0.6934559", "0.6902944", "0.6562496", "0.62292296", "0.6091907", "0.60230243", "0.598042", "0.5980131", "0.59512126", "0.5950385", "0.59468806", "0.59320796", "0.5902156", "0.5881348", "0.58705896", "0.5867306", "0.5863499", "0.5861397", "0.58465916", "0.581343...
0.689227
3
Returns the total render time at the moment of this method call.
public long getPageRenderTime() { final HttpServletResponse response = (HttpServletResponse) FacesContext.getCurrentInstance().getExternalContext().getResponse(); return response instanceof FxResponseWrapper ? System.currentTimeMillis() - ((FxResponseWrapper) response).getCreatedAt() : 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected double getElapsedTime() {\n\t\treturn Utilities.getTime() - startTime;\n\t}", "public int getTotalTime();", "public String elapsedTime() {\n return totalWatch.toString();\n }", "public String getTotalTime() {\r\n if (recipe != null) {\r\n return readableTime(recipe.getCookTime...
[ "0.71893555", "0.7116859", "0.7115295", "0.7030123", "0.70268816", "0.6924665", "0.6913689", "0.68915665", "0.68857515", "0.6812827", "0.6803503", "0.67456007", "0.66936296", "0.66755885", "0.6653478", "0.6623689", "0.6623306", "0.6620322", "0.6619824", "0.6589777", "0.658971...
0.73312014
0
Return true if the content tree was modified in the current request.
public boolean isTreeModified() { return FxContext.get().getTreeWasModified(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isModified();", "boolean isModified();", "public boolean isModified();", "public boolean isModified();", "public boolean isModified() {\r\n\t\treturn modified;\r\n\t}", "public boolean isModified() {\n\t\treturn modified;\n\t\t}", "boolean isOssModified();", "public boolean isModified() {\n ...
[ "0.73130625", "0.73130625", "0.7288736", "0.7288736", "0.7246284", "0.7215946", "0.71587646", "0.7124751", "0.70769185", "0.705792", "0.70563656", "0.70210844", "0.68910396", "0.6873041", "0.6829701", "0.67982566", "0.67757916", "0.6691182", "0.665636", "0.6640066", "0.659547...
0.80316126
0
Return if this is a new flexive installation that needs initialization still
public boolean isNewInstallation() { return CacheAdmin.isNewInstallation(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isNotFirstInstallation(){\n return mSharedPreferences.contains(SharedPrefContract.PREF_INSTALLED) && mSharedPreferences.getBoolean(SharedPrefContract.PREF_INSTALLED, false);\n }", "public boolean isInitialSetuped(){\r\n\t\treturn initialSetuped;\r\n\t}", "boolean isInstalled();", "pr...
[ "0.6793073", "0.67914623", "0.6643523", "0.65442336", "0.6535949", "0.65323895", "0.6489333", "0.624006", "0.6217344", "0.62026703", "0.62007374", "0.61936617", "0.6179111", "0.61680615", "0.6153218", "0.60902596", "0.6048914", "0.6022643", "0.6014661", "0.60091615", "0.59945...
0.6655634
2
Perform a FxSQL query key=query string
public Map<String, DataModel> getQuery() { if (queries == null) { queries = FxSharedUtils.getMappedFunction(new FxSharedUtils.ParameterMapper<String, DataModel>() { @Override public DataModel get(Object key) { try { final FxResultSet result = EJBLookup.getSearchEngine().search((String) key, 0, -1, null); return new FxResultSetDataModel(result); } catch (FxApplicationException e) { throw e.asRuntimeException(); } } }, true); } return queries; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Query query();", "String getRetrieveKeysQuery();", "String query();", "private String getQuery(Predicate p, HashMap<String, String> keyObjects) {\n\tString query = \"\";\n\tString tableName = p.getName();\n\tfor (int i = 0; i < p.getVars().size(); i++) {\n\t String var = p.getVars().get(i);\n\t String ...
[ "0.6413365", "0.621313", "0.61627513", "0.60072696", "0.5960037", "0.58769", "0.58686906", "0.5859401", "0.5789079", "0.5743503", "0.57091343", "0.5677108", "0.56730473", "0.56509876", "0.5635761", "0.56206876", "0.5576773", "0.55651206", "0.5532332", "0.5509397", "0.54883397...
0.0
-1
Returns the current system timestamp.
public long getCurrentTimeMillis() { return System.currentTimeMillis(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public long getCurrentSystemTime() {\n return getSystemTime() - startSystemTimeNano;\n }", "public int getSystemTime() {\n\t\treturn this.systemTime;\n\t}", "public static String getCurrentTime()\n\t{\n\t\treturn getTime(new Date());\n\t}", "public String getSystemTime() {\n return DateForma...
[ "0.8211034", "0.7920541", "0.7835643", "0.77713203", "0.7761471", "0.7698897", "0.768654", "0.7647856", "0.7597993", "0.7574101", "0.7557204", "0.7540044", "0.7538738", "0.75340277", "0.75306076", "0.7529905", "0.75225616", "0.75220215", "0.7495944", "0.7495926", "0.748666", ...
0.7434531
24
Get the number of failed login attempts
public long getFailedLoginAttempts() { return FxContext.getUserTicket().getFailedLoginAttempts(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getInvalidLoginCount();", "int getNumberOfLoginAttempts()\r\n\t{\r\n\t\treturn 0;\r\n\t}", "public int getAttempts(){\n\t\treturn consecutiveLoginAttempts;\t\n\t}", "private int getFailCount() {\n\t\t\t\t\treturn record.getIntProperty(DatabasePasswordComposite.PASSWORD_FAILS, 0);\n\t\t\t\t}", "public i...
[ "0.8640002", "0.8204053", "0.76756895", "0.76369816", "0.72840476", "0.7255924", "0.71958363", "0.7147562", "0.7056142", "0.7056142", "0.7056142", "0.6994272", "0.68726885", "0.68392223", "0.67200583", "0.6573178", "0.6567941", "0.65159476", "0.64922094", "0.64772856", "0.647...
0.83901864
1
Return the structure envirnoment (filtered for the current user).
public FxEnvironment getEnvironment() { return CacheAdmin.getFilteredEnvironment(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Map<String, Environment> getEnvironments() {\n Map<String, Environment> environmentMap = new HashMap<String, Environment>();\n Environment prodEnv = new Environment();\n prodEnv.setName(PROD_1);\n prodEnv.setPassword(PROD_1_PASSWORD);\n\n Environment sandBoxEnv = n...
[ "0.5577607", "0.52220327", "0.52213", "0.5159001", "0.51324075", "0.51102686", "0.5059335", "0.50513554", "0.49894288", "0.49566993", "0.4956099", "0.49500206", "0.4917044", "0.49125475", "0.49125475", "0.48655328", "0.48555857", "0.4848933", "0.48252764", "0.48202774", "0.48...
0.5352516
1
Return true if the current request has been submitted via Ajax4JSF.
public boolean isAjaxRequest() { return FxJsfUtils.isAjaxRequest(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isAjaxRequest() {\n\t\treturn ERXAjaxApplication.isAjaxRequest(context().request());\t\t\n }", "public boolean isAjax() {\n return isAjax;\n }", "public boolean isAjax()\n\t{\n\t\treturn ajax;\n\t}", "public boolean isForm();", "public boolean isAjax(HttpServletRequest r...
[ "0.74988425", "0.6982449", "0.69278204", "0.6719523", "0.66646445", "0.65597355", "0.64979225", "0.6446299", "0.62081796", "0.62081796", "0.6150321", "0.6142249", "0.60580754", "0.60580754", "0.60580754", "0.60580754", "0.60580754", "0.60580754", "0.60580754", "0.60580754", "...
0.78719807
0
Return the name of the current network node.
public String getNodeName() { if (nodeName == null) { nodeName = EJBLookup.getNodeConfigurationEngine().getNodeName(); } return nodeName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final String name() {\n return node.getNodeName();\n }", "public String getNodeName()\n {\n return displayNode.toString();\n }", "public String getName()\n {\n \tif (_nodeVRL==null)\n \t\treturn null;\n \t\n return _nodeVRL.getBasename(); // default= last part of p...
[ "0.78853184", "0.7824763", "0.7605138", "0.75181603", "0.74821025", "0.7472643", "0.74001217", "0.7349605", "0.718616", "0.7179463", "0.71784115", "0.70644885", "0.70613587", "0.7021421", "0.6885026", "0.6849288", "0.6830463", "0.681466", "0.6791077", "0.679017", "0.67793727"...
0.75436634
3
Get the host name
public String getHostName() { return FxSharedUtils.getHostName(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getHost();", "java.lang.String getHost();", "public String getHost() {\n\t\ttry {\n\t\t\treturn InetAddress.getLocalHost().getHostName();\n\t\t} catch (UnknownHostException e) {\n\t\t\treturn \"unknown\";\n\t\t}\n\t}", "String getHostName();", "String getHostName();", "String getHostname...
[ "0.84892523", "0.84892523", "0.8448539", "0.84347874", "0.84347874", "0.83354783", "0.83354783", "0.829068", "0.8281144", "0.8210936", "0.8165142", "0.8163253", "0.81568533", "0.81507504", "0.8107609", "0.81017524", "0.80871695", "0.80862784", "0.804782", "0.804782", "0.80471...
0.81127167
14
Return the language to be used in GUI translations of flexive components. Returns the user's locale if the locale is translated in our property files, otherwise "en" is returned.
public String getGuiTranslationLanguageIso() { final FxLanguage lang = getUserTicket().getLanguage(); return FxSharedUtils.isTranslatedLocale(lang.getIso2digit()) ? lang.getIso2digit().toLowerCase() : "en"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getLanguage();", "java.lang.String getLanguage();", "public String getLanguage() {\n return languageProperty.get();\n }", "String getLanguage();", "String getLanguage();", "String getLanguage();", "public String getLanguage();", "public java.util.Locale getLocale() {\n ...
[ "0.7421294", "0.7421294", "0.7361961", "0.7214531", "0.7214531", "0.7214531", "0.71509975", "0.7058573", "0.7007483", "0.7006024", "0.7006024", "0.7004048", "0.69267595", "0.6914863", "0.690392", "0.6901732", "0.68795997", "0.6840495", "0.6829178", "0.68171203", "0.68136364",...
0.6362018
74
String concat function (fx:concat).
public static String concat(Object s1, Object s2) { return String.valueOf(s1) + String.valueOf(s2); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public XMLString concat(String str) {\n/* 673 */ return new XMLStringDefault(this.m_str.concat(str));\n/* */ }", "public static String myConcatenator(String str1, String str2)\r\n {\r\n str1 += str2;\r\n return str1;\r\n }", "@Test (priority =2)\n\t\tpublic void StringBYConcat() {\n\t \n\t...
[ "0.7336883", "0.7214119", "0.7011834", "0.70046365", "0.69903475", "0.6908877", "0.69075114", "0.67682076", "0.65831333", "0.65669286", "0.6558051", "0.6490369", "0.64413035", "0.63695663", "0.63596493", "0.6095932", "0.6092667", "0.60746515", "0.59944654", "0.5993936", "0.59...
0.624058
15
Constructor of an DomiCube notification
public DomiCubeNotificationMsg(int newFace, int batteryLevel, float dimValue, String varName, String oldValue, String newValue, CoreObjectSpec source) { super(varName, oldValue, newValue , source); this.currentFaceNumber = newFace; this.batteryLevel = batteryLevel; this.currentDimValue = dimValue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Notification()\n\t{\n\t\t\n\t}", "public Notification() {\r\n }", "public Notification() {\r\n }", "public Notification() {\n\n\t}", "public Notification() {\n\n }", "public Notification()\n\t{\n\t\t// Start of user code constructor for Notification)\n\t\tsuper();\n\t\t// End of user code...
[ "0.7865942", "0.7801613", "0.7801613", "0.7785655", "0.7670818", "0.76488566", "0.7375796", "0.6797129", "0.67798316", "0.67629576", "0.67607224", "0.6741712", "0.6730054", "0.67285526", "0.67213273", "0.6626101", "0.65376234", "0.65372014", "0.65340114", "0.6525276", "0.6407...
0.0
-1
Get the current face number of the DomiCube instance
public int getCurrentFaceNumber() { return currentFaceNumber; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getFace() {\n\t\treturn face;\n\t}", "public int getFace(){\n\t\treturn this.verdi;\n\t}", "protected int getFace() {\n return face;\n }", "public int getFace(){\n return face;\n }", "public int getFaceCount() {\r\n return faceCount;\r\n\t}", "public int getFaceValue ()\n {\n ...
[ "0.73533654", "0.72257274", "0.71877223", "0.6990209", "0.6924944", "0.6897849", "0.6861453", "0.6807707", "0.6782203", "0.6706176", "0.6508022", "0.6496467", "0.6402991", "0.6402991", "0.63653046", "0.63601923", "0.6310263", "0.62640095", "0.6159821", "0.6111563", "0.6020646...
0.7721828
0
Get the battery level
public int getBatteryLevel() { return batteryLevel; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getBatteryLevel() { return batteryLevel; }", "public static int getBatteryLevel() {\n if (utilitiesDll == null) {\n return -1;\n }\n return utilitiesDll.RecupererBatterie();\n }", "public float batteryLevel() {\n return 1;\n }", "public Long getCurrentB...
[ "0.8763736", "0.85930175", "0.8539137", "0.83463913", "0.83098745", "0.8043284", "0.7934668", "0.7828023", "0.77241623", "0.7519907", "0.75114065", "0.7448441", "0.7406609", "0.73874587", "0.7355244", "0.72327036", "0.7096516", "0.7092153", "0.70356196", "0.7014762", "0.70121...
0.8484174
3
Get the current angle of the DomiCube
public float getCurrentDimValue() { return currentDimValue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double currentAngle() {\n return imu.getAngularOrientation(AxesReference.INTRINSIC, AxesOrder.ZYX, AngleUnit.DEGREES).firstAngle;\r\n }", "double getAngle();", "double getAngle();", "public double getAngle();", "private double getAngle() {\n double normal= Math.sqrt(((getgAxis(A...
[ "0.76950806", "0.7576965", "0.7576965", "0.75122666", "0.7469044", "0.7439477", "0.743277", "0.73302084", "0.73214096", "0.7223407", "0.720875", "0.7185541", "0.7182639", "0.7180751", "0.7164968", "0.71638775", "0.7152788", "0.7148864", "0.7131766", "0.71266294", "0.7124031",...
0.0
-1
TODO Autogenerated method stub
@Override public IBinder onBind(Intent intent) { 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
Constructor for the dialog form.
public CreateTremaDbDialogForm(AnActionEvent event) { this.event = event; this.windowTitle = "New Trema XML database file"; init(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StandardDialog() {\n super();\n init();\n }", "public Dialog() {\n\t}", "public PHConstDialog() {\n\t\tinitComponents();\n\t}", "public FiltroGirosDialog() {\n \n }", "public SimulatorHelpDialog() {\n super((Frame)null, true);\n initComponents();\n ini...
[ "0.7905715", "0.7852182", "0.7549758", "0.75174755", "0.72445095", "0.7224336", "0.7216908", "0.7166488", "0.7153863", "0.7061022", "0.705252", "0.70245194", "0.70224833", "0.7017163", "0.6999981", "0.6964125", "0.6962045", "0.69349897", "0.6933378", "0.69194424", "0.6903842"...
0.0
-1
This method draws the Oval to the specified window
public void draw(Window w) { for (int i = 0; i < 20; i++) { double angle = i * Math.PI / 10; int row = rb + (int) Math.round((height * Math.cos(angle))); int col = cb + (int) Math.round((width * Math.sin(angle))); w.setCell(row, col, character); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void draw(Graphics window)\r\n {\r\n window.setColor(color);\r\n window.fillRect(xPos, yPos, width, height);\r\n window.setColor(Color.green);\r\n window .fillOval(xPos-15, yPos-15, width-20, height-20);\r\n window .fillOval(xPos+35, yPos-15, width-20, height-20);\r\n\r\n }", ...
[ "0.7992117", "0.75421447", "0.6869448", "0.6803828", "0.66201246", "0.64662474", "0.6456029", "0.6453643", "0.6362718", "0.63528496", "0.63471985", "0.62982386", "0.62581336", "0.62198704", "0.61413383", "0.6134203", "0.6132765", "0.6124387", "0.6113927", "0.6111622", "0.6076...
0.58136255
37
This method generates the specification of the oval, this is used while writing the specification to a file.
public String generateSpec() { String spec = "\noval\n" + rb + " " + cb + " " + height + " " + width + "\n" + character + "\n."; return spec; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createFile(){\r\n JFileChooser chooser = new JFileChooser();\r\n chooser.setAcceptAllFileFilterUsed(false);\r\n FileNameExtensionFilter filter = new FileNameExtensionFilter(\"Only XML Files\", \"xml\");\r\n chooser.addChoosableFileFilter(filter);\r\n chooser.showSaveD...
[ "0.56979686", "0.5222174", "0.51317", "0.5120095", "0.5094017", "0.5093173", "0.5040457", "0.49698362", "0.4966864", "0.49145824", "0.48910293", "0.4890838", "0.48895514", "0.4867616", "0.48442033", "0.4841377", "0.48363662", "0.482222", "0.48053098", "0.4781457", "0.47760078...
0.56033117
1
This is override to the toString method which returns the specification of oval in a readable format
public String toString() { return "oval" + " " + "(" + rb + "," + cb + ") " + "(" + height + "," + width + ") " + "(" + character + ")"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String toString() {\n\t\tswitch(type) {\n\t\tcase CLOSURE : return \"*\";\n\t\tcase CONCATENATION : return \"\";\n\t\tcase LPAREN : return \"(\";\n\t\tcase RPAREN : return \")\";\n\t\tcase UNION : return \"|\";\n\t\tdefault: return value;\n\t\t}\n\t}", "public String toString() {\n ret...
[ "0.693916", "0.692148", "0.69121635", "0.6862398", "0.6852044", "0.6845498", "0.6804404", "0.6784624", "0.6751829", "0.66995186", "0.6690761", "0.667954", "0.66158694", "0.6589981", "0.6573815", "0.6532779", "0.65092194", "0.65074927", "0.6477047", "0.6472511", "0.646513", ...
0.78287417
0
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int countByExample(AccessKeyRecordEntityExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60346204", "0.57917595", "0.5646815", "0.5611861", "0.5485539", "0.54687774", "0.5344666", "0.52744395", "0.52560246", "0.52459955", "0.52279186", "0.5221228", "0.5209486", "0.5199477", "0.5159245", "0.51486015", "0.5145329", "0.5074946", "0.50740254", "0.507231", "0.50616...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int deleteByExample(AccessKeyRecordEntityExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60352415", "0.5790753", "0.5645121", "0.5610819", "0.54856324", "0.5468816", "0.53433025", "0.5272655", "0.52547884", "0.52448654", "0.5226319", "0.52210814", "0.52110624", "0.5199216", "0.5160508", "0.5147868", "0.5144377", "0.50751257", "0.50744814", "0.50737995", "0.506...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int deleteByPrimaryKey(String accessKeyId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60344076", "0.5791028", "0.56457067", "0.56102586", "0.54869866", "0.5471975", "0.5343927", "0.5274721", "0.52557904", "0.52477825", "0.5228238", "0.5223557", "0.5210954", "0.51977694", "0.51605815", "0.5149038", "0.5145374", "0.5075424", "0.5074773", "0.50738037", "0.5062...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int insert(AccessKeyRecordEntity record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60346204", "0.57917595", "0.5646815", "0.5611861", "0.5485539", "0.54687774", "0.5344666", "0.52744395", "0.52560246", "0.52459955", "0.52279186", "0.5221228", "0.5209486", "0.5199477", "0.5159245", "0.51486015", "0.5145329", "0.5074946", "0.50740254", "0.50616354", "0.504...
0.507231
19
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int insertSelective(AccessKeyRecordEntity record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60346204", "0.57917595", "0.5646815", "0.5611861", "0.5485539", "0.54687774", "0.5344666", "0.52744395", "0.52560246", "0.52459955", "0.52279186", "0.5221228", "0.5209486", "0.5199477", "0.51486015", "0.5145329", "0.5074946", "0.50740254", "0.507231", "0.50616354", "0.5045...
0.5159245
14
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
List<AccessKeyRecordEntity> selectByExample(AccessKeyRecordEntityExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60352415", "0.5790753", "0.5645121", "0.5610819", "0.54856324", "0.5468816", "0.53433025", "0.5272655", "0.52547884", "0.52448654", "0.5226319", "0.52210814", "0.52110624", "0.5199216", "0.5160508", "0.5147868", "0.5144377", "0.50751257", "0.50744814", "0.50737995", "0.506...
0.49128756
33
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"select a.APP_ID,a.name,a.CERTIFICATEID,a.soa_group_id,c.soa_group_n...
[ "0.5791028", "0.56457067", "0.56102586", "0.54869866", "0.5471975", "0.5343927", "0.5274721", "0.52557904", "0.52477825", "0.5228238", "0.5223557", "0.5210954", "0.51977694", "0.51605815", "0.5149038", "0.5145374", "0.5075424", "0.5074773", "0.50738037", "0.5062866", "0.50434...
0.60344076
0
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int updateByExampleSelective(@Param("record") AccessKeyRecordEntity record, @Param("example") AccessKeyRecordEntityExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60346204", "0.57917595", "0.5646815", "0.5611861", "0.5485539", "0.54687774", "0.5344666", "0.52744395", "0.52560246", "0.52459955", "0.52279186", "0.5221228", "0.5209486", "0.5199477", "0.5159245", "0.51486015", "0.5145329", "0.5074946", "0.50740254", "0.507231", "0.50616...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int updateByExample(@Param("record") AccessKeyRecordEntity record, @Param("example") AccessKeyRecordEntityExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60346204", "0.57917595", "0.5646815", "0.5611861", "0.5485539", "0.54687774", "0.5344666", "0.52744395", "0.52560246", "0.52459955", "0.52279186", "0.5221228", "0.5209486", "0.5199477", "0.5159245", "0.51486015", "0.5145329", "0.5074946", "0.50740254", "0.507231", "0.50616...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int updateByPrimaryKeySelective(AccessKeyRecordEntity record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60352415", "0.5790753", "0.5645121", "0.5610819", "0.54856324", "0.5468816", "0.53433025", "0.5272655", "0.52547884", "0.52448654", "0.5226319", "0.52210814", "0.52110624", "0.5199216", "0.5160508", "0.5147868", "0.5144377", "0.50751257", "0.50744814", "0.50737995", "0.506...
0.49400955
32
This method was generated by MyBatis Generator. This method corresponds to the database table portal_access_key_record
int updateByPrimaryKey(AccessKeyRecordEntity record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccessKeyRecordEntity selectByPrimaryKey(String accessKeyId);", "public List<Key> getkeyList() {\n SimpleJdbcTemplate jdbcTemplate =\n new SimpleJdbcTemplate(SessionFactoryUtils.getDataSource(getSessionFactory()));\n HashMap args = new HashMap();\n return jdbcTemplate.query(\"...
[ "0.60344076", "0.5791028", "0.56457067", "0.56102586", "0.54869866", "0.5471975", "0.5343927", "0.5274721", "0.52557904", "0.52477825", "0.5228238", "0.5223557", "0.51977694", "0.51605815", "0.5149038", "0.5145374", "0.5075424", "0.5074773", "0.50738037", "0.5062866", "0.5043...
0.5210954
12
TODO Autogenerated method stub
@Override public Admin getModel() { return admin; }
{ "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
In this method email is compared with user email address. If both match, then the password is changed and stored
public void init() { final NetworkManager manager = new NetworkManager(this); manager.setListener(this); TextView passwordRecoveryTitle = (TextView) findViewById(R.id.simple_toolbar_title); email = (EditText) findViewById(R.id.password_recovery_email); final Button recoverButton = (Button) findViewById(R.id.recover_password_button); Button backToLoginButton = (Button) findViewById(R.id.simple_toolbar_back_button); passwordRecoveryTitle.setText(getResources().getString(R.string.password_recovery_title)); recoverButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (canRecoverPassword()) { if (NetworkManager.DEMO_DATA) { Utils.showSingleButtonAlertWithoutTitle(PasswordRecoveryActivity.this, getResources().getString(R.string.option_not_available_for_demo)); return; } manager.setListener(PasswordRecoveryActivity.this).resetPassword(PasswordRecoveryActivity.this, email.getText().toString()); } } }); backToLoginButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { onBackPressed(); } }); email.setOnEditorActionListener(new TextView.OnEditorActionListener() { @Override public boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) { if (i == EditorInfo.IME_ACTION_DONE) { recoverButton.performClick(); } return false; } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean changePassword(String email, String newPassword) {\n WorkerPO workerPO = workerOperation.getBySingleField(\"email\", email);\n if (workerPO != null) {\n workerPO.setPassword(newPassword);\n workerOperation.update(workerPO);\n return true;...
[ "0.7269908", "0.7019802", "0.7003824", "0.69250566", "0.663383", "0.6562718", "0.65621525", "0.6548298", "0.65305555", "0.65189624", "0.6504164", "0.64147806", "0.64136374", "0.63982993", "0.63980037", "0.6385093", "0.6380331", "0.63799256", "0.6378869", "0.6373527", "0.63474...
0.0
-1
write your code here
public static void main(String[] args) { System.out.println("01 11 2019"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void logic(){\r\n\r\n\t}", "public static void generateCode()\n {\n \n }", "@Override\n\tprotected void logic() {\n\n\t}", "private static void cajas() {\n\t\t\n\t}", "void pramitiTechTutorials() {\n\t\n}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\r\n\tpub...
[ "0.61019534", "0.6054925", "0.58806974", "0.58270746", "0.5796887", "0.56999695", "0.5690986", "0.56556827", "0.5648637", "0.5640487", "0.56354505", "0.56032085", "0.56016207", "0.56006724", "0.5589654", "0.5583692", "0.55785793", "0.55733466", "0.5560209", "0.55325305", "0.5...
0.0
-1