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 |
---|---|---|---|---|---|---|
TODO Autogenerated method stub | @Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
db.execSQL("DROP TABLE IF EXISTS contacts");
onCreate(db);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
]
| [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
]
| 0.0 | -1 |
/encrypt the file to the test, assume that the encryption works | @Test
public void testSimple() throws IOException, URISyntaxException, IllegalKeyException{
byte data [] = {97,98,99,100};
byte [] keys = {50};
EncryptionDecryptionManager man = new AlgoritemManaging();
CaesarEncryption ce = new CaesarEncryption(man);
byte[] encData = ce.Encrypt(keys,data);
CaesarDecryption c = new CaesarDecryption(man);
byte[] decData = c.Decrypt(keys,encData);
assert decData [0] == (byte)(97);
assert decData [1] == (byte)(98);
assert decData [2] == (byte)(99);
assert decData [3] == (byte)(100);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"OutputFile encryptingOutputFile();",
"private void encryptFile() {\r\n\t\tisEncryptComplete = false;\r\n\t\tlogger.encryStart = System.currentTimeMillis();\r\n\t\tif(file == null || !file.exists())\r\n\t\t\treturn;\r\n\t\t\r\n\t\tMDFSEncoder encoder = new MDFSEncoder(file, n1, n2, k1, k2);\r\n\t\t/*\r\n\t\t * n1=4;n2=4;k1=3;k2=4; MDFSEncoder encoder = new MDFSEncoder(file, 4,\r\n\t\t * 4, 3, 2);\r\n\t\t */\r\n\t\tif (!encoder.encode()) {\r\n\t\t\tlistener.onError(\"File Encryption Failed\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tlogger.encryStop = System.currentTimeMillis();\r\n\t\tList<FragmentInfo> fragInfos = encoder.getFileFragments();\r\n\t\tkeyShares = encoder.getKeyShares();\r\n\r\n\t\t// Store the file fragments in local SDCard\r\n\t\tFile fragsDir = AndroidIOUtils.getExternalFile(Constants.DIR_ROOT + \"/\"\r\n\t\t\t\t+ MDFSFileInfo.getDirName(file.getName(), file.lastModified()));\r\n\r\n\t\tMDFSDirectory directory = serviceHelper.getDirectory();\r\n\t\t// Create file fragments\r\n\t\tfor (FragmentInfo frag : fragInfos) {\r\n\t\t\tFile tmp = IOUtilities.createNewFile(fragsDir, frag.getFileName()\r\n\t\t\t\t\t+ \"__frag__\" + frag.getFragmentNumber());\r\n\t\t\tif (IOUtilities.writeObjectToFile(frag, tmp)) {\r\n\t\t\t\tdirectory.addFileFragment(file.lastModified(),\r\n\t\t\t\t\t\tfrag.getFragmentNumber());\r\n\t\t\t}\r\n\t\t}\r\n\t\tlistener.statusUpdate(\"Encryption Complete\");\r\n\t\tisEncryptComplete = true;\r\n\t\tdistributeFragments();\r\n\t}",
"public static void encryptFile(File in, File out, Key pubKey) throws Exception {\n FileInputStream fin;\n FileOutputStream fout;\n int nread = 0; \n byte[] inbuf = new byte[1024];\n fout = new FileOutputStream(out);\n fin = new FileInputStream(in);\n\n SecureRandom random = new SecureRandom();\n // symmetric wrapping\n Key sKey = createKeyForAES(Config.SYM_CRYPTO_STR, random);\n IvParameterSpec sIvSpec = createCtrIvForAES(0, random);\n\n // encrypt symmetric key with RSA/pub key\n Cipher xCipher = Cipher.getInstance(Config.RSA_INSTANCE);\n xCipher.init(Cipher.ENCRYPT_MODE, pubKey, random);\n byte[] keyBlock = xCipher.doFinal(packKeyAndIv(sKey, sIvSpec));\n\n fout.write(keyBlock);\n\n // encrypt data with symmetric key\n Cipher sCipher = Cipher.getInstance(Config.AES_INSTANCE);\n sCipher.init(Cipher.ENCRYPT_MODE, sKey, sIvSpec);\n\n // Now read our file and encrypt it.\n while((nread = fin.read(inbuf)) > 0) {\n fout.write(sCipher.update(inbuf, 0, nread)); // cannot be null, by construction\n }\n // NB doFinal() cannot return null, but can return a zero-length array, which is benign below.\n fout.write(sCipher.doFinal());\n\n fout.flush();\n fin.close();\n fout.close();\n}",
"void encryptFile(String path) throws IOException {\n try (BufferedReader reader = new BufferedReader(new FileReader(path))) {\n PrintWriter writer = new PrintWriter(System.out);\n encryptFile(reader, writer);\n } catch (FileNotFoundException e) {\n System.out.println(\"Error: Input file not found\");\n }\n }",
"private static void crypting(boolean encrypt, String filename, String cryptedFilename) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tSystem.out.println(\"Please provide password as hex-encoded text (16 bytes, i.e. 32 hex-digits): \");\n\t\tSystem.out.print(\">\");\n\t\tString keyText = sc.nextLine();\n\n\t\tSystem.out.println(\"Please provide initialization vector as hex-encoded text (32 hex-digits): \");\n\t\tSystem.out.print(\">\");\n\t\tString ivText = sc.nextLine();\n\t\tsc.close();\n\n\t\tSecretKeySpec keySpec = new SecretKeySpec(Util.hextobyte(keyText), \"AES\");\n\t\tAlgorithmParameterSpec paramSpec = new IvParameterSpec(Util.hextobyte(ivText));\n\t\tCipher cipher = null;\n\n\t\ttry {\n\t\t\tcipher = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\n\t\t\tcipher.init(encrypt ? Cipher.ENCRYPT_MODE : Cipher.DECRYPT_MODE, keySpec, paramSpec);\n\n\t\t} catch (NoSuchAlgorithmException | NoSuchPaddingException exc) {\n\t\t\tSystem.out.println(\"Transformation is in invalid format or contains padding scheme that is unavailable. \");\n\t\t\tSystem.exit(1);\n\t\t} catch (InvalidKeyException | InvalidAlgorithmParameterException exc) {\n\t\t\tSystem.out.println(\"Given key or algorithm is invalid for this cipher.\");\n\t\t\tSystem.exit(1);\n\n\t\t}\n\n\t\ttry (InputStream inputStream = new BufferedInputStream(new FileInputStream(filename));\n\t\t\t\tOutputStream outputStream = new BufferedOutputStream(new FileOutputStream(cryptedFilename))) {\n\n\t\t\tint nRead;\n\t\t\tbyte[] buffer = new byte[4096];\n\t\t\tbyte[] inputfile = null;\n\n\t\t\twhile ((nRead = inputStream.read(buffer, 0, buffer.length)) != -1) {\n\t\t\t\tinputfile = cipher.update(buffer, 0, nRead);\n\t\t\t\toutputStream.write(inputfile);\n\t\t\t}\n\n\t\t\tinputfile = cipher.doFinal();\n\t\t\toutputStream.write(inputfile);\n\n\t\t} catch (FileNotFoundException exc) {\n\t\t\tSystem.out.println(\n\t\t\t\t\t\"File does not exist, is a directory rather than a regular file, or cannot be opened for reading because of some other reason. \");\n\t\t\tSystem.exit(1);\n\n\t\t} catch (IOException exc) {\n\t\t\tSystem.out.println(\"Input stream couldn't be initialized.\");\n\t\t\tSystem.exit(1);\n\n\t\t} catch (IllegalBlockSizeException | BadPaddingException e) {\n\t\t\tSystem.out.println(\n\t\t\t\t\t\"Encryption algorithm is unable to process the input data provided or the decrypted data is not bounded by the appropriate padding bytes. \");\n\t\t\tSystem.exit(1);\n\t\t}\n\n\t\tif (encrypt) {\n\t\t\tSystem.out.printf(\"Encryption completed. Generated file %s based on file %s.\\n\", cryptedFilename, filename);\n\t\t} else {\n\t\t\tSystem.out.printf(\"Decryption completed. Generated file %s based on file %s.\\n\", cryptedFilename, filename);\n\t\t}\n\n\t}",
"public static void encrypt() throws IOException{\n\t\tBufferedInputStream in = new BufferedInputStream(new FileInputStream(inFilename));\n\t\tBufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(outFilename));\n\n\t\tSecureRandom randomGen = new SecureRandom(); //used for the salt and the padding\n\t\tbyte[] key; //holds the encryption key\n\n\t\t//get the file length\n\t\tlong fileLength = (new File(inFilename)).length();\n\n\t\t//write the file header marker\n\t\tout.write(FILE_HEADER);\n\n\t\t/* STAGE 1 - generate encryption key */\n\t\t//find the number of bytes we have to pad and write it to the file\n\t\tint numPad;\n\t\tif (fileLength % 8 == 0)\n\t\t\tnumPad = 0;\n\t\telse\n\t\t\tnumPad = (int)(8 - (fileLength % 8));\n\t\tout.write(numPad);\n\t\t//generate a 128-byte random salt and write it to the file\n\t\tbyte[] salt = new byte[128];\n\t\trandomGen.nextBytes(salt);\n\t\tout.write(salt);\n\t\t//generate the message for CubeHash: (password + #padded bits + random salt)\n\t\tbyte[] message = new byte[password.length + 1 + salt.length];\n\t\tSystem.arraycopy(password, 0, message, 0, password.length); //add the password\n\t\tmessage[password.length] = (byte)numPad; //add #padded bits\n\t\tSystem.arraycopy(salt, 0, message, password.length + 1, salt.length); //add random salt\n\t\t//finally, generate the encryption key\n\t\tkey = CryptoLib.CubeHash.doCubeHash(message);\n\n\t\t/* STAGE 2 - apply encryption */\n\t\tint currPiece = 0; //keeps track of which piece of the key is being used\n\t\tbyte[] currData = new byte[8]; //holds the piece of data currently being encrypted\n\n\t\t//split the key into 4 pieces of 128 bits each\n\t\tbyte[][] keyPieces = new byte[4][16];\n\t\tfor (int i = 0; i < 4; i++){\n\t\t\tSystem.arraycopy(key, i*16, keyPieces[i], 0, 16);\n\t\t}\n\n\t\t//loop through the file (except the last block), 8 bytes at a time\n\t\tfor (long i = 0; i < fileLength - 8; i += 8){\n\t\t\t//put a chunk of data in currData\n\t\t\tin.read(currData);\n\n\t\t\t//do TEA(key, RC4(key, data)), then write to file\n\t\t\tout.write(CryptoLib.TEA.doTEA(keyPieces[currPiece],\n\t\t\t\t\t\tCryptoLib.RC4.doRC4(keyPieces[currPiece], currData)));\n\n\t\t\t//increment currPiece\n\t\t\tcurrPiece = (currPiece + 1) % 4;\n\t\t}\n\n\t\t//deal with the last block of data:\n\t\t//first, read it..\n\t\tin.read(currData);\n\t\t//..pad it with random data..\n\t\tfor (int i = 7; i >= (8 - numPad); i--){\n\t\t\tcurrData[i] = (byte)randomGen.nextInt();\n\t\t}\n\t\t//..then encrypt it\n\t\tout.write(CryptoLib.TEA.doTEA(keyPieces[currPiece],\n\t\t\t\t\tCryptoLib.RC4.doRC4(keyPieces[currPiece], currData)));\n\n\t\t/* STAGE 3 - done! */\n\t\tin.close();\n\t\tout.close();\n\t\tSystem.out.println(\"\\nEncryption complete.\");\n\t}",
"private void encryptionAlgorithm() {\n\t\ttry {\n\t\t\t\n\t\t\tFileInputStream fileInputStream2=new FileInputStream(\"D:\\\\program\\\\key.txt\");\n\t\t\tchar key=(char)fileInputStream2.read();\n\t\t\tSystem.out.println(key);\n\t\t\tFileInputStream fileInputStream1=new FileInputStream(\"D:\\\\program\\\\message.txt\");\n\t\t\tint i=0;\n\t\t\t\n\t\t\tStringBuilder message=new StringBuilder();\n\t\t\twhile((i= fileInputStream1.read())!= -1 )\n\t\t\t{\n\t\t\t\tmessage.append((char)i);\n\t\t\t}\n\t\t\tString s=message.toString();\n\t\t\tchar[] letters=new char[s.length()];\n\t\t\tStringBuilder en=new StringBuilder();\n\t\t\tfor(int j = 0;j < letters.length;j++)\n\t\t\t{\n\t\t\t\ten.append((char)(byte)letters[j]+key);\n\t\t\t}\t\t\n\t\t\tFileOutputStream fileoutput=new FileOutputStream(\"D:\\\\program\\\\encryptedfile.txt\");\n\t\t\t\n\t\t\tfileInputStream1.close();\n\t\t\tfileInputStream2.close();\n\t\t\t\n\t\t}\n\t\tcatch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t\n\t}",
"private void encryptingData(File fileToEncrrypt, Signature dataSigner) throws Exception {\n\t\tFileOutputStream fos = null;\n\t\tFileInputStream fis = null;\n\t\tCipherInputStream cis = null;\n\t\ttry {\n\t\t\tfos = new FileOutputStream(localWorkingDirectoryPath + \"\\\\Encrypted_File.txt\");\n\t\t\tfis = new FileInputStream(fileToEncrrypt);\n\t\t\tbyte[] encryptedDataByteArray = new byte[8];\n\t\t\tcis = new CipherInputStream(fis, myCipher);\n\t\t\tint i = cis.read(encryptedDataByteArray);\n\t\t\twhile (i != -1) {\n\t\t\t\t// Updating the data inside the Signer\n\t\t\t\tdataSigner.update(encryptedDataByteArray);\n\t\t\t\t// writing the encrypted data to the file\n\t\t\t\tfos.write(encryptedDataByteArray, 0, i);\n\t\t\t\ti = cis.read(encryptedDataByteArray);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\twriteToLog(\"Error While trying to encrypt the data: \" + e.getMessage());\n\t\t\tLogWriter.close();\n\t\t\tthrow new Exception(\"Error: While trying to encrypt the data\", e);\n\t\t} finally {\n\t\t\tcis.close();\n\t\t\tfis.close();\n\t\t\tfos.close();\n\t\t}\n\t}",
"String encode(File message, File key,File crypted);",
"private static void crypto(String filePath1, String filePath2) {\n\n\t\t// Retrieve the cipher\n\t\tCipher cipher;\n\t\ttry {\n\t\t\tcipher = obtainCipher();\n\n\t\t} catch (InvalidKeyException | InvalidAlgorithmParameterException | NoSuchAlgorithmException\n\t\t\t\t| NoSuchPaddingException e) {\n\t\t\tSystem.out.println(\"Exception while obtaining cypher: \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n\n\t\tPath p = Paths.get(filePath1);\n\t\tPath p2 = Paths.get(filePath2);\n\n\t\t// Open the file input and output stream\n\t\ttry (InputStream is = Files.newInputStream(p); OutputStream os = Files.newOutputStream(p2)) {\n\t\t\tbyte[] buff = new byte[4096];\n\n\t\t\twhile (true) {\n\t\t\t\tint r = is.read(buff);\n\n\t\t\t\tif (r == -1) {\n\t\t\t\t\t// Finishing the cipher\n\t\t\t\t\ttry {\n\t\t\t\t\t\tos.write(cipher.doFinal());\n\t\t\t\t\t} catch (IllegalBlockSizeException | BadPaddingException e) {\n\t\t\t\t\t\tSystem.out.println(\"Exception while finalizaing cipher: \" + e.getMessage());\n\t\t\t\t\t\tSystem.exit(1);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t// Update cipher and write into new file\n\t\t\t\tos.write(cipher.update(buff, 0, r));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(\"Exception while opening the file: \" + e.getMessage());\n\t\t\tSystem.exit(1);\n\n\t\t}\n\n\t\tSystem.out.println((encrypt ? \"Encryption\" : \"Decryption\") + \" completed. Generated file \" + filePath2\n\t\t\t\t+ \" based on file \" + filePath1 + \".\");\n\n\t}",
"private static void encryptFile(String fileInput, String publicKeyFilename) throws Exception {\n\n\t\t// Load the public key bytes\n\t\tFileInputStream fis = new FileInputStream(publicKeyFilename);\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\n\t\tint theByte = 0;\n\t\twhile ((theByte = fis.read()) != -1) {\n\t\t\tbaos.write(theByte);\n\t\t}\n\t\tfis.close();\n\n\t\tbyte[] keyBytes = baos.toByteArray();\n\t\tbaos.close();\n\n\t\t// Turn the encoded key into a real RSA public key.\n\t\t// Public keys are encoded in X.509.\n\t\tX509EncodedKeySpec keySpec = new X509EncodedKeySpec(keyBytes);\n\t\tKeyFactory keyFactory = KeyFactory.getInstance(\"RSA\");\n\t\tPublicKey publicKey = keyFactory.generatePublic(keySpec);\n\n\t\t// Open up an output file for the output of the encryption\n\t\tString fileOutput = fileInput + ENCRYPTED_FILENAME_SUFFIX;\n\t\tDataOutputStream output = new DataOutputStream(new FileOutputStream(fileOutput));\n\n\t\t// Create a cipher using that key to initialize it\n\t\tCipher rsaCipher = Cipher.getInstance(\"RSA/ECB/PKCS1Padding\");\n\t\trsaCipher.init(Cipher.ENCRYPT_MODE, publicKey);\n\n\t\t// Now create a new 256 bit Rijndael key to encrypt the file itself.\n\t\t// This will be the session key.\n\t\tKeyGenerator rijndaelKeyGenerator = KeyGenerator.getInstance(\"Rijndael\");\n\t\trijndaelKeyGenerator.init(256);\n\t\tSystem.out.println(\"Generating session key...\");\n\t\tKey rijndaelKey = rijndaelKeyGenerator.generateKey();\n\t\tSystem.out.println(\"Done generating key.\");\n\n\t\t// Encrypt the Rijndael key with the RSA cipher\n\t\t// and write it to the beginning of the file.\n\t\tbyte[] encodedKeyBytes = rsaCipher.doFinal(rijndaelKey.getEncoded());\n\t\toutput.writeInt(encodedKeyBytes.length);\n\t\toutput.write(encodedKeyBytes);\n\n\t\t// Now we need an Initialization Vector for the symmetric cipher in CBC mode\n\t\tSecureRandom random = new SecureRandom();\n\t\tbyte[] iv = new byte[16];\n\t\trandom.nextBytes(iv);\n\n\t\t// Write the IV out to the file.\n\t\toutput.write(iv);\n\t\tIvParameterSpec spec = new IvParameterSpec(iv);\n\n\t\t// Create the cipher for encrypting the file itself.\n\t\tCipher symmetricCipher = Cipher.getInstance(\"Rijndael/CBC/PKCS5Padding\");\n\t\tsymmetricCipher.init(Cipher.ENCRYPT_MODE, rijndaelKey, spec);\n\n\t\tCipherOutputStream cos = new CipherOutputStream(output, symmetricCipher);\n\n\t\tSystem.out.println(\"Encrypting the file...\");\n\n\t\tFileInputStream input = new FileInputStream(fileInput);\n\n\t\ttheByte = 0;\n\t\twhile ((theByte = input.read()) != -1) {\n\t\t\tcos.write(theByte);\n\t\t}\n\t\tinput.close();\n\t\tcos.close();\n\t\tSystem.out.println(\"File encrypted.\");\n\t\treturn;\n\t}",
"public void encryptChkFile(User user, String inputFile)\n\t\t\tthrows NoSuchAlgorithmException, NoSuchPaddingException,\n\t\t\tInvalidKeyException, InvalidAlgorithmParameterException,\n\t\t\tIOException, NoSuchProviderException {// same as above but for singular file, for creating\n\t\t\t\t\t\t\t// consistant files to check against\n\t\tFile ivread = new File(user.name + \"_iv\");\n\t\tboolean exists = ivread.exists();\n\t\tCipher cipher = generateCipher();\n\t\tif (exists) {\n\t\t\tFileInputStream in = new FileInputStream(ivread);\n\t\t\tbyte[] iv = new byte[(int) ivread.length()];\n\t\t\tin.read(iv);\n\t\t\tcipher.init(Cipher.ENCRYPT_MODE, user.passwordKey,\n\t\t\t\t\tnew IvParameterSpec(iv));\n\t\t\tin.close();\n\t\t} else {\n\t\t\tcipher.init(Cipher.ENCRYPT_MODE, user.passwordKey);\n\t\t\tbyte[] iv = cipher.getIV();\n\t\t\tFileOutputStream ivout = new FileOutputStream(user.configDirectory + \"\\\\\" + user.name + \"_iv\");\n\t\t\tivout.write(iv);\n\t\t\tivout.close();\n\t\t}\n\t\tfinal Charset ENCODING = StandardCharsets.UTF_8;\n\t\tFile usersFile = user.referenceFile;// possibly gets sent\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// to the wrong\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// directory, write\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// test to check\n\t\tBufferedWriter ow = Files.newBufferedWriter(usersFile.toPath(),//output stream is all wrong should be using cpher output stream/\n\t\t\t\tENCODING);\n\t\tow.write(inputFile);\n\t\tow.close();\n\t\t\n\t\tint i = cipher.getBlockSize();\n\t\tBufferedInputStream is = new BufferedInputStream(new FileInputStream(user.referenceFile));\n\t\tCipherOutputStream os = new CipherOutputStream(new FileOutputStream(user.referenceFile+\".out\"), cipher);\n\t\tcopy(is, os);\n\t\tis.close();\n\t\tos.close();\n\n\t\t// TODO insert code to create then encrypt a simple phrase e.g. 1234567\n\t}",
"Encryption encryption();",
"@Test\r\n public void testEncrypt()\r\n {\r\n System.out.println(\"encrypt\");\r\n String input = \"Hello how are you?\";\r\n KeyMaker km = new KeyMaker();\r\n SecretKeySpec sks = new SecretKeySpec(km.makeKeyDriver(\"myPassword\"), \"AES\");\r\n EncyptDecrypt instance = new EncyptDecrypt();\r\n String expResult = \"0fqylTncsgycZJQ+J5pS7v6/fj8M/fz4bavB/SnIBOQ=\";\r\n String result = instance.encrypt(input, sks);\r\n assertEquals(expResult, result);\r\n }",
"void encryptFile(String inPath, String outPath) throws IOException {\n try (BufferedReader reader = new BufferedReader(new FileReader(inPath))) {\n try (PrintWriter writer = new PrintWriter(outPath)) {\n encryptFile(reader, writer);\n } catch (FileNotFoundException e) {\n System.out.println(\"Error: Output file not found\");\n }\n } catch (FileNotFoundException e) {\n System.out.println(\"Error: Input file not found\");\n }\n }",
"public void encryptFile(User user) throws InvalidKeyException,\n\t\t\tInvalidAlgorithmParameterException, NoSuchAlgorithmException,\n\t\t\tNoSuchPaddingException, IOException, NoSuchProviderException {\n\t\t\n\t\tCipher cipher = generateCipher();\n\t\t/*if (ivread.exists()) {\n\t\t\tFileInputStream in = new FileInputStream(ivread);\n\t\t\tbyte[] iv = new byte[(int) ivread.length()];\n\t\t\tin.read(iv);\n\t\t\tcipher.init(Cipher.ENCRYPT_MODE, user.passwordKey,\n\t\t\t\t\tnew IvParameterSpec(iv));\n\t\t\tin.close();\n\t\t} else {\n\t\t\tcipher.init(Cipher.ENCRYPT_MODE, user.passwordKey);\n\t\t\tbyte[] iv = cipher.getIV();\n\t\t\tFileOutputStream ivout = new FileOutputStream(user.configDirectory + \"\\\\\" + user.name + \".iv\");\n\t\t\tivout.write(iv);\n\t\t\tivout.close();\n\t\t}*/\n\t\tfor (int counter = 0; counter < user.unencryptedDirectory.containedFiles\n\t\t\t\t.size(); counter++) {// Iterates through directory and ignores a file if it is a directory\n\t\t\tif(!user.unencryptedDirectory.containedFiles.get(counter).isDirectory()){\n\t\t\t\tcipher.init(Cipher.ENCRYPT_MODE, user.passwordKey);\n\t\t\t\tbyte[] iv = cipher.getIV();\n\t\t\t\tFileOutputStream ivout = new FileOutputStream(user.configDirectory + \"\\\\\" + user.unencryptedDirectory.containedFiles.get(counter).toPath().getFileName() + user.name + \"_iv\");\n\t\t\t\tSystem.out.println(user.unencryptedDirectory.containedFiles.get(counter).toPath().getFileName());\n\t\t\t\tivout.write(iv);\n\t\t\t\tivout.close();\n\t\t\t\tBufferedInputStream is = new BufferedInputStream(\n\t\t\t\t\t\tnew FileInputStream(\tuser.unencryptedDirectory.containedFiles.get(counter)));\n\t\t\t\tCipherOutputStream os = new CipherOutputStream(\tnew FileOutputStream(\tuser.encryptedDirectory.location.toAbsolutePath()\t+ \"\\\\\"\n\t\t\t\t\t\t\t\t\t\t+ user.unencryptedDirectory.containedFiles\t.get(counter).getName() + \"\"), cipher);\n\t\t\t\tcopy(is, os);\n\t\t\t\tis.close();\n\t\t\t\tos.close();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\n\t\t}\n\n\t}",
"@Test\n\tpublic void doEncrypt() {\n\t\tString src = \"18903193260\";\n\t\tString des = \"9oytDznWiJfLkOQspiKRtQ==\";\n\t\tAssert.assertEquals(Encryptor.getEncryptedString(KEY, src), des);\n\n\t\t/* Encrypt some plain texts */\n\t\tList<String> list = new ArrayList<String>();\n\t\tlist.add(\"18963144219\");\n\t\tlist.add(\"13331673185\");\n\t\tlist.add(\"18914027730\");\n\t\tlist.add(\"13353260117\");\n\t\tlist.add(\"13370052053\");\n\t\tlist.add(\"18192080531\");\n\t\tlist.add(\"18066874640\");\n\t\tlist.add(\"15357963496\");\n\t\tlist.add(\"13337179174\");\n\t\tfor (String str : list) {\n\t\t\tSystem.out.println(Encryptor.getEncryptedString(KEY, str));\n\t\t}\n\t}",
"public static void encryptFile(File inFile, String pass) throws IOException, GeneralSecurityException {\n\t\tbyte[] decData;\n\t\tbyte[] encData;\n\n\t\tCipher cipher = FileEncryptor.makeCipher(pass, true);\n\t\tif (cipher == null) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tFileInputStream inStream = new FileInputStream(inFile);\n\t\tint blockSize = 8;\n\t\tint paddedCount = blockSize - ((int) inFile.length() % blockSize);\n\t\tint padded = (int) inFile.length() + paddedCount;\n\n\t\tdecData = new byte[padded];\n\t\tinStream.read(decData);\n\t\tinStream.close();\n\n\t\tfor (int i = (int) inFile.length(); i < padded; ++i) {\n\t\t\tdecData[i] = (byte) paddedCount;\n\t\t}\n\n\t\tencData = cipher.doFinal(decData);\n\t\tFileOutputStream outStream = new FileOutputStream(inFile);\n\t\toutStream.write(encData);\n\t\toutStream.close();\n\t}",
"public void encryptFile(String fitxer, SecretKey clau) throws FileNotFoundException, InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IOException, IllegalBlockSizeException, BadPaddingException {\r\n //Creamos el FileInput Stream para leer el archivo.\r\n FileInputStream fis = new FileInputStream(fitxer);\r\n //Creamos el FileOutputStream para escribir en el fichero.\r\n FileOutputStream fos = new FileOutputStream(new File(\"mensajeCifrado.txt\"));\r\n \r\n //Creamos un cifrador para cifrar el texto.\r\n Cipher cifrador = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\r\n IvParameterSpec iv = new IvParameterSpec(cadena_iv.getBytes());\r\n cifrador.init(Cipher.ENCRYPT_MODE, clau);\r\n \r\n //Creamos un buffer que es un array de bytes donde almacenaremos el texto.\r\n byte[] buffer = new byte[1024];\r\n \r\n int bytes;\r\n //Utilizamos un bucle para ir leyendo el archivo de texto que le hemos pasado.\r\n while((bytes = fis.read(buffer, 0, buffer.length))!=-1){\r\n byte [] update = cifrador.update(buffer, 0, bytes);\r\n fos.write(cifrador.doFinal());\r\n }\r\n \r\n //Cerramos recursos.\r\n fos.write(cifrador.doFinal());\r\n fis.close();\r\n fos.close();\r\n \r\n \r\n }",
"private void encrypt(final String path, final String password, PasswordDeriveData keyData) {\r\n File file = null;\r\n if (path.contains(Environment.getExternalStorageDirectory().getAbsolutePath())) {\r\n file = new File(path);\r\n } else {\r\n file = new File(Environment.getExternalStorageDirectory(), path);\r\n }\r\n System.out.println(file.getAbsolutePath());\r\n\r\n if (!file.exists()) {\r\n showUserInfo(\"file / folder doesn't exist\");\r\n return;\r\n }\r\n\r\n if (password.isEmpty()) {\r\n showUserInfo(\"password cant be empty\");\r\n return;\r\n }\r\n\r\n // if no key is given\r\n if (keyData == null) {\r\n // BUG 1: Key derivation should not be performed outside a foreach block that is using its return value.\r\n // Otherwise all operations in \"encrypt directory\" have the same encryption key\r\n // TODO changed a little bit\r\n try {\r\n keyData = WeakPasswordDerivation.DerivePassword(password);\r\n } catch (NoSuchAlgorithmException | InvalidKeySpecException e) {\r\n showUserInfo(e.getMessage());\r\n e.printStackTrace();\r\n }\r\n }\r\n\r\n if (file.isDirectory()) {\r\n for (File child : file.listFiles()) {\r\n encrypt(child.getAbsolutePath(), password, keyData);\r\n }\r\n } else /* file isn't directory */ {\r\n try {\r\n CryptoWrapper.EncryptFileWithPassword(file, password);\r\n } catch (Throwable e) {\r\n showUserInfo(e.getClass().getSimpleName() + \": \" + e.getMessage());\r\n e.printStackTrace();\r\n }\r\n }\r\n }",
"public void encryptFile(File textInputFile, File cipherOutputFile) throws FileNotFoundException{\n Scanner in = new Scanner(textInputFile);\n PrintStream out = new PrintStream(cipherOutputFile);\n\n while (in.hasNextLine()) {\n String line = in.nextLine() + NEW_LINE;\n out.print(encrypt(line));\n }\n }",
"public String encryptFile(String fileToEncrypt, String filename) {\n\t\tEncryption encryptFile = new Encryption();\r\n\t\tencryptFile.encrypt(fileToEncrypt, directoryPath + filename);\r\n\t\tencryptedFilePath = directoryPath + filename;\r\n\t\treturn encryptedFilePath;\r\n\t}",
"@Test\n public void testEncrypt() throws Exception {\n System.out.println(\"encrypt\");\n String seed = \"\";\n String cleartext = \"\";\n String expResult = \"\";\n String result = Crypto.encrypt(seed, cleartext);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"public static void execEnkripsi(File fileTemp, String pathTempFileEncryptName, String pathEncryptedSecretKeyFile, String pemContent, SimpleDateFormat sdf, String outputFileNameZip) throws Exception{\n String secretKey=RandomStringUtils.randomAlphanumeric(16);\r\n System.out.println(\"Generated Secret Key :\"+secretKey);\r\n File exportedFile;\r\n CompressingUtils compressingUtils = new CompressingUtils();\r\n String tmpPlainZipped = lokasiHasil+\"/tmp\"+outputFileNameZip;\r\n List<File> lsFile = new ArrayList<>();\r\n lsFile.add(fileTemp);\r\n if(compressingUtils.createZipWithoutPassword(lsFile, tmpPlainZipped)){\r\n exportedFile = new File(tmpPlainZipped);\r\n //delete file awal yang telah dikompresi\r\n for(File dfile : lsFile){\r\n dfile.delete();\r\n }\r\n }else{\r\n throw new Exception(\"gagal melakukan kompresi file\");\r\n }\r\n System.out.println(\"file kompresi berhasil dibuat \"+ outputFileNameZip);\r\n\r\n /*Step 3 : enkripsi file dengan kunci acak */\r\n System.out.println(\"Step 3 : enkripsi file dengan kunci acak\");\r\n\r\n\r\n String fileOutputEcnryptedname = lokasiHasil+\"/\"+outputFileNameZip;\r\n\r\n File tempFileEncryptName = new File(pathTempFileEncryptName);\r\n try {\r\n CryptoUtils.encrypt(secretKey, exportedFile, tempFileEncryptName);\r\n } catch (CryptoException e) {\r\n throw new Exception(\"Enkripsi file gagal : \" + e.getMessage());\r\n }\r\n\r\n EncryptionUtils utils = new EncryptionUtils();\r\n PublicKey publicKey = utils.getPublicKeyFromX509(pemContent);\r\n\r\n /*Step 4 : Enkripsi kunci acak dengan public key dari DJP*/\r\n System.out.println(\"Step 4 : enkripsi kunci acak dengan public key dari DJP\");\r\n\r\n String encryptedSecretKey;\r\n try{\r\n encryptedSecretKey = CryptoUtils.encrypt(secretKey, publicKey);\r\n }catch (CryptoException e) {\r\n throw new Exception(\"Enkripsi kunci gagal : \" + e.getMessage());\r\n }\r\n File encryptedSecretKeyFile = new File(pathEncryptedSecretKeyFile);\r\n try {\r\n FileOutputStream outputStream = new FileOutputStream(encryptedSecretKeyFile);\r\n outputStream.write(encryptedSecretKey.getBytes());\r\n outputStream.close();\r\n }catch (FileNotFoundException e){\r\n throw new Exception(\"kunci yang dienkripsi tidak ditemukan : \" + pathEncryptedSecretKeyFile);\r\n } catch (IOException e) {\r\n throw new Exception(\"gagal membentuk kunci enkripsi\");\r\n }\r\n\r\n /*Step 5: Compress data dan key kedalam file zip dan menjadi hasil akhir*/\r\n System.out.println(\"Step 5: Compress enkripsi file dan kunci kedalam file zip\");\r\n\r\n List<File> listFiles = new ArrayList<File>();\r\n listFiles.add(tempFileEncryptName);\r\n listFiles.add(encryptedSecretKeyFile);\r\n\r\n if(listFiles.size() != 2){\r\n for (File file : listFiles) {\r\n file.delete();\r\n }\r\n throw new Exception(\"file enkripsi dan/atau key enkripsi salah satunya tidak ada\");\r\n }\r\n\r\n compressingUtils = new CompressingUtils();\r\n if (compressingUtils.createZip(listFiles, fileOutputEcnryptedname)) {\r\n /*Step 6 : hapus file data dan key, hasil dari step 3 dan 4 */\r\n System.out.println(\"Step 6 : hapus file data dan key, hasil dari step 3 dan 4\");\r\n\r\n for (File file : listFiles) {\r\n file.delete();\r\n }\r\n /*Step 7: hapus file zip, hasil dari step 2 */\r\n System.out.println(\"Step 7: hapus file zip, hasil dari step 2\");\r\n\r\n exportedFile.delete();\r\n }\r\n\r\n System.out.println(\"Proses enkripsi selesai, nama file : \" + fileOutputEcnryptedname);\r\n }",
"public byte[] encriptarArchivo (String nombreArchivo, String key, String ruta) throws Exception{\n\n \n FileInputStream fileInputStream = null;\n byte[] encrypted = null;\n File file = new File(nombreArchivo);\n byte[] archivo = new byte[(int) file.length()];\n\n //Convertir archivo a bytes[]\n fileInputStream = new FileInputStream(file);\n fileInputStream.read(archivo);\n //llamada a libreria de encriptacion\n encrypted = encrypt(archivo, key);\n Path archivo_enc = Paths.get(ruta);\n //Creacion de archivo encriptado \n Files.write(archivo_enc, encrypted);\n \n return encrypted;\n \n }",
"public static void Encrypt(File file, Boolean sign, PGPSecretKey secretKey, char[] pass, Boolean encrpyt, PGPPublicKey publicKey)\n {\n\tSecurity.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());\n\t\n\t// fajl koji kriptujem\n\tInputStream fileToEncrypt = null;\n\ttry {\n\t\tfileToEncrypt = new FileInputStream(file);\n\t} catch (FileNotFoundException e) {\n\t}\n\t// fajl u koji cemo smestiti kriptovanu poruku\n\tOutputStream targetFileStream = null;\n\ttry {\n\t\ttargetFileStream = new FileOutputStream(new File(\"C:\\\\Users\\\\Korisnik\\\\Desktop\\\\test.pgp\"));\n\t} catch (FileNotFoundException e) {\n\n\t}\n\t\n\tString targetFileName = \"decript.txt\";\n\tString outputFileName = \"test.pgp\";\n\t\n\t\n\ttry {\n\t\tfEncryptOnePassSignatureLocal(file.getName(), outputFileName, \n\t\t\t\tsecretKey, targetFileStream, pass, publicKey, fileToEncrypt);\n\t} catch (Exception e) {\n // TODO Auto-generated catch block\n\n\t}\n }",
"public static byte[] encrypt(byte[] plainFile, String key) throws Exception {\n\n // Generacion IV (Vector de inicializacion)\n int ivSize = 16;\n byte[] iv = new byte[ivSize];\n SecureRandom random = new SecureRandom();\n random.nextBytes(iv);\n IvParameterSpec ivParameterSpec = new IvParameterSpec(iv);\n\n // Generacion de hash de la clave secreta.\n MessageDigest digest = MessageDigest.getInstance(\"SHA-256\"); // SHA-256: Algoritmo de Hashing que genera una clave de 256 bits\n digest.update(key.getBytes(\"UTF-8\"));\n byte[] keyBytes = new byte[16];\n System.arraycopy(digest.digest(), 0, keyBytes, 0, keyBytes.length);\n SecretKeySpec secretKeySpec = new SecretKeySpec(keyBytes, \"AES\");\n\n // Llamado a libreria de cifrado de java.\n Cipher cipher = Cipher.getInstance(\"AES/CBC/PKCS5Padding\");\n cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec, ivParameterSpec);\n byte[] encrypted = cipher.doFinal(plainFile);\n\n // Agrega IV al vector del archivo encriptado \n byte[] encryptedIVAndText = new byte[ivSize + encrypted.length];\n System.arraycopy(iv, 0, encryptedIVAndText, 0, ivSize);\n System.arraycopy(encrypted, 0, encryptedIVAndText, ivSize, encrypted.length);\n\n return encryptedIVAndText;\n }",
"@Test\n public void testEncryptDecrypt3() throws InvalidCipherTextException {\n\n // password generation using KDF\n String password = \"Aa1234567890#\";\n byte[] kdf = Password.generateKeyDerivation(password.getBytes(), 32);\n\n byte[] plain = \"0123456789\".getBytes();\n byte[] plainBytes = new byte[100000000];\n for (int i = 0; i < plainBytes.length / plain.length; i++) {\n System.arraycopy(plain, 0, plainBytes, i * plain.length, plain.length);\n }\n\n byte[] encData = AESEncrypt.encrypt(plainBytes, kdf);\n byte[] plainData = AESEncrypt.decrypt(encData, kdf);\n\n assertArrayEquals(plainBytes, plainData);\n\n }",
"String encryption(Long key, String encryptionContent);",
"@Override\n protected void assertEncrypted(Path path) throws IOException {\n S3AFileSystem fs = getFileSystem();\n Configuration c = fs.getConf();\n String kmsKey = getS3EncryptionKey(getTestBucketName(c), c);\n EncryptionTestUtils.assertEncrypted(fs, path, SSE_KMS, kmsKey);\n }",
"private void prga(){\n int i = 0;\n int a = 0;\n int b = 0;\n StringBuilder sb = new StringBuilder();\n fileEncrypted.clear();\n\n byte[] code = new byte[filePlain.size()];\n while (i<filePlain.size()){\n a = (a + 1) % 256;\n b = (b + s_box.get(a)) % 256;\n Collections.swap(s_box, a, b);\n\n int key_int = s_box.get((s_box.get(a) + s_box.get(b))% 256);\n byte cypher = (byte) (key_int^filePlain.get(i));\n\n fileEncrypted.add(cypher);\n sb.append((char)cypher);\n code[i] = cypher;\n i++;\n }\n\n System.out.println(\"aaa\");\n// export file\n Helper.exportFile(code, extension, true);\n }",
"private static int[] encrypt(File fileToEncrypt, File keystoreFile)\n\t{\n\n\t\tSecretKey symmetricKey = createSymmetricKey();\n\t\tAlgorithmParameters algoParams = fileEncryption(fileToEncrypt, symmetricKey, fileAfterEncryption);\n\t\treturn createConfigurationFile(fileToEncrypt, configFile, keystoreFile, symmetricKey, algoParams);\n\t}",
"public static void main(String[] args) \r\n {\r\n /*\r\n String data = \"This is a very important statement.\";\r\n String key = \"How old is my computer?\";\r\n KeyGenerator kGen = new KeyGenerator(key);\r\n String nK = kGen.getNumericKey();\r\n \r\n ArmstrongManager aMgr = new ArmstrongManager(nK);\r\n ColorManager cMgr = new ColorManager(nK);\r\n \r\n String encData =\"\";\r\n int temp;\r\n int i;\r\n for(i =0 ; i < data.length(); i++)\r\n {\r\n temp = aMgr.encrypt(data.charAt(i));\r\n temp = cMgr.encrypt(temp);\r\n encData = encData + (char)temp;\r\n }\r\n \r\n String decData= \"\";\r\n for(i =0 ; i < encData.length(); i++)\r\n {\r\n temp = cMgr.decrypt(encData.charAt(i));\r\n temp = aMgr.decrypt(temp);\r\n \r\n decData = decData + (char)temp;\r\n }\r\n \r\n \r\n System.out.println(\"data: \"+ data + \" \" + data.length());\r\n System.out.println(\"enc data: \"+ encData + \" \" + encData.length());\r\n System.out.println(\"dec data: \"+ decData + \" \" + decData.length());\r\n */\r\n \r\n try\r\n {\r\n //String src = \"d:/a.txt\";//images/kids.jpg\";\r\n //String enc = \"d:/e_a.txt\";//images/e_kids.jpg\";\r\n //String dec = \"d:/d_a.txt\";//images/d_kids.jpg\";\r\n String src = \"d:/images/kids.jpg\";\r\n String enc = \"d:/images/e_kids.jpg\";\r\n String dec = \"d:/images/d_kids.jpg\";\r\n\r\n String key = \"How old is my computer?\";\r\n\r\n Encryptor objEnc = new Encryptor(key);\r\n Decryptor objDec = new Decryptor(key);\r\n\r\n objEnc.encrypt(src, enc);\r\n System.out.println(\"Encryption Done\");\r\n \r\n objDec.decrypt(enc, dec);\r\n System.out.println(\"Decryption Done\");\r\n \r\n\r\n }\r\n catch(Exception ex)\r\n {\r\n System.out.println(\"Err: \" +ex.getMessage());\r\n }\r\n }",
"private static AlgorithmParameters fileEncryption(File fileToEncrypt, SecretKey symmetricKey, File fileAfterEncrypt)\n\t{\n\t\tCipherOutputStream cipherOutputStream = null;\n\t\tAlgorithmParameters algoParams = null;\n\t\tCipher cipher;\n\n\t\ttry\n\t\t{\n\t\t\tif (inputProviderForFile.equals(\"non\"))\n\t\t\t{\n\t\t\t\tcipher = Cipher.getInstance(inputAlgorithmForFileEncryption + \"/\" + inputAlgorithmMode + \"/\" + inputAlgorithmPadding);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcipher = Cipher.getInstance(inputAlgorithmForFileEncryption + \"/\" + inputAlgorithmMode + \"/\" + inputAlgorithmPadding, inputProviderForFile);\n\t\t\t}\n\t\t\tif (cipher != null && symmetricKey != null)\n\t\t\t{\n\t\t\t\tcipher.init(Cipher.ENCRYPT_MODE, symmetricKey);\n\t\t\t\tcipherOutputStream = new CipherOutputStream(new FileOutputStream(fileAfterEncrypt), cipher);\n\t\t\t\tPath path = Paths.get(fileToEncrypt.getPath());\n\t\t\t\tbyte[] dataFromFile = Files.readAllBytes(path);\n\t\t\t\tcipherOutputStream.write(dataFromFile);\n\t\t\t\talgoParams = cipher.getParameters();\n\t\t\t}\n\t\t} catch (NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException | IOException | NoSuchProviderException e2)\n\t\t{\n\t\t\te2.printStackTrace();\n\t\t} finally\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tif (cipherOutputStream != null)\n\t\t\t\t{\n\t\t\t\t\tcipherOutputStream.flush();\n\t\t\t\t\tcipherOutputStream.close();\n\t\t\t\t}\n\t\t\t} catch (IOException e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\t\treturn algoParams;\n\t}",
"static void encryptECB(String filename, String key) {\n try {\n Scanner s = new Scanner(new File(filename + EXT), \"UTF-8\");\n File newFile = new File(filename + \"_ECB\" + EXT);\n newFile.delete();\n newFile.createNewFile();\n PrintWriter w = new PrintWriter(newFile);\n processHeader(s, w);\n while (s.hasNext()) {\n readBlock(s);\n block = stateToBits(AES.encrypt(bitsToHexString(block), key));\n writeBlock(w);\n }\n w.flush();\n w.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"@Test\n public void testAesEncryptForInputKey() throws Exception {\n byte[] key = Cryptos.generateAesKey();\n String input = \"foo message\";\n\n byte[] encryptResult = Cryptos.aesEncrypt(input.getBytes(\"UTF-8\"), key);\n String descryptResult = Cryptos.aesDecrypt(encryptResult, key);\n\n System.out.println(key);\n System.out.println(descryptResult);\n }",
"public static void encryptFile(File raw, File encryptedFile, String password) throws IOException {\n byte[] b = readBytes(raw);\n String encodedImage = Base64.encodeToString(b, Base64.DEFAULT);\n byte[] encryptedBytes = new RNCryptorNative().encrypt(encodedImage, password);\n writeBytes(encryptedFile, encryptedBytes);\n }",
"public void test() {\n\t\ttry {\n\t\t\tString plainText = \"Sensitive information\";\n\t\t\tint keySize = 128;\n\t\t\t// Generate a key for AES\n\t\t\tKeyGenerator keygenerator = KeyGenerator.getInstance(\"AES\");\n\t\t\tkeygenerator.init(keySize);\n\t\t\tSecretKey key = keygenerator.generateKey();\n\t\t\t// Encrypt the plain text with AES\n\t\t\tCipher aesChipher;\n\t\t\taesChipher = Cipher.getInstance(\"AES\");\n\t\t\taesChipher.init(Cipher.ENCRYPT_MODE, key);\n\t\t\tbyte[] encrypted= aesChipher.doFinal(plainText.getBytes());\n\t\t} catch (NoSuchAlgorithmException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (NoSuchPaddingException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (InvalidKeyException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IllegalBlockSizeException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (BadPaddingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Test\n public void testDesEncrypt() {\n\n }",
"static void encryptCBC(String filename, String key, String IV) {\n try {\n Scanner s = new Scanner(new File(filename + EXT), \"UTF-8\");\n File newFile = new File(filename + \"_CBC\" + EXT);\n newFile.delete();\n newFile.createNewFile();\n PrintWriter w = new PrintWriter(newFile);\n processHeader(s, w);\n cipherBlock = hexStringToBits(IV);\n while (s.hasNext()) {\n readBlock(s);\n block = xor(block, cipherBlock);\n block = stateToBits(AES.encrypt(bitsToHexString(block), key));\n for (int i = 0; i < block.length; i++) {\n cipherBlock[i] = block[i];\n }\n writeBlock(w);\n }\n w.flush();\n w.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"protected void setEncrypted() {\n content = this.aesKey.encrypt(this.content);\n }",
"public void readDataFromFile(View view) throws GeneralSecurityException, IOException {\n encryptedFile = new EncryptedFile.Builder(\n context,\n new File(MainActivity.this.getFilesDir(),\"test.txt\"), // File want to read\n mainKey, // Master key for encryption\n EncryptedFile.FileEncryptionScheme.AES256_GCM_HKDF_4KB) // Algorithm or FileEncryptionScheme for encryption\n .build();\n\n\n InputStream inputStream = encryptedFile.openFileInput(); // Open the encrypted file to read\n int next = inputStream.read(); // Read the encrypted file\n\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); // ByteArrayOutputStream to print the content of file to read\n\n while (next != -1){\n byteArrayOutputStream.write(next); // Write the file content in byteArrayOutputStream object\n next = inputStream.read(); // Read the next character until it encounter the end (-1)\n }\n\n byte[] plainText = byteArrayOutputStream.toByteArray(); // Convert into byte array\n\n String textString = new String(plainText); // Create a new string with converted plain text byte array\n\n textView.setText(textString); // display the file content in textView\n }",
"public String dcryptFile(String filename) {\n\t\tEncryption encryptFile = new Encryption();\r\n\t\tencryptFile\r\n\t\t\t\t.decrypt(directoryPath + filename, directoryPath2 + filename);\r\n\t\tdcryptedFilePath = directoryPath2 + filename;\r\n\t\t\r\n\t\tFileService service=new FileService();\r\n\t\tservice.delete(directoryPath+filename);//deleting old encrypted file from server.\r\n\t\t\r\n\t\treturn dcryptedFilePath;\r\n\t}",
"public boolean encrypt(FileInputStream inputStream, FileOutputStream destinationStream) throws IOException {\r\n\t\tint read;\r\n\t\tCipherInputStream cis = null;\r\n\t\ttry {\r\n\t\t\tCipher encipher = Cipher.getInstance(\"AES\");\r\n\t\t\tencipher.init(Cipher.ENCRYPT_MODE, simmetricKey);\r\n\t\t\tcis = new CipherInputStream(inputStream, encipher);\r\n\t\t\t// Reads until reaches end of file\r\n\t\t\tsynchronized (cis) {\r\n\t\t\t\twhile ((read = cis.read()) != -1) {\r\n\t\t\t\t\tdestinationStream.write((char) read);\r\n\t\t\t\t\t//destinationStream.flush(); it bugs everything,cipher calls it automatic\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (IOException | NoSuchAlgorithmException | NoSuchPaddingException | InvalidKeyException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\tThread.sleep(500);\r\n\t\t\t} catch (InterruptedException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\tif (cis != null) {\r\n\t\t\t\tcis.close();\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public interface IFileCrypter\n{\n\tpublic void encrypt( int pPartNumber , byte[] pData , int pOffset , int pLength );\n\t\n\tpublic void decrypt( int pPartNumber , byte[] pData , int pOffset , int pLength );\n}",
"private static java.io.File a(java.io.File r8, java.lang.String r9, java.lang.String r10) {\n /*\n r0 = 0;\n r1 = 0;\n r2 = r8.getName();\t Catch:{ Exception -> 0x006b, all -> 0x0067 }\n r3 = \".decrypt\";\n r4 = r8.getParentFile();\t Catch:{ Exception -> 0x006b, all -> 0x0067 }\n r2 = java.io.File.createTempFile(r2, r3, r4);\t Catch:{ Exception -> 0x006b, all -> 0x0067 }\n r3 = new javax.crypto.spec.IvParameterSpec;\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r4 = \"UTF-8\";\n r10 = r10.getBytes(r4);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r3.<init>(r10);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r10 = new javax.crypto.spec.SecretKeySpec;\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r4 = \"UTF-8\";\n r9 = r9.getBytes(r4);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r4 = \"AES\";\n r10.<init>(r9, r4);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r9 = \"AES/CBC/PKCS7PADDING\";\n r9 = javax.crypto.Cipher.getInstance(r9);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r4 = 2;\n r9.init(r4, r10, r3);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r10 = new java.io.FileInputStream;\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r10.<init>(r8);\t Catch:{ Exception -> 0x0062, all -> 0x0067 }\n r3 = new javax.crypto.CipherInputStream;\t Catch:{ Exception -> 0x005e, all -> 0x005a }\n r3.<init>(r10, r9);\t Catch:{ Exception -> 0x005e, all -> 0x005a }\n r9 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x0057, all -> 0x0054 }\n r9.<init>(r2);\t Catch:{ Exception -> 0x0057, all -> 0x0054 }\n r4 = 1024; // 0x400 float:1.435E-42 double:5.06E-321;\n r4 = new byte[r4];\t Catch:{ Exception -> 0x0052 }\n L_0x0045:\n r5 = r3.read(r4);\t Catch:{ Exception -> 0x0052 }\n r6 = -1;\n if (r5 == r6) goto L_0x0050;\n L_0x004c:\n r9.write(r4, r0, r5);\t Catch:{ Exception -> 0x0052 }\n goto L_0x0045;\n L_0x0050:\n r0 = 1;\n goto L_0x007e;\n L_0x0052:\n r4 = move-exception;\n goto L_0x0070;\n L_0x0054:\n r8 = move-exception;\n r9 = r1;\n goto L_0x008f;\n L_0x0057:\n r4 = move-exception;\n r9 = r1;\n goto L_0x0070;\n L_0x005a:\n r8 = move-exception;\n r9 = r1;\n r3 = r9;\n goto L_0x008f;\n L_0x005e:\n r4 = move-exception;\n r9 = r1;\n r3 = r9;\n goto L_0x0070;\n L_0x0062:\n r4 = move-exception;\n r9 = r1;\n r10 = r9;\n r3 = r10;\n goto L_0x0070;\n L_0x0067:\n r8 = move-exception;\n r9 = r1;\n r3 = r9;\n goto L_0x0090;\n L_0x006b:\n r4 = move-exception;\n r9 = r1;\n r10 = r9;\n r2 = r10;\n r3 = r2;\n L_0x0070:\n r5 = \"DecryptUtils\";\n r6 = \"decryptByPair decrypt hotfix patch file error\";\n r7 = new java.lang.Object[r0];\t Catch:{ all -> 0x008e }\n com.taobao.sophix.e.d.a(r5, r6, r4, r7);\t Catch:{ all -> 0x008e }\n if (r2 == 0) goto L_0x007e;\n L_0x007b:\n r2.delete();\t Catch:{ all -> 0x008e }\n L_0x007e:\n com.taobao.sophix.e.b.a(r10);\n com.taobao.sophix.e.b.a(r3);\n com.taobao.sophix.e.b.a(r9);\n if (r0 == 0) goto L_0x008d;\n L_0x0089:\n r8.delete();\n return r2;\n L_0x008d:\n return r1;\n L_0x008e:\n r8 = move-exception;\n L_0x008f:\n r1 = r10;\n L_0x0090:\n com.taobao.sophix.e.b.a(r1);\n com.taobao.sophix.e.b.a(r3);\n com.taobao.sophix.e.b.a(r9);\n throw r8;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.taobao.sophix.e.a.a(java.io.File, java.lang.String, java.lang.String):java.io.File\");\n }",
"@org.junit.Test\n public void testCipher() {\n Assert.assertEquals(\"DITISGEHEIM\", Vigenere.cipher(\"DITISGEHEIM\", \"A\", true));\n Assert.assertEquals(\"DITISGEHEIM\", Vigenere.cipher(\"DITISGEHEIM\", \"A\", false));\n\n Assert.assertEquals(\"B\", Vigenere.cipher(\"A\", \"B\", true));\n Assert.assertEquals(\"A\", Vigenere.cipher(\"B\", \"B\", false));\n\n String plain = \"DUCOFIJMA\";\n String key = \"ABC\";\n String shouldEncryptTo = \"DVEOGKJNC\";\n String actualEncrypted = Vigenere.cipher(plain, key, true);\n Assert.assertEquals(shouldEncryptTo, actualEncrypted);\n String decrypted = Vigenere.cipher(shouldEncryptTo, key, false);\n Assert.assertEquals(plain, decrypted);\n }",
"public void encrypt() throws Exception {\n\t\tLogWriter = new BufferedWriter(new FileWriter(localWorkingDirectoryPath + \"\\\\Log_Encryption.txt\"));\n\t\tFileOutputStream configurationFileOutputStream = null;\n\n\t\t// Loading the store with the giving arguments\n\t\twriteToLog(\"Step 1: Loading the store with the giving arguments\");\n\t\tloadStore();\n\n\t\t// Getting the receiver's public-key\n\t\twriteToLog(\"Step 2: Getting the receiver's public-key\");\n\t\tCertificate receiverCert = keyStore.getCertificate(receiverSelfSignedCertAlias);\n\t\tif (receiverCert == null) {\n\t\t\twriteToLog(\"The entered certificate alias: \\\"\" + receiverSelfSignedCertAlias\n\t\t\t\t\t+ \"\\\" dose not exist in the keys store.\");\n\t\t\tLogWriter.close();\n\t\t\tthrow new Exception(\"The entered certificate alias: \\\"\" + receiverSelfSignedCertAlias\n\t\t\t\t\t+ \"\\\" dose not exist in the keys store.\");\n\t\t}\n\t\tPublicKey receiverPublicKey = receiverCert.getPublicKey();\n\n\t\t// Getting my private key in order to generate a signature\n\t\twriteToLog(\"Step 3: Getting the encryptor's private-key\");\n\t\tPrivateKey myPrivateKey = getMyPrivateKey();\n\t\t\n\t\t// Generating a symmetric key\n\t\twriteToLog(\"Step 4: Generating a symmetric key\");\n\t\tKeyGenerator kg = KeyGenerator.getInstance(\"AES\");\n\t\tSecretKey semetricKey = kg.generateKey();\n\n\t\t// Generating a random IV\n\t\twriteToLog(\"Step 5: Generating a random IV\");\n\t\tbyte[] iv = generateRandomIV();\n\n\t\t// Initializing the cipher\n\t\twriteToLog(\"Step 6: Initilatzing the cipher Object\");\n\t\ttry {\n\t\t\tmyCipher = createCipher();\n\t\t\tmyCipher.init(Cipher.ENCRYPT_MODE, semetricKey, new IvParameterSpec(iv));\n\t\t}catch(Exception e) {\n\t\t\twriteToLog(\"Error While tring to Initializing the cipher with the giving arguments: \" + e.getMessage());\n\t\t\tLogWriter.close();\n\t\t\tthrow new Exception(\"Error: While tring to Initializing the cipher with the giving arguments\",e);\n\t\t}\n\t\t\n\n\t\t// Initializing the signature with my private-key\n\t\twriteToLog(\"Step 7: Initilatzing the signature Object with the encryptor's private-key\");\n\t\tSignature dataSigner = Signature.getInstance(\"SHA256withRSA\");\n\t\tdataSigner.initSign(myPrivateKey);\n\n\t\t// Encrypting\n\t\twriteToLog(\"Step 8: Encrypting... \");\n\t\tFile fileToEncrrypt = new File(fileToEncryptPath);\n\t\tencryptingData(fileToEncrrypt, dataSigner);\n\n\t\t// Signing on the encrypted data\n\t\twriteToLog(\"Step 9: Signing on the encrypted data \");\n\t\tbyte[] mySignature = dataSigner.sign();\n\n\t\t// Encrypt the symmetric key with the public of the receiver\n\t\twriteToLog(\"Step 10: Encrypt the symmetric key with the public of the receiver \");\n\t\tbyte[] encryptedSymmetricKey = encryptSymmetricKey(receiverPublicKey, semetricKey);\n\n\t\t// Saving the IV, Encrypted Symmetric-Key and Signature to the configurations file\n\t\twriteToLog(\"Step 11: Saving the IV, Encrypted Semetric-Key and Signature to the configurations file \");\n\t\tsavingToConfigurationsFile(configurationFileOutputStream, iv, encryptedSymmetricKey, mySignature);\n\n\t\tLogWriter.write(\"Encryption completed, No Errors Were Found\");\n\t\tLogWriter.close();\n\t}",
"@Test\n public void testAesEncryptForInputKeyIv() throws Exception {\n//TODO: Test goes here... \n }",
"@Test\n public void testEncryptedODTFile() throws Exception {\n Path p =\n Paths.get(\n ODFParserTest.class.getResource(\n \"/test-documents/testODTEncrypted.odt\").toURI());\n assertThrows(EncryptedDocumentException.class, () -> {\n getRecursiveMetadata(p, false);\n });\n\n List<Metadata> metadataList = getRecursiveMetadata(p, true);\n assertEquals(\"true\", metadataList.get(0).get(TikaCoreProperties.IS_ENCRYPTED));\n }",
"@Test\r\n public void testEncryptDecryptPlaintext() throws SodiumException, CryptoException {\r\n\r\n byte[] data = \"Hola caracola\".getBytes();\r\n byte[] add = \"Random authenticated additional data\".getBytes();\r\n\r\n CryptoService instance = new CryptoService();\r\n Keys keys = instance.createKeys(null);\r\n CryptoDetached result = instance.encryptPlaintext(data, add, keys);\r\n String message = instance.decryptPlaintext(result, add, keys);\r\n assertEquals(message, \"Hola caracola\");\r\n }",
"public String encrypt(String plainText);",
"@Test\n\tpublic void testEncryptDecrypt() {\n\t\tfor (int i = 0; i < CONFIDENCE; ++i) {\n\t\t\tP plain = getRandomPlaintext();\n\t\t\tR rnd = getPK().getRandom(getRand());\n\t\t\tC cipher = getPK().encrypt(plain, rnd);\n\t\t\t\n\t\t\tP plain2 = getSK().decrypt(cipher);\n\t\t\t\n\t\t\tassertTrue(\"Decryption didn't work\", plain.equals(plain2));\n\t\t}\n\t}",
"byte[] encrypt(String plaintext);",
"public EncryptorReturn encrypt(String in) throws CustomizeEncryptorException;",
"public void opentextfile(String path1)\n {\n FileInputStream fin,fin1;\n \tint i,j=0;\n String s=JOptionPane.showInputDialog(this,\"Enter key with 16 letters\");\n char ch[]=new char[s.length()];\n ch=s.toCharArray();\n try\n {\n FileOutputStream f=new FileOutputStream(\"key1.txt\");\n for(i=0;i<ch.length;i++)\n f.write(ch[i]);\n f.close();\n ideaalgo a=new ideaalgo(path1);\n a.procedure();\n a.encrypt();\n BufferedReader d;\n StringBuffer sb=new StringBuffer();\n d=new BufferedReader(new FileReader(path1));\n String line;\n while((line=d.readLine())!=null)\n sb.append(line+\"\\n\");\n ta.setText(sb.toString());\n d.close();\n fin=new FileInputStream(\"enc.txt\");\n do\n \t {\n\t i=fin.read();\n \t if(i!=-1)\n \t\t{\n bytes[j++]=i;\n }\n } while(i!=-1);\n max=j;\n fin.close();\n binarycon();\n }\n catch(Exception e)\n {\n System.out.println(e);\n }\n }",
"private void encryptFile(BufferedReader reader, PrintWriter writer) throws IOException {\n while (reader.ready()) {\n String msg = reader.readLine();\n String encMsg = encryptMsg(msg);\n writer.println(encMsg);\n }\n }",
"public static String encrypt(String seed, String plain) throws Exception {\r\nbyte[] rawKey = getRawKey(seed.getBytes());\r\nbyte[] encrypted = encrypt(rawKey, plain.getBytes());\r\nreturn Base64.encodeToString(encrypted, Base64.DEFAULT);\r\n}",
"@Test\r\n public void testEncryptDecryptPlaintextBadCipher() throws SodiumException, CryptoException {\r\n\r\n byte[] data = \"\".getBytes();\r\n byte[] add = \"Random authenticated additional data\".getBytes();\r\n\r\n CryptoService instance = new CryptoService();\r\n Keys keys = instance.createKeys(null);\r\n CryptoDetached result = instance.encryptPlaintext(data, add, keys);\r\n result.cipher = Base64.getEncoder().encodeToString(\"bad cipher\".getBytes());\r\n\r\n Assertions.assertThrows(SodiumException.class, () -> {\r\n instance.decryptPlaintext(result, add, keys);\r\n });\r\n }",
"public interface CryptoService {\n /**\n * Read encrypted password file.\n *\n * @param file Encrypted file instance.\n * @param password Password to decrypt file.\n *\n * @return file content.\n *\n * */\n String readFile(File file, String password);\n\n /**\n * Write and encrypt content to file.\n *\n * @param file encrypted file location.\n * @param password password which will be used to encrypt file.\n * @param cnt file content.\n * */\n void writeFile(File file, String password, String cnt);\n\n /**\n * Encrypt content\n *\n * @param password password which will be used to encrypt file.\n * @param textToEncrypt text which will be encrypted\n * @return encrypted content\n * */\n String encrypt(String password, String textToEncrypt);\n\n /**\n * Decrypt content\n *\n * @param password password which will be used to encrypt file.\n * @param textToDecrypt text which will be decrypted\n * @return decrypted content\n * */\n String decrypt(String password, String textToDecrypt);\n\n /**\n * Write and encrypt the password database.\n *\n * @param passwordDatabase passwords database which will be saved to encrypted file.\n * */\n void writeFile(PasswordDatabase passwordDatabase) throws JsonConversionException;\n}",
"public static byte[] encryptText(String plainText,SecretKey secKey) throws Exception{\n\r\n Cipher aesCipher = Cipher.getInstance(\"AES\");\r\n\r\n aesCipher.init(Cipher.ENCRYPT_MODE, secKey);\r\n\r\n byte[] byteCipherText = aesCipher.doFinal(plainText.getBytes());\r\n\r\n return byteCipherText;\r\n\r\n}",
"public static void execEnkripsiBulk(List<File> lsFileTemp, String pathZippedFile, String pathTempFileEncryptName, String pathEncryptedSecretKeyFile, SimpleDateFormat sdf, String pemContent) throws Exception{\r\n /*Step 2 : kompresi file*/\r\n// System.out.println(\"Step 2 : kompresi file\");\r\n\r\n //Generate Secret Key untuk setiap file yang dienkripsi\r\n /**\r\n * Kunci acak 16 Digit, dan setiap pengekripsian harus beda\r\n * contoh : A1b2C3D4E5F6G7h8\r\n * */\r\n String secretKey=RandomStringUtils.randomAlphanumeric(16);\r\n System.out.println(\"Generated Secret Key :\"+secretKey);\r\n\r\n File exportedFile;\r\n CompressingUtils compressingUtils = new CompressingUtils();\r\n String outputTmpFileNameZip = pathZippedFile.replace(\".\",\"\")+\"Tmp.zip\";\r\n String outputFileNameZip = pathZippedFile.replace(\".\",\"\")+sdf.format(new Date())+\".zip\";\r\n\r\n compressingUtils = new CompressingUtils();\r\n if(compressingUtils.createZipWithoutPassword(lsFileTemp, outputTmpFileNameZip)){\r\n exportedFile = new File(outputTmpFileNameZip);\r\n }else{\r\n throw new Exception(\"gagal melakukan kompresi file tanpa password\");\r\n }\r\n\r\n\r\n //delete file hasil enkripsi per file yang telah dimasukan ke dalam file kompresi untuk enkripsi tahap gabungan file\r\n for(File file : lsFileTemp){\r\n file.delete();\r\n }\r\n\r\n System.out.println(\"file kompresi berhasil dibuat \"+ outputFileNameZip);\r\n\r\n /*Step 3 : enkripsi file dengan kunci acak */\r\n System.out.println(\"Step 3 : enkripsi file dengan kunci acak\");\r\n\r\n\r\n String fileOutputEcnryptedname = outputFileNameZip;\r\n\r\n File tempFileEncryptName = new File(pathTempFileEncryptName);\r\n try {\r\n CryptoUtils.encrypt(secretKey, exportedFile, tempFileEncryptName);\r\n } catch (CryptoException e) {\r\n throw new Exception(\"Enkripsi file gagal : \" + e.getMessage());\r\n }\r\n\r\n\r\n EncryptionUtils utils = new EncryptionUtils();\r\n PublicKey publicKey = utils.getPublicKeyFromX509(pemContent);\r\n\r\n /*Step 4 : Enkripsi kunci acak dengan public key dari DJP*/\r\n System.out.println(\"Step 4 : enkripsi kunci acak dengan public key dari DJP\");\r\n\r\n String encryptedSecretKey;\r\n try{\r\n encryptedSecretKey = CryptoUtils.encrypt(secretKey, publicKey);\r\n }catch (CryptoException e) {\r\n throw new Exception(\"Enkripsi kunci gagal : \" + e.getMessage());\r\n }\r\n File encryptedSecretKeyFile = new File(pathEncryptedSecretKeyFile);\r\n try {\r\n FileOutputStream outputStream = new FileOutputStream(encryptedSecretKeyFile);\r\n outputStream.write(encryptedSecretKey.getBytes());\r\n outputStream.close();\r\n }catch (FileNotFoundException e){\r\n throw new Exception(\"kunci yang dienkripsi tidak ditemukan : \" + pathEncryptedSecretKeyFile);\r\n } catch (IOException e) {\r\n throw new Exception(\"gagal membentuk kunci enkripsi\");\r\n }\r\n\r\n /*Step 5: Compress data dan key kedalam file zip dan menjadi hasil akhir*/\r\n System.out.println(\"Step 5: Compress enkripsi file dan kunci kedalam file zip\");\r\n\r\n List<File> listFiles = new ArrayList<File>();\r\n listFiles.add(tempFileEncryptName);\r\n listFiles.add(encryptedSecretKeyFile);\r\n\r\n if(listFiles.size() != 2){\r\n for (File file : listFiles) {\r\n file.delete();\r\n }\r\n throw new Exception(\"file enkripsi dan/atau key enkripsi salah satunya tidak ada\");\r\n }\r\n\r\n compressingUtils = new CompressingUtils();\r\n if (compressingUtils.createZip(listFiles, fileOutputEcnryptedname)) {\r\n /*Step 6 : hapus file data dan key, hasil dari step 3 dan 4 */\r\n System.out.println(\"Step 6 : hapus file data dan key, hasil dari step 3 dan 4\");\r\n\r\n for (File file : listFiles) {\r\n file.delete();\r\n }\r\n /*Step 7: hapus file zip, hasil dari step 2 */\r\n System.out.println(\"Step 7: hapus file zip, hasil dari step 2\");\r\n\r\n exportedFile.delete();\r\n }\r\n\r\n System.out.println(\"Proses enkripsi selesai, nama file : \" + fileOutputEcnryptedname);\r\n }",
"public byte[] encrypt(byte[] input, String publicKeyFilePath) throws Exception {\n\t\treturn encrypt(input, getPublicKey(publicKeyFilePath));\n\t}",
"@SuppressWarnings(\"deprecation\")\n @Test\n public void AesBlockStream() throws IOException {\n byte[] originalBytes = \"hello, my name is inigo montoya\".getBytes();\n ByteArrayInputStream inputStream = new ByteArrayInputStream(originalBytes);\n ByteArrayOutputStream outputStream = new ByteArrayOutputStream();\n\n SecureRandom rand = new SecureRandom(entropySeed.getBytes());\n\n PaddedBufferedBlockCipher aesEngine = new PaddedBufferedBlockCipher(new CBCBlockCipher(new AESFastEngine()));\n\n byte[] key = new byte[32];\n byte[] iv = new byte[16];\n\n // note: the IV needs to be VERY unique!\n rand.nextBytes(key); // 256bit key\n rand.nextBytes(iv); // 128bit block size\n\n\n boolean success = CryptoAES.encryptStream(aesEngine, key, iv, inputStream, outputStream, logger);\n\n if (!success) {\n fail(\"crypto was not successful\");\n }\n\n byte[] encryptBytes = outputStream.toByteArray();\n\n inputStream = new ByteArrayInputStream(outputStream.toByteArray());\n outputStream = new ByteArrayOutputStream();\n\n success = CryptoAES.decryptStream(aesEngine, key, iv, inputStream, outputStream, logger);\n\n\n if (!success) {\n fail(\"crypto was not successful\");\n }\n\n byte[] decryptBytes = outputStream.toByteArray();\n\n if (Arrays.equals(originalBytes, encryptBytes)) {\n fail(\"bytes should not be equal\");\n }\n\n if (!Arrays.equals(originalBytes, decryptBytes)) {\n fail(\"bytes not equal\");\n }\n }",
"@Override\n\tpublic void encryptXml(File xmlDocument, File jks, String nazivCert) throws IOException {\n\t\tSecurity.addProvider(new BouncyCastleProvider());\n\t\torg.apache.xml.security.Init.init();\n\n\t\tDocument doc = loadDocument(xmlDocument.getCanonicalPath());\n\t\t// generise tajni kljuc\n\n\t\tSecretKey secretKey = generateDataEncryptionKey();\n\t\t// ucitava sertifikat za kriptovanje tajnog kljuca\n\t\tCertificate cert = readCertificate(jks.getCanonicalPath(), nazivCert);\n\t\t// kriptuje se dokument\n\n\t\tdoc = encrypt(doc, secretKey, cert);\n\t\t// snima se tajni kljuc\n\t\t// snima se dokument\n\t\tsaveDocument(doc, xmlDocument.getCanonicalPath());\n\n\t}",
"@Test\n public void testEncryptedODTStream() throws Exception {\n try (InputStream is = ODFParserTest.class.getResourceAsStream(\n \"/test-documents/testODTEncrypted.odt\")) {\n assertThrows(TikaException.class, () -> {\n getRecursiveMetadata(is, false);\n });\n }\n }",
"public void testCaesar(){\n String msg = \"At noon be in the conference room with your hat on for a surprise party. YELL LOUD!\";\n \n /*String encrypted = encrypt(msg, key);\n System.out.println(\"encrypted \" +encrypted);\n \n String decrypted = encrypt(encrypted, 26-key);\n System.out.println(\"decrypted \" + decrypted);*/\n \n \n String encrypted = encrypt(msg, 15);\n System.out.println(\"encrypted \" +encrypted);\n \n }",
"public void jiemi(String pathin, String pathout) {\n\t\ttry {\n\t\t\tRuntime.getRuntime().exec(new String[]{\"openssl\",\"enc\", \"-d\",\"-aes-128-cbc\", \"-in\",pathin,\"-out\",pathout,\"-k\",\"123abc\"});\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.println(\"-------------------jiemi end------------------------\");\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"@Test\r\n public void testEncryptDecryptPlaintextBadKey() throws SodiumException, CryptoException {\r\n\r\n byte[] data = \"\".getBytes();\r\n byte[] add = \"Random authenticated additional data\".getBytes();\r\n\r\n CryptoService instance = new CryptoService();\r\n Keys keys = instance.createKeys(null);\r\n CryptoDetached result = instance.encryptPlaintext(data, add, keys);\r\n Keys keys1 = instance.createKeys(null);\r\n String message = instance.decryptPlaintext(result, add, keys);\r\n Assertions.assertThrows(SodiumException.class, new Executable() {\r\n @Override\r\n public void execute() throws Throwable {\r\n instance.decryptPlaintext(result, add, keys1);\r\n }\r\n });\r\n }",
"public void testGetFileBytesIteratorSuccess() throws Exception {\r\n assertNotNull(\"setup fails\", filePersistence);\r\n String writeString = \"Hello World\";\r\n String fileCreationId = filePersistence.createFile(VALID_FILELOCATION, FILENAME);\r\n filePersistence.appendBytes(fileCreationId, writeString.getBytes());\r\n filePersistence.closeFile(fileCreationId);\r\n assertTrue(\"the file should exist\", new File(VALID_FILELOCATION, FILENAME).exists());\r\n BytesIterator bytesIterator = filePersistence.getFileBytesIterator(VALID_FILELOCATION, FILENAME);\r\n assertTrue(\"as already append bytes to it, hasNextBytes method should return true\", bytesIterator\r\n .hasNextBytes());\r\n bytesIterator.dispose();\r\n filePersistence.deleteFile(VALID_FILELOCATION, FILENAME);\r\n\r\n }",
"@SuppressWarnings(\"deprecation\")\n @Test\n public void AesWithIVBlockStream() throws IOException {\n byte[] originalBytes = \"hello, my name is inigo montoya\".getBytes();\n ByteArrayInputStream inputStream = new ByteArrayInputStream(originalBytes);\n ByteArrayOutputStream outputStream = new ByteArrayOutputStream();\n\n SecureRandom rand = new SecureRandom(entropySeed.getBytes());\n\n PaddedBufferedBlockCipher aesEngine = new PaddedBufferedBlockCipher(new CBCBlockCipher(new AESFastEngine()));\n\n byte[] key = new byte[32];\n byte[] iv = new byte[16];\n\n // note: the IV needs to be VERY unique!\n rand.nextBytes(key); // 256bit key\n rand.nextBytes(iv); // 128bit block size\n\n\n boolean success = CryptoAES.encryptStreamWithIV(aesEngine, key, iv, inputStream, outputStream, logger);\n\n if (!success) {\n fail(\"crypto was not successful\");\n }\n\n byte[] encryptBytes = outputStream.toByteArray();\n\n inputStream = new ByteArrayInputStream(outputStream.toByteArray());\n outputStream = new ByteArrayOutputStream();\n\n success = CryptoAES.decryptStreamWithIV(aesEngine, key, inputStream, outputStream, logger);\n\n\n if (!success) {\n fail(\"crypto was not successful\");\n }\n\n byte[] decryptBytes = outputStream.toByteArray();\n\n if (Arrays.equals(originalBytes, encryptBytes)) {\n fail(\"bytes should not be equal\");\n }\n\n if (!Arrays.equals(originalBytes, decryptBytes)) {\n fail(\"bytes not equal\");\n }\n }",
"private boolean replaceSecretWith(String user, String newSecret) {\n\n//\nSystem.out.println();\t\nSystem.out.println();\t\nSystem.out.println();\t\tSystem.out.println(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\");\nSystem.out.println(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\");\nSystem.out.println(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\");\n\t\tSystem.out.println(\"WRITING TO FILE\");\n\t\tSystem.out.println(\"encryptedSecret = \"+newSecret);\n\t\tSystem.out.println(\"-------------------\");\n\t\tSystem.out.println(\"encryptedSecret in bytes:\");\t\t\n\t\tComMethods.charByChar(newSecret.getBytes(), true);\nSystem.out.println(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\");\nSystem.out.println(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\");\nSystem.out.println(\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\");\nSystem.out.println();\nSystem.out.println();\nSystem.out.println();\n//\n\t\ttry {\n\t\t\tFile oldFile = new File(secretsfn);\n\n\t\t\tif (!oldFile.isFile()) {\n\t\t\t\tSystem.out.println(\"ERROR ~~ \"+secretsfn+\" is not the name of an existing file.\");\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\t// Build up new secrets file in a temp file, will rename later\n\t\t\tFile newFile = File.createTempFile(\"secretstmp\", \"\");\n\t\t\n\t\t\tBufferedReader br = new BufferedReader(new FileReader(oldFile));\n\t\t\tBufferedWriter bw = new BufferedWriter(new FileWriter(newFile));\n\n//\n\t\t\tSystem.out.println(\"User is \"+user+\".\");\n//\n\t\t\tString l;\n\t\t\twhile (null != (l = br.readLine())) {\n\t\t\t\tbw.write(String.format(\"%s%n\", l));\n//\n\t\t\t\tSystem.out.println(\"Wrote line \"+l+\" to newFile.\");\n//\n\t\t\t\tif (l.equals(user)) {\n\t\t\t\t\tl = br.readLine();\n\t\t\t\t\tbw.write(String.format(\"%s%n\", newSecret));\n//\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(\"Condition Triggered: l.equals(user).\");\n\t\t\t\t\tSystem.out.println(\"Wrote \"+newSecret+\" to newFile.\");\n//\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tbw.close();\n\n\t\t\t// Delete original file\n\t\t\tif (!oldFile.delete()) {\n\t\t\t\tSystem.out.println(\"Could not delete file.\");\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\t// Rename temp file to name of original file\n\t\t\tif (!newFile.renameTo(oldFile)) {\n\t\t\t\t// Still a success, but change filename temporarily\n\t\t\t\tSystem.out.println(\"WARNING ~ Could not rename file.\");\n\t\t\t\tSystem.out.println(\"WARNING ~ Secret file temporarily named: \\\"\"+newFile.getName()+\"\\\".\");\n\t\t\t\tsecretsfn = newFile.getName(); \n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn true;\n\t}",
"@Override\n public void testEncryptionOverRename() throws Throwable {\n S3AFileSystem fs = getFileSystem();\n Path path = path(getMethodName() + \"find-encryption-algo\");\n ContractTestUtils.touch(fs, path);\n String sseAlgorithm = fs.getObjectMetadata(path).getSSEAlgorithm();\n if(StringUtils.isBlank(sseAlgorithm) ||\n !sseAlgorithm.equals(AWS_KMS_SSE_ALGORITHM)) {\n skip(\"Test bucket is not configured with \" + AWS_KMS_SSE_ALGORITHM);\n }\n super.testEncryptionOverRename();\n }",
"public synchronized void encryptText() {\n setSalt(ContentCrypto.generateSalt());\n try {\n mText = ContentCrypto.encrypt(mText, getSalt(), Passphrase.INSTANCE.getPassPhrase().toCharArray());\n } catch (Exception e) {\n e.printStackTrace();\n }\n\n }",
"@Override\r\n public void encryptPdf(String src, String dest) throws IOException, DocumentException {\n\r\n }",
"public static void decrypt() throws IOException{\n\t\tBufferedInputStream in = new BufferedInputStream(new FileInputStream(inFilename));\n\t\tBufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(outFilename));\n\n\t\tbyte[] key; //holds the encryption key\n\n\t\t//get the file length\n\t\tlong fileLength = (new File(inFilename)).length();\n\n\t\t//check the file header marker\n\t\tbyte[] actualHeader = new byte[FILE_HEADER.length];\n\t\tin.read(actualHeader); //read header from the file\n\t\tif (!Arrays.equals(actualHeader, FILE_HEADER)){\n\t\t\tSystem.out.println(\"The file was not encrypted with this program.\");\n\t\t\tSystem.exit(-1); //-1 is an error code\n\t\t}\n\n\t\t/* STAGE 1 - generate decryption key */\n\t\t//read the #padded bits and random salt from the file\n\t\tbyte[] dataFromFile = new byte[129]; //1 byte for #padded bits + 128 bytes for salt\n\t\tin.read(dataFromFile);\n\t\t//separate the #padded bits for use later\n\t\tint numPad = (int)(dataFromFile[0]);\n\t\t//next, generate the message for CubeHash: (password + dataFromFile)\n\t\tbyte[] message = new byte[password.length + dataFromFile.length];\n\t\tSystem.arraycopy(password, 0, message, 0, password.length); //add the password\n\t\tSystem.arraycopy(dataFromFile, 0, message, password.length, dataFromFile.length); //add dataFromFile\n\t\t//finally, (re)generate the encryption key\n\t\tkey = CryptoLib.CubeHash.doCubeHash(message);\n\n\t\t/* STAGE 2 - apply decryption */\n\t\tint currPiece = 0; //keeps track of which piece of the key is being used\n\t\tbyte[] currData = new byte[8]; //holds the data currently being decrypted\n\n\t\t//split the key into 4 pieces of 128 bits each\n\t\tbyte[][] keyPieces = new byte[4][16];\n\t\tfor (int i = 0; i < 4; i++){\n\t\t\tSystem.arraycopy(key, i*16, keyPieces[i], 0, 16);\n\t\t}\n\n\t\t//loop through the rest of the file (except the last block), 8 bytes at a time\n\t\tfor (long i = FILE_HEADER.length + 129; i < fileLength - 8; i += 8){\n\t\t\t//put a chunk of data in currData\n\t\t\tin.read(currData);\n\n\t\t\t//do RC4(key, unTEA(key, data)), then write to file\n\t\t\tout.write(CryptoLib.RC4.doRC4(keyPieces[currPiece],\n\t\t\t\t\t\tCryptoLib.TEA.doUnTEA(keyPieces[currPiece], currData)));\n\n\t\t\t//increment currPiece\n\t\t\tcurrPiece = (currPiece + 1) % 4;\n\t\t}\n\n\t\t//deal with the last chunk of data:\n\t\t//first, read it..\n\t\tin.read(currData);\n\t\t//..decrypt it..\n\t\tcurrData = CryptoLib.RC4.doRC4(keyPieces[currPiece],\n\t\t\t\tCryptoLib.TEA.doUnTEA(keyPieces[currPiece], currData));\n\t\t//..then write it to the file\n\t\tout.write(currData, 0, (8 - numPad));\n\n\t\t/* STAGE 3 - done! */\n\t\tin.close();\n\t\tout.close();\n\t\tSystem.out.println(\"\\nDecryption complete.\");\n\t}",
"private native void dll_encrypt(String path_in, String path_out, byte[] npub, byte[] key, int alg);",
"public static String encryptSave(String toSave){\r\n\t\tbyte[] checksum = null;\r\n\t\ttry{\r\n\t\t\tMessageDigest md = MessageDigest.getInstance(\"SHA-256\");\r\n\t\t\tchecksum = md.digest(toSave.getBytes());\t//maybe something other than getBytes()?\r\n\t\t\tStringBuilder sb = new StringBuilder(\"\");\r\n\t\t\tfor(int j = 0; j < checksum.length; j++){\r\n\t\t\t\tsb.append(Integer.toString((checksum[j] & 0xff) + 0x100, 16).substring(1)); \r\n\t\t\t}\r\n\t\t\ttoSave = toSave + sb.toString();\r\n\t\t}catch(NoSuchAlgorithmException nsae){\r\n\t\t\tSystem.out.println(\"ERROR: Could not encrypt save file\");\r\n\t\t\tSystem.exit(0);\r\n\t\t}\r\n\t\treturn toSave;\r\n\t}",
"public AES(String filePath, boolean isShred)\r\n throws UnsupportedEncodingException, NoSuchAlgorithmException, Exception\r\n {\r\n AES.filePath = filePath;\r\n AES.isShred = isShred;\r\n SecureRandom rand = new SecureRandom(SecureRandom.getSeed((int)System.currentTimeMillis()));\r\n key = keyGen(hash(String.valueOf(rand.nextLong())));\r\n }",
"public static void encryptBytes() {\r\n\t\tBigInteger[] rArray = new BigInteger[1000000];\r\n\t\ttry {\r\n\t\t\tURL url = Encrypt.class.getResource(\"PrimeBank.txt\");\r\n\t\t\tBufferedReader reader = new BufferedReader(new FileReader(\r\n\t\t\t\t\turl.getPath()));\r\n\t\t\tString line = null;\r\n\t\t\tfor(int i = 0; i < rArray.length; i++) {\r\n\t\t\t\tline = reader.readLine();\r\n\t\t\t\trArray[i] = new BigInteger((String) line);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\tprime = rArray;\r\n\t\t\t\r\n\t\t} catch (Exception ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t\tSystem.out.println(\"Probably no file found?\");\r\n\t\t\t\r\n\t\t} \r\n\t}",
"public static void main(String[] args){\n\n String mode = \"enc\";\n String data = \"\";\n String out = \"\";\n String path;\n String alg = \"unicode\";\n int key = 0;\n\n try {\n for (int i = 0; i < args.length; i++) {\n if (args[i].equals(\"-data\") || args[i].equals(\"-in\")) {\n data = args[i + 1];\n }\n if (args[i].equals(\"-mode\")) {\n mode = args[i + 1];\n }\n if (args[i].equals(\"-key\")) {\n key = Integer.parseInt(args[i + 1]);\n }\n if (args[i].equals(\"-out\")) {\n out = args[i + 1];\n }\n if (args[i].equals(\"-alg\")) {\n alg = args[i + 1];\n }\n }\n } catch (ArrayIndexOutOfBoundsException e) {\n System.out.println(\"Missing option\");\n }\n\n File file = new File(data);\n\n if (file.exists() && !file.isDirectory()) {\n path = data;\n\n switch (mode){\n case \"enc\":\n EncryptionContext encryptionContext = new EncryptionContext();\n if(alg.equals(\"shift\")) {\n encryptionContext.setMethod(new ShiftEncryptionMethod());\n } else {\n encryptionContext.setMethod(new UnicodeTableEncryptionMethod());\n }\n data = encryptionContext.encryptFromFile(path, key);\n break;\n\n case \"dec\":\n DecryptionContext decryptionContext = new DecryptionContext();\n if(alg.equals(\"shift\")) {\n decryptionContext.setMethod(new ShiftDecryptionMethod());\n } else {\n decryptionContext.setMethod(new UnicodeTableDecryptionMethod());\n }\n data = decryptionContext.decryptFromFile(path,key);\n break;\n }\n\n } else {\n switch (mode){\n case \"enc\":\n EncryptionContext encryptionContext = new EncryptionContext();\n if(alg.equals(\"shift\")) {\n encryptionContext.setMethod(new ShiftEncryptionMethod());\n } else {\n encryptionContext.setMethod(new UnicodeTableEncryptionMethod());\n }\n data = encryptionContext.encrypt(key, data);\n break;\n\n case \"dec\":\n DecryptionContext decryptionContext = new DecryptionContext();\n if(alg.equals(\"shift\")) {\n decryptionContext.setMethod(new ShiftDecryptionMethod());\n } else {\n decryptionContext.setMethod(new UnicodeTableDecryptionMethod());\n }\n data = decryptionContext.decrypt(key, data);\n break;\n }\n }\n\n if (out.isEmpty()) {\n System.out.println(data);\n } else {\n writeIntoFile(out, data);\n }\n\n }",
"@Override\n\tpublic boolean isNeedEncrypt() {\n\t\treturn false;\n\t}",
"@SuppressWarnings(\"deprecation\")\n @Test\n public void AesBlock() throws IOException {\n byte[] bytes = \"hello, my name is inigo montoya\".getBytes();\n\n SecureRandom rand = new SecureRandom(entropySeed.getBytes());\n\n PaddedBufferedBlockCipher aesEngine = new PaddedBufferedBlockCipher(new CBCBlockCipher(new AESFastEngine()));\n\n byte[] key = new byte[32];\n byte[] iv = new byte[16];\n\n // note: the IV needs to be VERY unique!\n rand.nextBytes(key); // 256bit key\n rand.nextBytes(iv); // 16bit block size\n\n\n byte[] encryptAES = CryptoAES.encrypt(aesEngine, key, iv, bytes, logger);\n byte[] decryptAES = CryptoAES.decrypt(aesEngine, key, iv, encryptAES, logger);\n\n if (Arrays.equals(bytes, encryptAES)) {\n fail(\"bytes should not be equal\");\n }\n\n if (!Arrays.equals(bytes, decryptAES)) {\n fail(\"bytes not equal\");\n }\n }",
"@Test\n public void testEncryptPassword() {\n String pass1 = user2.getPassword();\n user2.encryptPassword();\n String pass2 = user2.getPassword();\n if (pass1.equals(pass2))\n fail(\"Password encryption failed\");\n }",
"public String encrypt(String text) {\n return content.encrypt(text);\n }",
"public void test() {\n\t\t// super.onCreate(savedInstanceState);\n\t\t// setContentView(R.layout.main);\n\t\tString masterPassword = \"abcdefghijklmn\";\n\t\tString originalText = \"i see qinhubao eat milk!\";\n\t\tbyte[] text = new byte[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };\n\t\tbyte[] password = new byte[] { 'a' };\n\t\ttry {\n\t\t\tString encryptingCode = encrypt(masterPassword, originalText);\n\t\t\t// System.out.println(\"加密结果为 \" + encryptingCode);\n\t\t\tLog.i(\"加密结果为 \", encryptingCode);\n\t\t\tString decryptingCode = decrypt(masterPassword, encryptingCode);\n\t\t\tSystem.out.println(\"解密结果为 \" + decryptingCode);\n\t\t\tLog.i(\"解密结果\", decryptingCode);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"String encryptString(String toEncrypt) throws NoUserSelectedException;",
"public String encrypt(String input) throws Throwable {\n\n byte[] inputByteArray = input.getBytes();\n String keyString = \"\";\n\n // reading the public key\n BufferedReader reader = null;\n try {\n reader = new BufferedReader(\n new InputStreamReader(context.getAssets().open(\"Put your public key in assets and Enter its name here\"), \"UTF-8\"));\n String line;\n while ((line = reader.readLine()) != null) {\n keyString += line;\n }\n reader.close();\n }catch (IOException e){\n Toast.makeText(context, \"Couldn't create file reader\", Toast.LENGTH_SHORT).show();\n }\n\n // fetching the key from public key\n keyString = keyString.replaceAll(NEW_LINE_CHARACTER, EMPTY_STRING)\n .replaceAll(PUBLIC_KEY_START_KEY_STRING, EMPTY_STRING)\n .replaceAll(PUBLIC_KEY_END_KEY_STRING, EMPTY_STRING);\n\n byte[] publicKey = keyString.getBytes();\n\n Key generatePublic = KeyFactory.getInstance(\"RSA\").\n generatePublic(new X509EncodedKeySpec(Base64.getDecoder().decode(publicKey)));\n\n // create RSA Cipher instance\n Cipher cipherInstance = Cipher.getInstance(\"RSA/None/PKCS1Padding\");\n cipherInstance.init(Cipher.ENCRYPT_MODE, generatePublic);\n\n // encrypt string\n byte[] encryptedByteArray = cipherInstance.doFinal(inputByteArray);\n return Base64.getEncoder().encodeToString(encryptedByteArray);\n }",
"String encrypt(String input) throws IllegalArgumentException, EncryptionException;",
"public void testAppendBytesSuccess() throws Exception {\r\n assertNotNull(\"setup fails\", filePersistence);\r\n String writeString = \"Hello World\";\r\n String fileCreationId = filePersistence.createFile(VALID_FILELOCATION, FILENAME);\r\n filePersistence.appendBytes(fileCreationId, writeString.getBytes());\r\n filePersistence.closeFile(fileCreationId);\r\n File file = new File(VALID_FILELOCATION, FILENAME);\r\n assertTrue(\"the file should exist\", file.exists());\r\n assertEquals(\"the current file size not correct\", file.length(), writeString.getBytes().length);\r\n filePersistence.deleteFile(VALID_FILELOCATION, FILENAME);\r\n }",
"byte[] encrypt(final byte[] dataToEncrypt) throws RegBaseCheckedException;",
"public void desencriptarArchivo (String rutaEncriptado, String key, String ruta) throws Exception{\n \n FileInputStream fileInputStream = null;\n File file = new File(rutaEncriptado);\n byte[] archivoEnBytes = new byte[(int) file.length()];\n fileInputStream = new FileInputStream(file);\n fileInputStream.read(archivoEnBytes);\n \n // Llamada a libreria de encriptacion\n byte[] decrypted = decrypt(archivoEnBytes,key);\n \n try {\n // Generacion del archivo desencriptado\n Path archivo = Paths.get(ruta);\n Files.write(archivo, decrypted);\n } catch (IOException e) {\n e.printStackTrace();\n } \n \n }",
"PBEncryptStorage encrypt(String inputString, String password, byte[] salt);",
"public void createTestFileWithKey() {\n\t\tList<String> lines = Arrays.asList(TEST_PROP_KEY + \"=\" + TEST_PROP_VALUE);\n\t\tPath file = Paths.get(TEST_FILE_NAME);\n\t\ttry {\n\t\t\tFiles.write(file, lines, Charset.forName(\"UTF-8\"));\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public CryptoThread(File file,SecretKeySpec skeySpec) {\r\n\t\tthis.simmetricKey = skeySpec;\r\n\t\tthis.fileToEncrypt = file;\r\n\t\tif (fileToEncrypt!= null) {\r\n\t\t\tthis.start();\r\n\t\t}\r\n\t}",
"@Test\r\n public void testEncryptDecryptPlaintextBadTag() throws SodiumException, CryptoException {\r\n\r\n byte[] data = \"\".getBytes();\r\n byte[] add = \"Random authenticated additional data\".getBytes();\r\n\r\n CryptoService instance = new CryptoService();\r\n Keys keys = instance.createKeys(null);\r\n CryptoDetached result = instance.encryptPlaintext(data, add, keys);\r\n result.tag = Base64.getEncoder().encodeToString(\"bad tag\".getBytes());\r\n Assertions.assertThrows(SodiumException.class, () -> {\r\n instance.decryptPlaintext(result, add, keys);\r\n });\r\n }",
"void encrypt()\n {\n try\n {\n size=fin.available();\n p=size%8;\n if(p!=0)\n np=8-p;\n size+=np;\n if(p==0)\n nl=size/8;\n else\n nl=size/8+1;\n buf=new byte[8];\n buf1=new byte[size+10];\n fin.read(buf1);\n int enc[]=new int[size];\n mark=-8;\n k2=0;\n for(k=0;k<nl;k++)\n {\n mark+=8;\n for(int k1=0;k1<8;k1++)\n buf[k1]=buf1[mark+k1];\n i=0;\n\t for(i=0;i<4;i++)\n x[i]=0;\n\t j1=0;i1=0;\n while( i1<=3)\n {\n\t if((j1+1)%2==0)\n\t {\n\t x[i1]|=buf[j1]; // dividing 64 bit cipher block into four 16 bit registers\n\t i1++;\n\t\t }\n\t else\n {\n\t x[i1]=buf[j1];\n\t x[i1]<<=8;\n }\n j1++;\n\t }\n // 7 rounds and 14 steps\n for(i=0 ; i <48 ; )\n {\n step1=mul(x[0],z[i+0]);\n step2=(x[1]+z[i+1])%65536;\n step3=(x[2]+z[i+2])%65536;\n step4=mul(x[3],z[i+3]);\n step5=step1^step3;\n step6=step2^step4;\n step7=mul(step5,z[i+4]);\n step8=(step6+step7)%65536;\n step9=mul(step8,z[i+5]);\n step10=(step7+step9)%65536;\n step11=step1^step9;\n step12=step3^step9;\n step13=step2^step10;\n step14=step4^step10;\n x[0]=step11;\n x[1]=step13;\n x[2]=step12;\n x[3]=step14;\n i=i+6;\n }\n x[0]=mul(x[0],z[48]);\n x[1]=(x[1]+z[49])%65536;\n x[2]=(x[2]+z[50])%65536;\n x[3]=mul(x[3],z[51]);\n for(int t=0;t<4;t++)\n {\n ft1 =x[t]&255;\n ft=x[t]>>8;\n fenc.write((char)ft);\n fenc.write((char)ft1);\n }\n}\nfin.close();\n }\n catch(Exception e)\n {\n System.out.println(e);\n }\n}",
"@Test\n public void testAesDecryptForInputKey() throws Exception {\n//TODO: Test goes here... \n }",
"@Test\r\n public void testEncryptDecryptPlaintextBadAdd() throws SodiumException, CryptoException {\r\n\r\n byte[] data = \"\".getBytes();\r\n byte[] add = \"Random authenticated additional data\".getBytes();\r\n\r\n CryptoService instance = new CryptoService();\r\n Keys keys = instance.createKeys(null);\r\n CryptoDetached result = instance.encryptPlaintext(data, add, keys);\r\n byte[] add1 = \"bad add\".getBytes();\r\n Assertions.assertThrows(SodiumException.class, () -> {\r\n instance.decryptPlaintext(result, add1, keys);\r\n });\r\n }",
"public String encrypt() throws LRException\n\t{\n\t\treturn LUEncrypt.encrypt(getFields(),\n\t\t\t((DataHRecordData)getData()).encryptKey.getStringValue());\n\t}"
]
| [
"0.7537755",
"0.71297807",
"0.70688665",
"0.69567525",
"0.6907073",
"0.68282515",
"0.6602245",
"0.65566707",
"0.65251505",
"0.6517884",
"0.6517469",
"0.65136325",
"0.64603865",
"0.64576304",
"0.6421841",
"0.6303511",
"0.6276945",
"0.6255417",
"0.62163615",
"0.61460793",
"0.61069375",
"0.609625",
"0.6093753",
"0.6068507",
"0.60645974",
"0.60518706",
"0.6050612",
"0.6029222",
"0.5989916",
"0.5987446",
"0.5986631",
"0.59673315",
"0.59488964",
"0.5915051",
"0.5911567",
"0.5911522",
"0.5881965",
"0.5850254",
"0.58399755",
"0.58355343",
"0.5835118",
"0.58044475",
"0.57948595",
"0.57940745",
"0.5787549",
"0.578659",
"0.5783938",
"0.57822293",
"0.57800305",
"0.57635975",
"0.5746145",
"0.57259464",
"0.57207453",
"0.57189006",
"0.56956553",
"0.5678291",
"0.56594706",
"0.5654651",
"0.5638999",
"0.5624411",
"0.5614097",
"0.5602916",
"0.5594522",
"0.55765766",
"0.5574034",
"0.5566109",
"0.5551674",
"0.55383635",
"0.5500831",
"0.54922605",
"0.54865384",
"0.546447",
"0.54610765",
"0.5458461",
"0.5445705",
"0.54339343",
"0.54165137",
"0.5413135",
"0.5412233",
"0.541164",
"0.540124",
"0.5387895",
"0.5387361",
"0.5382863",
"0.53707224",
"0.53499043",
"0.5333689",
"0.5322396",
"0.5321687",
"0.5321258",
"0.53165346",
"0.5315091",
"0.5314017",
"0.53119403",
"0.5307883",
"0.5306714",
"0.5289234",
"0.52856934",
"0.52756184",
"0.5272261"
]
| 0.54681826 | 71 |
/ renamed from: com.clevertap.android.sdk.a1$a / compiled from: GifDecoder | interface C3069a {
@C0193h0
/* renamed from: a */
Bitmap mo12204a(int i, int i2, Config config);
/* renamed from: a */
void mo12205a(Bitmap bitmap);
/* renamed from: a */
void mo12206a(byte[] bArr);
/* renamed from: a */
void mo12207a(int[] iArr);
/* renamed from: a */
int[] mo12208a(int i);
/* renamed from: b */
byte[] mo12209b(int i);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public GIFMaker to(String path);",
"private void decodeImageData() throws IOException {\n\t\t\tfinal int nullCode = -1;\n\t\t\tfinal int npix = getMetadata().getIw() * getMetadata().getIh();\n\n\t\t\tbyte[] pixels = getMetadata().getPixels();\n\n\t\t\tif (pixels == null || pixels.length < npix) pixels = new byte[npix];\n\n\t\t\tshort[] prefix = getMetadata().getPrefix();\n\t\t\tbyte[] suffix = getMetadata().getSuffix();\n\t\t\tbyte[] pixelStack = getMetadata().getPixelStack();\n\n\t\t\tif (prefix == null) prefix = new short[MAX_STACK_SIZE];\n\t\t\tif (suffix == null) suffix = new byte[MAX_STACK_SIZE];\n\t\t\tif (pixelStack == null) pixelStack = new byte[MAX_STACK_SIZE + 1];\n\n\t\t\tgetMetadata().setPrefix(prefix);\n\t\t\tgetMetadata().setSuffix(suffix);\n\t\t\tgetMetadata().setPixelStack(pixelStack);\n\n\t\t\t// initialize GIF data stream decoder\n\n\t\t\tfinal int read = getSource().read();\n\t\t\tfinal int dataSize = read & 0xff;\n\n\t\t\tfinal int clear = 1 << dataSize;\n\t\t\tfinal int eoi = clear + 1;\n\t\t\tint available = clear + 2;\n\t\t\tint oldCode = nullCode;\n\t\t\tint codeSize = dataSize + 1;\n\t\t\tint codeMask = (1 << codeSize) - 1;\n\t\t\tint code = 0, inCode = 0;\n\t\t\tfor (code = 0; code < clear; code++) {\n\t\t\t\tprefix[code] = 0;\n\t\t\t\tsuffix[code] = (byte) code;\n\t\t\t}\n\n\t\t\t// decode GIF pixel stream\n\n\t\t\tint datum = 0, first = 0, top = 0, pi = 0, bi = 0, bits = 0, count = 0;\n\t\t\tint i = 0;\n\n\t\t\tfor (i = 0; i < npix;) {\n\t\t\t\tif (top == 0) {\n\t\t\t\t\tif (bits < codeSize) {\n\t\t\t\t\t\tif (count == 0) {\n\t\t\t\t\t\t\tcount = readBlock();\n\t\t\t\t\t\t\tif (count <= 0) break;\n\t\t\t\t\t\t\tbi = 0;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdatum += (getMetadata().getdBlock()[bi] & 0xff) << bits;\n\t\t\t\t\t\tbits += 8;\n\t\t\t\t\t\tbi++;\n\t\t\t\t\t\tcount--;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t// get the next code\n\t\t\t\t\tcode = datum & codeMask;\n\t\t\t\t\tdatum >>= codeSize;\n\t\t\t\t\tbits -= codeSize;\n\n\t\t\t\t\t// interpret the code\n\n\t\t\t\t\tif ((code > available) || (code == eoi)) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tif (code == clear) {\n\t\t\t\t\t\t// reset the decoder\n\t\t\t\t\t\tcodeSize = dataSize + 1;\n\t\t\t\t\t\tcodeMask = (1 << codeSize) - 1;\n\t\t\t\t\t\tavailable = clear + 2;\n\t\t\t\t\t\toldCode = nullCode;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (oldCode == nullCode) {\n\t\t\t\t\t\tpixelStack[top++] = suffix[code];\n\t\t\t\t\t\toldCode = code;\n\t\t\t\t\t\tfirst = code;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tinCode = code;\n\t\t\t\t\tif (code == available) {\n\t\t\t\t\t\tpixelStack[top++] = (byte) first;\n\t\t\t\t\t\tcode = oldCode;\n\t\t\t\t\t}\n\n\t\t\t\t\twhile (code > clear) {\n\t\t\t\t\t\tpixelStack[top++] = suffix[code];\n\t\t\t\t\t\tcode = prefix[code];\n\t\t\t\t\t}\n\t\t\t\t\tfirst = suffix[code] & 0xff;\n\n\t\t\t\t\tif (available >= MAX_STACK_SIZE) break;\n\t\t\t\t\tpixelStack[top++] = (byte) first;\n\t\t\t\t\tprefix[available] = (short) oldCode;\n\t\t\t\t\tsuffix[available] = (byte) first;\n\t\t\t\t\tavailable++;\n\n\t\t\t\t\tif (((available & codeMask) == 0) && (available < MAX_STACK_SIZE)) {\n\t\t\t\t\t\tcodeSize++;\n\t\t\t\t\t\tcodeMask += available;\n\t\t\t\t\t}\n\t\t\t\t\toldCode = inCode;\n\t\t\t\t}\n\t\t\t\ttop--;\n\t\t\t\tpixels[pi++] = pixelStack[top];\n\t\t\t\ti++;\n\t\t\t}\n\n\t\t\tfor (i = pi; i < npix; i++)\n\t\t\t\tpixels[i] = 0;\n\t\t\tgetMetadata().setPixels(pixels);\n\t\t\tsetPixels();\n\t\t}",
"public interface C2368d {\n\n /* renamed from: com.google.android.exoplayer2.upstream.d$a */\n public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }\n\n /* renamed from: a */\n int mo1684a(byte[] bArr, int i, int i2);\n\n /* renamed from: a */\n long mo1685a(C2369e c2369e);\n\n /* renamed from: a */\n Uri mo1686a();\n\n /* renamed from: b */\n void mo1687b();\n}",
"public GifDrawable(byte[] bytes) throws IOException {\n if (bytes == null)\n throw new NullPointerException(\"Source is null\");\n mGifInfoPtr = openByteArray(mMetaData, bytes);\n mColors = new int[mMetaData[0] * mMetaData[1]];\n mInputSourceLength = bytes.length;\n }",
"private android.graphics.Bitmap m6555f() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r5 = this;\n r0 = r5.getWidth();\n r1 = r5.getHeight();\n r2 = m6543a(r0, r1);\t Catch:{ OutOfMemoryError -> 0x000d }\n return r2;\n L_0x000d:\n r2 = \"ShimmerFrameLayout failed to create working bitmap\";\n r3 = new java.lang.StringBuilder;\n r3.<init>(r2);\n r2 = \" (width = \";\n r3.append(r2);\n r3.append(r0);\n r0 = \", height = \";\n r3.append(r0);\n r3.append(r1);\n r0 = \")\\n\\n\";\n r3.append(r0);\n r0 = java.lang.Thread.currentThread();\n r0 = r0.getStackTrace();\n r1 = r0.length;\n r2 = 0;\n L_0x0033:\n if (r2 >= r1) goto L_0x0046;\n L_0x0035:\n r4 = r0[r2];\n r4 = r4.toString();\n r3.append(r4);\n r4 = \"\\n\";\n r3.append(r4);\n r2 = r2 + 1;\n goto L_0x0033;\n L_0x0046:\n r0 = r3.toString();\n r1 = \"ShimmerFrameLayout\";\n android.util.Log.d(r1, r0);\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.shimmer.ShimmerFrameLayout.f():android.graphics.Bitmap\");\n }",
"private final GifMessage m43296d(ApiMessage apiMessage) {\n C10839m c10839m = this;\n String message = apiMessage.getMessage();\n if (message == null) {\n throw new IllegalStateException(\"Required value was null.\".toString());\n }\n String fixedHeightUrl = apiMessage.getFixedHeightUrl();\n if (fixedHeightUrl == null) {\n fixedHeightUrl = message;\n }\n Gif a = c10839m.f35453c.m43289a(message);\n Gif a2 = c10839m.f35453c.m43289a(fixedHeightUrl);\n String id = apiMessage.getId();\n if (id == null) {\n throw new IllegalStateException(\"Required value was null.\".toString());\n }\n String matchId = apiMessage.getMatchId();\n if (matchId == null) {\n throw new IllegalStateException(\"Required value was null.\".toString());\n }\n String to = apiMessage.getTo();\n if (to == null) {\n throw new IllegalStateException(\"Required value was null.\".toString());\n }\n String from = apiMessage.getFrom();\n if (from == null) {\n throw new IllegalStateException(\"Required value was null.\".toString());\n }\n String message2 = apiMessage.getMessage();\n if (message2 != null) {\n return new GifMessage(null, id, matchId, to, from, message2, m43292a(apiMessage.getSentDate()), false, false, DeliveryStatus.SUCCESS, a, a2, 1, null);\n }\n throw new IllegalStateException(\"Required value was null.\".toString());\n }",
"public GifMain() {\n initComponents ();\n \n }",
"private void initializeView() {\n @SuppressLint(\"ResourceType\") InputStream is = getContext().getResources().openRawResource(this.gifId);\n mMovie = Movie.decodeStream(is);\n }",
"protected static android.graphics.Bitmap m6543a(int r1, int r2) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = android.graphics.Bitmap.Config.ARGB_8888;\t Catch:{ OutOfMemoryError -> 0x0007 }\n r0 = android.graphics.Bitmap.createBitmap(r1, r2, r0);\t Catch:{ OutOfMemoryError -> 0x0007 }\n return r0;\n L_0x0007:\n java.lang.System.gc();\n r0 = android.graphics.Bitmap.Config.ARGB_8888;\n r1 = android.graphics.Bitmap.createBitmap(r1, r2, r0);\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.shimmer.ShimmerFrameLayout.a(int, int):android.graphics.Bitmap\");\n }",
"public interface GIF {\n\n\t/**\n\t * The from method picks up the directory the\n\t * images are for gif creation\n\t * @param path path of the directory image resides in.\n\t * @return GIFMaker\n\t */\n\tpublic GIFMaker from(ImageComposite collection);\n\n\t/**\n\t * The destination directory where the final gif will reside.\n\t * @param path Directory path\n\t * @return GIFMAKER\n\t */\n\tpublic GIFMaker to(String path);\n\n\t/**\n\t * Adds the delay between two images.\n\t * @param delay int\n\t * @return GIFMaker\n\t */\n\tpublic GIFMaker withDelay(int delay);\n\t\n\t/**\n\t * Repeats GIF\n\t * @param repeat\n\t * @return GIFMaker\n\t */\n\tpublic GIFMaker repeat(boolean repeat);\n\t\n\t/**\n\t * Sets the width\n\t * @param width\n\t * @return GIFMaker\n\t */\n\tpublic GIFMaker width(int width);\n\t\n\t/**\n\t * Sets the height\n\t * @param height\n\t * @return GIFMaker\n\t */\n\tpublic GIFMaker height(int height);\n\n\t/**\n\t * Makes the final GIF Image for the the application.\n\t */\n\tpublic void make();\n\t\n}",
"private static native long imdecode_0(long buf_nativeObj, int flags);",
"public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }",
"private static native String decode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);",
"private void mo71773u() {\n List imageInfos = this.f73950g.getImageInfos();\n if (imageInfos != null && !imageInfos.isEmpty()) {\n ImageInfo imageInfo = (ImageInfo) imageInfos.get(0);\n if (imageInfo != null) {\n this.mCoverView.setVisibility(0);\n this.mLineProgressBar.mo74361a();\n C23323e.m76524b(this.mCoverView, imageInfo.getLabelLarge());\n C23323e.m76502a(imageInfo.getLabelLarge(), (C23328a) new C23328a() {\n /* renamed from: a */\n public final void mo60609a(C13346c<C13326a<C13645c>> cVar) {\n FeedImageViewHolder.this.mLineProgressBar.mo74362b();\n }\n\n /* renamed from: a */\n public final void mo60610a(Exception exc) {\n FeedImageViewHolder.this.mLineProgressBar.mo74362b();\n }\n });\n }\n }\n }",
"int ljpeg_start ( jhead jh, int info_only)\n{\n int i, tag, len;\n BytePtr data = new BytePtr();\n data.assign( CTOJ.malloc(0x10000));\n BytePtr dp = new BytePtr();\n\n init_decoder();\n for (i=0; i < 4; i++)\n jh.huff[i] = free_decode;\n jh.restart = Integer.MAX_VALUE;\n CTOJ.fread (data, 2, 1, ifp);\n if (data.uat(1) != 0xd8) return 0;\n do {\n CTOJ.fread (data, 2, 2, ifp);\n tag = data.uat(0) << 8 | data.uat(1);\n len = (data.uat(2) << 8 | data.uat(3)) - 2;\n if (tag <= 0xff00) return 0;\n CTOJ.fread (data, 1, len, ifp);\n switch (tag) {\n case 0xffc3:\n jh.sraw = (data.uat(7) == 0x21) ? 1 :0;\n case 0xffc0:\n\tjh.bits = data.uat(0);\n\tjh.high = data.uat(1) << 8 | data.uat(2);\n\tjh.wide = data.uat(3) << 8 | data.uat(4);\n\tjh.clrs = data.uat(5) + jh.sraw;\n if ( len == 9 && dng_version == 0) CTOJ.getc(ifp);\n\tbreak;\n case 0xffc4:\n\tif (info_only != 0) break;\n\tfor (dp.assign(data); dp.lessThan(data.plus(len)) && dp.uat(0) < 4; ) {\n\t jh.huff[dp.uat(0)] = free_decode;\n dp.plusPlus();\n\t dp.assign( make_decoder ( dp, 0));\n\t}\n\tbreak;\n case 0xffda:\n\tjh.psv = data.uat(1+data.uat(0)*2);\n\tbreak;\n case 0xffdd:\n\tjh.restart = data.uat(0) << 8 | data.uat(1);\n }\n } while (tag != 0xffda);\n if (info_only != 0) return 1;\n \n if (jh.sraw != 0) {\n jh.huff[3] = jh.huff[2] = jh.huff[1];\n jh.huff[1] = jh.huff[0];\n }\n jh.row.assign(CTOJ.calloc(jh.wide*jh.clrs, 4));\n //merror (jh.row, \" jpeg_start()\");\n return zero_after_ff = 1;\n}",
"private void m110495a() {\n C19535g a = DownloaderManagerHolder.m75524a();\n String x = C25352e.m83241x(this.f89235a.f89233a.f77546j);\n Aweme aweme = this.f89235a.f89233a.f77546j;\n C7573i.m23582a((Object) aweme, \"mAweme\");\n AwemeRawAd awemeRawAd = aweme.getAwemeRawAd();\n if (awemeRawAd == null) {\n C7573i.m23580a();\n }\n C7573i.m23582a((Object) awemeRawAd, \"mAweme.awemeRawAd!!\");\n Long adId = awemeRawAd.getAdId();\n C7573i.m23582a((Object) adId, \"mAweme.awemeRawAd!!.adId\");\n long longValue = adId.longValue();\n Aweme aweme2 = this.f89235a.f89233a.f77546j;\n C7573i.m23582a((Object) aweme2, \"mAweme\");\n C19386b a2 = C22943b.m75511a(\"result_ad\", aweme2.getAwemeRawAd(), \"bg_download_button\");\n Aweme aweme3 = this.f89235a.f89233a.f77546j;\n C7573i.m23582a((Object) aweme3, \"mAweme\");\n AwemeRawAd awemeRawAd2 = aweme3.getAwemeRawAd();\n if (awemeRawAd2 == null) {\n C7573i.m23580a();\n }\n a.mo51670a(x, longValue, 2, a2, C22942a.m75508a(awemeRawAd2));\n }",
"public interface C1481i {\n /* renamed from: a */\n Bitmap mo6659a(Context context, String str, C1492a aVar);\n\n /* renamed from: a */\n void mo6660a(Context context, String str, ImageView imageView, C1492a aVar);\n\n /* renamed from: a */\n void mo6661a(boolean z);\n}",
"public interface C9715b {\n\n /* renamed from: com.tencent.mm.modelvideo.b$a */\n public interface C9714a {\n /* renamed from: ad */\n void mo9058ad(String str, int i);\n\n /* renamed from: h */\n void mo9075h(String str, int i, int i2);\n\n /* renamed from: ml */\n void mo21050ml(int i);\n\n void onDataAvailable(String str, int i, int i2);\n }\n\n /* renamed from: a */\n void mo8712a(C9714a c9714a);\n\n /* renamed from: dV */\n void mo8713dV(String str);\n\n boolean isVideoDataAvailable(String str, int i, int i2);\n\n /* renamed from: r */\n void mo8715r(String str, String str2, String str3);\n\n void requestVideoData(String str, int i, int i2);\n}",
"@Override // com.google.android.exoplayer2.upstream.DataReader\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public int read(byte[] r9, int r10, int r11) throws java.io.IOException {\n /*\n r8 = this;\n int r0 = r8.e\n r1 = -1\n if (r0 != 0) goto L_0x004e\n com.google.android.exoplayer2.upstream.DataSource r0 = r8.a\n byte[] r2 = r8.d\n r3 = 1\n r4 = 0\n int r0 = r0.read(r2, r4, r3)\n if (r0 != r1) goto L_0x0013\n L_0x0011:\n r3 = 0\n goto L_0x0046\n L_0x0013:\n byte[] r0 = r8.d\n byte r0 = r0[r4]\n r0 = r0 & 255(0xff, float:3.57E-43)\n int r0 = r0 << 4\n if (r0 != 0) goto L_0x001e\n goto L_0x0046\n L_0x001e:\n byte[] r2 = new byte[r0]\n r5 = r0\n r6 = 0\n L_0x0022:\n if (r5 <= 0) goto L_0x0030\n com.google.android.exoplayer2.upstream.DataSource r7 = r8.a\n int r7 = r7.read(r2, r6, r5)\n if (r7 != r1) goto L_0x002d\n goto L_0x0011\n L_0x002d:\n int r6 = r6 + r7\n int r5 = r5 - r7\n goto L_0x0022\n L_0x0030:\n if (r0 <= 0) goto L_0x003a\n int r4 = r0 + -1\n byte r5 = r2[r4]\n if (r5 != 0) goto L_0x003a\n r0 = r4\n goto L_0x0030\n L_0x003a:\n if (r0 <= 0) goto L_0x0046\n com.google.android.exoplayer2.source.IcyDataSource$Listener r4 = r8.c\n com.google.android.exoplayer2.util.ParsableByteArray r5 = new com.google.android.exoplayer2.util.ParsableByteArray\n r5.<init>(r2, r0)\n r4.onIcyMetadata(r5)\n L_0x0046:\n if (r3 == 0) goto L_0x004d\n int r0 = r8.b\n r8.e = r0\n goto L_0x004e\n L_0x004d:\n return r1\n L_0x004e:\n com.google.android.exoplayer2.upstream.DataSource r0 = r8.a\n int r2 = r8.e\n int r11 = java.lang.Math.min(r2, r11)\n int r9 = r0.read(r9, r10, r11)\n if (r9 == r1) goto L_0x0061\n int r10 = r8.e\n int r10 = r10 - r9\n r8.e = r10\n L_0x0061:\n return r9\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer2.source.IcyDataSource.read(byte[], int, int):int\");\n }",
"@androidx.annotation.Nullable\n /* renamed from: a */\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public static com.inmobi.media.C2336dl m4847a(@androidx.annotation.NonNull java.lang.String r3, @androidx.annotation.Nullable com.inmobi.media.C2600j r4, @androidx.annotation.Nullable java.lang.String r5, boolean r6) {\n /*\n com.iab.omid.library.inmobi.adsession.AdSessionContext r4 = m4846a(r4, r5)\n int r5 = r3.hashCode()\n r0 = -284840886(0xffffffffef05ac4a, float:-4.136979E28)\n r1 = 3\n r2 = 2\n if (r5 == r0) goto L_0x002e\n r0 = 112202875(0x6b0147b, float:6.6233935E-35)\n if (r5 == r0) goto L_0x0024\n r0 = 1425678798(0x54fa21ce, float:8.5944718E12)\n if (r5 == r0) goto L_0x001a\n goto L_0x0038\n L_0x001a:\n java.lang.String r5 = \"nonvideo\"\n boolean r3 = r3.equals(r5)\n if (r3 == 0) goto L_0x0038\n r3 = 2\n goto L_0x0039\n L_0x0024:\n java.lang.String r5 = \"video\"\n boolean r3 = r3.equals(r5)\n if (r3 == 0) goto L_0x0038\n r3 = 3\n goto L_0x0039\n L_0x002e:\n java.lang.String r5 = \"unknown\"\n boolean r3 = r3.equals(r5)\n if (r3 == 0) goto L_0x0038\n r3 = 1\n goto L_0x0039\n L_0x0038:\n r3 = -1\n L_0x0039:\n if (r3 == r2) goto L_0x0047\n if (r3 == r1) goto L_0x003f\n r3 = 0\n goto L_0x004e\n L_0x003f:\n com.inmobi.media.dm r3 = new com.inmobi.media.dm\n java.lang.String r5 = \"html_video_ad\"\n r3.<init>(r5, r4, r6)\n goto L_0x004e\n L_0x0047:\n com.inmobi.media.dm r3 = new com.inmobi.media.dm\n java.lang.String r5 = \"html_display_ad\"\n r3.<init>(r5, r4)\n L_0x004e:\n return r3\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.inmobi.media.C2341dp.m4847a(java.lang.String, com.inmobi.media.j, java.lang.String, boolean):com.inmobi.media.dl\");\n }",
"public GifDrawable(FileDescriptor fd) throws IOException {\n if (fd == null)\n throw new NullPointerException(\"Source is null\");\n mGifInfoPtr = openFd(mMetaData, fd, 0);\n mColors = new int[mMetaData[0] * mMetaData[1]];\n mInputSourceLength = -1L;\n }",
"private void initDecoder(Surface surface) {\n DJIDrone.getDjiCamera().setDecodeType(DJICameraDecodeTypeDef.DecoderType.Hardware);\n mVideoDecoder = new DJIVideoDecoder(this, surface);\n\n //Call video buffer data from drone\n mReceivedVideoDataCallBack = new DJIReceivedVideoDataCallBack(){\n\n @Override\n public void onResult(byte[] videoBuffer, int size)\n {\n DJIDrone.getDjiCamera().sendDataToDecoder(videoBuffer,size);\n }\n };\n\n DJIDrone.getDjiCamera().setReceivedVideoDataCallBack(mReceivedVideoDataCallBack);\n\n }",
"public GifDrawable(Resources res, int id) throws NotFoundException, IOException {\n this(res.openRawResourceFd(id));\n }",
"public interface C45630d {\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$f */\n public interface C10555f {\n /* renamed from: es */\n void mo22049es(boolean z);\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$d */\n public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$e */\n public interface C27129e {\n void onVisibilityChanged(boolean z);\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$g */\n public enum C27130g {\n DEFAULT,\n FILL,\n CONTAIN,\n COVER;\n\n static {\n AppMethodBeat.m2505o(126548);\n }\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$a */\n public interface C38399a {\n void aDF();\n\n void aEZ();\n\n boolean aFA();\n\n void aFD();\n\n void aFE();\n\n boolean aFF();\n\n void aFG();\n\n void aFH();\n\n boolean aFI();\n\n void aFN();\n\n void aFO();\n\n boolean aFR();\n\n void aFy();\n\n void hide();\n\n void onDestroy();\n\n void seek(int i);\n\n void setDanmakuBtnOnClickListener(C10555f c10555f);\n\n void setDanmakuBtnOpen(boolean z);\n\n void setExitFullScreenBtnOnClickListener(OnClickListener onClickListener);\n\n void setFullScreenBtnOnClickListener(OnClickListener onClickListener);\n\n void setIplaySeekCallback(C42594c c42594c);\n\n void setMuteBtnOnClickListener(OnClickListener onClickListener);\n\n void setMuteBtnState(boolean z);\n\n void setOnPlayButtonClickListener(OnClickListener onClickListener);\n\n void setOnUpdateProgressLenListener(C19512d c19512d);\n\n void setOnVisibilityChangedListener(C27129e c27129e);\n\n void setPlayBtnInCenterPosition(boolean z);\n\n void setShowControlProgress(boolean z);\n\n void setShowDanmakuBtn(boolean z);\n\n void setShowFullScreenBtn(boolean z);\n\n void setShowMuteBtn(boolean z);\n\n void setShowPlayBtn(boolean z);\n\n void setShowProgress(boolean z);\n\n void setStatePorter(C38400h c38400h);\n\n void setTitle(String str);\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$h */\n public interface C38400h {\n int aFg();\n\n int aFh();\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$b */\n public interface C42593b {\n /* renamed from: H */\n void mo34677H(String str, int i, int i2);\n\n void aFq();\n\n void aFr();\n\n void aFs();\n\n void aFt();\n\n void aFu();\n\n void aFv();\n\n /* renamed from: de */\n void mo34684de(int i, int i2);\n }\n\n /* renamed from: com.tencent.mm.plugin.appbrand.jsapi.video.d$c */\n public interface C42594c {\n void aFw();\n\n /* renamed from: oA */\n void mo22044oA(int i);\n }\n\n void aEX();\n\n void akV();\n\n void akW();\n\n /* renamed from: as */\n boolean mo61579as(float f);\n\n /* renamed from: c */\n void mo61580c(boolean z, String str, int i);\n\n /* renamed from: e */\n boolean mo61581e(double d, boolean z);\n\n int getCacheTimeSec();\n\n int getCurrPosMs();\n\n int getCurrPosSec();\n\n int getVideoDurationSec();\n\n boolean isLive();\n\n boolean isPlaying();\n\n boolean pause();\n\n /* renamed from: s */\n boolean mo61590s(double d);\n\n void setControlBar(C38399a c38399a);\n\n void setIMMVideoViewCallback(C42593b c42593b);\n\n void setMute(boolean z);\n\n void setScaleType(C27130g c27130g);\n\n void setVideoSource(int i);\n\n void start();\n\n void stop();\n}",
"public interface C39682m {\n\n /* renamed from: com.ss.android.ugc.aweme.shortvideo.edit.m$a */\n public interface C39683a {\n /* renamed from: a */\n int mo98966a(C29296g gVar);\n\n /* renamed from: b */\n int mo98967b(C29296g gVar);\n\n /* renamed from: c */\n float mo98968c(C29296g gVar);\n }\n\n /* renamed from: com.ss.android.ugc.aweme.shortvideo.edit.m$b */\n public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }\n}",
"private void m106722c() {\n if (this.f86017d != null) {\n this.f86018e = (AnimationImageView) this.f86017d.findViewById(R.id.b9t);\n try {\n if (C43127fh.m136806a(this.f86017d.getContext())) {\n ((TextView) this.f86017d.findViewById(R.id.avl)).setText(R.string.bei);\n this.f86018e.setScaleX(-1.0f);\n }\n } catch (Exception unused) {\n }\n if (this.f86018e != null && !f86014a) {\n this.f86018e.setRepeatCount(3);\n this.f86018e.setAnimation(\"right_pic.json\");\n this.f86018e.setProgress(0.0f);\n this.f86018e.mo7078b();\n f86014a = true;\n m106725f();\n }\n }\n }",
"private static native String detectAndDecode_0(long nativeObj, long img_nativeObj, long points_nativeObj, long straight_code_nativeObj);",
"public interface BitmapLoadCallback {\n /* renamed from: a */\n void mo37810a();\n\n /* renamed from: a */\n void mo37811a(Bitmap bitmap, ExifInfo bVar);\n}",
"private static BufferedImage jpegToGif(BufferedImage image) {\n\t\t\r\n\t\tBufferedImage gifImage = image;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tImageIO.write(image, \"gif\", new File(\"temp.gif\"));\r\n\t\t\tgifImage = ImageIO.read(new File(\"temp.gif\"));\r\n\t\t} catch (Exception e) {e.printStackTrace();}\r\n\t\t\r\n\t\treturn gifImage;\r\n\t}",
"private void loadActivity() {\n\t\tsetContentView(R.layout.activity_rhyme);\n\t\tloadSpeechActivity();\n\t\tDisplayMetrics displaymetrics = new DisplayMetrics();\n\t\tgetWindowManager().getDefaultDisplay().getMetrics(displaymetrics);\n\t\theight = displaymetrics.heightPixels; //432\n\t\twidth = displaymetrics.widthPixels;\t //800\n\t\t\n\t\tdensity = getResources().getDisplayMetrics().density;\t\t\n\t\t\n\t\t/*Load the windmill gif*/\n\t\tLinearLayout linearLayout=(LinearLayout) findViewById(R.id.linearlayout);\n\t\tGifWebView gifView;\n\t\tDisplayMetrics dm = getApplicationContext().getResources().getDisplayMetrics();\n\t\tfloat screenWidth=dm.widthPixels / dm.xdpi;\n\t float screenHeight=dm.heightPixels / dm.ydpi;\n\t screenSize = Math.sqrt(Math.pow(screenWidth,2)+Math.pow(screenHeight, 2));\n\t arrayInitialise();\n\t /* Load the gif for the part \"here..there..\"*/\n\t gifView_here\t= new GifWebView(this, hereGif.get(counter));\n\t if(screenSize > 2 && screenSize < 5)\n\t\t{\n\t\t\tgifView\t= new GifWebView(this, \"file:///android_asset/fan_ldpi2.gif\");\n\t\t}\n\t\telse if(screenSize >= 7 && density > 1)\n\t\t{\n\t\t\tgifView\t= new GifWebView(this, \"file:///android_asset/fan_hdpi.gif\");\n\t\t}\n\t\telse \n\t\t{\n\t\t\tgifView\t= new GifWebView(this, \"file:///android_asset/fan_mdpi2.gif\");\n\t\t}\n\t\tgifView.setBackgroundColor(0x00000000);\n\t\tgifView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);\n\t\tlinearLayout.setBackgroundColor(Color.TRANSPARENT);\n\t\tlinearLayout.addView(gifView);\n\t\t\n\t\t/*Load the main farmer-cart GIF*/\n\t\tRelativeLayout relativeLayout=(RelativeLayout) findViewById(R.id.rl1);\n\t\tgifView2\t= new GifWebView(this, farmerGif.get(counter));\n\t\tgifView2.setBackgroundColor(0x00000000);\n\t\tgifView2.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);\n\t\trelativeLayout.setBackgroundColor(Color.TRANSPARENT);\t\t\t\n\t\trelativeLayout.addView(gifView2);\n\t\trelativeLayout.setVisibility(View.VISIBLE);\n\t\tEditText et = (EditText) findViewById(R.id.editText1);\n\t\tet.setVisibility(View.INVISIBLE);\n\t\tImageButton speakButton = (ImageButton) findViewById(R.id.speakButton);\n\t\tspeakButton.setVisibility(View.INVISIBLE);\n\t\t\n\t\tRelativeLayout rl3=(RelativeLayout) findViewById(R.id.rl3);\n\t\trl3.setVisibility(View.INVISIBLE);\n\t\t\n\t\tscreenSet();\n\t\t\n\t\tmoveViewToScreenCenter(gifView2);\n\t\t\n\t\tmp = MediaPlayer.create(this,soundStart.get(counter));\n\t\tmp.start();\n\t\tmp.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {\n\t\t public void onCompletion(MediaPlayer mp) {\n\t\t \tif(voiceSupport==0){\n\t\t\t \tEditText et = (EditText) findViewById(R.id.editText1);\n\t\t\t\t\tet.setVisibility(View.VISIBLE);\n\t\t \t}\n\t\t \telse\n\t\t \t{\n\t\t \t\tImageButton speakButton = (ImageButton) findViewById(R.id.speakButton);\n\t\t \t\tspeakButton.setVisibility(View.VISIBLE);\n\t\t \t}\n\t\t\t\n\t\t }\n\t\t});\n\t\t/*Check when the user is done typing*/\n\t\tet.setOnEditorActionListener(\n\t\t\t new EditText.OnEditorActionListener() \n\t\t\t {\n\t\t\t@Override\n\t\t\tpublic boolean onEditorAction(TextView v, int actionId, KeyEvent event) \n\t\t\t{\n\t\t\t if (actionId == EditorInfo.IME_ACTION_SEARCH ||\n\t\t\t actionId == EditorInfo.IME_ACTION_DONE ||\n\t\t\t event.getAction() == KeyEvent.ACTION_DOWN &&\n\t\t\t event.getKeyCode() == KeyEvent.KEYCODE_ENTER) \n\t\t\t {\n\t\t\t // the user is done typing.\n\t\t\t \ttry {\n\t\t\t\t\t\tThread.sleep(20);\n\t\t\t\t\t} catch (InterruptedException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t \tInputMethodManager inputManager = (InputMethodManager)\n getSystemService(Context.INPUT_METHOD_SERVICE); \n\n\t\t\t \tinputManager.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(),\n InputMethodManager.HIDE_NOT_ALWAYS);\n\t\t\t \tEditText sound1 = (EditText)findViewById(R.id.editText1);\n\t\t\t \t\n\t\t\t \tString input = sound1.getText().toString();\n\t\t\t \tcheckAnswer(input);\t\t\t \t\n\t\t\t return true; // consume.\n\t\t\t \n\t\t\t }\n\t\t\t return false; // pass on to other listeners. \n\t\t\t}\n\n\t\t\t\n\t });\t\n\t\t}",
"@Override\n public void updateDecodeProgress(int decodeProgress) {\n }",
"private android.graphics.Bitmap m14713a(com.clevertap.android.sdk.C3072b1 r18, com.clevertap.android.sdk.C3072b1 r19) {\n /*\n r17 = this;\n r0 = r17\n r1 = r18\n r2 = r19\n int[] r10 = r0.f10958m\n r11 = 0\n if (r2 != 0) goto L_0x000e\n java.util.Arrays.fill(r10, r11)\n L_0x000e:\n r12 = 3\n r13 = 2\n r14 = 1\n if (r2 == 0) goto L_0x005e\n int r3 = r2.f10976g\n if (r3 <= 0) goto L_0x005e\n if (r3 != r13) goto L_0x0037\n boolean r3 = r1.f10975f\n if (r3 != 0) goto L_0x002c\n com.clevertap.android.sdk.c1 r3 = r0.f10961p\n int r4 = r3.f11004l\n int[] r5 = r1.f10980k\n if (r5 == 0) goto L_0x0033\n int r3 = r3.f11002j\n int r5 = r1.f10977h\n if (r3 != r5) goto L_0x0033\n goto L_0x0032\n L_0x002c:\n int r3 = r0.f10959n\n if (r3 != 0) goto L_0x0032\n r0.f10969x = r14\n L_0x0032:\n r4 = 0\n L_0x0033:\n r0.m14716a(r10, r2, r4)\n goto L_0x005e\n L_0x0037:\n if (r3 != r12) goto L_0x005e\n android.graphics.Bitmap r3 = r0.f10963r\n if (r3 != 0) goto L_0x0041\n r0.m14716a(r10, r2, r11)\n goto L_0x005e\n L_0x0041:\n int r4 = r2.f10973d\n int r5 = r0.f10966u\n int r9 = r4 / r5\n int r4 = r2.f10971b\n int r7 = r4 / r5\n int r4 = r2.f10972c\n int r8 = r4 / r5\n int r2 = r2.f10970a\n int r6 = r2 / r5\n int r5 = r0.f10968w\n int r2 = r7 * r5\n int r4 = r2 + r6\n r2 = r3\n r3 = r10\n r2.getPixels(r3, r4, r5, r6, r7, r8, r9)\n L_0x005e:\n r17.m14715a(r18)\n int r2 = r1.f10973d\n int r3 = r0.f10966u\n int r2 = r2 / r3\n int r4 = r1.f10971b\n int r4 = r4 / r3\n int r5 = r1.f10972c\n int r5 = r5 / r3\n int r6 = r1.f10970a\n int r6 = r6 / r3\n r3 = 8\n int r7 = r0.f10959n\n if (r7 != 0) goto L_0x0077\n r7 = 1\n goto L_0x0078\n L_0x0077:\n r7 = 0\n L_0x0078:\n r3 = 0\n r8 = 1\n r9 = 8\n L_0x007c:\n if (r11 >= r2) goto L_0x0100\n boolean r15 = r1.f10974e\n if (r15 == 0) goto L_0x0098\n r15 = 4\n if (r3 < r2) goto L_0x0095\n int r8 = r8 + 1\n if (r8 == r13) goto L_0x0094\n if (r8 == r12) goto L_0x0091\n if (r8 == r15) goto L_0x008e\n goto L_0x0095\n L_0x008e:\n r3 = 1\n r9 = 2\n goto L_0x0095\n L_0x0091:\n r3 = 2\n r9 = 4\n goto L_0x0095\n L_0x0094:\n r3 = 4\n L_0x0095:\n int r15 = r3 + r9\n goto L_0x009a\n L_0x0098:\n r15 = r3\n r3 = r11\n L_0x009a:\n int r3 = r3 + r4\n int r12 = r0.f10967v\n if (r3 >= r12) goto L_0x00f0\n int r12 = r0.f10968w\n int r3 = r3 * r12\n int r16 = r3 + r6\n int r13 = r16 + r5\n int r14 = r3 + r12\n if (r14 >= r13) goto L_0x00ad\n int r13 = r3 + r12\n L_0x00ad:\n int r3 = r0.f10966u\n int r12 = r11 * r3\n int r14 = r1.f10972c\n int r12 = r12 * r14\n int r14 = r13 - r16\n int r14 = r14 * r3\n int r14 = r14 + r12\n r3 = r16\n L_0x00bc:\n if (r3 >= r13) goto L_0x00f0\n r19 = r2\n int r2 = r0.f10966u\n r16 = r4\n r4 = 1\n if (r2 != r4) goto L_0x00d2\n byte[] r2 = r0.f10957l\n byte r2 = r2[r12]\n r2 = r2 & 255(0xff, float:3.57E-43)\n int[] r4 = r0.f10946a\n r2 = r4[r2]\n goto L_0x00d8\n L_0x00d2:\n int r2 = r1.f10972c\n int r2 = r0.m14712a(r12, r14, r2)\n L_0x00d8:\n if (r2 == 0) goto L_0x00dd\n r10[r3] = r2\n goto L_0x00e6\n L_0x00dd:\n boolean r2 = r0.f10969x\n if (r2 != 0) goto L_0x00e6\n if (r7 == 0) goto L_0x00e6\n r2 = 1\n r0.f10969x = r2\n L_0x00e6:\n int r2 = r0.f10966u\n int r12 = r12 + r2\n int r3 = r3 + 1\n r2 = r19\n r4 = r16\n goto L_0x00bc\n L_0x00f0:\n r19 = r2\n r16 = r4\n int r11 = r11 + 1\n r2 = r19\n r3 = r15\n r4 = r16\n r12 = 3\n r13 = 2\n r14 = 1\n goto L_0x007c\n L_0x0100:\n boolean r2 = r0.f10964s\n if (r2 == 0) goto L_0x0123\n int r1 = r1.f10976g\n if (r1 == 0) goto L_0x010b\n r2 = 1\n if (r1 != r2) goto L_0x0123\n L_0x010b:\n android.graphics.Bitmap r1 = r0.f10963r\n if (r1 != 0) goto L_0x0115\n android.graphics.Bitmap r1 = r17.m14718q()\n r0.f10963r = r1\n L_0x0115:\n android.graphics.Bitmap r1 = r0.f10963r\n r3 = 0\n int r7 = r0.f10968w\n r5 = 0\n r6 = 0\n int r8 = r0.f10967v\n r2 = r10\n r4 = r7\n r1.setPixels(r2, r3, r4, r5, r6, r7, r8)\n L_0x0123:\n android.graphics.Bitmap r9 = r17.m14718q()\n r3 = 0\n int r7 = r0.f10968w\n r5 = 0\n r6 = 0\n int r8 = r0.f10967v\n r1 = r9\n r2 = r10\n r4 = r7\n r1.setPixels(r2, r3, r4, r5, r6, r7, r8)\n return r9\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.clevertap.android.sdk.C3068a1.m14713a(com.clevertap.android.sdk.b1, com.clevertap.android.sdk.b1):android.graphics.Bitmap\");\n }",
"Bitmap mo6659a(Context context, String str, C1492a aVar);",
"public void mo5975l() {\n new C1292f(this.f5384D.getmImageView(), new int[]{R.drawable.iqoo_btn_play_15, R.drawable.iqoo_btn_play_14, R.drawable.iqoo_btn_play_13, R.drawable.iqoo_btn_play_12, R.drawable.iqoo_btn_play_11, R.drawable.iqoo_btn_play_10, R.drawable.iqoo_btn_play_9, R.drawable.iqoo_btn_play_8, R.drawable.iqoo_btn_play_7, R.drawable.iqoo_btn_play_6, R.drawable.iqoo_btn_play_5, R.drawable.iqoo_btn_play_4, R.drawable.iqoo_btn_play_3, R.drawable.iqoo_btn_play_2, R.drawable.iqoo_btn_play_1, R.drawable.iqoo_btn_play_0}, new int[]{3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3});\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public void handleGifResponse(Response<GifResponse> response) {\n GifResponse gifResponse = (GifResponse) response.body();\n if (gifResponse != null) {\n this.listener.onSuccess(getImagesFromResponse(gifResponse.results()));\n return;\n }\n this.listener.onError();\n }",
"public interface C1590a {\n /* renamed from: a */\n Bitmap m7900a(Bitmap bitmap);\n}",
"public AnonymousClass13V(java.lang.String r5, java.lang.String r6, android.media.MediaCodecInfo.CodecCapabilities r7, boolean r8, boolean r9, boolean r10) {\n /*\n r4 = this;\n r4.<init>()\n if (r5 == 0) goto L_0x005c\n r4.A02 = r5\n r4.A01 = r6\n r4.A00 = r7\n r4.A05 = r8\n r3 = 1\n if (r9 != 0) goto L_0x0021\n if (r7 == 0) goto L_0x0021\n int r1 = X.AnonymousClass0W2.A00\n r0 = 19\n if (r1 < r0) goto L_0x0021\n java.lang.String r0 = \"adaptive-playback\"\n boolean r1 = r7.isFeatureSupported(r0)\n r0 = 1\n if (r1 != 0) goto L_0x0022\n L_0x0021:\n r0 = 0\n L_0x0022:\n r4.A03 = r0\n r2 = 21\n if (r7 == 0) goto L_0x0036\n int r0 = X.AnonymousClass0W2.A00\n if (r0 < r2) goto L_0x0036\n java.lang.String r0 = \"tunneled-playback\"\n boolean r1 = r7.isFeatureSupported(r0)\n r0 = 1\n if (r1 != 0) goto L_0x0037\n L_0x0036:\n r0 = 0\n L_0x0037:\n r4.A07 = r0\n if (r10 != 0) goto L_0x004a\n if (r7 == 0) goto L_0x005a\n int r0 = X.AnonymousClass0W2.A00\n if (r0 < r2) goto L_0x005a\n java.lang.String r0 = \"secure-playback\"\n boolean r0 = r7.isFeatureSupported(r0)\n if (r0 == 0) goto L_0x005a\n L_0x004a:\n r4.A06 = r3\n java.lang.String r1 = X.C233415j.A02(r6)\n java.lang.String r0 = \"video\"\n boolean r0 = r0.equals(r1)\n r4.A04 = r0\n return\n L_0x005a:\n r3 = 0\n goto L_0x004a\n L_0x005c:\n r0 = 0\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.AnonymousClass13V.<init>(java.lang.String, java.lang.String, android.media.MediaCodecInfo$CodecCapabilities, boolean, boolean, boolean):void\");\n }",
"public C1442z5(int r10, java.lang.CharSequence r11, android.app.PendingIntent r12) {\n /*\n r9 = this;\n r0 = 0\n if (r10 != 0) goto L_0x0005\n r10 = r0\n goto L_0x000b\n L_0x0005:\n java.lang.String r1 = \"\"\n androidx.core.graphics.drawable.IconCompat r10 = androidx.core.graphics.drawable.IconCompat.m253b(r0, r1, r10)\n L_0x000b:\n android.os.Bundle r1 = new android.os.Bundle\n r1.<init>()\n r9.<init>()\n r2 = 1\n r9.f5266f = r2\n r9.f5262b = r10\n r3 = 0\n if (r10 == 0) goto L_0x0072\n int r4 = r10.f637a\n r5 = -1\n if (r4 != r5) goto L_0x0069\n int r6 = android.os.Build.VERSION.SDK_INT\n r7 = 23\n if (r6 < r7) goto L_0x0069\n java.lang.Object r4 = r10.f638b\n android.graphics.drawable.Icon r4 = (android.graphics.drawable.Icon) r4\n r7 = 28\n if (r6 < r7) goto L_0x0033\n int r4 = r4.getType()\n goto L_0x0069\n L_0x0033:\n java.lang.Class r6 = r4.getClass() // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n java.lang.String r7 = \"getType\"\n java.lang.Class[] r8 = new java.lang.Class[r3] // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n java.lang.reflect.Method r6 = r6.getMethod(r7, r8) // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n java.lang.Object[] r7 = new java.lang.Object[r3] // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n java.lang.Object r6 = r6.invoke(r4, r7) // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n java.lang.Integer r6 = (java.lang.Integer) r6 // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n int r4 = r6.intValue() // Catch:{ IllegalAccessException -> 0x0058, InvocationTargetException -> 0x0052, NoSuchMethodException -> 0x004c }\n goto L_0x0069\n L_0x004c:\n java.lang.StringBuilder r6 = new java.lang.StringBuilder\n r6.<init>()\n goto L_0x005d\n L_0x0052:\n java.lang.StringBuilder r6 = new java.lang.StringBuilder\n r6.<init>()\n goto L_0x005d\n L_0x0058:\n java.lang.StringBuilder r6 = new java.lang.StringBuilder\n r6.<init>()\n L_0x005d:\n java.lang.String r7 = \"Unable to get icon type \"\n r6.append(r7)\n r6.append(r4)\n r6.toString()\n r4 = -1\n L_0x0069:\n r5 = 2\n if (r4 != r5) goto L_0x0072\n int r10 = r10.mo739c()\n r9.f5269i = r10\n L_0x0072:\n java.lang.CharSequence r10 = p000.C0009a6.m17b(r11)\n r9.f5270j = r10\n r9.f5271k = r12\n r9.f5261a = r1\n r9.f5263c = r0\n r9.f5264d = r0\n r9.f5265e = r2\n r9.f5267g = r3\n r9.f5266f = r2\n r9.f5268h = r3\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000.C1442z5.<init>(int, java.lang.CharSequence, android.app.PendingIntent):void\");\n }",
"public GifDrawable(InputStream stream) throws IOException {\n if (stream == null)\n throw new NullPointerException(\"Source is null\");\n if (!stream.markSupported())\n throw new IllegalArgumentException(\"InputStream does not support marking\");\n mGifInfoPtr = openStream(mMetaData, stream);\n mColors = new int[mMetaData[0] * mMetaData[1]];\n mInputSourceLength = -1L;\n }",
"public interface C0394b extends IInterface {\n\n /* renamed from: android.support.v4.media.session.b$a */\n /* compiled from: IMediaSession */\n public static abstract class C0395a extends Binder implements C0394b {\n\n /* renamed from: android.support.v4.media.session.b$a$a */\n /* compiled from: IMediaSession */\n private static class C0396a implements C0394b {\n\n /* renamed from: a */\n private IBinder f822a;\n\n C0396a(IBinder iBinder) {\n this.f822a = iBinder;\n }\n\n public IBinder asBinder() {\n return this.f822a;\n }\n\n /* renamed from: a */\n public void mo716a(String str, Bundle bundle, ResultReceiverWrapper resultReceiverWrapper) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeString(str);\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n if (resultReceiverWrapper != null) {\n obtain.writeInt(1);\n resultReceiverWrapper.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(1, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public boolean mo719a(KeyEvent keyEvent) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n boolean z = true;\n if (keyEvent != null) {\n obtain.writeInt(1);\n keyEvent.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(2, obtain, obtain2, 0);\n obtain2.readException();\n if (obtain2.readInt() == 0) {\n z = false;\n }\n return z;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo714a(C0391a aVar) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeStrongBinder(aVar != null ? aVar.asBinder() : null);\n this.f822a.transact(3, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo726b(C0391a aVar) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeStrongBinder(aVar != null ? aVar.asBinder() : null);\n this.f822a.transact(4, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public boolean mo718a() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n boolean z = false;\n this.f822a.transact(5, obtain, obtain2, 0);\n obtain2.readException();\n if (obtain2.readInt() != 0) {\n z = true;\n }\n return z;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public String mo720b() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(6, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readString();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: c */\n public String mo729c() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(7, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readString();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: d */\n public PendingIntent mo732d() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(8, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (PendingIntent) PendingIntent.CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: e */\n public long mo734e() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(9, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readLong();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: f */\n public ParcelableVolumeInfo mo736f() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(10, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (ParcelableVolumeInfo) ParcelableVolumeInfo.CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo707a(int i, int i2, String str) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(i);\n obtain.writeInt(i2);\n obtain.writeString(str);\n this.f822a.transact(11, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo722b(int i, int i2, String str) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(i);\n obtain.writeInt(i2);\n obtain.writeString(str);\n this.f822a.transact(12, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: g */\n public MediaMetadataCompat mo737g() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(27, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (MediaMetadataCompat) MediaMetadataCompat.CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: h */\n public PlaybackStateCompat mo738h() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(28, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (PlaybackStateCompat) PlaybackStateCompat.CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: i */\n public List<QueueItem> mo739i() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(29, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.createTypedArrayList(QueueItem.CREATOR);\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: j */\n public CharSequence mo740j() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(30, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: k */\n public Bundle mo741k() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(31, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(obtain2) : null;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: l */\n public int mo742l() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(32, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: m */\n public boolean mo743m() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n boolean z = false;\n this.f822a.transact(45, obtain, obtain2, 0);\n obtain2.readException();\n if (obtain2.readInt() != 0) {\n z = true;\n }\n return z;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: n */\n public int mo744n() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(37, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: o */\n public boolean mo745o() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n boolean z = false;\n this.f822a.transact(38, obtain, obtain2, 0);\n obtain2.readException();\n if (obtain2.readInt() != 0) {\n z = true;\n }\n return z;\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: p */\n public int mo746p() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(47, obtain, obtain2, 0);\n obtain2.readException();\n return obtain2.readInt();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo710a(MediaDescriptionCompat mediaDescriptionCompat) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (mediaDescriptionCompat != null) {\n obtain.writeInt(1);\n mediaDescriptionCompat.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(41, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo711a(MediaDescriptionCompat mediaDescriptionCompat, int i) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (mediaDescriptionCompat != null) {\n obtain.writeInt(1);\n mediaDescriptionCompat.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n obtain.writeInt(i);\n this.f822a.transact(42, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo725b(MediaDescriptionCompat mediaDescriptionCompat) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (mediaDescriptionCompat != null) {\n obtain.writeInt(1);\n mediaDescriptionCompat.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(43, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo706a(int i) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(i);\n this.f822a.transact(44, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: q */\n public void mo747q() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(33, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo715a(String str, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeString(str);\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(34, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo727b(String str, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeString(str);\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(35, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo709a(Uri uri, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (uri != null) {\n obtain.writeInt(1);\n uri.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(36, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: r */\n public void mo748r() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(13, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: c */\n public void mo731c(String str, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeString(str);\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(14, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: d */\n public void mo733d(String str, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeString(str);\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(15, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo724b(Uri uri, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (uri != null) {\n obtain.writeInt(1);\n uri.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(16, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo708a(long j) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeLong(j);\n this.f822a.transact(17, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: s */\n public void mo749s() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(18, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: t */\n public void mo750t() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(19, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: u */\n public void mo751u() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(20, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: v */\n public void mo752v() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(21, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: w */\n public void mo753w() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(22, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: x */\n public void mo754x() throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n this.f822a.transact(23, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo723b(long j) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeLong(j);\n this.f822a.transact(24, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo712a(RatingCompat ratingCompat) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (ratingCompat != null) {\n obtain.writeInt(1);\n ratingCompat.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(25, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo713a(RatingCompat ratingCompat, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n if (ratingCompat != null) {\n obtain.writeInt(1);\n ratingCompat.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(51, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: a */\n public void mo717a(boolean z) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(z ? 1 : 0);\n this.f822a.transact(46, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo721b(int i) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(i);\n this.f822a.transact(39, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: b */\n public void mo728b(boolean z) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(z ? 1 : 0);\n this.f822a.transact(40, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: c */\n public void mo730c(int i) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeInt(i);\n this.f822a.transact(48, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n\n /* renamed from: e */\n public void mo735e(String str, Bundle bundle) throws RemoteException {\n Parcel obtain = Parcel.obtain();\n Parcel obtain2 = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"android.support.v4.media.session.IMediaSession\");\n obtain.writeString(str);\n if (bundle != null) {\n obtain.writeInt(1);\n bundle.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f822a.transact(26, obtain, obtain2, 0);\n obtain2.readException();\n } finally {\n obtain2.recycle();\n obtain.recycle();\n }\n }\n }\n\n public IBinder asBinder() {\n return this;\n }\n\n /* renamed from: a */\n public static C0394b m1153a(IBinder iBinder) {\n if (iBinder == null) {\n return null;\n }\n IInterface queryLocalInterface = iBinder.queryLocalInterface(\"android.support.v4.media.session.IMediaSession\");\n if (queryLocalInterface == null || !(queryLocalInterface instanceof C0394b)) {\n return new C0396a(iBinder);\n }\n return (C0394b) queryLocalInterface;\n }\n\n /* JADX WARNING: type inference failed for: r1v0 */\n /* JADX WARNING: type inference failed for: r1v1, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v3, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v4, types: [android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper] */\n /* JADX WARNING: type inference failed for: r1v6, types: [android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper] */\n /* JADX WARNING: type inference failed for: r1v7, types: [android.view.KeyEvent] */\n /* JADX WARNING: type inference failed for: r1v9, types: [android.view.KeyEvent] */\n /* JADX WARNING: type inference failed for: r1v10, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v12, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v13, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v15, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v16, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v18, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v19, types: [android.support.v4.media.RatingCompat] */\n /* JADX WARNING: type inference failed for: r1v21, types: [android.support.v4.media.RatingCompat] */\n /* JADX WARNING: type inference failed for: r1v22, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v24, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v25, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v27, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v28, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v30, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v31, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v33, types: [android.os.Bundle] */\n /* JADX WARNING: type inference failed for: r1v34, types: [android.support.v4.media.MediaDescriptionCompat] */\n /* JADX WARNING: type inference failed for: r1v36, types: [android.support.v4.media.MediaDescriptionCompat] */\n /* JADX WARNING: type inference failed for: r1v37, types: [android.support.v4.media.MediaDescriptionCompat] */\n /* JADX WARNING: type inference failed for: r1v39, types: [android.support.v4.media.MediaDescriptionCompat] */\n /* JADX WARNING: type inference failed for: r1v40, types: [android.support.v4.media.MediaDescriptionCompat] */\n /* JADX WARNING: type inference failed for: r1v42, types: [android.support.v4.media.MediaDescriptionCompat] */\n /* JADX WARNING: type inference failed for: r1v43 */\n /* JADX WARNING: type inference failed for: r1v44 */\n /* JADX WARNING: type inference failed for: r1v45 */\n /* JADX WARNING: type inference failed for: r1v46 */\n /* JADX WARNING: type inference failed for: r1v47 */\n /* JADX WARNING: type inference failed for: r1v48 */\n /* JADX WARNING: type inference failed for: r1v49 */\n /* JADX WARNING: type inference failed for: r1v50 */\n /* JADX WARNING: type inference failed for: r1v51 */\n /* JADX WARNING: type inference failed for: r1v52 */\n /* JADX WARNING: type inference failed for: r1v53 */\n /* JADX WARNING: type inference failed for: r1v54 */\n /* JADX WARNING: type inference failed for: r1v55 */\n /* JADX WARNING: type inference failed for: r1v56 */\n /* JADX WARNING: Multi-variable type inference failed. Error: jadx.core.utils.exceptions.JadxRuntimeException: No candidate types for var: r1v0\n assigns: [?[int, float, boolean, short, byte, char, OBJECT, ARRAY], android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper, android.os.Bundle, android.view.KeyEvent, android.support.v4.media.RatingCompat, android.support.v4.media.MediaDescriptionCompat]\n uses: [android.os.Bundle, android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper, android.view.KeyEvent, android.support.v4.media.RatingCompat, android.support.v4.media.MediaDescriptionCompat]\n mth insns count: 440\n \tat jadx.core.dex.visitors.typeinference.TypeSearch.fillTypeCandidates(TypeSearch.java:237)\n \tat java.base/java.util.ArrayList.forEach(ArrayList.java:1540)\n \tat jadx.core.dex.visitors.typeinference.TypeSearch.run(TypeSearch.java:53)\n \tat jadx.core.dex.visitors.typeinference.TypeInferenceVisitor.runMultiVariableSearch(TypeInferenceVisitor.java:99)\n \tat jadx.core.dex.visitors.typeinference.TypeInferenceVisitor.visit(TypeInferenceVisitor.java:92)\n \tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:27)\n \tat jadx.core.dex.visitors.DepthTraversal.lambda$visit$1(DepthTraversal.java:14)\n \tat java.base/java.util.ArrayList.forEach(ArrayList.java:1540)\n \tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n \tat jadx.core.dex.visitors.DepthTraversal.lambda$visit$0(DepthTraversal.java:13)\n \tat java.base/java.util.ArrayList.forEach(ArrayList.java:1540)\n \tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:13)\n \tat jadx.core.ProcessClass.process(ProcessClass.java:30)\n \tat jadx.core.ProcessClass.lambda$processDependencies$0(ProcessClass.java:49)\n \tat java.base/java.util.ArrayList.forEach(ArrayList.java:1540)\n \tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:49)\n \tat jadx.core.ProcessClass.process(ProcessClass.java:35)\n \tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:311)\n \tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n \tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:217)\n */\n /* JADX WARNING: Unknown variable types count: 15 */\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public boolean onTransact(int r4, android.os.Parcel r5, android.os.Parcel r6, int r7) throws android.os.RemoteException {\n /*\n r3 = this;\n r0 = 51\n r1 = 0\n r2 = 1\n if (r4 == r0) goto L_0x042d\n r0 = 1598968902(0x5f4e5446, float:1.4867585E19)\n if (r4 == r0) goto L_0x0427\n r0 = 0\n switch(r4) {\n case 1: goto L_0x03f8;\n case 2: goto L_0x03d9;\n case 3: goto L_0x03c5;\n case 4: goto L_0x03b1;\n case 5: goto L_0x03a1;\n case 6: goto L_0x0391;\n case 7: goto L_0x0381;\n case 8: goto L_0x0368;\n case 9: goto L_0x0358;\n case 10: goto L_0x033f;\n case 11: goto L_0x0327;\n case 12: goto L_0x030f;\n case 13: goto L_0x0303;\n case 14: goto L_0x02e4;\n case 15: goto L_0x02c5;\n case 16: goto L_0x029a;\n case 17: goto L_0x028a;\n case 18: goto L_0x027e;\n case 19: goto L_0x0272;\n case 20: goto L_0x0266;\n case 21: goto L_0x025a;\n case 22: goto L_0x024e;\n case 23: goto L_0x0242;\n case 24: goto L_0x0232;\n case 25: goto L_0x0217;\n case 26: goto L_0x01f8;\n case 27: goto L_0x01df;\n case 28: goto L_0x01c6;\n case 29: goto L_0x01b6;\n case 30: goto L_0x019d;\n case 31: goto L_0x0184;\n case 32: goto L_0x0174;\n case 33: goto L_0x0168;\n case 34: goto L_0x0149;\n case 35: goto L_0x012a;\n case 36: goto L_0x00ff;\n case 37: goto L_0x00ef;\n case 38: goto L_0x00df;\n case 39: goto L_0x00cf;\n case 40: goto L_0x00bc;\n case 41: goto L_0x00a1;\n case 42: goto L_0x0082;\n case 43: goto L_0x0067;\n case 44: goto L_0x0057;\n case 45: goto L_0x0047;\n case 46: goto L_0x0034;\n case 47: goto L_0x0024;\n case 48: goto L_0x0014;\n default: goto L_0x000f;\n }\n L_0x000f:\n boolean r4 = super.onTransact(r4, r5, r6, r7)\n return r4\n L_0x0014:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n r3.mo730c(r4)\n r6.writeNoException()\n return r2\n L_0x0024:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r3.mo746p()\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x0034:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x0040\n r0 = 1\n L_0x0040:\n r3.mo717a(r0)\n r6.writeNoException()\n return r2\n L_0x0047:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n boolean r4 = r3.mo743m()\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x0057:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n r3.mo706a(r4)\n r6.writeNoException()\n return r2\n L_0x0067:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x007b\n android.os.Parcelable$Creator<android.support.v4.media.MediaDescriptionCompat> r4 = android.support.p041v4.media.MediaDescriptionCompat.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n r1 = r4\n android.support.v4.media.MediaDescriptionCompat r1 = (android.support.p041v4.media.MediaDescriptionCompat) r1\n L_0x007b:\n r3.mo725b(r1)\n r6.writeNoException()\n return r2\n L_0x0082:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x0096\n android.os.Parcelable$Creator<android.support.v4.media.MediaDescriptionCompat> r4 = android.support.p041v4.media.MediaDescriptionCompat.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n r1 = r4\n android.support.v4.media.MediaDescriptionCompat r1 = (android.support.p041v4.media.MediaDescriptionCompat) r1\n L_0x0096:\n int r4 = r5.readInt()\n r3.mo711a(r1, r4)\n r6.writeNoException()\n return r2\n L_0x00a1:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x00b5\n android.os.Parcelable$Creator<android.support.v4.media.MediaDescriptionCompat> r4 = android.support.p041v4.media.MediaDescriptionCompat.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n r1 = r4\n android.support.v4.media.MediaDescriptionCompat r1 = (android.support.p041v4.media.MediaDescriptionCompat) r1\n L_0x00b5:\n r3.mo710a(r1)\n r6.writeNoException()\n return r2\n L_0x00bc:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x00c8\n r0 = 1\n L_0x00c8:\n r3.mo728b(r0)\n r6.writeNoException()\n return r2\n L_0x00cf:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n r3.mo721b(r4)\n r6.writeNoException()\n return r2\n L_0x00df:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n boolean r4 = r3.mo745o()\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x00ef:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r3.mo744n()\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x00ff:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x0113\n android.os.Parcelable$Creator r4 = android.net.Uri.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n android.net.Uri r4 = (android.net.Uri) r4\n goto L_0x0114\n L_0x0113:\n r4 = r1\n L_0x0114:\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x0123\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x0123:\n r3.mo709a(r4, r1)\n r6.writeNoException()\n return r2\n L_0x012a:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r5.readString()\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x0142\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x0142:\n r3.mo727b(r4, r1)\n r6.writeNoException()\n return r2\n L_0x0149:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r5.readString()\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x0161\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x0161:\n r3.mo715a(r4, r1)\n r6.writeNoException()\n return r2\n L_0x0168:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo747q()\n r6.writeNoException()\n return r2\n L_0x0174:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r3.mo742l()\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x0184:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.os.Bundle r4 = r3.mo741k()\n r6.writeNoException()\n if (r4 == 0) goto L_0x0199\n r6.writeInt(r2)\n r4.writeToParcel(r6, r2)\n goto L_0x019c\n L_0x0199:\n r6.writeInt(r0)\n L_0x019c:\n return r2\n L_0x019d:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.CharSequence r4 = r3.mo740j()\n r6.writeNoException()\n if (r4 == 0) goto L_0x01b2\n r6.writeInt(r2)\n android.text.TextUtils.writeToParcel(r4, r6, r2)\n goto L_0x01b5\n L_0x01b2:\n r6.writeInt(r0)\n L_0x01b5:\n return r2\n L_0x01b6:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.util.List r4 = r3.mo739i()\n r6.writeNoException()\n r6.writeTypedList(r4)\n return r2\n L_0x01c6:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.support.v4.media.session.PlaybackStateCompat r4 = r3.mo738h()\n r6.writeNoException()\n if (r4 == 0) goto L_0x01db\n r6.writeInt(r2)\n r4.writeToParcel(r6, r2)\n goto L_0x01de\n L_0x01db:\n r6.writeInt(r0)\n L_0x01de:\n return r2\n L_0x01df:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.support.v4.media.MediaMetadataCompat r4 = r3.mo737g()\n r6.writeNoException()\n if (r4 == 0) goto L_0x01f4\n r6.writeInt(r2)\n r4.writeToParcel(r6, r2)\n goto L_0x01f7\n L_0x01f4:\n r6.writeInt(r0)\n L_0x01f7:\n return r2\n L_0x01f8:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r5.readString()\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x0210\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x0210:\n r3.mo735e(r4, r1)\n r6.writeNoException()\n return r2\n L_0x0217:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x022b\n android.os.Parcelable$Creator<android.support.v4.media.RatingCompat> r4 = android.support.p041v4.media.RatingCompat.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n r1 = r4\n android.support.v4.media.RatingCompat r1 = (android.support.p041v4.media.RatingCompat) r1\n L_0x022b:\n r3.mo712a(r1)\n r6.writeNoException()\n return r2\n L_0x0232:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n long r4 = r5.readLong()\n r3.mo723b(r4)\n r6.writeNoException()\n return r2\n L_0x0242:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo754x()\n r6.writeNoException()\n return r2\n L_0x024e:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo753w()\n r6.writeNoException()\n return r2\n L_0x025a:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo752v()\n r6.writeNoException()\n return r2\n L_0x0266:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo751u()\n r6.writeNoException()\n return r2\n L_0x0272:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo750t()\n r6.writeNoException()\n return r2\n L_0x027e:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo749s()\n r6.writeNoException()\n return r2\n L_0x028a:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n long r4 = r5.readLong()\n r3.mo708a(r4)\n r6.writeNoException()\n return r2\n L_0x029a:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x02ae\n android.os.Parcelable$Creator r4 = android.net.Uri.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n android.net.Uri r4 = (android.net.Uri) r4\n goto L_0x02af\n L_0x02ae:\n r4 = r1\n L_0x02af:\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x02be\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x02be:\n r3.mo724b(r4, r1)\n r6.writeNoException()\n return r2\n L_0x02c5:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r5.readString()\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x02dd\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x02dd:\n r3.mo733d(r4, r1)\n r6.writeNoException()\n return r2\n L_0x02e4:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r5.readString()\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x02fc\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x02fc:\n r3.mo731c(r4, r1)\n r6.writeNoException()\n return r2\n L_0x0303:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n r3.mo748r()\n r6.writeNoException()\n return r2\n L_0x030f:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n int r7 = r5.readInt()\n java.lang.String r5 = r5.readString()\n r3.mo722b(r4, r7, r5)\n r6.writeNoException()\n return r2\n L_0x0327:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n int r7 = r5.readInt()\n java.lang.String r5 = r5.readString()\n r3.mo707a(r4, r7, r5)\n r6.writeNoException()\n return r2\n L_0x033f:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.support.v4.media.session.ParcelableVolumeInfo r4 = r3.mo736f()\n r6.writeNoException()\n if (r4 == 0) goto L_0x0354\n r6.writeInt(r2)\n r4.writeToParcel(r6, r2)\n goto L_0x0357\n L_0x0354:\n r6.writeInt(r0)\n L_0x0357:\n return r2\n L_0x0358:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n long r4 = r3.mo734e()\n r6.writeNoException()\n r6.writeLong(r4)\n return r2\n L_0x0368:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.app.PendingIntent r4 = r3.mo732d()\n r6.writeNoException()\n if (r4 == 0) goto L_0x037d\n r6.writeInt(r2)\n r4.writeToParcel(r6, r2)\n goto L_0x0380\n L_0x037d:\n r6.writeInt(r0)\n L_0x0380:\n return r2\n L_0x0381:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r3.mo729c()\n r6.writeNoException()\n r6.writeString(r4)\n return r2\n L_0x0391:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r3.mo720b()\n r6.writeNoException()\n r6.writeString(r4)\n return r2\n L_0x03a1:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n boolean r4 = r3.mo718a()\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x03b1:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.os.IBinder r4 = r5.readStrongBinder()\n android.support.v4.media.session.a r4 = android.support.p041v4.media.session.C0391a.C0392a.m1090a(r4)\n r3.mo726b(r4)\n r6.writeNoException()\n return r2\n L_0x03c5:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n android.os.IBinder r4 = r5.readStrongBinder()\n android.support.v4.media.session.a r4 = android.support.p041v4.media.session.C0391a.C0392a.m1090a(r4)\n r3.mo714a(r4)\n r6.writeNoException()\n return r2\n L_0x03d9:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x03ed\n android.os.Parcelable$Creator r4 = android.view.KeyEvent.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n r1 = r4\n android.view.KeyEvent r1 = (android.view.KeyEvent) r1\n L_0x03ed:\n boolean r4 = r3.mo719a(r1)\n r6.writeNoException()\n r6.writeInt(r4)\n return r2\n L_0x03f8:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n java.lang.String r4 = r5.readString()\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x0410\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r7 = r7.createFromParcel(r5)\n android.os.Bundle r7 = (android.os.Bundle) r7\n goto L_0x0411\n L_0x0410:\n r7 = r1\n L_0x0411:\n int r0 = r5.readInt()\n if (r0 == 0) goto L_0x0420\n android.os.Parcelable$Creator<android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper> r0 = android.support.p041v4.media.session.MediaSessionCompat.ResultReceiverWrapper.CREATOR\n java.lang.Object r5 = r0.createFromParcel(r5)\n r1 = r5\n android.support.v4.media.session.MediaSessionCompat$ResultReceiverWrapper r1 = (android.support.p041v4.media.session.MediaSessionCompat.ResultReceiverWrapper) r1\n L_0x0420:\n r3.mo716a(r4, r7, r1)\n r6.writeNoException()\n return r2\n L_0x0427:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r6.writeString(r4)\n return r2\n L_0x042d:\n java.lang.String r4 = \"android.support.v4.media.session.IMediaSession\"\n r5.enforceInterface(r4)\n int r4 = r5.readInt()\n if (r4 == 0) goto L_0x0441\n android.os.Parcelable$Creator<android.support.v4.media.RatingCompat> r4 = android.support.p041v4.media.RatingCompat.CREATOR\n java.lang.Object r4 = r4.createFromParcel(r5)\n android.support.v4.media.RatingCompat r4 = (android.support.p041v4.media.RatingCompat) r4\n goto L_0x0442\n L_0x0441:\n r4 = r1\n L_0x0442:\n int r7 = r5.readInt()\n if (r7 == 0) goto L_0x0451\n android.os.Parcelable$Creator r7 = android.os.Bundle.CREATOR\n java.lang.Object r5 = r7.createFromParcel(r5)\n r1 = r5\n android.os.Bundle r1 = (android.os.Bundle) r1\n L_0x0451:\n r3.mo713a(r4, r1)\n r6.writeNoException()\n return r2\n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.support.p041v4.media.session.C0394b.C0395a.onTransact(int, android.os.Parcel, android.os.Parcel, int):boolean\");\n }\n }\n\n /* renamed from: a */\n void mo706a(int i) throws RemoteException;\n\n /* renamed from: a */\n void mo707a(int i, int i2, String str) throws RemoteException;\n\n /* renamed from: a */\n void mo708a(long j) throws RemoteException;\n\n /* renamed from: a */\n void mo709a(Uri uri, Bundle bundle) throws RemoteException;\n\n /* renamed from: a */\n void mo710a(MediaDescriptionCompat mediaDescriptionCompat) throws RemoteException;\n\n /* renamed from: a */\n void mo711a(MediaDescriptionCompat mediaDescriptionCompat, int i) throws RemoteException;\n\n /* renamed from: a */\n void mo712a(RatingCompat ratingCompat) throws RemoteException;\n\n /* renamed from: a */\n void mo713a(RatingCompat ratingCompat, Bundle bundle) throws RemoteException;\n\n /* renamed from: a */\n void mo714a(C0391a aVar) throws RemoteException;\n\n /* renamed from: a */\n void mo715a(String str, Bundle bundle) throws RemoteException;\n\n /* renamed from: a */\n void mo716a(String str, Bundle bundle, ResultReceiverWrapper resultReceiverWrapper) throws RemoteException;\n\n /* renamed from: a */\n void mo717a(boolean z) throws RemoteException;\n\n /* renamed from: a */\n boolean mo718a() throws RemoteException;\n\n /* renamed from: a */\n boolean mo719a(KeyEvent keyEvent) throws RemoteException;\n\n /* renamed from: b */\n String mo720b() throws RemoteException;\n\n /* renamed from: b */\n void mo721b(int i) throws RemoteException;\n\n /* renamed from: b */\n void mo722b(int i, int i2, String str) throws RemoteException;\n\n /* renamed from: b */\n void mo723b(long j) throws RemoteException;\n\n /* renamed from: b */\n void mo724b(Uri uri, Bundle bundle) throws RemoteException;\n\n /* renamed from: b */\n void mo725b(MediaDescriptionCompat mediaDescriptionCompat) throws RemoteException;\n\n /* renamed from: b */\n void mo726b(C0391a aVar) throws RemoteException;\n\n /* renamed from: b */\n void mo727b(String str, Bundle bundle) throws RemoteException;\n\n /* renamed from: b */\n void mo728b(boolean z) throws RemoteException;\n\n /* renamed from: c */\n String mo729c() throws RemoteException;\n\n /* renamed from: c */\n void mo730c(int i) throws RemoteException;\n\n /* renamed from: c */\n void mo731c(String str, Bundle bundle) throws RemoteException;\n\n /* renamed from: d */\n PendingIntent mo732d() throws RemoteException;\n\n /* renamed from: d */\n void mo733d(String str, Bundle bundle) throws RemoteException;\n\n /* renamed from: e */\n long mo734e() throws RemoteException;\n\n /* renamed from: e */\n void mo735e(String str, Bundle bundle) throws RemoteException;\n\n /* renamed from: f */\n ParcelableVolumeInfo mo736f() throws RemoteException;\n\n /* renamed from: g */\n MediaMetadataCompat mo737g() throws RemoteException;\n\n /* renamed from: h */\n PlaybackStateCompat mo738h() throws RemoteException;\n\n /* renamed from: i */\n List<QueueItem> mo739i() throws RemoteException;\n\n /* renamed from: j */\n CharSequence mo740j() throws RemoteException;\n\n /* renamed from: k */\n Bundle mo741k() throws RemoteException;\n\n /* renamed from: l */\n int mo742l() throws RemoteException;\n\n /* renamed from: m */\n boolean mo743m() throws RemoteException;\n\n /* renamed from: n */\n int mo744n() throws RemoteException;\n\n /* renamed from: o */\n boolean mo745o() throws RemoteException;\n\n /* renamed from: p */\n int mo746p() throws RemoteException;\n\n /* renamed from: q */\n void mo747q() throws RemoteException;\n\n /* renamed from: r */\n void mo748r() throws RemoteException;\n\n /* renamed from: s */\n void mo749s() throws RemoteException;\n\n /* renamed from: t */\n void mo750t() throws RemoteException;\n\n /* renamed from: u */\n void mo751u() throws RemoteException;\n\n /* renamed from: v */\n void mo752v() throws RemoteException;\n\n /* renamed from: w */\n void mo753w() throws RemoteException;\n\n /* renamed from: x */\n void mo754x() throws RemoteException;\n}",
"@androidx.annotation.Nullable\n /* renamed from: j */\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final p005b.p096l.p097a.p151d.p152a.p154b.C3474b mo14822j(java.lang.String r9) {\n /*\n r8 = this;\n java.io.File r0 = new java.io.File\n java.io.File r1 = r8.mo14820g()\n r0.<init>(r1, r9)\n boolean r1 = r0.exists()\n r2 = 3\n r3 = 6\n r4 = 1\n r5 = 0\n r6 = 0\n if (r1 != 0) goto L_0x0022\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r4]\n r1[r5] = r9\n java.lang.String r9 = \"Pack not found with pack name: %s\"\n r0.mo14884b(r2, r9, r1)\n L_0x001f:\n r9 = r6\n goto L_0x0093\n L_0x0022:\n java.io.File r1 = new java.io.File\n b.l.a.d.a.b.o1 r7 = r8.f6567b\n int r7 = r7.mo14797a()\n java.lang.String r7 = java.lang.String.valueOf(r7)\n r1.<init>(r0, r7)\n boolean r0 = r1.exists()\n r7 = 2\n if (r0 != 0) goto L_0x0050\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r7]\n r1[r5] = r9\n b.l.a.d.a.b.o1 r9 = r8.f6567b\n int r9 = r9.mo14797a()\n java.lang.Integer r9 = java.lang.Integer.valueOf(r9)\n r1[r4] = r9\n java.lang.String r9 = \"Pack not found with pack name: %s app version: %s\"\n r0.mo14884b(r2, r9, r1)\n goto L_0x001f\n L_0x0050:\n java.io.File[] r0 = r1.listFiles()\n if (r0 == 0) goto L_0x007b\n int r1 = r0.length\n if (r1 != 0) goto L_0x005a\n goto L_0x007b\n L_0x005a:\n if (r1 <= r4) goto L_0x0074\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r7]\n r1[r5] = r9\n b.l.a.d.a.b.o1 r9 = r8.f6567b\n int r9 = r9.mo14797a()\n java.lang.Integer r9 = java.lang.Integer.valueOf(r9)\n r1[r4] = r9\n java.lang.String r9 = \"Multiple pack versions found for pack name: %s app version: %s\"\n r0.mo14884b(r3, r9, r1)\n goto L_0x001f\n L_0x0074:\n r9 = r0[r5]\n java.lang.String r9 = r9.getCanonicalPath()\n goto L_0x0093\n L_0x007b:\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r7]\n r1[r5] = r9\n b.l.a.d.a.b.o1 r9 = r8.f6567b\n int r9 = r9.mo14797a()\n java.lang.Integer r9 = java.lang.Integer.valueOf(r9)\n r1[r4] = r9\n java.lang.String r9 = \"No pack version found for pack name: %s app version: %s\"\n r0.mo14884b(r2, r9, r1)\n goto L_0x001f\n L_0x0093:\n if (r9 != 0) goto L_0x0096\n return r6\n L_0x0096:\n java.io.File r0 = new java.io.File\n java.lang.String r1 = \"assets\"\n r0.<init>(r9, r1)\n boolean r1 = r0.isDirectory()\n if (r1 != 0) goto L_0x00af\n b.l.a.d.a.e.f r9 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r4]\n r1[r5] = r0\n java.lang.String r0 = \"Failed to find assets directory: %s\"\n r9.mo14884b(r3, r0, r1)\n return r6\n L_0x00af:\n java.lang.String r0 = r0.getCanonicalPath()\n b.l.a.d.a.b.w r1 = new b.l.a.d.a.b.w\n r1.<init>(r5, r9, r0)\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p005b.p096l.p097a.p151d.p152a.p154b.C3544t.mo14822j(java.lang.String):b.l.a.d.a.b.b\");\n }",
"public interface ImageTranscoderFactory {\n /* renamed from: a */\n ImageTranscoder mo28916a(ImageFormat cVar, boolean z);\n}",
"void loadCaptureAnimation() {\n\t\tanimationGroup = (ViewGroup) findViewById(R.id.capturedbarcodeholder);\n\t\tcaptureImageView = (ImageView) animationGroup\n\t\t\t\t.findViewById(R.id.capturedimageview);\n\t\tcapturedBarcodeTextView = (TextView) animationGroup\n\t\t\t\t.findViewById(R.id.capturedbarcodetv);\n\t\tDisplay display = getWindowManager().getDefaultDisplay();\n\t\tPoint size = new Point();\n\t\tdisplay.getSize(size);\n\t\tscreenWidth = size.x;\n\t\tanimationGroup.setLayerType(View.LAYER_TYPE_HARDWARE, null);\n\t\tcaptureMoveAnimation = AnimationUtils.loadAnimation(this,\n\t\t\t\tR.anim.captureanimationset);\n\t\tcaptureMoveAnimation.setFillAfter(false);\n\t\tcaptureMoveAnimation.setAnimationListener(new AnimationListener() {\n\n\t\t\tpublic void onAnimationStart(Animation animation) {\n\n\t\t\t}\n\n\t\t\tpublic void onAnimationRepeat(Animation animation) {\n\n\t\t\t}\n\n\t\t\tpublic void onAnimationEnd(Animation animation) {\n\t\t\t\t// lets hide the layer after animation is complete\n\t\t\t\tanimationGroup.setVisibility(View.GONE);\n\t\t\t\tanimationGroup.clearAnimation();\n\t\t\t}\n\t\t});\n\t}",
"@Override\n public void loadGif(String url) {\n CircularProgressDrawable progressPlaceHolder = ProgressBarUtil.getCircularProgressPlaceholder(getContext());\n if (!TextUtils.isEmpty(url)) {\n Glide.with(getContext())\n .asGif()\n .load(url)\n .apply(new RequestOptions()\n .placeholder(progressPlaceHolder))\n .into(ivGif);\n }\n }",
"public static com.airbnb.lottie.C0955d m4067a(android.util.JsonReader r28) {\n /*\n r0 = r28;\n r1 = com.airbnb.lottie.p036d.C0954f.m4101a();\n r8 = new android.support.v4.f.f;\n r8.<init>();\n r7 = new java.util.ArrayList;\n r7.<init>();\n r9 = new java.util.HashMap;\n r9.<init>();\n r10 = new java.util.HashMap;\n r10.<init>();\n r12 = new java.util.HashMap;\n r12.<init>();\n r11 = new android.support.v4.f.n;\n r11.<init>();\n r13 = new com.airbnb.lottie.d;\n r13.<init>();\n r28.beginObject();\n r2 = 0;\n r2 = 0;\n r4 = 0;\n r5 = 0;\n r6 = 0;\n r14 = 0;\n L_0x0032:\n r15 = r28.hasNext();\n if (r15 == 0) goto L_0x0138;\n L_0x0038:\n r15 = r28.nextName();\n r16 = -1;\n r17 = r15.hashCode();\n r18 = 2;\n r19 = 1;\n switch(r17) {\n case -1408207997: goto L_0x00a7;\n case -1109732030: goto L_0x009d;\n case 104: goto L_0x0093;\n case 118: goto L_0x0089;\n case 119: goto L_0x007f;\n case 3276: goto L_0x0075;\n case 3367: goto L_0x006b;\n case 3553: goto L_0x0061;\n case 94623709: goto L_0x0056;\n case 97615364: goto L_0x004b;\n default: goto L_0x0049;\n };\n L_0x0049:\n goto L_0x00b1;\n L_0x004b:\n r3 = \"fonts\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x0053:\n r3 = 8;\n goto L_0x00b2;\n L_0x0056:\n r3 = \"chars\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x005e:\n r3 = 9;\n goto L_0x00b2;\n L_0x0061:\n r3 = \"op\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x0069:\n r3 = 3;\n goto L_0x00b2;\n L_0x006b:\n r3 = \"ip\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x0073:\n r3 = 2;\n goto L_0x00b2;\n L_0x0075:\n r3 = \"fr\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x007d:\n r3 = 4;\n goto L_0x00b2;\n L_0x007f:\n r3 = \"w\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x0087:\n r3 = 0;\n goto L_0x00b2;\n L_0x0089:\n r3 = \"v\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x0091:\n r3 = 5;\n goto L_0x00b2;\n L_0x0093:\n r3 = \"h\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x009b:\n r3 = 1;\n goto L_0x00b2;\n L_0x009d:\n r3 = \"layers\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x00a5:\n r3 = 6;\n goto L_0x00b2;\n L_0x00a7:\n r3 = \"assets\";\n r3 = r15.equals(r3);\n if (r3 == 0) goto L_0x00b1;\n L_0x00af:\n r3 = 7;\n goto L_0x00b2;\n L_0x00b1:\n r3 = -1;\n L_0x00b2:\n switch(r3) {\n case 0: goto L_0x012a;\n case 1: goto L_0x0120;\n case 2: goto L_0x0116;\n case 3: goto L_0x0107;\n case 4: goto L_0x00fd;\n case 5: goto L_0x00ce;\n case 6: goto L_0x00ca;\n case 7: goto L_0x00c6;\n case 8: goto L_0x00c2;\n case 9: goto L_0x00be;\n default: goto L_0x00b5;\n };\n L_0x00b5:\n r27 = r11;\n r26 = r12;\n r28.skipValue();\n goto L_0x0132;\n L_0x00be:\n com.airbnb.lottie.p035c.C0944t.m4068a(r0, r13, r11);\n goto L_0x0102;\n L_0x00c2:\n com.airbnb.lottie.p035c.C0944t.m4071a(r0, r12);\n goto L_0x0102;\n L_0x00c6:\n com.airbnb.lottie.p035c.C0944t.m4070a(r0, r13, r9, r10);\n goto L_0x0102;\n L_0x00ca:\n com.airbnb.lottie.p035c.C0944t.m4069a(r0, r13, r7, r8);\n goto L_0x0102;\n L_0x00ce:\n r3 = r28.nextString();\n r15 = \"\\\\.\";\n r3 = r3.split(r15);\n r15 = 0;\n r16 = r3[r15];\n r20 = java.lang.Integer.parseInt(r16);\n r15 = r3[r19];\n r21 = java.lang.Integer.parseInt(r15);\n r3 = r3[r18];\n r22 = java.lang.Integer.parseInt(r3);\n r23 = 4;\n r24 = 4;\n r25 = 0;\n r3 = com.airbnb.lottie.p036d.C0954f.m4108a(r20, r21, r22, r23, r24, r25);\n if (r3 != 0) goto L_0x0102;\n L_0x00f7:\n r3 = \"Lottie only supports bodymovin >= 4.4.0\";\n r13.m4112a(r3);\n goto L_0x0102;\n L_0x00fd:\n r14 = r28.nextDouble();\n r14 = (float) r14;\n L_0x0102:\n r27 = r11;\n r26 = r12;\n goto L_0x0132;\n L_0x0107:\n r27 = r11;\n r26 = r12;\n r11 = r28.nextDouble();\n r3 = (float) r11;\n r6 = 1008981770; // 0x3c23d70a float:0.01 double:4.9850323E-315;\n r6 = r3 - r6;\n goto L_0x0132;\n L_0x0116:\n r27 = r11;\n r26 = r12;\n r11 = r28.nextDouble();\n r5 = (float) r11;\n goto L_0x0132;\n L_0x0120:\n r27 = r11;\n r26 = r12;\n r3 = r28.nextInt();\n r4 = r3;\n goto L_0x0132;\n L_0x012a:\n r27 = r11;\n r26 = r12;\n r2 = r28.nextInt();\n L_0x0132:\n r12 = r26;\n r11 = r27;\n goto L_0x0032;\n L_0x0138:\n r27 = r11;\n r26 = r12;\n r28.endObject();\n r0 = (float) r2;\n r0 = r0 * r1;\n r0 = (int) r0;\n r2 = (float) r4;\n r2 = r2 * r1;\n r1 = (int) r2;\n r3 = new android.graphics.Rect;\n r2 = 0;\n r3.<init>(r2, r2, r0, r1);\n r2 = r13;\n r4 = r5;\n r5 = r6;\n r6 = r14;\n r2.m4111a(r3, r4, r5, r6, r7, r8, r9, r10, r11, r12);\n return r13;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.airbnb.lottie.c.t.a(android.util.JsonReader):com.airbnb.lottie.d\");\n }",
"public void run() {\n /*\n r6 = this;\n java.lang.String r0 = \"ruomiz\"\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"bitmap--getNetWorkThumImage: --\"\n r1.append(r2)\n java.lang.String r2 = r3\n r1.append(r2)\n java.lang.String r1 = r1.toString()\n android.util.Log.i(r0, r1)\n java.lang.String r0 = r4\n boolean r0 = android.text.TextUtils.isEmpty(r0)\n if (r0 != 0) goto L_0x012b\n java.lang.String r0 = r3\n boolean r0 = android.text.TextUtils.isEmpty(r0)\n if (r0 == 0) goto L_0x002a\n goto L_0x012b\n L_0x002a:\n java.lang.String r0 = r4\n java.lang.String r1 = \"http://\"\n boolean r0 = r0.startsWith(r1)\n if (r0 != 0) goto L_0x003f\n java.lang.String r0 = r4\n java.lang.String r1 = \"https://\"\n boolean r0 = r0.startsWith(r1)\n if (r0 != 0) goto L_0x003f\n return\n L_0x003f:\n r0 = 0\n com.introvd.template.component.videofetcher.utils.i r1 = com.introvd.template.component.videofetcher.utils.C5492i.this\n com.introvd.template.component.videofetcher.utils.h r1 = r1.cmD\n if (r1 == 0) goto L_0x007b\n com.introvd.template.component.videofetcher.utils.i r1 = com.introvd.template.component.videofetcher.utils.C5492i.this\n com.introvd.template.component.videofetcher.utils.h r1 = r1.cmD\n java.lang.String r2 = r3\n android.graphics.Bitmap r1 = r1.getBitmapFromMemCache(r2)\n if (r1 == 0) goto L_0x007b\n java.lang.String r0 = \"ruomiz\"\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"bitmap==getNetWorkThumImage: --mLruCacheHelper-222-\"\n r1.append(r2)\n java.lang.String r2 = r3\n r1.append(r2)\n java.lang.String r1 = r1.toString()\n android.util.Log.d(r0, r1)\n com.introvd.template.component.videofetcher.utils.i r0 = com.introvd.template.component.videofetcher.utils.C5492i.this\n com.introvd.template.component.videofetcher.utils.h r0 = r0.cmD\n java.lang.String r1 = r3\n android.graphics.Bitmap r0 = r0.getBitmapFromMemCache(r1)\n goto L_0x00c0\n L_0x007b:\n android.media.MediaMetadataRetriever r1 = new android.media.MediaMetadataRetriever\n r1.<init>()\n java.lang.String r2 = r4 // Catch:{ Exception -> 0x00b9 }\n java.util.Hashtable r3 = new java.util.Hashtable // Catch:{ Exception -> 0x00b9 }\n r3.<init>() // Catch:{ Exception -> 0x00b9 }\n r1.setDataSource(r2, r3) // Catch:{ Exception -> 0x00b9 }\n r2 = 17\n java.lang.String r2 = r1.extractMetadata(r2) // Catch:{ Exception -> 0x00b9 }\n java.lang.String r3 = \"ruomiz\"\n java.lang.String r4 = \"bitmap--getNetWorkThumImage: --mLruCacheHelper-hasVideo-\"\n android.util.Log.d(r3, r4) // Catch:{ Exception -> 0x00b9 }\n java.lang.String r3 = \"yes\"\n boolean r2 = r3.equals(r2) // Catch:{ Exception -> 0x00b9 }\n if (r2 == 0) goto L_0x00bd\n r2 = -1\n android.graphics.Bitmap r2 = r1.getFrameAtTime(r2) // Catch:{ Exception -> 0x00b9 }\n com.introvd.template.component.videofetcher.utils.i r0 = com.introvd.template.component.videofetcher.utils.C5492i.this // Catch:{ Exception -> 0x00b2 }\n com.introvd.template.component.videofetcher.utils.h r0 = r0.cmD // Catch:{ Exception -> 0x00b2 }\n java.lang.String r3 = r3 // Catch:{ Exception -> 0x00b2 }\n r0.mo27173b(r3, r2) // Catch:{ Exception -> 0x00b2 }\n r0 = r2\n goto L_0x00bd\n L_0x00b2:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x00ba\n L_0x00b7:\n r0 = move-exception\n goto L_0x0127\n L_0x00b9:\n r2 = move-exception\n L_0x00ba:\n r2.printStackTrace() // Catch:{ all -> 0x00b7 }\n L_0x00bd:\n r1.release()\n L_0x00c0:\n java.lang.String r1 = r3\n boolean r1 = android.text.TextUtils.isEmpty(r1)\n if (r1 != 0) goto L_0x00ec\n java.lang.String r1 = r3\n java.lang.String r2 = \".\"\n boolean r1 = r1.contains(r2)\n if (r1 == 0) goto L_0x00ec\n java.lang.String r1 = r3\n java.lang.String r1 = com.introvd.template.component.videofetcher.utils.C5485c.m14892fM(r1)\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n r2.<init>()\n r2.append(r1)\n java.lang.String r1 = com.introvd.template.component.videofetcher.utils.C5492i.cmF\n r2.append(r1)\n java.lang.String r1 = r2.toString()\n goto L_0x0101\n L_0x00ec:\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = r3\n r1.append(r2)\n java.lang.String r2 = com.introvd.template.component.videofetcher.utils.C5492i.cmF\n r1.append(r2)\n java.lang.String r1 = r1.toString()\n L_0x0101:\n if (r0 == 0) goto L_0x0126\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n r2.<init>()\n java.lang.String r3 = com.introvd.template.component.videofetcher.utils.C5492i.cmE\n r2.append(r3)\n r2.append(r1)\n java.lang.String r2 = r2.toString()\n boolean r2 = com.introvd.template.component.videofetcher.utils.C5488f.m14899fN(r2)\n if (r2 != 0) goto L_0x0126\n com.introvd.template.component.videofetcher.utils.i r2 = com.introvd.template.component.videofetcher.utils.C5492i.this // Catch:{ IOException -> 0x0122 }\n java.lang.String r3 = com.introvd.template.component.videofetcher.utils.C5492i.cmE // Catch:{ IOException -> 0x0122 }\n r2.m14909a(r0, r3, r1) // Catch:{ IOException -> 0x0122 }\n goto L_0x0126\n L_0x0122:\n r0 = move-exception\n r0.printStackTrace()\n L_0x0126:\n return\n L_0x0127:\n r1.release()\n throw r0\n L_0x012b:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.introvd.template.component.videofetcher.utils.C5492i.C54953.run():void\");\n }",
"public static GifFrameLoader m12418a() {\n if (f9095b == null) {\n f9095b = new GifFrameLoader();\n }\n return f9095b;\n }",
"public interface GifListView extends IBaseView<GifListRet>{\n}",
"public void onFinalImageSet(java.lang.String r3, @javax.annotation.Nullable com.facebook.imagepipeline.image.ImageInfo r4, @javax.annotation.Nullable android.graphics.drawable.Animatable r5) {\r\n /*\r\n r2 = this;\r\n r3 = 0;\r\n r4 = com.airbnb.android.react.maps.AirMapMarker.this;\t Catch:{ all -> 0x007e }\r\n r4 = r4.dataSource;\t Catch:{ all -> 0x007e }\r\n r4 = r4.getResult();\t Catch:{ all -> 0x007e }\r\n r4 = (com.facebook.common.references.CloseableReference) r4;\t Catch:{ all -> 0x007e }\r\n r3 = 1;\r\n if (r4 == 0) goto L_0x003b;\r\n L_0x0010:\r\n r5 = r4.get();\t Catch:{ all -> 0x0039 }\r\n r5 = (com.facebook.imagepipeline.image.CloseableImage) r5;\t Catch:{ all -> 0x0039 }\r\n if (r5 == 0) goto L_0x003b;\r\n L_0x0018:\r\n r0 = r5 instanceof com.facebook.imagepipeline.image.CloseableStaticBitmap;\t Catch:{ all -> 0x0039 }\r\n if (r0 == 0) goto L_0x003b;\r\n L_0x001c:\r\n r5 = (com.facebook.imagepipeline.image.CloseableStaticBitmap) r5;\t Catch:{ all -> 0x0039 }\r\n r5 = r5.getUnderlyingBitmap();\t Catch:{ all -> 0x0039 }\r\n if (r5 == 0) goto L_0x003b;\r\n L_0x0024:\r\n r0 = android.graphics.Bitmap.Config.ARGB_8888;\t Catch:{ all -> 0x0039 }\r\n r5 = r5.copy(r0, r3);\t Catch:{ all -> 0x0039 }\r\n r0 = com.airbnb.android.react.maps.AirMapMarker.this;\t Catch:{ all -> 0x0039 }\r\n r0.iconBitmap = r5;\t Catch:{ all -> 0x0039 }\r\n r0 = com.airbnb.android.react.maps.AirMapMarker.this;\t Catch:{ all -> 0x0039 }\r\n r5 = com.google.android.gms.maps.model.BitmapDescriptorFactory.fromBitmap(r5);\t Catch:{ all -> 0x0039 }\r\n r0.iconBitmapDescriptor = r5;\t Catch:{ all -> 0x0039 }\r\n goto L_0x003b;\r\n L_0x0039:\r\n r3 = move-exception;\r\n goto L_0x0082;\r\n L_0x003b:\r\n r5 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r5 = r5.dataSource;\r\n r5.close();\r\n if (r4 == 0) goto L_0x0049;\r\n L_0x0046:\r\n com.facebook.common.references.CloseableReference.closeSafely(r4);\r\n L_0x0049:\r\n r4 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r4 = r4.markerManager;\r\n if (r4 == 0) goto L_0x0078;\r\n L_0x0051:\r\n r4 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r4 = r4.imageUri;\r\n if (r4 == 0) goto L_0x0078;\r\n L_0x0059:\r\n r4 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r4 = r4.markerManager;\r\n r5 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r5 = r5.imageUri;\r\n r4 = r4.getSharedIcon(r5);\r\n r5 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r5 = r5.iconBitmapDescriptor;\r\n r0 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r0 = r0.iconBitmap;\r\n r4.updateIcon(r5, r0);\r\n L_0x0078:\r\n r4 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r4.update(r3);\r\n return;\r\n L_0x007e:\r\n r4 = move-exception;\r\n r1 = r4;\r\n r4 = r3;\r\n r3 = r1;\r\n L_0x0082:\r\n r5 = com.airbnb.android.react.maps.AirMapMarker.this;\r\n r5 = r5.dataSource;\r\n r5.close();\r\n if (r4 == 0) goto L_0x0090;\r\n L_0x008d:\r\n com.facebook.common.references.CloseableReference.closeSafely(r4);\r\n L_0x0090:\r\n throw r3;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: com.airbnb.android.react.maps.AirMapMarker.1.onFinalImageSet(java.lang.String, com.facebook.imagepipeline.image.ImageInfo, android.graphics.drawable.Animatable):void\");\r\n }",
"T decode1(DataBuffer buffer);",
"public static void decodeAllImages(Args args){\n \t//Now those arrays will contain 'decoded' images\n \timageNames.clear();\n imagesToZip.clear();\n imageDict.clear();\n ArrayList<CodedData> recoveredData = null;\n\n //Read the coded images\n try {\n System.out.println(\"Reading zip file...\");\n readZip(args.codedInput, false);\n } catch (IOException ex) {\n Logger.getLogger(ProjectePractiques.class.getName()).log(Level.SEVERE, null, ex);\n }\n BufferedImage tempFrame=null, tempFrameI=null;\n WritableRaster tempBitmap=null;\n WritableRaster tempDecoded=null;\n CodedData tempData=null;\n int gop = dataList.get(0).gop;\n //System.out.println(gop);\n BufferedImage tempBufferedImage = null;\n int z = 0;\n //recoveredData[0] contains the info of the image 0, and so on\n int recoveredDataCounter = 0;\n //For every image,\n for(int i= 0; i < imageNames.size(); i++){\n \t//z is a counter of the gop so we can decide if its a frameI or P\n if(z >= (gop)){\n z=0;\n }\n if(z == 0){//Frame I\n \t//Store it\n tempFrameI = imageDict.get(imageNames.get(i));\n imageDict.put(imageNames.get(i), tempFrameI);\n }else{\n //Frame P, decode it\n tempFrame = imageDict.get(imageNames.get(i)); \n tempBitmap = (WritableRaster) tempFrame.getData();\n tempDecoded = tempBitmap.createWritableChild(tempFrame.getMinX(), tempFrame.getMinY(), tempFrame.getWidth(), tempFrame.getHeight(), 0,0, null);\n \t//Get his info\n tempData = dataList.get(recoveredDataCounter);\n recoveredDataCounter++;\n int[] tempColor;\n //Iterate through the tile and replace its pixels\n for(int k = 0; k < tempData.bestTilesX.size(); k++){\n for (int baseX = 0; baseX < tempData.tileWidth ; baseX++) {\n for (int baseY = 0; baseY < tempData.tileHeight; baseY++) {\n tempColor = getPixelColor(tempFrameI, tempData.bestOriginX.get(k)+baseX, tempData.bestOriginY.get(k)+baseY);\n tempDecoded.setPixel(tempData.bestTilesX.get(k)+baseX, tempData.bestTilesY.get(k)+baseY, tempColor);\n }\n }\n }\n //Store the new decoded image\n tempBufferedImage = new BufferedImage(tempFrame.getColorModel(),tempDecoded,tempFrame.isAlphaPremultiplied(),null);\n imageDict.put(imageNames.get(i), tempBufferedImage);\n tempFrameI = tempBufferedImage;\n }\n z++;\n }\n }",
"@Override\n public void populateGifDetails() {\n // Set the rating with animation\n ObjectAnimator anim = ObjectAnimator.ofFloat(averageRatingBar, \"rating\", gif.getAverageRating());\n anim.setDuration(2000);\n anim.start();\n\n tvRatingCount.setText(String.valueOf(gif.getRatingCount()));\n tvTitle.setText(gif.getTitle());\n tvUploader.setText(gif.getUserName());\n tvUploadDate.setText(getFormattedDate(gif.getImportDate()));\n tvDimension.setText(getString(R.string.formatted_dimensions, gif.getFullGif().getHeight()\n , gif.getFullGif().getWidth()));\n tvSize.setText(getString(R.string.formatted_size_with_unit_kb, gif.getFullGif().getSize()));\n }",
"public static Bitmap m56266aW(byte[] bArr) {\n AppMethodBeat.m2504i(62447);\n if (C5046bo.m7540cb(bArr)) {\n AppMethodBeat.m2505o(62447);\n return null;\n }\n int[] iArr = new int[4];\n int[] iArr2 = new int[4];\n long nativeInitWxAMDecoder = MMWXGFJNI.nativeInitWxAMDecoder();\n if (nativeInitWxAMDecoder == 0) {\n C4990ab.m7420w(\"MicroMsg.GIF.MMWXGFUtil\", \"Cpan init wxam decoder failed.\");\n }\n if (MMWXGFJNI.nativeDecodeBufferHeader(nativeInitWxAMDecoder, bArr, bArr.length) != 0) {\n C4990ab.m7421w(\"MicroMsg.GIF.MMWXGFUtil\", \"Cpan WXGF decode buffer header failed. result:%d\", Integer.valueOf(MMWXGFJNI.nativeDecodeBufferHeader(nativeInitWxAMDecoder, bArr, bArr.length)));\n }\n if (MMWXGFJNI.nativeGetOption(nativeInitWxAMDecoder, bArr, bArr.length, iArr) != 0) {\n C4990ab.m7421w(\"MicroMsg.GIF.MMWXGFUtil\", \"Cpan WXGF get option failed. result:%d\", Integer.valueOf(MMWXGFJNI.nativeGetOption(nativeInitWxAMDecoder, bArr, bArr.length, iArr)));\n }\n int i = iArr[1];\n int i2 = iArr[2];\n if (i <= 0 || i2 <= 0) {\n AppMethodBeat.m2505o(62447);\n return null;\n }\n Bitmap createBitmap = Bitmap.createBitmap(i, i2, Config.ARGB_8888);\n MMWXGFJNI.nativeDecodeBufferFrame(nativeInitWxAMDecoder, null, 0, createBitmap, iArr2);\n MMWXGFJNI.nativeUninit(nativeInitWxAMDecoder);\n AppMethodBeat.m2505o(62447);\n return createBitmap;\n }",
"public interface a {\n\n /* compiled from: DiskCache */\n /* renamed from: com.bumptech.glide.load.engine.a.a$a reason: collision with other inner class name */\n public interface C0003a {\n public static final String ah = \"image_manager_disk_cache\";\n public static final int hP = 262144000;\n\n @Nullable\n a bz();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean f(@NonNull File file);\n }\n\n void a(c cVar, b bVar);\n\n void clear();\n\n @Nullable\n File e(c cVar);\n\n void f(c cVar);\n}",
"private final com.google.android.play.p179a.p352a.ae m28545b(com.google.protobuf.nano.a r8) {\n /*\n r7 = this;\n r6 = 1048576; // 0x100000 float:1.469368E-39 double:5.180654E-318;\n L_0x0002:\n r0 = r8.a();\n switch(r0) {\n case 0: goto L_0x000f;\n case 8: goto L_0x0010;\n case 18: goto L_0x001d;\n case 24: goto L_0x002a;\n case 34: goto L_0x0037;\n case 42: goto L_0x0044;\n case 50: goto L_0x0051;\n case 58: goto L_0x005e;\n case 66: goto L_0x006b;\n case 74: goto L_0x0078;\n case 82: goto L_0x0086;\n case 90: goto L_0x0094;\n case 98: goto L_0x00a2;\n case 106: goto L_0x00b0;\n case 114: goto L_0x00be;\n case 122: goto L_0x00cc;\n case 130: goto L_0x00dc;\n case 138: goto L_0x00eb;\n case 144: goto L_0x00fa;\n case 152: goto L_0x0108;\n case 160: goto L_0x0117;\n case 168: goto L_0x0126;\n default: goto L_0x0009;\n };\n L_0x0009:\n r0 = super.m4918a(r8, r0);\n if (r0 != 0) goto L_0x0002;\n L_0x000f:\n return r7;\n L_0x0010:\n r0 = r8.j();\n r7.f30754b = r0;\n r0 = r7.f30753a;\n r0 = r0 | 1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x001d:\n r0 = r8.f();\n r7.f30755c = r0;\n r0 = r7.f30753a;\n r0 = r0 | 2;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x002a:\n r0 = r8.i();\n r7.f30757e = r0;\n r0 = r7.f30753a;\n r0 = r0 | 8;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0037:\n r0 = r8.f();\n r7.f30758f = r0;\n r0 = r7.f30753a;\n r0 = r0 | 16;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0044:\n r0 = r8.f();\n r7.f30759g = r0;\n r0 = r7.f30753a;\n r0 = r0 | 32;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0051:\n r0 = r8.f();\n r7.f30762j = r0;\n r0 = r7.f30753a;\n r0 = r0 | 256;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x005e:\n r0 = r8.f();\n r7.f30763k = r0;\n r0 = r7.f30753a;\n r0 = r0 | 512;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x006b:\n r0 = r8.f();\n r7.f30760h = r0;\n r0 = r7.f30753a;\n r0 = r0 | 64;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0078:\n r0 = r8.f();\n r7.f30761i = r0;\n r0 = r7.f30753a;\n r0 = r0 | 128;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0086:\n r0 = r8.f();\n r7.f30764l = r0;\n r0 = r7.f30753a;\n r0 = r0 | 1024;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0094:\n r0 = r8.f();\n r7.f30765m = r0;\n r0 = r7.f30753a;\n r0 = r0 | 2048;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00a2:\n r0 = r8.f();\n r7.f30766n = r0;\n r0 = r7.f30753a;\n r0 = r0 | 4096;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00b0:\n r0 = r8.f();\n r7.f30767o = r0;\n r0 = r7.f30753a;\n r0 = r0 | 8192;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00be:\n r0 = r8.f();\n r7.f30768p = r0;\n r0 = r7.f30753a;\n r0 = r0 | 16384;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00cc:\n r0 = r8.f();\n r7.f30769q = r0;\n r0 = r7.f30753a;\n r1 = 32768; // 0x8000 float:4.5918E-41 double:1.61895E-319;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00dc:\n r0 = r8.f();\n r7.f30770r = r0;\n r0 = r7.f30753a;\n r1 = 65536; // 0x10000 float:9.18355E-41 double:3.2379E-319;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00eb:\n r0 = r8.f();\n r7.f30771s = r0;\n r0 = r7.f30753a;\n r1 = 131072; // 0x20000 float:1.83671E-40 double:6.47582E-319;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x00fa:\n r0 = r8.j();\n r7.f30756d = r0;\n r0 = r7.f30753a;\n r0 = r0 | 4;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0108:\n r0 = r8.i();\n r7.f30772t = r0;\n r0 = r7.f30753a;\n r1 = 262144; // 0x40000 float:3.67342E-40 double:1.295163E-318;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0117:\n r0 = r8.e();\n r7.f30773u = r0;\n r0 = r7.f30753a;\n r1 = 524288; // 0x80000 float:7.34684E-40 double:2.590327E-318;\n r0 = r0 | r1;\n r7.f30753a = r0;\n goto L_0x0002;\n L_0x0126:\n r1 = r7.f30753a;\n r1 = r1 | r6;\n r7.f30753a = r1;\n r1 = r8.o();\n r2 = r8.i();\t Catch:{ IllegalArgumentException -> 0x0151 }\n switch(r2) {\n case 0: goto L_0x015a;\n case 1: goto L_0x015a;\n case 2: goto L_0x015a;\n default: goto L_0x0136;\n };\t Catch:{ IllegalArgumentException -> 0x0151 }\n L_0x0136:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r4 = 48;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0151 }\n r4 = \" is not a valid enum PairedDeviceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0151 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0151 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0151 }\n L_0x0151:\n r2 = move-exception;\n r8.e(r1);\n r7.m4918a(r8, r0);\n goto L_0x0002;\n L_0x015a:\n r7.f30774v = r2;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r7.f30753a;\t Catch:{ IllegalArgumentException -> 0x0151 }\n r2 = r2 | r6;\n r7.f30753a = r2;\t Catch:{ IllegalArgumentException -> 0x0151 }\n goto L_0x0002;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.ae.b(com.google.protobuf.nano.a):com.google.android.play.a.a.ae\");\n }",
"private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }",
"private final com.google.android.play.p179a.p352a.C6210u m28673b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x001b;\n case 26: goto L_0x0058;\n case 34: goto L_0x0065;\n case 42: goto L_0x0072;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f31049b = r0;\n r0 = r6.f31048a;\n r0 = r0 | 1;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x001b:\n r1 = r6.f31048a;\n r1 = r1 | 2;\n r6.f31048a = r1;\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0047 }\n switch(r2) {\n case 0: goto L_0x004f;\n case 1: goto L_0x004f;\n case 2: goto L_0x004f;\n case 3: goto L_0x004f;\n case 4: goto L_0x004f;\n case 5: goto L_0x004f;\n case 6: goto L_0x004f;\n default: goto L_0x002c;\n };\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x002c:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = 38;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = \" is not a valid enum OsType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0047 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x0047:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x004f:\n r6.f31050c = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r6.f31048a;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2 | 2;\n r6.f31048a = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n goto L_0x0000;\n L_0x0058:\n r0 = r7.f();\n r6.f31051d = r0;\n r0 = r6.f31048a;\n r0 = r0 | 4;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0065:\n r0 = r7.f();\n r6.f31052e = r0;\n r0 = r6.f31048a;\n r0 = r0 | 8;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0072:\n r0 = r7.f();\n r6.f31053f = r0;\n r0 = r6.f31048a;\n r0 = r0 | 16;\n r6.f31048a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.u.b(com.google.protobuf.nano.a):com.google.android.play.a.a.u\");\n }",
"@Override\n public void run() {\n try {\n if (urlString != null && !urlString.equals(\"\")) {\n\n\n if (urlString.endsWith(\".gif\")) {\n\n\n handler.sendEmptyMessage(SHOW_VIEW_GIF);\n\n } else if (!urlString.endsWith(\".gif\")) {\n bitmapDrawable = null;\n bitmapDrawable = ((BitmapDrawable) loadImageFromUrl(urlString)).getBitmap();\n if (bitmapDrawable != null) {\n handler.sendEmptyMessage(SHOW_VIEW);\n }\n\n\n }\n\n\n }\n\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public interface MainView {\n\n void setGifs(GifList list);\n void showError(String error);\n\n}",
"public void playerAnimation(){\r\n \r\n switch (gif) {\r\n case 5:\r\n j= new ImageIcon(getClass().getResource(\"/\" + Character.choosen_char + \"_1.png\"));\r\n img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n ;\r\n break;\r\n case 15:\r\n j = new ImageIcon(getClass().getResource(\"/\"+ Character.choosen_char + \"_2.png\"));\r\n img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n break;\r\n case 20:\r\n j = new ImageIcon(getClass().getResource(\"/\"+ Character.choosen_char + \"_3.png\"));\r\n img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n\r\n break;\r\n case 35:\r\n j = new ImageIcon(getClass().getResource(\"/\" + Character.choosen_char + \"_4.png\"));\r\n img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n\r\n break;\r\n case 45:\r\n j = new ImageIcon(getClass().getResource(\"/\" + Character.choosen_char + \"_5.png\"));\r\n img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n\r\n break;\r\n case 55:\r\n j = new ImageIcon(getClass().getResource(\"/\" + Character.choosen_char + \"_6.png\"));\r\n img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n\r\n break;\r\n case 65:\r\n // j= new ImageIcon(\"D:\\\\Netbeans\\\\Projects\\\\ProjectZ\\\\src\\\\shi_1.png\");\r\n // img = j.getImage().getScaledInstance(200, 200, Image.SCALE_DEFAULT);\r\n // \r\n gif = 0;\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n }",
"private boolean m14290a(android.graphics.Bitmap r4, java.lang.String r5, android.graphics.Bitmap.CompressFormat r6, int r7) throws java.io.IOException, java.io.FileNotFoundException {\n /*\n r3 = this;\n if (r4 == 0) goto L_0x002a\n boolean r0 = r4.isRecycled()\n if (r0 != 0) goto L_0x002a\n if (r5 != 0) goto L_0x000b\n goto L_0x002a\n L_0x000b:\n r0 = 0\n java.io.BufferedOutputStream r1 = new java.io.BufferedOutputStream // Catch:{ all -> 0x0023 }\n java.io.FileOutputStream r2 = new java.io.FileOutputStream // Catch:{ all -> 0x0023 }\n r2.<init>(r5) // Catch:{ all -> 0x0023 }\n r5 = 262144(0x40000, float:3.67342E-40)\n r1.<init>(r2, r5) // Catch:{ all -> 0x0023 }\n boolean r4 = r4.compress(r6, r7, r1) // Catch:{ all -> 0x0020 }\n r1.close()\n return r4\n L_0x0020:\n r4 = move-exception\n r0 = r1\n goto L_0x0024\n L_0x0023:\n r4 = move-exception\n L_0x0024:\n if (r0 == 0) goto L_0x0029\n r0.close()\n L_0x0029:\n throw r4\n L_0x002a:\n r4 = 0\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.introvd.template.common.bitmapfun.util.DiskLruCache.m14290a(android.graphics.Bitmap, java.lang.String, android.graphics.Bitmap$CompressFormat, int):boolean\");\n }",
"public interface C0605e {\n Bitmap m4508a(int i, int i2, Config config);\n\n void m4509a();\n\n void m4510a(int i);\n\n boolean m4511a(Bitmap bitmap);\n\n Bitmap m4512b(int i, int i2, Config config);\n}",
"@androidx.annotation.Nullable\r\n public synchronized android.graphics.Bitmap getNextFrame() {\r\n /*\r\n r7 = this;\r\n monitor-enter(r7);\r\n r0 = r7.header;\t Catch:{ all -> 0x00ea }\r\n r0 = r0.frameCount;\t Catch:{ all -> 0x00ea }\r\n r1 = 3;\r\n r2 = 1;\r\n if (r0 <= 0) goto L_0x000d;\r\n L_0x0009:\r\n r0 = r7.framePointer;\t Catch:{ all -> 0x00ea }\r\n if (r0 >= 0) goto L_0x003b;\r\n L_0x000d:\r\n r0 = TAG;\t Catch:{ all -> 0x00ea }\r\n r0 = android.util.Log.isLoggable(r0, r1);\t Catch:{ all -> 0x00ea }\r\n if (r0 == 0) goto L_0x0039;\r\n L_0x0015:\r\n r0 = TAG;\t Catch:{ all -> 0x00ea }\r\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00ea }\r\n r3.<init>();\t Catch:{ all -> 0x00ea }\r\n r4 = \"Unable to decode frame, frameCount=\";\r\n r3.append(r4);\t Catch:{ all -> 0x00ea }\r\n r4 = r7.header;\t Catch:{ all -> 0x00ea }\r\n r4 = r4.frameCount;\t Catch:{ all -> 0x00ea }\r\n r3.append(r4);\t Catch:{ all -> 0x00ea }\r\n r4 = \", framePointer=\";\r\n r3.append(r4);\t Catch:{ all -> 0x00ea }\r\n r4 = r7.framePointer;\t Catch:{ all -> 0x00ea }\r\n r3.append(r4);\t Catch:{ all -> 0x00ea }\r\n r3 = r3.toString();\t Catch:{ all -> 0x00ea }\r\n android.util.Log.d(r0, r3);\t Catch:{ all -> 0x00ea }\r\n L_0x0039:\r\n r7.status = r2;\t Catch:{ all -> 0x00ea }\r\n L_0x003b:\r\n r0 = r7.status;\t Catch:{ all -> 0x00ea }\r\n r3 = 0;\r\n if (r0 == r2) goto L_0x00c8;\r\n L_0x0040:\r\n r0 = r7.status;\t Catch:{ all -> 0x00ea }\r\n r4 = 2;\r\n if (r0 != r4) goto L_0x0047;\r\n L_0x0045:\r\n goto L_0x00c8;\r\n L_0x0047:\r\n r0 = 0;\r\n r7.status = r0;\t Catch:{ all -> 0x00ea }\r\n r4 = r7.block;\t Catch:{ all -> 0x00ea }\r\n if (r4 != 0) goto L_0x0058;\r\n L_0x004e:\r\n r4 = r7.bitmapProvider;\t Catch:{ all -> 0x00ea }\r\n r5 = 255; // 0xff float:3.57E-43 double:1.26E-321;\r\n r4 = r4.obtainByteArray(r5);\t Catch:{ all -> 0x00ea }\r\n r7.block = r4;\t Catch:{ all -> 0x00ea }\r\n L_0x0058:\r\n r4 = r7.header;\t Catch:{ all -> 0x00ea }\r\n r4 = r4.frames;\t Catch:{ all -> 0x00ea }\r\n r5 = r7.framePointer;\t Catch:{ all -> 0x00ea }\r\n r4 = r4.get(r5);\t Catch:{ all -> 0x00ea }\r\n r4 = (com.bumptech.glide.gifdecoder.GifFrame) r4;\t Catch:{ all -> 0x00ea }\r\n r5 = r7.framePointer;\t Catch:{ all -> 0x00ea }\r\n r5 = r5 - r2;\r\n if (r5 < 0) goto L_0x0074;\r\n L_0x0069:\r\n r6 = r7.header;\t Catch:{ all -> 0x00ea }\r\n r6 = r6.frames;\t Catch:{ all -> 0x00ea }\r\n r5 = r6.get(r5);\t Catch:{ all -> 0x00ea }\r\n r5 = (com.bumptech.glide.gifdecoder.GifFrame) r5;\t Catch:{ all -> 0x00ea }\r\n goto L_0x0075;\r\n L_0x0074:\r\n r5 = r3;\r\n L_0x0075:\r\n r6 = r4.lct;\t Catch:{ all -> 0x00ea }\r\n if (r6 == 0) goto L_0x007c;\r\n L_0x0079:\r\n r6 = r4.lct;\t Catch:{ all -> 0x00ea }\r\n goto L_0x0080;\r\n L_0x007c:\r\n r6 = r7.header;\t Catch:{ all -> 0x00ea }\r\n r6 = r6.gct;\t Catch:{ all -> 0x00ea }\r\n L_0x0080:\r\n r7.act = r6;\t Catch:{ all -> 0x00ea }\r\n r6 = r7.act;\t Catch:{ all -> 0x00ea }\r\n if (r6 != 0) goto L_0x00aa;\r\n L_0x0086:\r\n r0 = TAG;\t Catch:{ all -> 0x00ea }\r\n r0 = android.util.Log.isLoggable(r0, r1);\t Catch:{ all -> 0x00ea }\r\n if (r0 == 0) goto L_0x00a6;\r\n L_0x008e:\r\n r0 = TAG;\t Catch:{ all -> 0x00ea }\r\n r1 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00ea }\r\n r1.<init>();\t Catch:{ all -> 0x00ea }\r\n r4 = \"No valid color table found for frame #\";\r\n r1.append(r4);\t Catch:{ all -> 0x00ea }\r\n r4 = r7.framePointer;\t Catch:{ all -> 0x00ea }\r\n r1.append(r4);\t Catch:{ all -> 0x00ea }\r\n r1 = r1.toString();\t Catch:{ all -> 0x00ea }\r\n android.util.Log.d(r0, r1);\t Catch:{ all -> 0x00ea }\r\n L_0x00a6:\r\n r7.status = r2;\t Catch:{ all -> 0x00ea }\r\n monitor-exit(r7);\r\n return r3;\r\n L_0x00aa:\r\n r1 = r4.transparency;\t Catch:{ all -> 0x00ea }\r\n if (r1 == 0) goto L_0x00c2;\r\n L_0x00ae:\r\n r1 = r7.act;\t Catch:{ all -> 0x00ea }\r\n r2 = r7.pct;\t Catch:{ all -> 0x00ea }\r\n r3 = r7.act;\t Catch:{ all -> 0x00ea }\r\n r3 = r3.length;\t Catch:{ all -> 0x00ea }\r\n java.lang.System.arraycopy(r1, r0, r2, r0, r3);\t Catch:{ all -> 0x00ea }\r\n r1 = r7.pct;\t Catch:{ all -> 0x00ea }\r\n r7.act = r1;\t Catch:{ all -> 0x00ea }\r\n r1 = r7.act;\t Catch:{ all -> 0x00ea }\r\n r2 = r4.transIndex;\t Catch:{ all -> 0x00ea }\r\n r1[r2] = r0;\t Catch:{ all -> 0x00ea }\r\n L_0x00c2:\r\n r0 = r7.setPixels(r4, r5);\t Catch:{ all -> 0x00ea }\r\n monitor-exit(r7);\r\n return r0;\r\n L_0x00c8:\r\n r0 = TAG;\t Catch:{ all -> 0x00ea }\r\n r0 = android.util.Log.isLoggable(r0, r1);\t Catch:{ all -> 0x00ea }\r\n if (r0 == 0) goto L_0x00e8;\r\n L_0x00d0:\r\n r0 = TAG;\t Catch:{ all -> 0x00ea }\r\n r1 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00ea }\r\n r1.<init>();\t Catch:{ all -> 0x00ea }\r\n r2 = \"Unable to decode frame, status=\";\r\n r1.append(r2);\t Catch:{ all -> 0x00ea }\r\n r2 = r7.status;\t Catch:{ all -> 0x00ea }\r\n r1.append(r2);\t Catch:{ all -> 0x00ea }\r\n r1 = r1.toString();\t Catch:{ all -> 0x00ea }\r\n android.util.Log.d(r0, r1);\t Catch:{ all -> 0x00ea }\r\n L_0x00e8:\r\n monitor-exit(r7);\r\n return r3;\r\n L_0x00ea:\r\n r0 = move-exception;\r\n monitor-exit(r7);\r\n throw r0;\r\n */\r\n throw new UnsupportedOperationException(\"Method not decompiled: com.bumptech.glide.gifdecoder.StandardGifDecoder.getNextFrame():android.graphics.Bitmap\");\r\n }",
"public void m2261I() {\n try {\n if (this.f2513n != null) {\n this.f2513n.setImageDrawable(C5150d.m3784a(mo61159b().getResources(), \"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA39pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDozODRkZTAxYi00OWRkLWM4NDYtYThkNC0wZWRiMDMwYTZlODAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QkE0Q0U2MUY2QzA0MTFFNUE3MkJGQjQ1MTkzOEYxQUUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QkE0Q0U2MUU2QzA0MTFFNUE3MkJGQjQ1MTkzOEYxQUUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjlkZjAyMGU0LTNlYmUtZTY0ZC04YjRiLWM5ZWY4MTU4ZjFhYyIgc3RSZWY6ZG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOmU1MzEzNDdlLTZjMDEtMTFlNS1hZGZlLThmMTBjZWYxMGRiZSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PngNsEEAAANeSURBVHjatFfNS1tBEH+pUZOQ0B4i3sTSxHMRFNQoFBEP7dHgvyDiKWgguQra9F+oxqNiwOTQ+oFI1ZM3jSf1YK5FL41ooaKZzu+x+4gv2bx9Rgd+JNn5zO7s7IzH0CQiCvLHZ8YnxkfGe8ZbwS4zSowTxi/GT4/Hc2u8BLHjCOM745b06VboRJpx7GN8ZfyDxUqlQgcHB5RMJmloaIg6Ozupra3NBL5jDTzIQFYQdDOw5db5B8YxLDw+PtLKygr19PQQWDqIRqOUzWZNXUHH2rvBgr2M39C6uLig/v5+bcd2QLdUKskgYLNX57yvIL2zs0OhUOjZziU6Ojro8PBQBnGl3Alm+BknkMI54mybdS4BW3t7ezKIInzVCwDJYm4Zon4p5xLYzfPzcxlEpl7S3SNpmjlznZwQiXn/5CjEnTUzt5GBsbExamlpUfLBg0wjG8vLy3IXlqTzEAoH7m4kElEqTk1Nmfd7bW2tbhBYAw8ykFXZgQ9RJ1CsQghgEr/29/eVStPT09XFhdbX18nr9Vr81tZWyuVyFh+yMzMzSnvwJWjyDS+MYic2NzeV17O7u9vg2m79jsfjBv9bg7PbxOrqqjExMWHxIdvV1aW0V+VrFDtwhFCGh4cbnl0mk6kp+BsbGybsBNlGtkZGRqToEQK4xjfUc6csXlhYcHyFFhcXHe3Al6BrQz427e3tWldpfn5e6Rw83cIkHyvXAUAZb4SdsKZbPe0BaB+Bz+cjTiDlDmxtbZkybo9AKwn9fj9tb2875gBkINvIFnzJJMQ1PMV9GBgYUF6bQCBgFAoFY3x8/Ml6KpUy0un0kzXIQBY6KqrydapViPL5fM0/Rfcj+fhuJw5CqxBpleJYLEY3NzeW8dnZ2RoZrEmCLHQcSvGdWYrFe7CEFTwUqqjR85XLZUokEkoZ8CADWe3HqKoTcnyOdW5KI5m+vj56eHiQz3G0bkNyeXn5ag3J2dmZ/PffVC1Z8bVast3d3eqWLKDVlAaDwaadh8Nhvaa0XluOHg7n9lzn0MWRarfltp0oysEErRqGDTeDCbK9ajApuh7TxGiWERlrjWZzc3M0ODhYM5phDTzbaHb/rNHMFkhUNK13LobTv6K2RJ3se1yO519s4/k7wf5jG89/6I7n/wUYAGo3YtcprD4sAAAAAElFTkSuQmCC\"));\n this.f2513n.setScaleType(ScaleType.FIT_CENTER);\n }\n } catch (Exception e) {\n C5017f.m3256a(mo61159b(), C5015d.EXCEPTION, \"MraidMode.showDefaultCloseButton\", e.getMessage(), \"\");\n }\n }",
"public interface C4610a extends IInterface {\n\n /* renamed from: com.kwai.filedownloader.c.a$a */\n public static abstract class C4611a extends Binder implements C4610a {\n\n /* renamed from: com.kwai.filedownloader.c.a$a$a */\n private static class C4612a implements C4610a {\n /* renamed from: a */\n private IBinder f15013a;\n\n C4612a(IBinder iBinder) {\n this.f15013a = iBinder;\n }\n\n /* renamed from: a */\n public void mo25008a(MessageSnapshot messageSnapshot) {\n Parcel obtain = Parcel.obtain();\n try {\n obtain.writeInterfaceToken(\"com.kwai.filedownloader.i.IFileDownloadIPCCallback\");\n if (messageSnapshot != null) {\n obtain.writeInt(1);\n messageSnapshot.writeToParcel(obtain, 0);\n } else {\n obtain.writeInt(0);\n }\n this.f15013a.transact(1, obtain, null, 1);\n } finally {\n obtain.recycle();\n }\n }\n\n public IBinder asBinder() {\n return this.f15013a;\n }\n }\n\n public C4611a() {\n attachInterface(this, \"com.kwai.filedownloader.i.IFileDownloadIPCCallback\");\n }\n\n /* renamed from: a */\n public static C4610a m18836a(IBinder iBinder) {\n if (iBinder == null) {\n return null;\n }\n IInterface queryLocalInterface = iBinder.queryLocalInterface(\"com.kwai.filedownloader.i.IFileDownloadIPCCallback\");\n return (queryLocalInterface == null || !(queryLocalInterface instanceof C4610a)) ? new C4612a(iBinder) : (C4610a) queryLocalInterface;\n }\n\n public IBinder asBinder() {\n return this;\n }\n\n public boolean onTransact(int i, Parcel parcel, Parcel parcel2, int i2) {\n String str = \"com.kwai.filedownloader.i.IFileDownloadIPCCallback\";\n if (i == 1) {\n parcel.enforceInterface(str);\n mo25008a(parcel.readInt() != 0 ? (MessageSnapshot) MessageSnapshot.CREATOR.createFromParcel(parcel) : null);\n return true;\n } else if (i != 1598968902) {\n return super.onTransact(i, parcel, parcel2, i2);\n } else {\n parcel2.writeString(str);\n return true;\n }\n }\n }\n\n /* renamed from: a */\n void mo25008a(MessageSnapshot messageSnapshot);\n}",
"public void mo5967d() {\n this.f5416fa.setVisibility(0);\n this.f5416fa.setImageBitmap(C1413m.f5711i);\n ObjectAnimator duration = ObjectAnimator.ofFloat(this.f5416fa, \"translationY\", new float[]{-((float) C1413m.f5711i.getHeight()), 0.0f}).setDuration(240);\n ObjectAnimator duration2 = ObjectAnimator.ofFloat(this.f5416fa, \"alpha\", new float[]{0.0f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f, 0.9f, 1.0f}).setDuration(240);\n duration.start();\n duration2.start();\n long j = (long) 240;\n ObjectAnimator.ofFloat(this.f5436pa, \"alpha\", new float[]{1.0f, 0.9f, 0.8f, 0.7f, 0.6f, 0.5f, 0.4f, 0.3f, 0.2f, 0.0f}).setDuration(j).start();\n LinearLayout linearLayout = this.f5438qa;\n ObjectAnimator.ofFloat(linearLayout, \"translationY\", new float[]{0.0f, (float) ((linearLayout.getMeasuredHeight() - this.f5384D.getmImageViewHeight()) - C1413m.m6828a(27, this.f5389I))}).setDuration(j).start();\n ObjectAnimator.ofFloat(this.f5438qa, \"alpha\", new float[]{1.0f, 0.0f}).setDuration(j).start();\n duration.addListener(new C1304Ya(this));\n }",
"public FileDecoder() {\n pathSB = new StringBuilder(100);\n }",
"public static void testDecodePicture(){\n\t Picture wall = new Picture(\"wall.jpg\");\n\t Picture caterpillar = new Picture(\"caterpillar.jpg\");\n\t wall.hidePicture(caterpillar);\n\t wall.explore();\n\t wall.decodePicture();\n\t wall.explore();\n }",
"private final void m126208g() {\n int i;\n int i2;\n int i3;\n int i4;\n int i5;\n if (!this.f102568b.mIsFromDraft || !this.f102568b.hasStickers()) {\n boolean a = C39804em.m127437a(this.f102568b.videoWidth(), this.f102568b.videoHeight());\n if (a) {\n i = this.f102568b.videoWidth();\n } else {\n int[] k = C36964i.m118935k();\n if (k != null) {\n i3 = k[0];\n } else {\n i3 = 720;\n }\n i = m125903a(C7551d.m23567d(this.f102568b.videoWidth(), i3));\n }\n this.f102569c = i;\n if (a) {\n i2 = this.f102568b.videoHeight();\n } else {\n double d = (double) this.f102569c;\n Double.isNaN(d);\n i2 = (int) (Math.ceil(d / 9.0d) * 16.0d);\n }\n this.f102570d = i2;\n return;\n }\n if (this.f102568b.mVideoCanvasWidth > 0) {\n i4 = this.f102568b.mVideoCanvasWidth;\n } else {\n i4 = this.f102568b.videoWidth();\n }\n this.f102569c = i4;\n if (this.f102568b.mVideoCanvasHeight > 0) {\n i5 = this.f102568b.mVideoCanvasHeight;\n } else {\n i5 = this.f102568b.videoHeight();\n }\n this.f102570d = i5;\n }",
"public synchronized Bitmap getNextFrame() {\n if (this.header.frameCount <= 0 || this.framePointer < 0) {\n if (Log.isLoggable(TAG, 3)) {\n String str = TAG;\n StringBuilder sb = new StringBuilder();\n sb.append(\"Unable to decode frame, frameCount=\");\n sb.append(this.header.frameCount);\n sb.append(\", framePointer=\");\n sb.append(this.framePointer);\n Log.d(str, sb.toString());\n }\n this.status = 1;\n }\n if (this.status != 1) {\n if (this.status != 2) {\n this.status = 0;\n if (this.block == null) {\n this.block = this.bitmapProvider.obtainByteArray(255);\n }\n GifFrame gifFrame = (GifFrame) this.header.frames.get(this.framePointer);\n int i = this.framePointer - 1;\n GifFrame gifFrame2 = i >= 0 ? (GifFrame) this.header.frames.get(i) : null;\n this.act = gifFrame.lct != null ? gifFrame.lct : this.header.gct;\n if (this.act == null) {\n if (Log.isLoggable(TAG, 3)) {\n String str2 = TAG;\n StringBuilder sb2 = new StringBuilder();\n sb2.append(\"No valid color table found for frame #\");\n sb2.append(this.framePointer);\n Log.d(str2, sb2.toString());\n }\n this.status = 1;\n return null;\n }\n if (gifFrame.transparency) {\n System.arraycopy(this.act, 0, this.pct, 0, this.act.length);\n this.act = this.pct;\n this.act[gifFrame.transIndex] = 0;\n }\n return setPixels(gifFrame, gifFrame2);\n }\n }\n if (Log.isLoggable(TAG, 3)) {\n String str3 = TAG;\n StringBuilder sb3 = new StringBuilder();\n sb3.append(\"Unable to decode frame, status=\");\n sb3.append(this.status);\n Log.d(str3, sb3.toString());\n }\n }",
"public void mo5964b() {\n this.f5416fa.setVisibility(0);\n this.f5416fa.setImageBitmap(C1413m.f5711i);\n ObjectAnimator duration = ObjectAnimator.ofFloat(this.f5416fa, \"translationY\", new float[]{0.0f, -((float) C1413m.f5711i.getHeight())}).setDuration(350);\n ObjectAnimator duration2 = ObjectAnimator.ofFloat(this.f5416fa, \"alpha\", new float[]{1.0f, 0.9f, 0.8f, 0.7f, 0.55f, 0.35f, 0.2f, 0.1f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}).setDuration(350);\n duration.start();\n duration2.start();\n long j = (long) 240;\n ObjectAnimator.ofFloat(this.f5436pa, \"alpha\", new float[]{0.0f, 0.3f, 0.5f, 0.7f, 0.9f, 1.0f}).setDuration(j).start();\n this.f5438qa.getMeasuredHeight();\n this.f5384D.getmImageViewHeight();\n C1413m.m6828a(27, this.f5389I);\n ObjectAnimator.ofFloat(this.f5386F, \"alpha\", new float[]{0.0f, 1.0f}).setDuration(j).start();\n ObjectAnimator.ofFloat(this.f5384D, \"alpha\", new float[]{0.0f, 1.0f}).setDuration(j).start();\n ObjectAnimator.ofFloat(this.f5385E, \"alpha\", new float[]{0.0f, 1.0f}).setDuration(j).start();\n this.f5384D.getTexView().setText(getResources().getString(R.string.pause));\n this.f5384D.getmImageView().setImageResource(R.drawable.iqoo_buttonanimation);\n this.f5393M = (AnimationDrawable) this.f5384D.getmImageView().getDrawable();\n this.f5393M.start();\n duration.addListener(new C1300Wa(this));\n }",
"private static Bitmap m8222a(URLConnection uRLConnection) {\n InputStream inputStream = uRLConnection.getInputStream();\n try {\n Bitmap a = C2995v.f8235a.m8223a(inputStream);\n return a;\n } finally {\n inputStream.close();\n }\n }",
"public final void run() {\n /*\n r10 = this;\n r8 = 2;\n r7 = 1;\n r6 = 0;\n r2 = com.uc.apollo.media.impl.O.UNKNOWN;\n r1 = 0;\n r0 = r10.e;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r3 = r10.f;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r0 = com.uc.apollo.media.b.c.a(r0, r3);\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n if (r0 == 0) goto L_0x004b;\n L_0x0010:\n r2 = com.uc.apollo.media.impl.O.M3U8;\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n r1 = r0.c();\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n if (r1 == 0) goto L_0x00db;\n L_0x0018:\n r1 = com.uc.apollo.media.impl.O.M3U8_LIVE;\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n L_0x001a:\n r2 = r10.h;\t Catch:{ d -> 0x00d5, Throwable -> 0x0090 }\n if (r2 == 0) goto L_0x0022;\n L_0x001e:\n r2 = 1;\n r0.a(r2);\t Catch:{ d -> 0x00d5, Throwable -> 0x0090 }\n L_0x0022:\n r2 = com.uc.apollo.media.impl.O.UNKNOWN;\n if (r1 == r2) goto L_0x0030;\n L_0x0026:\n r2 = new java.lang.StringBuilder;\n r3 = \"content type is \";\n r2.<init>(r3);\n r2.append(r1);\n L_0x0030:\n r2 = r10.g;\n if (r2 == 0) goto L_0x004a;\n L_0x0034:\n r2 = c;\n r3 = r10.d;\n r4 = 3;\n r4 = new java.lang.Object[r4];\n r5 = r10.g;\n r4[r6] = r5;\n r4[r7] = r1;\n r4[r8] = r0;\n r0 = r2.obtainMessage(r8, r3, r6, r4);\n r0.sendToTarget();\n L_0x004a:\n return;\n L_0x004b:\n r0 = com.uc.apollo.media.impl.O.PARSE_FAILURE;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r9 = r1;\n r1 = r0;\n r0 = r9;\n goto L_0x0022;\n L_0x0051:\n r0 = move-exception;\n r9 = r0;\n r0 = r2;\n r2 = r9;\n L_0x0055:\n r3 = r2.a();\n if (r3 == 0) goto L_0x007e;\n L_0x005b:\n r4 = r3.length;\n r5 = 8;\n if (r4 < r5) goto L_0x007e;\n L_0x0060:\n r4 = 4;\n r4 = r3[r4];\n r5 = 102; // 0x66 float:1.43E-43 double:5.04E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x0067:\n r4 = 5;\n r4 = r3[r4];\n r5 = 116; // 0x74 float:1.63E-43 double:5.73E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x006e:\n r4 = 6;\n r4 = r3[r4];\n r5 = 121; // 0x79 float:1.7E-43 double:6.0E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x0075:\n r4 = 7;\n r3 = r3[r4];\n r4 = 112; // 0x70 float:1.57E-43 double:5.53E-322;\n if (r3 != r4) goto L_0x007e;\n L_0x007c:\n r0 = com.uc.apollo.media.impl.O.MP4;\n L_0x007e:\n r3 = com.uc.apollo.media.impl.O.UNKNOWN;\n if (r0 != r3) goto L_0x008c;\n L_0x0082:\n r3 = new java.lang.StringBuilder;\n r4 = \"parse failure, msg: \";\n r3.<init>(r4);\n r3.append(r2);\n L_0x008c:\n r9 = r1;\n r1 = r0;\n r0 = r9;\n goto L_0x0022;\n L_0x0090:\n r0 = move-exception;\n r1 = com.uc.apollo.media.impl.O.PARSE_FAILURE;\n r1 = a;\n r2 = new java.lang.StringBuilder;\n r3 = \"parse failure: \";\n r2.<init>(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n android.util.Log.w(r1, r2);\n r1 = r10.g;\n if (r1 == 0) goto L_0x004a;\n L_0x00ab:\n r1 = c;\n r2 = r10.d;\n r3 = new java.lang.Object[r8];\n r4 = r10.g;\n r3[r6] = r4;\n r4 = new java.lang.StringBuilder;\n r5 = \"parse failure: \";\n r4.<init>(r5);\n r0 = r4.append(r0);\n r0 = r0.toString();\n r3[r7] = r0;\n r0 = r1.obtainMessage(r7, r2, r6, r3);\n r0.sendToTarget();\n goto L_0x004a;\n L_0x00cf:\n r1 = move-exception;\n r9 = r1;\n r1 = r0;\n r0 = r2;\n r2 = r9;\n goto L_0x0055;\n L_0x00d5:\n r2 = move-exception;\n r9 = r0;\n r0 = r1;\n r1 = r9;\n goto L_0x0055;\n L_0x00db:\n r1 = r2;\n goto L_0x001a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.uc.apollo.media.impl.f.run():void\");\n }",
"public Decoder(String filename) throws FileNotFoundException { \n this.i = 0;\n this.position = 0;\n this.px = 0;\n this.py = 0;\n this.alkuposition = 0;\n this.j = 0;\n this.filename = filename;\n }",
"public void mo5969f() {\n this.f5416fa.setVisibility(0);\n this.f5416fa.setImageBitmap(C1413m.f5711i);\n ObjectAnimator duration = ObjectAnimator.ofFloat(this.f5416fa, \"translationY\", new float[]{0.0f, -((float) C1413m.f5711i.getHeight())}).setDuration(350);\n ObjectAnimator duration2 = ObjectAnimator.ofFloat(this.f5416fa, \"alpha\", new float[]{1.0f, 0.9f, 0.8f, 0.7f, 0.55f, 0.35f, 0.2f, 0.1f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}).setDuration(350);\n duration.start();\n duration2.start();\n long j = (long) 240;\n ObjectAnimator.ofFloat(this.f5386F, \"alpha\", new float[]{0.0f, 1.0f}).setDuration(j).start();\n ObjectAnimator.ofFloat(this.f5384D, \"alpha\", new float[]{0.0f, 1.0f}).setDuration(j).start();\n ObjectAnimator.ofFloat(this.f5385E, \"alpha\", new float[]{0.0f, 1.0f}).setDuration(j).start();\n this.f5384D.getTexView().setText(getResources().getString(R.string.pause));\n duration.addListener(new C1298Va(this));\n }",
"private void arrayInitialise() {\n\t\tif(screenSize >2 && screenSize < 5){\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_cow_ldpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/cow_mooleft_ldpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_horse2_ldpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/horse_left_neigh_ldpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/pig_med_ldpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/pig_oinkleft_ldpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_sheep_ldpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/sheep_baa_ldpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_duck_ldpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/duck_left_ldpi.gif\");\n\t\t}\n\t\telse if(screenSize>=7 && density>1){\t\t\t\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_cow_hdpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/cow_mooleft_hdpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_horse2_hdpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/horse_left_neigh_hdpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/pig_med_hdpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/pig_oinkleft_hdpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_sheep_hdpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/sheep_baa_hdpi.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_duck_hdpi.gif\");\n\t\t\thereGif.add(\"file:///android_asset/duck_left_hdpi.gif\");\n\t\t}\n\t\telse{\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_cow.gif\");\n\t\t\thereGif.add(\"file:///android_asset/cow_mooleft.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_horse2.gif\");\n\t\t\thereGif.add(\"file:///android_asset/horse_left_neigh.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/pig_med.gif\");\n\t\t\thereGif.add(\"file:///android_asset/pig_oinkleft.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_sheep.gif\");\n\t\t\thereGif.add(\"file:///android_asset/sheep_baa.gif\");\n\t\t\tfarmerGif.add(\"file:///android_asset/farmer_duck.gif\");\n\t\t\thereGif.add(\"file:///android_asset/duck_left.gif\");\n\t\t}\n\t\t\n\t\tsound.add(R.raw.cow_moo_edited);\n\t\tsound.add(R.raw.horse_neigh_edited);\n\t\tsound.add(R.raw.pig_oink_edited);\n\t\tsound.add(R.raw.sheep_baa_edited);\n\t\tsound.add(R.raw.duck_quack_edited);\n\t\thereSound.add(R.raw.cow_here_edited);\n\t\thereSound.add(R.raw.horse_here_edited);\n\t\thereSound.add(R.raw.pig_here_edited);\n\t\thereSound.add(R.raw.sheep_here_edited);\n\t\thereSound.add(R.raw.duck_here_edited);\n\t\tendSound.add(R.raw.end_edited);\n\t\tendSound.add(R.raw.end_edited);\n\t\tendSound.add(R.raw.end_edited);\n\t\tendSound.add(R.raw.end_edited);\n\t\tendSound.add(R.raw.end_edited);\n\t\tsoundStart.add(R.raw.cow_start_edited);\n\t\tsoundStart.add(R.raw.horse_start_edited);\n\t\tsoundStart.add(R.raw.pig_start_edited);\n\t\tsoundStart.add(R.raw.sheep_start_edited);\n\t\tsoundStart.add(R.raw.duck_start_edited);\n\t\t}",
"protected void transcode(Document document,\n\t\t\tString uri,\n\t\t\tTranscoderOutput output)\n\t\t\tthrows TranscoderException {\n\n\t\ttry {\n\t\t\tfloat animationStartTime = 0.0001f;\n\t\t\tTranscoderOutput oto = null;\n\t\t\tfloat animationRepeatDelay = 1.0f;\n\t\t\tfloat animationTimeStep = 1.0f;\n\t\t\tint animationFrameCount = 1;\n\t\t\tint animationRepeatCount = 1;\n\n\t\t\tif (this.hints.containsKey(DGSGIFTranscoder.KEY_SNAPSHOT_TIME)) {\n\t\t\t\ttry {\n\t\t\t\t\tanimationStartTime = java.lang.Float.parseFloat(this.hints.get(DGSGIFTranscoder.KEY_SNAPSHOT_TIME).toString());\n\t\t\t\t} catch (Throwable t) {\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.hints.containsKey(DGSGIFTranscoder.KEY_SNAPSHOT_TIME)) {\n\t\t\t\ttry {\n\t\t\t\t\tanimationStartTime = java.lang.Float.parseFloat(this.hints.get(DGSGIFTranscoder.KEY_SNAPSHOT_TIME).toString());\n\t\t\t\t} catch (Throwable t) {\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ((!this.hints.containsKey(CommandEngine.KEY_ANIMATION_ENABLED)) || java.lang.Boolean.FALSE.equals(this.hints.get(CommandEngine.KEY_ANIMATION_ENABLED)) || (animationFrameCount < 1)) {\n\t\t\t\t// animation is disabled or the frame count is invalid, produce 1 frame instead\n\t\t\t\tanimationRepeatDelay = 0.0f;\n\t\t\t\tanimationTimeStep = 0.0f;\n\t\t\t\tanimationFrameCount = 1;\n\t\t\t\tanimationRepeatCount = 1;\n\t\t\t}\n\n\t\t\t// create the gif stream\n\t\t\tjava.io.ByteArrayOutputStream gifStream = new java.io.ByteArrayOutputStream();\n\t\t\tcom.fmsware.gif4free.AnimatedGifEncoder e = new com.fmsware.gif4free.AnimatedGifEncoder();\n\t\t\te.start(gifStream);\n\t\t\tif (animationFrameCount > 1) {\n\t\t\t\t// if the frame count is 1 or 0 then we only display the initial frame\n\t\t\t\tif (animationRepeatCount != 1) {\n\t\t\t\t\te.setRepeat(animationRepeatCount);\n\t\t\t\t}\n\t\t\t\te.setDelay(new Float(animationTimeStep * 1000).intValue());\n\t\t\t} else {\n\t\t\t\tanimationRepeatCount = 1;\n\t\t\t\tanimationFrameCount = 1;\n\t\t\t\tanimationTimeStep = 0.0f;\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < animationFrameCount; i++) {\n\t\t\t\tif ((i + 1) == animationFrameCount) {\n\t\t\t\t\t// last frame, are we repeating?\n\t\t\t\t\tif (animationRepeatCount != 1) {\n\t\t\t\t\t\t// we're repeating, is the repeat delay different from the standard frame delay?\n\t\t\t\t\t\tif (animationRepeatDelay != animationTimeStep) {\n\t\t\t\t\t\t\t// the last frame has a different delay, set it now\n\t\t\t\t\t\t\te.setDelay(new Float(animationRepeatDelay * 1000).intValue());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\te.addFrame(getBufferedImageForSnapshotTime(document, uri, animationStartTime + (i * animationTimeStep)));\n\t\t\t}\n\n\t\t\te.finish();\n\t\t\tgifStream.flush();\n\t\t\tgifStream.close();\n\t\t\tgifStream.writeTo(output.getOutputStream());\n\n//\t\t\tjava.io.FileOutputStream fs = new java.io.FileOutputStream(\"C:\\\\test.gif\");\n//\t\t\tfs.write(gifStream.toByteArray());\n//\t\t\tfs.flush();\n//\t\t\tfs.close();\n//\t\t\tfs = null;\n\t\t} catch (Exception ex) {\n\t\t\tthrow new TranscoderException(\"GIF image creation failed. Error: \" + ex.getMessage(), ex);\n\t\t}\n\t}",
"public interface e {\n\n /* compiled from: ImageHeaderParser */\n public enum a {\n GIF(true),\n JPEG(false),\n RAW(false),\n PNG_A(true),\n PNG(false),\n WEBP_A(true),\n WEBP(false),\n UNKNOWN(false);\n \n private final boolean hasAlpha;\n\n private a(boolean z) {\n this.hasAlpha = z;\n }\n\n public boolean a() {\n return this.hasAlpha;\n }\n }\n\n int a(InputStream inputStream, b bVar) throws IOException;\n\n a a(InputStream inputStream) throws IOException;\n\n a a(ByteBuffer byteBuffer) throws IOException;\n}",
"public void mo4681b() {\n if (VERSION.SDK_INT >= 12) {\n int viewHeight = this.f1119e.getHeight();\n if (f1116b) {\n C0646w.m2965b((View) this.f1119e, viewHeight);\n } else {\n this.f1119e.setTranslationY((float) viewHeight);\n }\n ValueAnimator animator = new ValueAnimator();\n animator.setIntValues(new int[]{viewHeight, 0});\n animator.setInterpolator(C0280a.f1075b);\n animator.setDuration(250);\n animator.addListener(new C0304o(this));\n animator.addUpdateListener(new C0305p(this, viewHeight));\n animator.start();\n return;\n }\n Animation anim = AnimationUtils.loadAnimation(this.f1119e.getContext(), C1167a.design_snackbar_in);\n anim.setInterpolator(C0280a.f1075b);\n anim.setDuration(250);\n anim.setAnimationListener(new C0306q(this));\n this.f1119e.startAnimation(anim);\n }",
"private static native boolean detectAndDecodeMulti_0(long nativeObj, long img_nativeObj, List<String> decoded_info, long points_nativeObj, long straight_code_mat_nativeObj);",
"public void mo27179aj(final String str, final String str2) {\n C1820a.aVi().mo10058o(new Runnable() {\n /* JADX WARNING: Removed duplicated region for block: B:31:0x00c8 */\n /* JADX WARNING: Removed duplicated region for block: B:36:0x0103 */\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void run() {\n /*\n r6 = this;\n java.lang.String r0 = \"ruomiz\"\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"bitmap--getNetWorkThumImage: --\"\n r1.append(r2)\n java.lang.String r2 = r3\n r1.append(r2)\n java.lang.String r1 = r1.toString()\n android.util.Log.i(r0, r1)\n java.lang.String r0 = r4\n boolean r0 = android.text.TextUtils.isEmpty(r0)\n if (r0 != 0) goto L_0x012b\n java.lang.String r0 = r3\n boolean r0 = android.text.TextUtils.isEmpty(r0)\n if (r0 == 0) goto L_0x002a\n goto L_0x012b\n L_0x002a:\n java.lang.String r0 = r4\n java.lang.String r1 = \"http://\"\n boolean r0 = r0.startsWith(r1)\n if (r0 != 0) goto L_0x003f\n java.lang.String r0 = r4\n java.lang.String r1 = \"https://\"\n boolean r0 = r0.startsWith(r1)\n if (r0 != 0) goto L_0x003f\n return\n L_0x003f:\n r0 = 0\n com.introvd.template.component.videofetcher.utils.i r1 = com.introvd.template.component.videofetcher.utils.C5492i.this\n com.introvd.template.component.videofetcher.utils.h r1 = r1.cmD\n if (r1 == 0) goto L_0x007b\n com.introvd.template.component.videofetcher.utils.i r1 = com.introvd.template.component.videofetcher.utils.C5492i.this\n com.introvd.template.component.videofetcher.utils.h r1 = r1.cmD\n java.lang.String r2 = r3\n android.graphics.Bitmap r1 = r1.getBitmapFromMemCache(r2)\n if (r1 == 0) goto L_0x007b\n java.lang.String r0 = \"ruomiz\"\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"bitmap==getNetWorkThumImage: --mLruCacheHelper-222-\"\n r1.append(r2)\n java.lang.String r2 = r3\n r1.append(r2)\n java.lang.String r1 = r1.toString()\n android.util.Log.d(r0, r1)\n com.introvd.template.component.videofetcher.utils.i r0 = com.introvd.template.component.videofetcher.utils.C5492i.this\n com.introvd.template.component.videofetcher.utils.h r0 = r0.cmD\n java.lang.String r1 = r3\n android.graphics.Bitmap r0 = r0.getBitmapFromMemCache(r1)\n goto L_0x00c0\n L_0x007b:\n android.media.MediaMetadataRetriever r1 = new android.media.MediaMetadataRetriever\n r1.<init>()\n java.lang.String r2 = r4 // Catch:{ Exception -> 0x00b9 }\n java.util.Hashtable r3 = new java.util.Hashtable // Catch:{ Exception -> 0x00b9 }\n r3.<init>() // Catch:{ Exception -> 0x00b9 }\n r1.setDataSource(r2, r3) // Catch:{ Exception -> 0x00b9 }\n r2 = 17\n java.lang.String r2 = r1.extractMetadata(r2) // Catch:{ Exception -> 0x00b9 }\n java.lang.String r3 = \"ruomiz\"\n java.lang.String r4 = \"bitmap--getNetWorkThumImage: --mLruCacheHelper-hasVideo-\"\n android.util.Log.d(r3, r4) // Catch:{ Exception -> 0x00b9 }\n java.lang.String r3 = \"yes\"\n boolean r2 = r3.equals(r2) // Catch:{ Exception -> 0x00b9 }\n if (r2 == 0) goto L_0x00bd\n r2 = -1\n android.graphics.Bitmap r2 = r1.getFrameAtTime(r2) // Catch:{ Exception -> 0x00b9 }\n com.introvd.template.component.videofetcher.utils.i r0 = com.introvd.template.component.videofetcher.utils.C5492i.this // Catch:{ Exception -> 0x00b2 }\n com.introvd.template.component.videofetcher.utils.h r0 = r0.cmD // Catch:{ Exception -> 0x00b2 }\n java.lang.String r3 = r3 // Catch:{ Exception -> 0x00b2 }\n r0.mo27173b(r3, r2) // Catch:{ Exception -> 0x00b2 }\n r0 = r2\n goto L_0x00bd\n L_0x00b2:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x00ba\n L_0x00b7:\n r0 = move-exception\n goto L_0x0127\n L_0x00b9:\n r2 = move-exception\n L_0x00ba:\n r2.printStackTrace() // Catch:{ all -> 0x00b7 }\n L_0x00bd:\n r1.release()\n L_0x00c0:\n java.lang.String r1 = r3\n boolean r1 = android.text.TextUtils.isEmpty(r1)\n if (r1 != 0) goto L_0x00ec\n java.lang.String r1 = r3\n java.lang.String r2 = \".\"\n boolean r1 = r1.contains(r2)\n if (r1 == 0) goto L_0x00ec\n java.lang.String r1 = r3\n java.lang.String r1 = com.introvd.template.component.videofetcher.utils.C5485c.m14892fM(r1)\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n r2.<init>()\n r2.append(r1)\n java.lang.String r1 = com.introvd.template.component.videofetcher.utils.C5492i.cmF\n r2.append(r1)\n java.lang.String r1 = r2.toString()\n goto L_0x0101\n L_0x00ec:\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = r3\n r1.append(r2)\n java.lang.String r2 = com.introvd.template.component.videofetcher.utils.C5492i.cmF\n r1.append(r2)\n java.lang.String r1 = r1.toString()\n L_0x0101:\n if (r0 == 0) goto L_0x0126\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n r2.<init>()\n java.lang.String r3 = com.introvd.template.component.videofetcher.utils.C5492i.cmE\n r2.append(r3)\n r2.append(r1)\n java.lang.String r2 = r2.toString()\n boolean r2 = com.introvd.template.component.videofetcher.utils.C5488f.m14899fN(r2)\n if (r2 != 0) goto L_0x0126\n com.introvd.template.component.videofetcher.utils.i r2 = com.introvd.template.component.videofetcher.utils.C5492i.this // Catch:{ IOException -> 0x0122 }\n java.lang.String r3 = com.introvd.template.component.videofetcher.utils.C5492i.cmE // Catch:{ IOException -> 0x0122 }\n r2.m14909a(r0, r3, r1) // Catch:{ IOException -> 0x0122 }\n goto L_0x0126\n L_0x0122:\n r0 = move-exception\n r0.printStackTrace()\n L_0x0126:\n return\n L_0x0127:\n r1.release()\n throw r0\n L_0x012b:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.introvd.template.component.videofetcher.utils.C5492i.C54953.run():void\");\n }\n });\n }",
"private java.io.File getCapturedFile(com.reactnativecommunity.webview.RNCWebViewModule.MimeType r7) throws java.io.IOException {\n /*\n r6 = this;\n int[] r0 = com.reactnativecommunity.webview.RNCWebViewModule.C27492.f1192xcd6a845b\n int r7 = r7.ordinal()\n r7 = r0[r7]\n r0 = 1\n java.lang.String r1 = \"\"\n if (r7 == r0) goto L_0x001a\n r0 = 2\n if (r7 == r0) goto L_0x0013\n r7 = r1\n r0 = r7\n goto L_0x0023\n L_0x0013:\n java.lang.String r1 = android.os.Environment.DIRECTORY_MOVIES\n java.lang.String r7 = \"video-\"\n java.lang.String r0 = \".mp4\"\n goto L_0x0020\n L_0x001a:\n java.lang.String r1 = android.os.Environment.DIRECTORY_PICTURES\n java.lang.String r7 = \"image-\"\n java.lang.String r0 = \".jpg\"\n L_0x0020:\n r5 = r1\n r1 = r7\n r7 = r5\n L_0x0023:\n java.lang.StringBuilder r2 = new java.lang.StringBuilder\n r2.<init>()\n r2.append(r1)\n long r3 = java.lang.System.currentTimeMillis()\n java.lang.String r3 = java.lang.String.valueOf(r3)\n r2.append(r3)\n r2.append(r0)\n java.lang.String r2 = r2.toString()\n int r3 = android.os.Build.VERSION.SDK_INT\n r4 = 23\n if (r3 >= r4) goto L_0x004d\n java.io.File r7 = android.os.Environment.getExternalStoragePublicDirectory(r7)\n java.io.File r0 = new java.io.File\n r0.<init>(r7, r2)\n goto L_0x005a\n L_0x004d:\n com.facebook.react.bridge.ReactApplicationContext r7 = r6.getReactApplicationContext()\n r2 = 0\n java.io.File r7 = r7.getExternalFilesDir(r2)\n java.io.File r0 = java.io.File.createTempFile(r1, r0, r7)\n L_0x005a:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.reactnativecommunity.webview.RNCWebViewModule.getCapturedFile(com.reactnativecommunity.webview.RNCWebViewModule$MimeType):java.io.File\");\n }",
"public boolean isGif(String url){\n if(url==null){\n return false;\n }\n\n // First try to grab the mime from the options\n Options options = new Options();\n options.inJustDecodeBounds = true;\n BitmapFactory.decodeFile(getFullCacheFileName(mContext, url), options);\n if(options.outMimeType!=null && \n options.outMimeType.equals(ImageManager.GIF_MIME)){\n return true;\n }\n\n // Next, try to grab the mime type from the url\n final String extension = MimeTypeMap.getFileExtensionFromUrl(url);\n if(extension!=null){\n String mimeType = \n MimeTypeMap.getSingleton().getMimeTypeFromExtension(extension);\n if(mimeType!=null){\n return mimeType.equals(ImageManager.GIF_MIME);\n }\n }\n\n return false;\n }",
"void mo54427b(DownloadInfo downloadInfo);",
"@Override\n public void onClick(View v) {\n// Intent intent=new Intent();\n// intent.setClass(Main47Activity.this,LibMainActivity.class);\n// startActivity(intent);\n\n ImageView icon=findViewById(R.id.image);\n GlideApp.with(Main47Activity.this).load(\"http://www.10000s.com/servlet/ValidateCodeServlet\").into(icon);\n }",
"private Dex2JarProxy() {\r\n\t}",
"@Override\n\t\t\t\t\tpublic void onClick(DialogInterface p1, int p2)\n\t\t\t\t\t{\n UnPacker unpacker = new UnPacker();\n\t\t String path_png = edit_png.getText().toString();\n\t\t String path_atlas = null;\n\t\t String path_output = edit_undir.getText().toString();\n\t\t int index = path_png.lastIndexOf('.');\n\t\t if(index>0){\n\t\t\t path_atlas = path_png.substring(0,index)+\".atlas\";\n\t\t }\n\t\t unpacker.unPNG( path_atlas,path_png, path_output);\n\t\t Toast.makeText(MainActivity.this,\"解包完成\",Toast.LENGTH_SHORT).show();\n\t\t\t\t\t}",
"private int m128366a() {\n String c = C40173d.m128358c();\n if (!new File(c).exists()) {\n new File(c).mkdirs();\n }\n for (MediaModel mediaModel : this.f104446a) {\n String str = mediaModel.f88156b;\n C7573i.m23582a((Object) str, \"model.filePath\");\n if (C40173d.m128357b(str)) {\n Bitmap a = C40168a.f104413a.mo99928a(mediaModel.f88156b, 720, 1280);\n if (a != null) {\n StringBuilder sb = new StringBuilder();\n sb.append(c);\n sb.append(C40173d.m128354a(\".png\"));\n String sb2 = sb.toString();\n C42341f.m134636a(a, new File(sb2), 50, CompressFormat.PNG);\n C40168a.m128334a(a);\n mediaModel.f88156b = sb2;\n }\n }\n }\n return 0;\n }",
"public static Bitmap decodeFile(String path, int inSimpleSize) {\n Options options = new Options();\n options.inSampleSize = inSimpleSize;\n options.inJustDecodeBounds = false;\n // if (config != null)\n options.inPreferredConfig = Config.RGB_565;// Bitmap.Config.ARGB_4444;\n options.inPurgeable = true;\n options.inInputShareable = true;\n return BitmapFactory.decodeFile(path, options);\n }",
"public interface C1255b {\n /* renamed from: a */\n public static final C1255b f3973a = new C34771();\n /* renamed from: b */\n public static final C1255b f3974b = new C34782();\n /* renamed from: c */\n public static final C1255b f3975c = new C34793();\n /* renamed from: d */\n public static final C1255b f3976d = f3974b;\n\n /* renamed from: com.bumptech.glide.load.engine.c.a$b$1 */\n class C34771 implements C1255b {\n /* renamed from: a */\n public void mo1031a(Throwable th) {\n }\n\n C34771() {\n }\n }\n\n /* renamed from: com.bumptech.glide.load.engine.c.a$b$2 */\n class C34782 implements C1255b {\n C34782() {\n }\n\n /* renamed from: a */\n public void mo1031a(Throwable th) {\n if (th != null && Log.isLoggable(\"GlideExecutor\", 6)) {\n Log.e(\"GlideExecutor\", \"Request threw uncaught throwable\", th);\n }\n }\n }\n\n /* renamed from: com.bumptech.glide.load.engine.c.a$b$3 */\n class C34793 implements C1255b {\n C34793() {\n }\n\n /* renamed from: a */\n public void mo1031a(Throwable th) {\n if (th != null) {\n throw new RuntimeException(\"Request threw uncaught throwable\", th);\n }\n }\n }\n\n /* renamed from: a */\n void mo1031a(Throwable th);\n }",
"public interface C3042d {\n\n /* renamed from: a */\n public static final C3042d f7956a = new C3042d() {\n /* renamed from: a */\n public int mo27480a() {\n return 0;\n }\n\n /* renamed from: a */\n public Bitmap mo27481a(String str) {\n return null;\n }\n\n /* renamed from: a */\n public void mo27482a(String str, Bitmap bitmap) {\n }\n\n /* renamed from: b */\n public int mo27483b() {\n return 0;\n }\n };\n\n /* renamed from: a */\n int mo27480a();\n\n /* renamed from: a */\n Bitmap mo27481a(String str);\n\n /* renamed from: a */\n void mo27482a(String str, Bitmap bitmap);\n\n /* renamed from: b */\n int mo27483b();\n}",
"private void doConvert(String path) throws IOException {\n\n MediaMetadataRetriever retriever = new MediaMetadataRetriever();\n retriever.setDataSource(path);\n String rotation = retriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION);\n// Log.d(\"Metadata\", \"doConvert: \" + rotation);\n\n //extract frames\n extractFrames(path, rotation);\n\n //extract faces in each frames\n extractFaces();\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n Utils.hideLoadingIndicator();\n }\n });\n }",
"private Response<Bitmap> doParse(NetworkResponse response) {\n byte[] data = response.data;\n Bitmap bitmap;\n bitmap = ImageUtils.zipBitmap(data, mMaxWidth, mMaxHeight, mScaleType, mDecodeConfig);\n\n if (bitmap == null) {\n return Response.error(new ParseError(response));\n } else {\n return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response));\n }\n }",
"ImageTranscoder mo28916a(ImageFormat cVar, boolean z);",
"private final com.google.android.finsky.verifier.p259a.p260a.C4709m m21920b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x0015;\n case 26: goto L_0x0046;\n case 34: goto L_0x0053;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f24221c = r0;\n goto L_0x0000;\n L_0x0015:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r2) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0020;\n case 2: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = 44;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = \" is not a valid enum ResourceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x0043:\n r6.f24222d = r2;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0000;\n L_0x0046:\n r0 = r7.g();\n r6.f24223e = r0;\n r0 = r6.f24220b;\n r0 = r0 | 1;\n r6.f24220b = r0;\n goto L_0x0000;\n L_0x0053:\n r0 = r7.f();\n r6.f24224f = r0;\n r0 = r6.f24220b;\n r0 = r0 | 2;\n r6.f24220b = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.finsky.verifier.a.a.m.b(com.google.protobuf.nano.a):com.google.android.finsky.verifier.a.a.m\");\n }",
"private String m568a(Context context, int i) {\r\n Camera open;\r\n Throwable th;\r\n String str = \"%2$d*%3$d\";\r\n String str2 = bi_常量类.f6358b_空串;\r\n float o = C0163a.m590o(context.getApplicationContext());\r\n Camera camera = null;\r\n try {\r\n open = Camera.open(i);\r\n try {\r\n List<Size> supportedPreviewSizes = open.getParameters().getSupportedPreviewSizes();\r\n Collections.sort(supportedPreviewSizes, new C0162a());\r\n int i2 = 0;\r\n for (Size size : supportedPreviewSizes) {\r\n if (size.width >= 600) {\r\n if ((((double) Math.abs((((float) size.width) / ((float) size.height)) - o)) <= 0.03d ? 1 : null) != null) {\r\n break;\r\n }\r\n }\r\n i2++;\r\n }\r\n String format = ((Size) supportedPreviewSizes.get(i2 == supportedPreviewSizes.size() ? supportedPreviewSizes.size() - 1 : i2)) != null ? String.format(Locale.ENGLISH, str, new Object[]{Integer.valueOf(i), Integer.valueOf(((Size) supportedPreviewSizes.get(i2 == supportedPreviewSizes.size() ? supportedPreviewSizes.size() - 1 : i2)).width), Integer.valueOf(((Size) supportedPreviewSizes.get(i2 == supportedPreviewSizes.size() ? supportedPreviewSizes.size() - 1 : i2)).height)}) : str2;\r\n if (open == null) {\r\n return format;\r\n }\r\n open.release();\r\n return format;\r\n } catch (RuntimeException e) {\r\n camera = open;\r\n if (camera != null) {\r\n camera.release();\r\n return str2;\r\n }\r\n return str2;\r\n } catch (Exception e2) {\r\n if (open != null) {\r\n open.release();\r\n return str2;\r\n }\r\n return str2;\r\n } catch (Throwable th2) {\r\n th = th2;\r\n if (open != null) {\r\n open.release();\r\n }\r\n throw th;\r\n }\r\n } catch (RuntimeException e3) {\r\n if (camera != null) {\r\n camera.release();\r\n return str2;\r\n }\r\n return str2;\r\n } catch (Exception e4) {\r\n open = null;\r\n if (open != null) {\r\n open.release();\r\n return str2;\r\n }\r\n return str2;\r\n } catch (Throwable th3) {\r\n open = null;\r\n th = th3;\r\n if (open != null) {\r\n open.release();\r\n }\r\n throw th;\r\n }\r\n }",
"public AISDecoder() {\n initComponents();\n }",
"public void mo3106a(boolean z) {\n this.f2613i = this.f2612h.name();\n int i = this.f2605a;\n if (i != -1) {\n if (i != 1) {\n String str = \"UTF-16\";\n if (i == 2) {\n this.f2607c = ((String) this.f2606b).getBytes(Charset.forName(str));\n return;\n } else if (i == 3) {\n this.f2607c = (byte[]) this.f2606b;\n return;\n } else if (i == 4) {\n this.f2607c = this.f2606b.toString().getBytes(Charset.forName(str));\n return;\n } else if (i != 5) {\n return;\n }\n }\n if (z) {\n Bitmap bitmap = (Bitmap) this.f2606b;\n ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();\n bitmap.compress(CompressFormat.PNG, 90, byteArrayOutputStream);\n this.f2607c = byteArrayOutputStream.toByteArray();\n return;\n }\n this.f2608d = (Parcelable) this.f2606b;\n } else if (!z) {\n this.f2608d = (Parcelable) this.f2606b;\n } else {\n throw new IllegalArgumentException(\"Can't serialize Icon created with IconCompat#createFromIcon\");\n }\n }",
"final int silk_init_decoder()\r\n\t{\r\n\t\t/* Clear the entire encoder state, except anything copied */\r\n\t\tclear();// silk_memset( psDec, 0, sizeof( silk_decoder_state ) );\r\n\r\n\t\t/* Used to deactivate LSF interpolation */\r\n\t\tthis.first_frame_after_reset = true;\r\n\t\tthis.prev_gain_Q16 = 65536;\r\n\t\t// this.arch = opus_select_arch();\r\n\r\n\t\t/* Reset CNG state */\r\n\t\tsilk_CNG_Reset();\r\n\r\n\t\t/* Reset PLC state */\r\n\t\tsilk_PLC_Reset();\r\n\r\n\t\treturn 0;\r\n\t}"
]
| [
"0.6151048",
"0.60870963",
"0.6055344",
"0.59613544",
"0.5940271",
"0.5911104",
"0.58692616",
"0.5851195",
"0.5850173",
"0.5834657",
"0.5817841",
"0.56895214",
"0.56580603",
"0.56215113",
"0.562031",
"0.5608958",
"0.55990577",
"0.55914605",
"0.5573805",
"0.55710405",
"0.55703163",
"0.5560704",
"0.55570245",
"0.55422527",
"0.5534927",
"0.55220586",
"0.55175537",
"0.549759",
"0.5491438",
"0.5475039",
"0.5468422",
"0.5461482",
"0.54446906",
"0.5426996",
"0.5417863",
"0.5394112",
"0.53928417",
"0.5391611",
"0.5372683",
"0.53675467",
"0.53645104",
"0.53532904",
"0.5331299",
"0.5315532",
"0.53009844",
"0.5297671",
"0.52912605",
"0.5289728",
"0.5288645",
"0.5288222",
"0.528209",
"0.52787",
"0.52752686",
"0.5271218",
"0.5269194",
"0.5253379",
"0.5250922",
"0.52432716",
"0.52393407",
"0.5238379",
"0.52082783",
"0.52049714",
"0.51936084",
"0.519001",
"0.5185209",
"0.5168683",
"0.5157159",
"0.5156795",
"0.51554334",
"0.51529175",
"0.51522994",
"0.5147457",
"0.51370406",
"0.5134524",
"0.5134031",
"0.5129877",
"0.5129869",
"0.5088543",
"0.508657",
"0.5084271",
"0.5077387",
"0.50620735",
"0.50618535",
"0.5060636",
"0.5057479",
"0.5056767",
"0.5050909",
"0.5049346",
"0.504179",
"0.5041487",
"0.5040895",
"0.50392246",
"0.5036836",
"0.50350225",
"0.5027707",
"0.5027646",
"0.5026451",
"0.50221205",
"0.50209975",
"0.5017625"
]
| 0.5321773 | 43 |
/ renamed from: a | void mo12205a(Bitmap bitmap); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
]
| 0.0 | -1 |
/ renamed from: a | void mo12206a(byte[] bArr); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
]
| 0.0 | -1 |
/ renamed from: a | void mo12207a(int[] iArr); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
]
| 0.0 | -1 |
/ renamed from: a | int[] mo12208a(int i); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
]
| 0.0 | -1 |
/ renamed from: b | byte[] mo12209b(int i); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo2508a(bxb bxb);",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n public void b() {\n }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"@Override\n\tpublic void b2() {\n\t\t\n\t}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"@Override\n\tpublic void b() {\n\n\t}",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public bb b() {\n return a(this.a);\n }",
"@Override\n\tpublic void b1() {\n\t\t\n\t}",
"public void b() {\r\n }",
"@Override\n\tpublic void bbb() {\n\t\t\n\t}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public abstract void b(StringBuilder sb);",
"public void b() {\n }",
"public void b() {\n }",
"protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }",
"public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }",
"public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public void b() {\n ((a) this.a).b();\n }",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }",
"public t b() {\n return a(this.a);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }",
"private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public abstract T zzm(B b);",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }",
"public abstract void zzc(B b, int i, int i2);",
"public interface b {\n}",
"public interface b {\n}",
"private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }",
"BSubstitution createBSubstitution();",
"public void b(ahd paramahd) {}",
"void b();",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"B database(S database);",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public abstract C0631bt mo9227aB();",
"public an b() {\n return a(this.a);\n }",
"protected abstract void a(bru parambru);",
"static void go(Base b) {\n\t\tb.add(8);\n\t}",
"void mo46242a(bmc bmc);",
"public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }",
"public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public abstract BoundType b();",
"public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }",
"b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }",
"private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }",
"public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }",
"interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}",
"@Override\n\tpublic void visit(PartB partB) {\n\n\t}",
"public abstract void zzb(B b, int i, long j);",
"public abstract void zza(B b, int i, zzeh zzeh);",
"int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}",
"private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }",
"public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }",
"public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }",
"public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }",
"public abstract void a(StringBuilder sb);",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public abstract void zzf(Object obj, B b);",
"public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}",
"@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public abstract void a(b paramb, int paramInt1, int paramInt2);",
"public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }",
"void mo83703a(C32456b<T> bVar);",
"public void a(String str) {\n ((b.b) this.b).d(str);\n }",
"public void selectB() { }",
"BOperation createBOperation();",
"void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}",
"private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }",
"public void b(String str) {\n ((b.b) this.b).e(str);\n }",
"public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }",
"public abstract void zza(B b, int i, T t);",
"public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }",
"public abstract void zza(B b, int i, long j);",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public abstract void mo9798a(byte b);",
"public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }",
"private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }",
"public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.64558864",
"0.6283203",
"0.6252635",
"0.6250949",
"0.6244743",
"0.6216273",
"0.6194491",
"0.6193556",
"0.61641675",
"0.6140157",
"0.60993093",
"0.60974354",
"0.6077849",
"0.6001867",
"0.5997364",
"0.59737104",
"0.59737104",
"0.5905105",
"0.5904295",
"0.58908087",
"0.5886636",
"0.58828026",
"0.5855491",
"0.584618",
"0.5842517",
"0.5824137",
"0.5824071",
"0.58097327",
"0.5802052",
"0.58012927",
"0.579443",
"0.5792392",
"0.57902914",
"0.5785124",
"0.57718205",
"0.57589084",
"0.5735892",
"0.5735892",
"0.5734873",
"0.5727929",
"0.5720821",
"0.5712531",
"0.5706813",
"0.56896514",
"0.56543154",
"0.5651059",
"0.5649904",
"0.56496733",
"0.5647035",
"0.5640965",
"0.5640109",
"0.563993",
"0.5631903",
"0.5597427",
"0.55843794",
"0.5583287",
"0.557783",
"0.55734867",
"0.55733293",
"0.5572254",
"0.55683887",
"0.55624336",
"0.55540246",
"0.5553985",
"0.55480546",
"0.554261",
"0.5535739",
"0.5529958",
"0.5519634",
"0.5517503",
"0.55160624",
"0.5511545",
"0.5505353",
"0.5500533",
"0.5491741",
"0.5486198",
"0.5481978",
"0.547701",
"0.54725856",
"0.5471632",
"0.5463497",
"0.5460805",
"0.5454913",
"0.5454885",
"0.54519916",
"0.5441594",
"0.5436747",
"0.5432453",
"0.5425923",
"0.5424724",
"0.54189867",
"0.54162544",
"0.54051477",
"0.53998184",
"0.53945845",
"0.53887725",
"0.5388146",
"0.5387678",
"0.53858143",
"0.53850687",
"0.5384439"
]
| 0.0 | -1 |
/ renamed from: p | private C3082d1 m14717p() {
if (this.f10953h == null) {
this.f10953h = new C3082d1();
}
return this.f10953h;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Term getP();",
"public amj p()\r\n/* 543: */ {\r\n/* 544:583 */ return this.f;\r\n/* 545: */ }",
"public int get_num_p(){ return num_p; }",
"P createP();",
"Subp getSubp();",
"protected final IntervalNode getP() {\n\treturn(this.p);\n }",
"public String toString() {\r\n\t\treturn \"P\";\r\n\t}",
"private static void printToString(Printable p) {\n\t\tp.print();\n\t}",
"private void poetries() {\n\n\t}",
"public int getP() {\r\n\t\treturn this.p;\r\n\t}",
"static PointDouble reflectionPoint(Line l, PointDouble p) {\n PointDouble b = projection(l, p); // get projection b, of p onto l\n Vec v = vector(p, b); // create a vector v = vector(pb)\n return translate(translate(p, v), v); // return p translated twice by v\n }",
"public Node getp() {\n\t\treturn this.p;\n\t}",
"public abstract void p1();",
"@Override\n\tpublic void visitXon(Xon p) {\n\n\t}",
"@Override\n public void perish() {\n \n }",
"private Pares(PLoc p, PLoc s, int d){\n\t\t\tprimero=p;\n\t\t\tsegundo=s;\n\t\t\tdistancia=d;\n\t\t}",
"@Override\n\tpublic void visitTdetree(Tdetree p) {\n\n\t}",
"static Posn translate ( Posn p, double dx, double dy ) {\n\t// return .... ;\n\t// Take stock\n\t// return ... p ... dx ... dy ; // <- We know this from Posn p\n\t// return new Posn ( ... p.x ... p.y ... dx ... dy ); // <- We know this from Posn translate\n\t// return new Posn ( ... p.x ... p.y ... dx ... dy, ... p.x ... p.y ... dx ... dy );\t\n\treturn new Posn ( p.x + dx, p.y + dy );\t\n }",
"protected abstract void setPpl();",
"private void setP1( Point p1 ){\n this.p1=p1;\n }",
"@Override\n\tpublic void pausaParaComer() {\n\n\t}",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"LP getLp();",
"public abstract int mo8526p();",
"public void method_4270() {}",
"public void setP(boolean p) {\n\tthis.p = p;\n }",
"@Override\n\tpublic void visitXis(Xis p) {\n\n\t}",
"private Point(Point p) {\n\t\tthis.name = p.name;\n\t\tthis.position = p.position.copy();\n\t\tthis.collisionRadius = p.collisionRadius;\n\t}",
"public int p_()\r\n/* 463: */ {\r\n/* 464:477 */ return 64;\r\n/* 465: */ }",
"public BigInteger getP() {return(p);}",
"String getPName();",
"public Z getP() {\n return mP;\n }",
"public Unit<Dimensionless> ppm() {return ppm;}",
"public p7p2() {\n }",
"public Puppy() {\n\t\t//TODO\n\t}",
"private void fortificationPhase(Player p) \n\t{\n\t\tp.fortify();\n\t}",
"@Override\n public void pp(){\n PP=3+2*nivel;\n }",
"private String owlpp(OWLClass c) {\n return null;\n }",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public Point getP1(){\n return this.p1;\n }",
"public Point applyToPoint(Point p) {\n double newX, newY;\n Point newP;\n //the new x\n newX = p.getX() + this.dx;\n //the new y\n newY = p.getY() + this.dy;\n //the new point\n newP = new Point((newX), (newY));\n return newP;\n }",
"public void setP(Double p);",
"default Point2D constrainPoint( Figure f, Point2D p) {\n return translatePoint(f, p, DIRECTION_NEAREST);\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public String getPn() { return this.pn; }",
"public Image getP(){\n\t\treturn a;\n\t}",
"private static void print(String p) {\n\t\tSystem.out.println(PREFIX + p);\n\t}",
"public abstract String mo9751p();",
"@Override\n\tpublic void parada(Participante p) {\n\t\t\n\t}",
"public void mo21791P() {\n }",
"String getPname();",
"void passParameter(Register r, ProgramLocation m, int p) {\n Object v = getRegister(r);\n if (TRACE_INTRA) out.println(\"Passing \"+r+\" to \"+m+\" param \"+p+\": \"+v);\n if (v instanceof Set) {\n for (Iterator i = ((Set)v).iterator(); i.hasNext(); ) {\n Node n = (Node)i.next();\n n.recordPassedParameter(m, p);\n passedAsParameter.add(n);\n }\n } else {\n Node n = (Node)v;\n if(n == null) {\n System.err.println(\"Register \" + r + \"\\n\" + this.bb.fullDump());\n }\n n.recordPassedParameter(m, p);\n passedAsParameter.add(n);\n }\n }",
"public PointF viewToModel(PointF p){\n\t\tPointF q = new PointF(p.x*zoom,(height-p.y)*zoom);\n\t\treturn q;\t\t\n\t}",
"protected Point getNewPointRelatively(Point p){\n\t\treturn new Point((int) (p.getX()-CELL_SIZE),(int) (p.getY()-CELL_SIZE));\n\t}",
"Posn getGamePiece(Posn p) {\n return new Posn(p.x / GamePiece.GAMEPIECE_SIZE, p.y / GamePiece.GAMEPIECE_SIZE);\n }",
"private Point getCorrectedPoint(Point p) {\n\n final Point ret = new Point(p.x, p.y);\n\n ret.x -= getLeft();\n ret.y -= getTop();\n\n return ret;\n }",
"final public ppp.p1 ppp$p1$$init$S() {\r\n {\r\n \r\n //#line 4 \"C:/Users/GERALD/Desktop/distribuido/x10dt/workspace/ppp/src/ppp/p1.x10\"\r\n \r\n \r\n //#line 4 \"C:/Users/GERALD/Desktop/distribuido/x10dt/workspace/ppp/src/ppp/p1.x10\"\r\n this.__fieldInitializers_ppp_p1();\r\n }\r\n return this;\r\n }",
"public Point applyToPoint(Point p) {\r\n double newX = p.getX() + this.dx;\r\n double newY = p.getY() + this.dy;\r\n Point newP = new Point(newX, newY);\r\n return newP;\r\n }",
"public Pam() { //you dont need anything in this bc its only relvent for the class Alignment \n\n }",
"private int mapping(int p, int q) {\n if (p < 1 || q < 1)\n throw new IllegalArgumentException(\"either p or q or both are below 1\");\n// return -1;\n int k = count * (p - 1) + q - 1;\n return k;\n }",
"private Proof faxm3Convert(Proof p) {\n Expression s = ((Quote) ((Equals) p.lastExpr()).firstArgument).incremented;\n Expression t = ((Quote) ((Equals) p.lastExpr()).secondArgument).incremented;\n return mpBack(faxm3Gen(s, t), p);\n }",
"public byte[] getP() {\n return p;\n }",
"public void translate(Point p){\n a.translate(p);\n b.translate(p);\n c.translate(p);\n }",
"private void print(RShape p, String msg) {\n RPoint p1 = p.getTopLeft();\n RPoint p2 = p.getBottomRight();\n System.out.println(msg + \" (\" + p1.x + \", \" + p1.y + \"), (\" + p2.x\n + \", \" + p2.y + \")\");\n }",
"public void setp(Node n) {\n\t\tp = n;\n\t}",
"void setP2p(int p2p);",
"public abstract void createAssignment(int p);",
"public Plato(){\n\t\t\n\t}",
"@Override\n\tpublic void visitXindent(Xindent p) {\n\n\t}",
"public void perder() {\n // TODO implement here\n }",
"public void recevoir(IPorcelet p);",
"@Override\n\tpublic void visitXmatch(Xmatch p) {\n\n\t}",
"@Override\r\n\tpublic void visit(ParkB parkB) {\n\t\t\r\n\t}",
"public TokenPa (int playerCount) {\n\t\t// implemented in part (a)\n\t}",
"public Point applyToPoint(Point p) {\n Point newP;\n double x = p.getX() + this.dxVelocity;\n double y = p.getY() + this.dyVelocity;\n newP = new Point(x, y);\n return newP;\n }",
"@Override\n\tProp getp1() {\n\t\treturn null;\n\t}",
"public abstract void mo70713b();",
"private ArrayList<Integer> path(Iterable<Integer> p) {\n ArrayList<Integer> path = new ArrayList<Integer>();\n for (int i : p) {path.add(i);}\n return path;\n }",
"private void privateUnsynchSetP(Bug1815013 p) {\n p.x = get()[0];\n }",
"@Override\n\tProp getp2() {\n\t\treturn null;\n\t}",
"public PointF modelToView(PointF p){\n\t\tPointF q = new PointF(p.x/zoom,height-p.y/zoom);\n\t\treturn q;\t\t\n\t}",
"protected E value(Position<Item<E>> p) {\n return p.getElement().getValue();\n }",
"public static String[][] a() {\n/* 178 */ return p;\n/* */ }",
"public PPI() {\n \tsuper();\n this.goals = new ArrayList<String>();\n this.informed = new ArrayList<String>();\n }",
"static double distanceToOrigin ( Posn p ) {\n\t// return ... p.x ... p.y ... ;\n\treturn Math.sqrt(Math.pow(p.x,2) + Math.pow(p.y,2)) ;\n }",
"public int mirrorReflection(int p, int q) {\n int k = 1;\n while (q * k % p != 0)\n k++;\n if (q * k / p % 2 != 0)\n return k % 2 == 0 ? 2 : 1;\n return k % 2 ==0 ? -1 : 0;\n }",
"double getPValue();",
"public Position(Position p_p)\n {\n this.x = p_p.x;\n this.y = p_p.y;\n }",
"static double arg(PointDouble p) {\n PointDouble origin = new PointDouble(0, 0);\n PointDouble ox = new PointDouble(1, 0);\n if (p.y == 0) {\n return p.x >= 0 ? 0.0 : Math.PI;\n } else if (p.y <= 0) {\n return 2 * Math.PI - angle(ox, origin, p);\n } else {\n return angle(ox, origin, p);\n }\n }",
"private static String p(Class n) {\n return n.getName().replace('.','/');\n }",
"public void codeGen(PrintWriter p){\n\tthis.dotRightOffset = unrollDot();\n\n\tCodegen.p = p;\n\tCodegen.generateIndexed(\"lw\", \"$t0\", \"$fp\", this.dotRightOffset, \"load struct field: \" + myId.name());\n\tCodegen.genPush(\"$t0\");\n }",
"private void setP2( Point p2 ){\n this.p2=p2;\n }",
"private static void getPropAndChildren(final SentenceTheory st, final Proposition p, Set<Proposition> result) {\n\t\tresult.add(p);\n\n\t\tfor (final Argument a : p.args()) {\n\t\t\tfinal Optional<Proposition> opP = getSubprop(a,st);\n\t\t\tif (opP.isPresent() && !result.contains(opP.get())) {\n\t\t\t\tgetPropAndChildren(st,opP.get(),result);\n\t\t\t}\n\t\t}\n\t}",
"default <V> Parser<S, T, P<U, V>> and(Parser<S, T, V> p) {\n return and(p,(a,b)->P.p(a,b));\n }",
"public Point(Point p)\r\n\t{\r\n\t\tx = p.x;\r\n\t\ty = p.y;\r\n\t}",
"private Proof faxm1Convert(Proof p) {\n Equals eq = (Equals) p.lastExpr();\n Expression s = eq.firstArgument;\n Expression t = eq.secondArgument;\n return mpBack(faxm1Gen(s, t), p);\n }",
"void mo57277b();",
"private int getOutcode(Point p) {\n Rectangle r = (Rectangle)component.rect.clone();\n r.grow(-PROX_DIST, -PROX_DIST);\n return r.outcode(p.x, p.y);\n }",
"@Override\r\n\tpublic void insertPrestito(Prestito p) {\n\t\t\r\n\t}",
"@Override\n protected void prot() {\n }",
"private int h2(int p){\n\t\tdouble A = (Math.sqrt(5) - 1) / 2;\n\t\treturn (int) Math.abs(this.table.length * ((p * A) - (int)(p * A))) % table.length;\n\t}"
]
| [
"0.63192725",
"0.62226987",
"0.6078207",
"0.58976746",
"0.58608264",
"0.58092344",
"0.57654566",
"0.57362974",
"0.5733516",
"0.57097775",
"0.5690267",
"0.5661336",
"0.56583685",
"0.5648228",
"0.56100804",
"0.55992156",
"0.55980635",
"0.5595445",
"0.55693704",
"0.5567835",
"0.5565676",
"0.55608046",
"0.554817",
"0.55333847",
"0.5529888",
"0.5529361",
"0.5523412",
"0.5508418",
"0.55041516",
"0.5499556",
"0.5486822",
"0.5481466",
"0.5477766",
"0.5461334",
"0.54409146",
"0.54400986",
"0.543059",
"0.541684",
"0.5414832",
"0.54134417",
"0.54049367",
"0.54006046",
"0.5399053",
"0.5388863",
"0.53883123",
"0.538561",
"0.537127",
"0.53687364",
"0.53406787",
"0.53337574",
"0.5332885",
"0.53000426",
"0.52994335",
"0.52965236",
"0.5295208",
"0.52923113",
"0.5290984",
"0.5290248",
"0.52887577",
"0.52870065",
"0.52859193",
"0.52858603",
"0.5285732",
"0.5282735",
"0.5277559",
"0.5276371",
"0.52704966",
"0.5270434",
"0.52681506",
"0.52646744",
"0.5252508",
"0.524358",
"0.52346396",
"0.52346",
"0.5229423",
"0.522821",
"0.5226551",
"0.52217966",
"0.5220606",
"0.52177256",
"0.5215107",
"0.52046156",
"0.52041197",
"0.5201082",
"0.518896",
"0.5188923",
"0.5188546",
"0.51879215",
"0.5175284",
"0.5174486",
"0.5169621",
"0.5168152",
"0.5166763",
"0.51606315",
"0.5158921",
"0.5156347",
"0.51553965",
"0.51529235",
"0.51469743",
"0.51367843",
"0.51367784"
]
| 0.0 | -1 |
/ renamed from: q | private Bitmap m14718q() {
Bitmap a = this.f10962q.mo12204a(this.f10968w, this.f10967v, this.f10969x ? Config.ARGB_8888 : Config.RGB_565);
m14714a(a);
return a;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void q() {\n\n\t}",
"java.lang.String getQ();",
"public String toString(){return Q.toString();}",
"public void setQ(int q) {\n this.q = q;\n }",
"Term getQ();",
"static void q4(){\t\n\t}",
"public void setQ ( boolean q ) {\n\n\tthis.q = q;\n }",
"@java.lang.Override\n public java.lang.String getQ() {\n java.lang.Object ref = q_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n q_ = s;\n return s;\n }\n }",
"public void setQ(int q) {\n System.out.println(\"set q is: \" + q);\n this.q = q;\n }",
"public void setQq(String qq) {\n this.qq = qq;\n }",
"public int getQ() {\n/* 579 */ return getCOSObject().getInt(COSName.Q, 0);\n/* */ }",
"public void setQq(String qq) {\r\n this.qq = qq;\r\n }",
"@Override\n\tpublic void myQuack() {\n\n\t}",
"@Override\r\n public String getSimbolo() {\n return \"Q\";\r\n }",
"public void setQq(String qq) {\r\n\t\tthis.qq = qq;\r\n\t}",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getQBytes() {\n java.lang.Object ref = q_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n q_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"static void q8(){\t\n\t}",
"public void setQ(java.lang.Integer value) {\n this.q = value;\n }",
"public boolean q_()\r\n/* 178: */ {\r\n/* 179:203 */ return false;\r\n/* 180: */ }",
"public byte[] getQ() {\n return q;\n }",
"public java.lang.Integer getQ() {\n return q;\n }",
"private String q(String s) {\r\n\t\treturn '\"' + s + '\"';\r\n\t}",
"public void setQ(int q) {\n/* 590 */ getCOSObject().setInt(COSName.Q, q);\n/* */ }",
"public java.lang.Integer getQ() {\n return q;\n }",
"public CheckOutQ() {\r\n\t\tq = new LinkedList<Person>();\r\n\t\tmaxQ = 0;\r\n\t}",
"com.google.protobuf.ByteString\n getQBytes();",
"public void q() {\n List<String> b2 = this.f80657b.b();\n if (b2 != null) {\n this.l = b2;\n }\n }",
"public java.lang.String getQ() {\n java.lang.Object ref = q_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n q_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"private void montaQuery(Publicacao object, Query q) {\t\t\n\t}",
"public void generateQ(){\n\t\t\tq = wsum.add(BigInteger.ONE);\n\t}",
"public String getQq() {\r\n return qq;\r\n }",
"public String getQq() {\r\n return qq;\r\n }",
"public interface t {\n void a(q qVar);\n}",
"public void addQ (Question Q)\n {\n newQuestion = Q;\n \n enqueue();\n }",
"public com.google.protobuf.ByteString\n getQBytes() {\n java.lang.Object ref = q_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n q_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"protected final void parseq() {\n current = read();\n skipSpaces();\n\n for (;;) {\n switch (current) {\n default:\n return;\n case '+': case '-': case '.':\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n }\n\n float x1 = parseNumber();\n skipCommaSpaces();\n float y1 = parseNumber();\n skipCommaSpaces();\n float x = parseNumber();\n skipCommaSpaces();\n float y = parseNumber();\n\n smoothQCenterX = currentX + x1;\n smoothQCenterY = currentY + y1;\n currentX += x; \n currentY += y;\n p.quadTo(smoothQCenterX, smoothQCenterY, currentX, currentY);\n smoothCCenterX = currentX;\n smoothCCenterY = currentY;\n\n skipCommaSpaces();\n }\n }",
"public String getQq() {\n return qq;\n }",
"public String getQq() {\n return qq;\n }",
"public String getQq() {\r\n\t\treturn qq;\r\n\t}",
"Quality getQ();",
"public qEntry() { }",
"public AbstractJoSQLFilter (String q)\n\t throws QueryParseException\n {\n\n\tthis.setQuery (q);\n\n }",
"public List<Literal> query(Literal q) {\n\r\n\t\t\r\n\t\tList<Literal> result = datalogReasoner.query(compiledClauses, q);\r\n\t\t\r\n\t\tLDLPProgramQueryResultDecompiler decompiler = new LDLPProgramQueryResultDecompiler();\r\n\t\t\r\n\t\tresult = decompiler.decompileLiterals(result);\r\n\t\t\t\t\r\n\t\treturn result;\r\n\r\n\r\n\t}",
"public AbstractJoSQLFilter (Query q)\n\t throws IllegalStateException,\n\t QueryParseException\n {\n\n\tthis.setQuery (q);\n\n }",
"public baconhep.TTau.Builder setQ(int value) {\n validate(fields()[5], value);\n this.q = value;\n fieldSetFlags()[5] = true;\n return this; \n }",
"protected final void parseQ() {\n current = read();\n skipSpaces();\n\n for (;;) {\n switch (current) {\n default:\n return;\n case '+': case '-': case '.':\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n }\n\n float x1 = parseNumber();\n skipCommaSpaces();\n float y1 = parseNumber();\n skipCommaSpaces();\n float x = parseNumber();\n skipCommaSpaces();\n float y = parseNumber();\n\n smoothQCenterX = x1;\n smoothQCenterY = y1;\n currentX = x;\n currentY = y;\n p.quadTo(smoothQCenterX, smoothQCenterY, currentX, currentY);\n smoothCCenterX = currentX;\n smoothCCenterY = currentY;\n skipCommaSpaces();\n }\n }",
"public int getQ() {\n System.out.println(\"q is: \" + q);\n return q;\n }",
"static void q7(){\n\t}",
"public void setQuery (String q)\n\t throws QueryParseException\n {\n\n\tthis.q = new Query ();\n\tthis.q.parse (q);\n\n\tthis.badQuery = false;\n\tthis.exp = null;\n\n\tthis.checkFrom ();\n\n }",
"public void setQq(String qq) {\r\n this.qq = qq == null ? null : qq.trim();\r\n }",
"public void mo21792Q() {\n }",
"public final void mQ() throws RecognitionException {\n try {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:543:11: ( ( 'q' | 'Q' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:543:13: ( 'q' | 'Q' )\n {\n if ( input.LA(1)=='Q'||input.LA(1)=='q' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }",
"@Override\n\tpublic void onQaQuestion(QaQuestion arg0, int arg1) {\n\t\t\n\t}",
"public static void showNodeQueue(AYQueue<Node> q)\n {\n for (int i = 0; i < q.size(); i++)\n {\n Node node = q.dequeue();\n System.out.format(\"Element #%d = [%s]%n\", i, node.getNodeID());\n q.enqueue(node);\n } //for\n\n }",
"public void quickUnion(int p, int q) {\n int pid = find(p);\n int qid = find(q);\n if (pid == qid) return;\n //compare two value's height\n //if two height is same just need add 1 in parent root\n if (height[p] == height[q]) {\n id[pid] = qid;\n height[qid]++;\n } else if (height[p] < height[q]) {\n id[pid] = qid;\n } else {\n id[qid] = pid;\n }\n\n }",
"public interface QComputablePlanner {\n\n public List<QValue> getQs(State s);\n\n public QValue getQ(State s, AbstractGroundedAction a);\n\n}",
"@Test \r\n\tpublic void testQParse() throws ParseError, IOException {\n\t\t\r\n\r\n\r\n\t}",
"public static void Operation(int q) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tString str;\n\t\tfor (int i = 0; i < q; i++)\n\t\t{\n\t\t\tstr=scan.nextLine();\n\t\t\tif(str.contains(\"PUSH\"))\n\t\t\t{\n\t\t\t\tString[] op=str.split(\" \");\n\t\t\t\tInteger x=Integer.valueOf(op[1]);\n\t\t\t\tfor (int j = 0; j < op.length; j++) {\n\t\t\t\t\tSystem.out.println(j+\" \"+op[j]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x);\n\t\t\t\tqueue.add(x);\n\t\t\t\t\n\t\t\t}else if(str.equals(\"TOP\"))\n\t\t\t{\n\t\t\t\tif(queue.size()==0)\n\t\t\t\t\tSystem.out.println(\"-1\");\n\t\t\t\telse\n\t\t\t\t\tqueue.iterator();\n\t\t\t}else if(str.equals(\"POP\")){\n\t\t\t\tif(queue.size()==0)\n\t\t\t\t\tSystem.out.println(\"-1\");\n\t\t\t\telse\n\t\t\t\t\tqueue.remove();\n\t\t\t}\n\t\t\telse if(str.equals(\"SIZE\")) {\n\t\t\t\tSystem.out.println(queue.size());\n\t\t\t}else if(str.equals(\"ClEAR\"))\n\t\t\t{\n\t\t\t\tqueue.clear();\n\t\t\t}\n\t\t}\n\t\t\n\t}",
"public JPQLQuery(ExecutionContext ec, JPQLQuery q)\r\n {\r\n super(ec, q);\r\n }",
"public Query getQuery ()\n {\n\n\treturn this.q;\n\n }",
"public boolean hasQ() {\n return fieldSetFlags()[5];\n }",
"private static void tester(APQueue<String> q) {\n q.push(\"c++\");\n q.push(\"python\");\n q.push(\"java\");\n System.out.println(\"Should be 3: \" + q.size());\n \n System.out.println();\n \n System.out.println(\"Should be c++: \" + q.peek());\n System.out.println(\"Should be 3: \" + q.size());\n \n System.out.println();\n \n System.out.println(\"Should be c++: \" + q.pop());\n System.out.println(\"Should be 2: \" + q.size());\n \n System.out.println();\n \n System.out.println(\"Should be python: \" + q.peek());\n System.out.println(\"Should be 2: \" + q.size());\n \n System.out.println();\n \n System.out.println(\"Should be python: \" + q.pop());\n System.out.println(\"Should be 1: \" + q.size());\n \n System.out.println();\n \n System.out.println(\"Should be java: \" + q.peek());\n System.out.println(\"Should be 1: \" + q.size());\n \n System.out.println();\n \n System.out.println(\"Should be java: \" + q.pop());\n System.out.println(\"Should be 0: \" + q.size());\n \n System.out.println();\n }",
"public final void mQ() throws RecognitionException {\n try {\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:410:11: ( ( 'q' | 'Q' ) )\n // /Users/cbinnig/Workspace/DHBW_FirstDB_Loesung3/src/de/dhbw/db2/firstdb/sql/FirstSQL.g:410:12: ( 'q' | 'Q' )\n {\n if ( input.LA(1)=='Q'||input.LA(1)=='q' ) {\n input.consume();\n\n }\n else {\n MismatchedSetException mse = new MismatchedSetException(null,input);\n recover(mse);\n throw mse;}\n\n\n }\n\n }\n finally {\n }\n }",
"public Builder setQ(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n q_ = value;\n onChanged();\n return this;\n }",
"public abstract void inLineQuery(InlineQuery q);",
"public void performQuack(){\n qb.quack();\n }",
"public interface QProblem<S extends QState, A extends QAction> {\n\n\t/** Replies the alpha constant used in the QLearning algo.\n\t * \n\t * @return alpha\n\t */\n\tpublic float getAlpha();\n\t\n\t/** Replies the gamma constant used in the QLearning algo.\n\t * \n\t * @return gamma\n\t */\n\tpublic float getGamma();\n\n\t/** Replies the rho constant used in the QLearning algo.\n\t * \n\t * @return rho\n\t */\n\tpublic float getRho();\n\t\n\t/** Replies the nu constant used in the QLearning algo.\n\t * \n\t * @return nu\n\t */\n\t/*public float getNu();\n\t\n\t/** Replies the current state of the problem.\n\t * \n\t * @return the current state of the problem.\n\t */\n\tpublic S getCurrentState();\n\n\t/** Replies a randomly selected state of the problem.\n\t * \n\t * @return a randomly selected state of the problem.\n\t */\n\tpublic S getRandomState();\n\n\t/** Replies all the states of the problem.\n\t * \n\t * @return all the states of the problem.\n\t */\n\tpublic List<S> getAvailableStates();\n\n\t/** Replies all the actions available from the given state.\n\t * \n\t * @param state is the selection state\n\t * @return all the actions for the given <var>state</var>.\n\t */\n\tpublic List<A> getAvailableActionsFor(S state);\n\t\n\t/** \n\t * Evaluate the action executed from the given state and replies\n\t * the feedback.\n\t * \n\t * @param state\n\t * @param action\n\t * @return the feedback\n\t */\n\tpublic QFeedback<S> takedAction();\n\t\n}",
"public void setQf(String qf) {\n this.qf = qf == null ? null : qf.trim();\n }",
"public void setQuery (Query q)\n\t throws IllegalStateException,\n\t QueryParseException\n {\n\n\tif (!q.parsed ())\n\t{\n\n\t throw new IllegalStateException (\"Query has not yet been parsed.\");\n\n\t}\n\n\tthis.q = q;\n\n\tthis.checkFrom ();\n\n\tthis.badQuery = false;\n\tthis.exp = null;\n\n }",
"public IR(Question q, LexicalizedParser lp) {\n\t\tthis.q = q;\n\t\tsetQueries(); System.out.println(queries);\n\t\tsetAnsCandidates(lp);\n\t}",
"static void insert(Queue<Integer> q, int k){\n \n q.add(k);\n \n }",
"public void setXq(String xq) {\n\t\tthis.xq = xq;\n\t}",
"@Override\r\n\tpublic void quack() {\n\t\t\r\n\t}",
"public Qs() {\n this(\"qs\", null);\n }",
"public aql k()\r\n/* 114: */ {\r\n/* 115:126 */ return aql.b;\r\n/* 116: */ }",
"public int Isq() {\n return iSq;\n }",
"private String queryToString(Queue<Character> queue) {\n Iterator<Character> it = queue.iterator();\n StringBuffer bufferSt = new StringBuffer();\n while (it.hasNext()) {\n bufferSt.append(queue.poll());\n }\n return bufferSt.toString().replace(\")\", \"\").replace(\"(\", \"\").trim();\n }",
"@Override\n\tpublic Query createQuery(String qlString) {\n\t\treturn null;\n\t}",
"public List<T> query(QueryObject qo) {\n\t\treturn null;\n\t}",
"public String getQf() {\n return qf;\n }",
"public String getQuestionStr(Node q) {\n \n \t\tString s;\n \n \t\ts = q.getMinStr();\n \t\tif (s != null)\n \t\t\tq.setMinDatum(parser.parse(evidence,s));\n \t\telse\n \t\t\tq.setMinDatum(null);\n \n \t\ts = q.getMaxStr();\n \t\tif (s != null)\n \t\t\tq.setMaxDatum(parser.parse(evidence,s));\n \t\telse\n \t\t\tq.setMaxDatum(null);\n \n \t\tq.createParseRangeStr();\n \n \t\tq.setQuestionAsAsked(parser.parseJSP(evidence, q.getQuestionOrEval()) + q.getQuestionMask());\n \t\treturn q.getQuestionAsAsked();\n \t}",
"public abstract String mo9752q();",
"public String getXq() {\n\t\treturn xq;\n\t}",
"public void union(int p, int q) {\n int pid = id[p]; // ID that corresponds with the 1st arg\n int qid = id[q]; // ID that corresponds with the 2nd arg\n\n // iterate thru the whole array and look for the entries\n // whose IDs are equal to the ID of the 1st arg (pid),\n // and set those to ID of the 2nd arg (qid)\n for (int i = 0; i < id.length; i++) {\n if (id[i] == pid) {\n id[i] = qid;\n }\n }\n printArrayLastState(p, q);\n }",
"public void setQ(byte[] value) {\n this.q = ((byte[]) value);\n }",
"void newAnswer (Integer q, Integer a) {\n\t\tif (results.get(q)==null) {\n\t\t\tArrayList<Integer> newEntry = new ArrayList<Integer>();\n\t\t\tnewEntry.add(a);\n\t\t\tresults.put(q, newEntry);\n\t\t} else {\n\t\t\t// append to existing list\n\t\t\tresults.get(q).add(a);\n\t\t}\n\t}",
"public static void main(String[] args) {\n ArrayQueue<String> qu = new ArrayQueue<>();\n\n qu.enqueue(\"this\");\n System.out.println(qu);\n\n qu.enqueue(\"is\");\n System.out.println(qu);\n\n qu.enqueue(\"a\");\n System.out.println(qu);\n\n System.out.println(qu.dequeue());\n System.out.println(qu);\n\n qu.enqueue(\"queue\");\n System.out.println(qu);\n\n qu.enqueue(\"of\");\n System.out.println(qu);\n\n // qu.enqueue(\"strings\");\n // System.out.println(qu);\n\n\n while (!qu.isEmpty()) {\n System.out.println(qu.dequeue());\n System.out.println(qu);\n }\n\n }",
"public C1027Qv0(Tu1 tu1, Context context) {\n super(context);\n this.q = tu1;\n }",
"static void enQueue(Queue q, int x) {\r\n push(q.stack1, x);\r\n }",
"public void union(int p, int q) {\n\t\tint rootP = find(p);\n\t\tint rootQ = find(q);\n\t\tif (rootQ == rootP)\n\t\t\treturn;\n\t\tid[rootQ] = rootP;\n\t\tcount--;\n\t}",
"@Override\n\tpublic void setIQ(double IQ) {\n\n\t}",
"public void setQuarters(int q)\n {\n\tthis.quarters = q;\n\tchangeChecker();\n }",
"public boolean isSetQ() {\n return this.q != null;\n }",
"@Override\n\tpublic double getIQ() {\n\t\treturn 0;\n\t}",
"public void union(int p, int q) {\n int pRoot = getRoot(p);\n int qRoot = getRoot(q);\n nodes[pRoot] = qRoot;\n }",
"public static void printContentsOfQ(PrintWriter writer, Queue Q){\r\n for(int i = 0; i<Q.length(); i++){\r\n writer.print(Q.peek(i)+ \" \");\r\n }\r\n }",
"public void Okay(String q) {\n\tSystem.out.println(\"q = \" + q);\n }",
"public void union(int p, int q) {\n\t\tint i = root(p);\n\t\tint j = root(q);\n//\t\tid[i] = j; instead of this do below improvement\n\t\tif (sz[i] < sz[j]) {\n\t\t\tid[i] = j;\n\t\t\tsz[j] += sz[i];\n\t\t} else {\n\t\t\tid[j] = i;\n\t\t\tsz[i] += sz[j];\n\t\t}\n\t}",
"public void union(int p, int q) {\n int i = root(p);\n int j = root(q);\n \n if( i == j) {\n return;\n }\n \n id[i] = j;\n count--;\n }",
"private void checkAsk(FyQuestion q, FyAnswer a) {\n\t\treturn;\r\n\t}",
"public void g() {\n this.f25459e.Q();\n }"
]
| [
"0.7632724",
"0.7375637",
"0.68659264",
"0.6860412",
"0.68528324",
"0.66012764",
"0.6573229",
"0.6387389",
"0.63254607",
"0.63154703",
"0.6312216",
"0.6301117",
"0.629304",
"0.62913626",
"0.6290145",
"0.62747157",
"0.6265199",
"0.6251544",
"0.6232398",
"0.6188636",
"0.61853355",
"0.6168597",
"0.61324054",
"0.6123812",
"0.611446",
"0.6091897",
"0.60886705",
"0.6070571",
"0.60583663",
"0.60463834",
"0.6036438",
"0.6036438",
"0.602222",
"0.60179293",
"0.6012887",
"0.60089463",
"0.59968305",
"0.59968305",
"0.5987691",
"0.595556",
"0.5934218",
"0.5927724",
"0.5899262",
"0.58864415",
"0.5878022",
"0.5875454",
"0.5874933",
"0.58645993",
"0.5851666",
"0.58496666",
"0.5836977",
"0.58344054",
"0.5829207",
"0.5825183",
"0.58004797",
"0.5785378",
"0.5782442",
"0.57807404",
"0.5778106",
"0.5770706",
"0.5739655",
"0.5737879",
"0.57316166",
"0.5725828",
"0.5698023",
"0.56838745",
"0.56692207",
"0.5668652",
"0.56656027",
"0.56595016",
"0.5652796",
"0.56512636",
"0.56426936",
"0.563635",
"0.5633698",
"0.5631983",
"0.56292295",
"0.56248796",
"0.56170505",
"0.5596999",
"0.5595614",
"0.5578428",
"0.55676407",
"0.55488056",
"0.553834",
"0.5538195",
"0.55337024",
"0.55257905",
"0.55131656",
"0.55009127",
"0.54996425",
"0.5488614",
"0.54807174",
"0.547373",
"0.54716265",
"0.54684955",
"0.5467983",
"0.54586536",
"0.5452267",
"0.5447444",
"0.5446992"
]
| 0.0 | -1 |
/ renamed from: r | private int m14719r() {
int s = m14720s();
if (s > 0) {
try {
if (this.f10949d == null) {
this.f10949d = this.f10962q.mo12209b(255);
}
int i = this.f10951f - this.f10952g;
if (i >= s) {
System.arraycopy(this.f10950e, this.f10952g, this.f10949d, 0, s);
this.f10952g += s;
} else if (this.f10948c.remaining() + i >= s) {
System.arraycopy(this.f10950e, this.f10952g, this.f10949d, 0, i);
this.f10952g = this.f10951f;
m14721t();
int i2 = s - i;
System.arraycopy(this.f10950e, 0, this.f10949d, i, i2);
this.f10952g += i2;
} else {
this.f10965t = 1;
}
} catch (Exception e) {
C3111h1.m14932d(f10944y, "Error Reading Block", e);
this.f10965t = 1;
}
}
return s;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void r() {\n\n\t}",
"public void mo21793R() {\n }",
"void mo3194r();",
"@Override\n\tprotected void interr() {\n\t}",
"public void mo3376r() {\n }",
"public abstract int mo9753r();",
"private S(com.google.ad r9, com.google.h r10) {\n /*\n r8 = this;\n r0 = 0;\n r1 = -1;\n r7 = 2;\n r2 = 1;\n r5 = org.whispersystems.Y.r;\n r8.<init>();\n r8.k = r1;\n r8.n = r1;\n r8.c();\n r6 = com.google.eV.g();\n r1 = r0;\n L_0x0015:\n if (r0 != 0) goto L_0x006f;\n L_0x0017:\n r3 = r9.z();\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n switch(r3) {\n case 0: goto L_0x0085;\n case 10: goto L_0x00c6;\n case 18: goto L_0x0055;\n default: goto L_0x001e;\n };\n L_0x001e:\n r3 = r8.a(r9, r6, r10, r3);\t Catch:{ fN -> 0x0089, IOException -> 0x00aa }\n if (r3 != 0) goto L_0x006d;\n L_0x0024:\n if (r5 == 0) goto L_0x00c4;\n L_0x0026:\n r3 = r2;\n L_0x0027:\n r0 = 0;\n r4 = r8.h;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r4 = r4 & 1;\n if (r4 != r2) goto L_0x00c1;\n L_0x002e:\n r0 = r8.f;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r0 = r0.w();\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r4 = r0;\n L_0x0035:\n r0 = org.whispersystems.Y.o;\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n r0 = r9.a(r0, r10);\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n r0 = (org.whispersystems.Y) r0;\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n r8.f = r0;\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n if (r4 == 0) goto L_0x004c;\n L_0x0041:\n r0 = r8.f;\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n r4.a(r0);\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n r0 = r4.a();\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n r8.f = r0;\t Catch:{ fN -> 0x00a8, IOException -> 0x00aa }\n L_0x004c:\n r0 = r8.h;\t Catch:{ fN -> 0x00b9, IOException -> 0x00aa }\n r0 = r0 | 1;\n r8.h = r0;\t Catch:{ fN -> 0x00b9, IOException -> 0x00aa }\n if (r5 == 0) goto L_0x00bf;\n L_0x0054:\n r0 = r3;\n L_0x0055:\n r3 = r1 & 2;\n if (r3 == r7) goto L_0x0062;\n L_0x0059:\n r3 = new java.util.ArrayList;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r3.<init>();\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r8.l = r3;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r1 = r1 | 2;\n L_0x0062:\n r3 = r8.l;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r4 = org.whispersystems.Y.o;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r4 = r9.a(r4, r10);\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n r3.add(r4);\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n L_0x006d:\n if (r5 == 0) goto L_0x0015;\n L_0x006f:\n r0 = r1 & 2;\n if (r0 != r7) goto L_0x007b;\n L_0x0073:\n r0 = r8.l;\t Catch:{ fN -> 0x00bb }\n r0 = java.util.Collections.unmodifiableList(r0);\t Catch:{ fN -> 0x00bb }\n r8.l = r0;\t Catch:{ fN -> 0x00bb }\n L_0x007b:\n r0 = r6.d();\n r8.e = r0;\n r8.b();\n return;\n L_0x0085:\n if (r5 == 0) goto L_0x00c4;\n L_0x0087:\n r0 = r2;\n goto L_0x001e;\n L_0x0089:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n L_0x008b:\n r0 = move-exception;\n r0 = r0.a(r8);\t Catch:{ all -> 0x0091 }\n throw r0;\t Catch:{ all -> 0x0091 }\n L_0x0091:\n r0 = move-exception;\n r1 = r1 & 2;\n if (r1 != r7) goto L_0x009e;\n L_0x0096:\n r1 = r8.l;\t Catch:{ fN -> 0x00bd }\n r1 = java.util.Collections.unmodifiableList(r1);\t Catch:{ fN -> 0x00bd }\n r8.l = r1;\t Catch:{ fN -> 0x00bd }\n L_0x009e:\n r1 = r6.d();\n r8.e = r1;\n r8.b();\n throw r0;\n L_0x00a8:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n L_0x00aa:\n r0 = move-exception;\n r2 = new com.google.fN;\t Catch:{ all -> 0x0091 }\n r0 = r0.getMessage();\t Catch:{ all -> 0x0091 }\n r2.<init>(r0);\t Catch:{ all -> 0x0091 }\n r0 = r2.a(r8);\t Catch:{ all -> 0x0091 }\n throw r0;\t Catch:{ all -> 0x0091 }\n L_0x00b9:\n r0 = move-exception;\n throw r0;\t Catch:{ fN -> 0x008b, IOException -> 0x00aa }\n L_0x00bb:\n r0 = move-exception;\n throw r0;\n L_0x00bd:\n r0 = move-exception;\n throw r0;\n L_0x00bf:\n r0 = r3;\n goto L_0x006d;\n L_0x00c1:\n r4 = r0;\n goto L_0x0035;\n L_0x00c4:\n r0 = r2;\n goto L_0x006d;\n L_0x00c6:\n r3 = r0;\n goto L_0x0027;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.whispersystems.S.<init>(com.google.ad, com.google.h):void\");\n }",
"protected java.util.List x (java.lang.String r19){\n /*\n r18 = this;\n r0 = r18;\n r2 = r0.K;\n r0 = r19;\n r2 = r2.getAllSortStackTraces(r0);\n r2 = (java.util.List) r2;\n if (r2 == 0) goto L_0x000f;\n L_0x000e:\n return r2;\n L_0x000f:\n r12 = java.util.Collections.emptyList();\n r2 = r18.bp();\n r3 = r18.TaskHandler(r19);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r4 = r2.setDrawable(r3);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n if (r4 != 0) goto L_0x0026;\n L_0x0021:\n r18.bq();\n r2 = r12;\n goto L_0x000e;\n L_0x0026:\n r13 = r2.getScaledMaximumFlingVelocity(r3);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r14 = new java.io.ByteArrayOutputStream;\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r2 = 2048; // 0x800 float:2.87E-42 double:1.0118E-320;\n r14.<creatCallTask>(r2);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r13, r14);\t Catch:{ all -> 0x00f2 }\n r2 = r14.toByteArray();\t Catch:{ all -> 0x00f2 }\n r2 = com.duokan.kernel.DkUtils.decodeSimpleDrm(r2);\t Catch:{ all -> 0x00f2 }\n r3 = new java.lang.String;\t Catch:{ all -> 0x00f2 }\n r4 = \"UTF-8\";\n r3.<creatCallTask>(r2, r4);\t Catch:{ all -> 0x00f2 }\n r2 = new org.json.JSONObject;\t Catch:{ all -> 0x00f2 }\n r2.<creatCallTask>(r3);\t Catch:{ all -> 0x00f2 }\n if (r2 != 0) goto L_0x0055;\n L_0x004a:\n com.duokan.core.io.getTriangleEdge.setDrawable(r13);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r14);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n r18.bq();\n r2 = r12;\n goto L_0x000e;\n L_0x0055:\n r3 = \"pictures\";\n r15 = com.duokan.reader.common.getPhysicalYPixels.setDrawable(r2, r3);\t Catch:{ all -> 0x00f2 }\n r16 = new java.util.ArrayList;\t Catch:{ all -> 0x00f2 }\n r2 = r15.length();\t Catch:{ all -> 0x00f2 }\n r0 = r16;\n r0.<creatCallTask>(r2);\t Catch:{ all -> 0x00f2 }\n r2 = 0;\n L_0x0067:\n r3 = r15.length();\t Catch:{ all -> 0x00f2 }\n if (r2 >= r3) goto L_0x00d0;\n L_0x006d:\n r3 = r15.getJSONObject(r2);\t Catch:{ all -> 0x00f2 }\n r4 = \"sm_md5\";\n r7 = r3.getString(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"sm_url\";\n r6 = r3.getString(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"sm_size\";\n r8 = r3.getLong(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"width\";\n r10 = r3.getInt(r4);\t Catch:{ all -> 0x00f2 }\n r4 = \"height\";\n r11 = r3.getInt(r4);\t Catch:{ all -> 0x00f2 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00f2 }\n r3.<creatCallTask>();\t Catch:{ all -> 0x00f2 }\n r0 = r19;\n r3 = r3.append(r0);\t Catch:{ all -> 0x00f2 }\n r4 = \".\";\n r3 = r3.append(r4);\t Catch:{ all -> 0x00f2 }\n r3 = r3.append(r2);\t Catch:{ all -> 0x00f2 }\n r4 = r3.toString();\t Catch:{ all -> 0x00f2 }\n r5 = new java.lang.String;\t Catch:{ all -> 0x00f2 }\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00f2 }\n r3.<creatCallTask>();\t Catch:{ all -> 0x00f2 }\n r17 = \"file:///stuffs/\";\n r0 = r17;\n r3 = r3.append(r0);\t Catch:{ all -> 0x00f2 }\n r3 = r3.append(r7);\t Catch:{ all -> 0x00f2 }\n r3 = r3.toString();\t Catch:{ all -> 0x00f2 }\n r5.<creatCallTask>(r3);\t Catch:{ all -> 0x00f2 }\n r3 = r18;\n r3 = r3.setDrawable(r4, r5, r6, r7, r8, r10, r11);\t Catch:{ all -> 0x00f2 }\n r0 = r16;\n r0.add(r3);\t Catch:{ all -> 0x00f2 }\n r2 = r2 + 1;\n goto L_0x0067;\n L_0x00d0:\n r0 = r18;\n r2 = r0.K;\t Catch:{ all -> 0x00f2 }\n r0 = r19;\n r1 = r16;\n r2.putIfAbsent(r0, r1);\t Catch:{ all -> 0x00f2 }\n r0 = r18;\n r2 = r0.K;\t Catch:{ all -> 0x00f2 }\n r0 = r19;\n r2 = r2.getAllSortStackTraces(r0);\t Catch:{ all -> 0x00f2 }\n r2 = (java.util.List) r2;\t Catch:{ all -> 0x00f2 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r13);\t Catch:{ Throwable -> 0x0106, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r14);\t Catch:{ Throwable -> 0x0106, all -> 0x0101 }\n r18.bq();\n goto L_0x000e;\n L_0x00f2:\n r2 = move-exception;\n com.duokan.core.io.getTriangleEdge.setDrawable(r13);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n com.duokan.core.io.getTriangleEdge.setDrawable(r14);\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n throw r2;\t Catch:{ Throwable -> 0x00fa, all -> 0x0101 }\n L_0x00fa:\n r2 = move-exception;\n r2 = r12;\n L_0x00fc:\n r18.bq();\n goto L_0x000e;\n L_0x0101:\n r2 = move-exception;\n r18.bq();\n throw r2;\n L_0x0106:\n r3 = move-exception;\n goto L_0x00fc;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.duokan.reader.domain.bookshelf.jv.MyContextWrapper(java.lang.String):java.util.List\");\n }",
"void mo57277b();",
"public void method_4270() {}",
"public abstract void mo70713b();",
"private java.util.LinkedList<com.tencent.mm.plugin.game.model.d> aRy() {\n /*\n r8 = this;\n r3 = new java.util.LinkedList;\n r3.<init>();\n r0 = r8.njD;\n r0 = r0.nop;\n if (r0 != 0) goto L_0x000d;\n L_0x000b:\n r0 = r3;\n L_0x000c:\n return r0;\n L_0x000d:\n r0 = r8.nja;\n r1 = r0 + 1;\n r0 = r8.nja;\n r0 = r0 / 15;\n r0 = r0 + 901;\n r2 = r8.njD;\n r2 = r2.nop;\n r5 = r2.iterator();\n r2 = r1;\n r1 = r0;\n L_0x0021:\n r0 = r5.hasNext();\n if (r0 == 0) goto L_0x007a;\n L_0x0027:\n r0 = r5.next();\n r0 = (com.tencent.mm.plugin.game.c.c) r0;\n r4 = 0;\n r6 = r0.kzz;\n switch(r6) {\n case 1: goto L_0x0046;\n case 2: goto L_0x0056;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = r1;\n r1 = r2;\n r2 = r4;\n L_0x0036:\n if (r2 == 0) goto L_0x007c;\n L_0x0038:\n r4 = 11;\n r2.scene = r4;\n r4 = 1111; // 0x457 float:1.557E-42 double:5.49E-321;\n r2.fGe = r4;\n r3.add(r2);\n r2 = r1;\n r1 = r0;\n goto L_0x0021;\n L_0x0046:\n r0 = r0.nkO;\n r0 = com.tencent.mm.plugin.game.model.ad.a(r0);\n if (r0 == 0) goto L_0x0083;\n L_0x004e:\n r4 = r2 + 1;\n r0.position = r2;\n r2 = r0;\n r0 = r1;\n r1 = r4;\n goto L_0x0036;\n L_0x0056:\n r6 = r0.nkR;\n if (r6 == 0) goto L_0x0033;\n L_0x005a:\n r4 = r0.nkR;\n r4 = r4.nkO;\n r4 = com.tencent.mm.plugin.game.model.ad.a(r4);\n if (r4 == 0) goto L_0x007f;\n L_0x0064:\n r6 = 1;\n r4.type = r6;\n r6 = r0.nkR;\n r6 = r6.nkQ;\n r4.ngB = r6;\n r0 = r0.nkR;\n r0 = r0.nkP;\n r4.ngC = r0;\n r0 = r1 + 1;\n r4.position = r1;\n r1 = r2;\n r2 = r4;\n goto L_0x0036;\n L_0x007a:\n r0 = r3;\n goto L_0x000c;\n L_0x007c:\n r2 = r1;\n r1 = r0;\n goto L_0x0021;\n L_0x007f:\n r0 = r1;\n r1 = r2;\n r2 = r4;\n goto L_0x0036;\n L_0x0083:\n r7 = r0;\n r0 = r1;\n r1 = r2;\n r2 = r7;\n goto L_0x0036;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.model.al.aRy():java.util.LinkedList<com.tencent.mm.plugin.game.model.d>\");\n }",
"private java.lang.String c(java.lang.String r7) {\n /*\n r6 = this;\n r2 = \"\";\n r0 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n if (r0 == 0) goto L_0x0050;\n L_0x0006:\n r0 = new java.lang.StringBuilder;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = java.lang.String.valueOf(r7);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0.<init>(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = \".\";\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.toString();\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x001f:\n r1 = r6.d;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r1.openFileInput(r0);\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x0025:\n r3 = new java.io.BufferedReader;\n r4 = new java.io.InputStreamReader;\n r0 = r1;\n r0 = (java.io.InputStream) r0;\n r5 = \"UTF-8\";\n r5 = java.nio.charset.Charset.forName(r5);\n r4.<init>(r0, r5);\n r3.<init>(r4);\n r0 = new java.lang.StringBuffer;\n r0.<init>();\n L_0x003d:\n r4 = r3.readLine();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n if (r4 != 0) goto L_0x0061;\n L_0x0043:\n r0 = r0.toString();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007d }\n r1.close();\t Catch:{ IOException -> 0x007d }\n r3.close();\t Catch:{ IOException -> 0x007d }\n L_0x004f:\n return r0;\n L_0x0050:\n r0 = r7;\n goto L_0x001f;\n L_0x0052:\n r0 = move-exception;\n r0 = r6.d;\t Catch:{ IOException -> 0x005e }\n r0 = r0.getAssets();\t Catch:{ IOException -> 0x005e }\n r1 = r0.open(r7);\t Catch:{ IOException -> 0x005e }\n goto L_0x0025;\n L_0x005e:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0061:\n r0.append(r4);\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n goto L_0x003d;\n L_0x0065:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x0070 }\n r1.close();\t Catch:{ IOException -> 0x0070 }\n r3.close();\t Catch:{ IOException -> 0x0070 }\n r0 = r2;\n goto L_0x004f;\n L_0x0070:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0073:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007f }\n r1.close();\t Catch:{ IOException -> 0x007f }\n r3.close();\t Catch:{ IOException -> 0x007f }\n L_0x007c:\n throw r0;\n L_0x007d:\n r1 = move-exception;\n goto L_0x004f;\n L_0x007f:\n r1 = move-exception;\n goto L_0x007c;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.a.b.b.c(java.lang.String):java.lang.String\");\n }",
"public abstract void mo6549b();",
"protected R a(com.sds.android.sdk.lib.a.a.a r7) {\n /*\n r6 = this;\n if (r7 != 0) goto L_0x000b;\n L_0x0002:\n r0 = \"Request\";\n r1 = \"Http request result is null, stop parse.\";\n com.sds.android.sdk.lib.util.g.c(r0, r1);\n r0 = 0;\n L_0x000a:\n return r0;\n L_0x000b:\n r1 = r6.h();\n r0 = r7.c();\n r1.setCode(r0);\n r0 = \"Location\";\n r0 = r7.a(r0);\n r1.setLocation(r0);\n r0 = r7.e();\t Catch:{ Exception -> 0x007b }\n r0 = com.sds.android.sdk.lib.util.m.a(r0);\t Catch:{ Exception -> 0x007b }\n r2 = \"Request\";\n r3 = \"TEST: jsonString %s\";\n r4 = 1;\n r4 = new java.lang.Object[r4];\t Catch:{ Exception -> 0x007b }\n r5 = 0;\n r4[r5] = r0;\t Catch:{ Exception -> 0x007b }\n com.sds.android.sdk.lib.util.g.a(r2, r3, r4);\t Catch:{ Exception -> 0x007b }\n r2 = r6.h;\t Catch:{ Exception -> 0x007b }\n if (r2 == 0) goto L_0x003e;\n L_0x0038:\n r2 = r6.h;\t Catch:{ Exception -> 0x007b }\n r0 = r2.a(r0);\t Catch:{ Exception -> 0x007b }\n L_0x003e:\n r1.setContent(r0);\t Catch:{ Exception -> 0x007b }\n r2 = r6.i;\t Catch:{ Exception -> 0x007b }\n r0 = r2.b(r0);\t Catch:{ Exception -> 0x007b }\n r0 = (com.sds.android.sdk.lib.b.b) r0;\t Catch:{ Exception -> 0x007b }\n if (r0 == 0) goto L_0x006d;\n L_0x004b:\n r2 = r1.getCode();\t Catch:{ Exception -> 0x007b }\n r0.setCode(r2);\t Catch:{ Exception -> 0x007b }\n r2 = r1.getLocation();\t Catch:{ Exception -> 0x007b }\n r0.setLocation(r2);\t Catch:{ Exception -> 0x007b }\n r2 = r1.getContent();\t Catch:{ Exception -> 0x007b }\n r0.setContent(r2);\t Catch:{ Exception -> 0x007b }\n r1 = r7.e();\t Catch:{ Exception -> 0x0068 }\n r1.close();\t Catch:{ Exception -> 0x0068 }\n goto L_0x000a;\n L_0x0068:\n r1 = move-exception;\n r1.printStackTrace();\n goto L_0x000a;\n L_0x006d:\n r0 = r7.e();\t Catch:{ Exception -> 0x0076 }\n r0.close();\t Catch:{ Exception -> 0x0076 }\n L_0x0074:\n r0 = r1;\n goto L_0x000a;\n L_0x0076:\n r0 = move-exception;\n r0.printStackTrace();\n goto L_0x0074;\n L_0x007b:\n r0 = move-exception;\n r0.printStackTrace();\t Catch:{ all -> 0x008c }\n r0 = r7.e();\t Catch:{ Exception -> 0x0087 }\n r0.close();\t Catch:{ Exception -> 0x0087 }\n goto L_0x0074;\n L_0x0087:\n r0 = move-exception;\n r0.printStackTrace();\n goto L_0x0074;\n L_0x008c:\n r0 = move-exception;\n r1 = r7.e();\t Catch:{ Exception -> 0x0095 }\n r1.close();\t Catch:{ Exception -> 0x0095 }\n L_0x0094:\n throw r0;\n L_0x0095:\n r1 = move-exception;\n r1.printStackTrace();\n goto L_0x0094;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.sds.android.sdk.lib.b.l.a(com.sds.android.sdk.lib.a.a$a):R\");\n }",
"void mo57278c();",
"public abstract void mo56925d();",
"int getR();",
"void mo21072c();",
"private void kk12() {\n\n\t}",
"public void mo21877s() {\n }",
"private static java.lang.String getFcFromRuim(byte r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.mediatek.internal.telephony.uicc.SsIccFileFetcher.getFcFromRuim(byte):java.lang.String, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.uicc.SsIccFileFetcher.getFcFromRuim(byte):java.lang.String\");\n }",
"void mo80457c();",
"@Override\n public void func_104112_b() {\n \n }",
"static int type_of_rrc(String passed){\n\t\treturn 1;\n\t}",
"private java.lang.String a(java.lang.String r6, com.google.b5 r7, com.google.e5 r8, java.lang.String r9) {\n /*\n r5 = this;\n r2 = F;\n r0 = r7.e();\n r1 = r5.o;\n r3 = r7.i();\n r1 = r1.a(r3);\n r3 = r1.matcher(r6);\n r1 = \"\";\n r1 = com.google.e5.NATIONAL;\t Catch:{ RuntimeException -> 0x0092 }\n if (r8 != r1) goto L_0x004b;\n L_0x001b:\n if (r9 == 0) goto L_0x004b;\n L_0x001d:\n r1 = r9.length();\t Catch:{ RuntimeException -> 0x0096 }\n if (r1 <= 0) goto L_0x004b;\n L_0x0023:\n r1 = r7.d();\t Catch:{ RuntimeException -> 0x0096 }\n r1 = r1.length();\t Catch:{ RuntimeException -> 0x0096 }\n if (r1 <= 0) goto L_0x004b;\n L_0x002d:\n r1 = r7.d();\n r4 = f;\n r1 = r4.matcher(r1);\n r1 = r1.replaceFirst(r9);\n r4 = z;\n r0 = r4.matcher(r0);\n r0 = r0.replaceFirst(r1);\n r1 = r3.replaceAll(r0);\n if (r2 == 0) goto L_0x009c;\n L_0x004b:\n r1 = r7.k();\n r4 = com.google.e5.NATIONAL;\t Catch:{ RuntimeException -> 0x0098 }\n if (r8 != r4) goto L_0x006b;\n L_0x0053:\n if (r1 == 0) goto L_0x006b;\n L_0x0055:\n r4 = r1.length();\t Catch:{ RuntimeException -> 0x009a }\n if (r4 <= 0) goto L_0x006b;\n L_0x005b:\n r4 = z;\n r4 = r4.matcher(r0);\n r1 = r4.replaceFirst(r1);\n r1 = r3.replaceAll(r1);\n if (r2 == 0) goto L_0x009c;\n L_0x006b:\n r0 = r3.replaceAll(r0);\n L_0x006f:\n r1 = com.google.e5.RFC3966;\n if (r8 != r1) goto L_0x0091;\n L_0x0073:\n r1 = p;\n r1 = r1.matcher(r0);\n r2 = r1.lookingAt();\n if (r2 == 0) goto L_0x0086;\n L_0x007f:\n r0 = \"\";\n r0 = r1.replaceFirst(r0);\n L_0x0086:\n r0 = r1.reset(r0);\n r1 = \"-\";\n r0 = r0.replaceAll(r1);\n L_0x0091:\n return r0;\n L_0x0092:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x0094 }\n L_0x0094:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x0096 }\n L_0x0096:\n r0 = move-exception;\n throw r0;\n L_0x0098:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x009a }\n L_0x009a:\n r0 = move-exception;\n throw r0;\n L_0x009c:\n r0 = r1;\n goto L_0x006f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.e2.a(java.lang.String, com.google.b5, com.google.e5, java.lang.String):java.lang.String\");\n }",
"void mo80455b();",
"public abstract void mo27385c();",
"private static java.io.File c(java.lang.String r8, java.lang.String r9) {\n /*\n r0 = 0;\n r1 = 0;\n r2 = new java.io.File;\t Catch:{ Exception -> 0x00e8, all -> 0x00e4 }\n r2.<init>(r8);\t Catch:{ Exception -> 0x00e8, all -> 0x00e4 }\n r8 = r2.exists();\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n if (r8 != 0) goto L_0x001d;\n L_0x000d:\n r8 = \"DecryptUtils\";\n r9 = \"unZipSingleFile file don't exist\";\n r3 = new java.lang.Object[r0];\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n com.taobao.sophix.e.d.e(r8, r9, r3);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n com.taobao.sophix.e.b.a(r1);\n r2.delete();\n return r1;\n L_0x001d:\n r8 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r8.<init>();\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r8.append(r9);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r9 = java.io.File.separator;\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r8.append(r9);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r9 = \"unzip\";\n r8.append(r9);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r8 = r8.toString();\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r9 = new java.io.File;\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r9.<init>(r8);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n com.taobao.sophix.e.b.a(r9);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r3 = r9.exists();\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n if (r3 != 0) goto L_0x0044;\n L_0x0041:\n r9.mkdirs();\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n L_0x0044:\n r9 = new java.util.zip.ZipInputStream;\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r3 = new java.io.FileInputStream;\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r3.<init>(r2);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n r9.<init>(r3);\t Catch:{ Exception -> 0x00e1, all -> 0x00de }\n L_0x004e:\n r3 = r9.getNextEntry();\t Catch:{ Exception -> 0x00dc }\n if (r3 == 0) goto L_0x00f4;\n L_0x0054:\n r4 = r3.getName();\t Catch:{ Exception -> 0x00dc }\n r3 = r3.isDirectory();\t Catch:{ Exception -> 0x00dc }\n if (r3 == 0) goto L_0x0085;\n L_0x005e:\n r3 = r4.length();\t Catch:{ Exception -> 0x00dc }\n r3 = r3 + -1;\n r3 = r4.substring(r0, r3);\t Catch:{ Exception -> 0x00dc }\n r4 = new java.io.File;\t Catch:{ Exception -> 0x00dc }\n r5 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x00dc }\n r5.<init>();\t Catch:{ Exception -> 0x00dc }\n r5.append(r8);\t Catch:{ Exception -> 0x00dc }\n r6 = java.io.File.separator;\t Catch:{ Exception -> 0x00dc }\n r5.append(r6);\t Catch:{ Exception -> 0x00dc }\n r5.append(r3);\t Catch:{ Exception -> 0x00dc }\n r3 = r5.toString();\t Catch:{ Exception -> 0x00dc }\n r4.<init>(r3);\t Catch:{ Exception -> 0x00dc }\n r4.mkdirs();\t Catch:{ Exception -> 0x00dc }\n goto L_0x004e;\n L_0x0085:\n r3 = new java.io.File;\t Catch:{ Exception -> 0x00dc }\n r5 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x00dc }\n r5.<init>();\t Catch:{ Exception -> 0x00dc }\n r5.append(r8);\t Catch:{ Exception -> 0x00dc }\n r6 = java.io.File.separator;\t Catch:{ Exception -> 0x00dc }\n r5.append(r6);\t Catch:{ Exception -> 0x00dc }\n r5.append(r4);\t Catch:{ Exception -> 0x00dc }\n r4 = r5.toString();\t Catch:{ Exception -> 0x00dc }\n r3.<init>(r4);\t Catch:{ Exception -> 0x00dc }\n r3.createNewFile();\t Catch:{ Exception -> 0x00dc }\n r4 = new java.io.FileOutputStream;\t Catch:{ Exception -> 0x00c7, all -> 0x00c4 }\n r4.<init>(r3);\t Catch:{ Exception -> 0x00c7, all -> 0x00c4 }\n r5 = 1024; // 0x400 float:1.435E-42 double:5.06E-321;\n r5 = new byte[r5];\t Catch:{ Exception -> 0x00c2 }\n L_0x00aa:\n r6 = r9.read(r5);\t Catch:{ Exception -> 0x00c2 }\n r7 = -1;\n if (r6 == r7) goto L_0x00b8;\n L_0x00b1:\n r4.write(r5, r0, r6);\t Catch:{ Exception -> 0x00c2 }\n r4.flush();\t Catch:{ Exception -> 0x00c2 }\n goto L_0x00aa;\n L_0x00b8:\n com.taobao.sophix.e.b.a(r4);\t Catch:{ Exception -> 0x00dc }\n com.taobao.sophix.e.b.a(r9);\n r2.delete();\n return r3;\n L_0x00c2:\n r3 = move-exception;\n goto L_0x00c9;\n L_0x00c4:\n r8 = move-exception;\n r4 = r1;\n goto L_0x00d8;\n L_0x00c7:\n r3 = move-exception;\n r4 = r1;\n L_0x00c9:\n r5 = \"DecryptUtils\";\n r6 = \"unZipSingleFile unZip hotfix patch file error\";\n r7 = new java.lang.Object[r0];\t Catch:{ all -> 0x00d7 }\n com.taobao.sophix.e.d.a(r5, r6, r3, r7);\t Catch:{ all -> 0x00d7 }\n com.taobao.sophix.e.b.a(r4);\t Catch:{ Exception -> 0x00dc }\n goto L_0x004e;\n L_0x00d7:\n r8 = move-exception;\n L_0x00d8:\n com.taobao.sophix.e.b.a(r4);\t Catch:{ Exception -> 0x00dc }\n throw r8;\t Catch:{ Exception -> 0x00dc }\n L_0x00dc:\n r8 = move-exception;\n goto L_0x00eb;\n L_0x00de:\n r8 = move-exception;\n r9 = r1;\n goto L_0x00fc;\n L_0x00e1:\n r8 = move-exception;\n r9 = r1;\n goto L_0x00eb;\n L_0x00e4:\n r8 = move-exception;\n r9 = r1;\n r2 = r9;\n goto L_0x00fc;\n L_0x00e8:\n r8 = move-exception;\n r9 = r1;\n r2 = r9;\n L_0x00eb:\n r3 = \"DecryptUtils\";\n r4 = \"unZipSingleFile unZip hotfix patch file error\";\n r0 = new java.lang.Object[r0];\t Catch:{ all -> 0x00fb }\n com.taobao.sophix.e.d.a(r3, r4, r8, r0);\t Catch:{ all -> 0x00fb }\n L_0x00f4:\n com.taobao.sophix.e.b.a(r9);\n r2.delete();\n return r1;\n L_0x00fb:\n r8 = move-exception;\n L_0x00fc:\n com.taobao.sophix.e.b.a(r9);\n r2.delete();\n throw r8;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.taobao.sophix.e.a.c(java.lang.String, java.lang.String):java.io.File\");\n }",
"void mo60893b();",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void mo21825b() {\n }",
"public interface C7446a {\n /* renamed from: rn */\n void mo32046rn(int i);\n }",
"public abstract String mo9239aw();",
"public final void a(int r9, int r10, java.lang.String r11, com.tencent.mm.y.k r12) {\n /*\n r8 = this;\n r7 = 3000; // 0xbb8 float:4.204E-42 double:1.482E-320;\n r6 = 2;\n r1 = 0;\n r0 = 1;\n r2 = r12.getType();\n r3 = 140; // 0x8c float:1.96E-43 double:6.9E-322;\n if (r2 == r3) goto L_0x000e;\n L_0x000d:\n return;\n L_0x000e:\n r2 = r8.isv;\n if (r2 == 0) goto L_0x0020;\n L_0x0012:\n r2 = r8.isv;\n r2.dismiss();\n r2 = 0;\n r8.isv = r2;\n switch(r9) {\n case 1: goto L_0x005e;\n case 2: goto L_0x0082;\n default: goto L_0x001d;\n };\n L_0x001d:\n r0 = r1;\n L_0x001e:\n if (r0 != 0) goto L_0x000d;\n L_0x0020:\n if (r9 != 0) goto L_0x000d;\n L_0x0022:\n if (r10 != 0) goto L_0x000d;\n L_0x0024:\n r0 = com.tencent.mm.plugin.qmessage.a.g.aUe();\n r2 = r8.jiL;\n r2 = r2.field_username;\n r0 = r0.CJ(r2);\n if (r0 == 0) goto L_0x0040;\n L_0x0032:\n r2 = r0.getUsername();\n r2 = com.tencent.mm.sdk.platformtools.bg.mz(r2);\n r2 = r2.length();\n if (r2 > 0) goto L_0x00a7;\n L_0x0040:\n r0 = \"MicroMsg.ContactWidgetQContact\";\n r1 = new java.lang.StringBuilder;\n r2 = \"resetUpdateStatus: did not find this QContact, username = \";\n r1.<init>(r2);\n r2 = r8.jiL;\n r2 = r2.field_username;\n r1 = r1.append(r2);\n r1 = r1.toString();\n com.tencent.mm.sdk.platformtools.w.e(r0, r1);\n L_0x005a:\n r8.adH();\n goto L_0x000d;\n L_0x005e:\n r2 = com.tencent.mm.platformtools.r.iik;\n if (r2 == 0) goto L_0x001d;\n L_0x0062:\n r2 = r8.context;\n r3 = r8.context;\n r4 = com.tencent.mm.R.l.elu;\n r5 = new java.lang.Object[r6];\n r6 = java.lang.Integer.valueOf(r0);\n r5[r1] = r6;\n r6 = java.lang.Integer.valueOf(r10);\n r5[r0] = r6;\n r3 = r3.getString(r4, r5);\n r2 = android.widget.Toast.makeText(r2, r3, r7);\n r2.show();\n goto L_0x001e;\n L_0x0082:\n r2 = com.tencent.mm.platformtools.r.iik;\n if (r2 == 0) goto L_0x001d;\n L_0x0086:\n r2 = r8.context;\n r3 = r8.context;\n r4 = com.tencent.mm.R.l.elv;\n r5 = new java.lang.Object[r6];\n r6 = java.lang.Integer.valueOf(r6);\n r5[r1] = r6;\n r6 = java.lang.Integer.valueOf(r10);\n r5[r0] = r6;\n r3 = r3.getString(r4, r5);\n r2 = android.widget.Toast.makeText(r2, r3, r7);\n r2.show();\n goto L_0x001e;\n L_0x00a7:\n r2 = 8;\n r0.fRW = r2;\n r0.oyB = r1;\n r1 = com.tencent.mm.plugin.qmessage.a.g.aUe();\n r2 = r8.jiL;\n r2 = r2.field_username;\n r0 = r1.a(r2, r0);\n if (r0 != 0) goto L_0x005a;\n L_0x00bb:\n r0 = \"MicroMsg.ContactWidgetQContact\";\n r1 = new java.lang.StringBuilder;\n r2 = \"resetUpdateStatus: update Qcontact failed, username = \";\n r1.<init>(r2);\n r2 = r8.jiL;\n r2 = r2.field_username;\n r1 = r1.append(r2);\n r1 = r1.toString();\n com.tencent.mm.sdk.platformtools.w.e(r0, r1);\n goto L_0x005a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.qmessage.ui.a.a(int, int, java.lang.String, com.tencent.mm.y.k):void\");\n }",
"public abstract void mo35054b();",
"public void mo4359a() {\n }",
"public abstract String mo41079d();",
"void mo41086b();",
"private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }",
"void mo21073d();",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"private static java.lang.String getFcFromRuim(byte r1, byte r2) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: com.mediatek.internal.telephony.uicc.SsIccFileFetcher.getFcFromRuim(byte, byte):java.lang.String, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mediatek.internal.telephony.uicc.SsIccFileFetcher.getFcFromRuim(byte, byte):java.lang.String\");\n }",
"public static /* synthetic */ p163g.p201e.p203b.p204d.C5419r.C5420a m18181a(p163g.p201e.p203b.p204d.C5419r.C5420a r3, com.bamtech.sdk4.account.DefaultAccount r4, java.util.List<com.bamtech.sdk4.subscription.Subscription> r5, boolean r6, boolean r7, boolean r8, int r9, java.lang.Object r10) {\n /*\n r10 = r9 & 1\n if (r10 == 0) goto L_0x0006\n com.bamtech.sdk4.account.DefaultAccount r4 = r3.f12933a\n L_0x0006:\n r10 = r9 & 2\n if (r10 == 0) goto L_0x000c\n java.util.List<com.bamtech.sdk4.subscription.Subscription> r5 = r3.f12934b\n L_0x000c:\n r10 = r5\n r5 = r9 & 4\n if (r5 == 0) goto L_0x0013\n boolean r6 = r3.f12935c\n L_0x0013:\n r0 = r6\n r5 = r9 & 8\n if (r5 == 0) goto L_0x001a\n boolean r7 = r3.f12936d\n L_0x001a:\n r1 = r7\n r5 = r9 & 16\n if (r5 == 0) goto L_0x0021\n boolean r8 = r3.f12937e\n L_0x0021:\n r2 = r8\n r5 = r3\n r6 = r4\n r7 = r10\n r8 = r0\n r9 = r1\n r10 = r2\n g.e.b.d.r$a r3 = r5.mo17152a(r6, r7, r8, r9, r10)\n return r3\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p163g.p201e.p203b.p204d.C5419r.C5420a.m18181a(g.e.b.d.r$a, com.bamtech.sdk4.account.DefaultAccount, java.util.List, boolean, boolean, boolean, int, java.lang.Object):g.e.b.d.r$a\");\n }",
"public void mo9769i(int r9) {\n /*\n r8 = this;\n int r0 = r8.f9080g\n int r1 = r8.f9082i\n int r0 = r0 - r1\n if (r9 > r0) goto L_0x000e\n if (r9 < 0) goto L_0x000e\n int r1 = r1 + r9\n r8.f9082i = r1\n goto L_0x0097\n L_0x000e:\n if (r9 < 0) goto L_0x00a2\n int r0 = r8.f9084k\n int r1 = r8.f9082i\n int r2 = r0 + r1\n int r3 = r2 + r9\n int r4 = r8.f9085l\n if (r3 > r4) goto L_0x0098\n q.b.c.a.j0.a.k$c$a r0 = r8.f9086m\n r3 = 0\n if (r0 != 0) goto L_0x007d\n r8.f9084k = r2\n int r0 = r8.f9080g\n int r0 = r0 - r1\n r8.f9080g = r3\n r8.f9082i = r3\n r3 = r0\n L_0x002b:\n if (r3 >= r9) goto L_0x0075\n int r0 = r9 - r3\n java.io.InputStream r1 = r8.f9078e // Catch:{ all -> 0x006b }\n long r4 = (long) r0 // Catch:{ all -> 0x006b }\n long r0 = r1.skip(r4) // Catch:{ all -> 0x006b }\n r6 = 0\n int r2 = (r0 > r6 ? 1 : (r0 == r6 ? 0 : -1))\n if (r2 < 0) goto L_0x0046\n int r4 = (r0 > r4 ? 1 : (r0 == r4 ? 0 : -1))\n if (r4 > 0) goto L_0x0046\n if (r2 != 0) goto L_0x0043\n goto L_0x0075\n L_0x0043:\n int r0 = (int) r0 // Catch:{ all -> 0x006b }\n int r3 = r3 + r0\n goto L_0x002b\n L_0x0046:\n java.lang.IllegalStateException r9 = new java.lang.IllegalStateException // Catch:{ all -> 0x006b }\n java.lang.StringBuilder r2 = new java.lang.StringBuilder // Catch:{ all -> 0x006b }\n r2.<init>() // Catch:{ all -> 0x006b }\n java.io.InputStream r4 = r8.f9078e // Catch:{ all -> 0x006b }\n java.lang.Class r4 = r4.getClass() // Catch:{ all -> 0x006b }\n r2.append(r4) // Catch:{ all -> 0x006b }\n java.lang.String r4 = \"#skip returned invalid result: \"\n r2.append(r4) // Catch:{ all -> 0x006b }\n r2.append(r0) // Catch:{ all -> 0x006b }\n java.lang.String r0 = \"\\nThe InputStream implementation is buggy.\"\n r2.append(r0) // Catch:{ all -> 0x006b }\n java.lang.String r0 = r2.toString() // Catch:{ all -> 0x006b }\n r9.<init>(r0) // Catch:{ all -> 0x006b }\n throw r9 // Catch:{ all -> 0x006b }\n L_0x006b:\n r9 = move-exception\n int r0 = r8.f9084k\n int r0 = r0 + r3\n r8.f9084k = r0\n r8.mo9764A()\n throw r9\n L_0x0075:\n int r0 = r8.f9084k\n int r0 = r0 + r3\n r8.f9084k = r0\n r8.mo9764A()\n L_0x007d:\n if (r3 >= r9) goto L_0x0097\n int r0 = r8.f9080g\n int r1 = r8.f9082i\n int r1 = r0 - r1\n r8.f9082i = r0\n r0 = 1\n L_0x0088:\n r8.mo9768h(r0)\n int r2 = r9 - r1\n int r3 = r8.f9080g\n if (r2 <= r3) goto L_0x0095\n int r1 = r1 + r3\n r8.f9082i = r3\n goto L_0x0088\n L_0x0095:\n r8.f9082i = r2\n L_0x0097:\n return\n L_0x0098:\n int r4 = r4 - r0\n int r4 = r4 - r1\n r8.mo9769i(r4)\n q.b.c.a.j0.a.c0 r9 = p213q.p217b.p301c.p302a.p311j0.p312a.C3606c0.m8181h()\n throw r9\n L_0x00a2:\n q.b.c.a.j0.a.c0 r9 = p213q.p217b.p301c.p302a.p311j0.p312a.C3606c0.m8179f()\n throw r9\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p213q.p217b.p301c.p302a.p311j0.p312a.C3656k.C3659c.mo9769i(int):void\");\n }",
"zzang mo29839S() throws RemoteException;",
"public int getR();",
"private static java.lang.String m149886a() {\n /*\n r0 = 0\n java.io.BufferedReader r1 = new java.io.BufferedReader // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.io.InputStreamReader r2 = new java.io.InputStreamReader // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.io.FileInputStream r3 = new java.io.FileInputStream // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.lang.StringBuilder r4 = new java.lang.StringBuilder // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.lang.String r5 = \"/proc/\"\n r4.<init>(r5) // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n int r5 = android.os.Process.myPid() // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n r4.append(r5) // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.lang.String r5 = \"/cmdline\"\n r4.append(r5) // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.lang.String r4 = r4.toString() // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n r3.<init>(r4) // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.lang.String r4 = \"iso-8859-1\"\n r2.<init>(r3, r4) // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n r1.<init>(r2) // Catch:{ Throwable -> 0x0072, all -> 0x0068 }\n java.lang.StringBuilder r2 = new java.lang.StringBuilder // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n r2.<init>() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n L_0x002e:\n int r3 = r1.read() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n if (r3 <= 0) goto L_0x0039\n char r3 = (char) r3 // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n r2.append(r3) // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n goto L_0x002e\n L_0x0039:\n org.chromium.f r3 = org.chromium.C48317f.m149883a() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n boolean r3 = r3.loggerDebug() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n if (r3 == 0) goto L_0x005e\n org.chromium.f r3 = org.chromium.C48317f.m149883a() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n java.lang.String r4 = \"Process\"\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n java.lang.String r6 = \"get processName = \"\n r5.<init>(r6) // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n java.lang.String r6 = r2.toString() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n r5.append(r6) // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n java.lang.String r5 = r5.toString() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n r3.loggerD(r4, r5) // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n L_0x005e:\n java.lang.String r2 = r2.toString() // Catch:{ Throwable -> 0x0073, all -> 0x0066 }\n r1.close() // Catch:{ Exception -> 0x0065 }\n L_0x0065:\n return r2\n L_0x0066:\n r0 = move-exception\n goto L_0x006c\n L_0x0068:\n r1 = move-exception\n r7 = r1\n r1 = r0\n r0 = r7\n L_0x006c:\n if (r1 == 0) goto L_0x0071\n r1.close() // Catch:{ Exception -> 0x0071 }\n L_0x0071:\n throw r0\n L_0x0072:\n r1 = r0\n L_0x0073:\n if (r1 == 0) goto L_0x0078\n r1.close() // Catch:{ Exception -> 0x0078 }\n L_0x0078:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.chromium.C48320i.m149886a():java.lang.String\");\n }",
"public void mo115190b() {\n }",
"public void ovr() {\n\n\t}",
"void mo41083a();",
"public void mo55254a() {\n }",
"public abstract String mo118046b();",
"public abstract void mo42331g();",
"void mo72113b();",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo97908d() {\n }",
"public abstract void mo27386d();",
"public void mo21879u() {\n }",
"private void toRent() {\n }",
"public void mo21779D() {\n }",
"private final void m14217c(R r) {\n this.f11870i = r;\n this.f11875n = null;\n this.f11866e.countDown();\n this.f11871j = this.f11870i.getStatus();\n if (this.f11873l) {\n this.f11868g = null;\n } else if (this.f11868g != null) {\n this.f11864b.removeMessages(2);\n this.f11864b.m8915a(this.f11868g, mo3575g());\n } else if (this.f11870i instanceof Releasable) {\n this.mResultGuardian = new C2474b();\n }\n ArrayList arrayList = this.f11867f;\n int size = arrayList.size();\n int i = 0;\n while (i < size) {\n Object obj = arrayList.get(i);\n i++;\n ((zza) obj).zzr(this.f11871j);\n }\n this.f11867f.clear();\n }",
"public void mo21787L() {\n }",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"public void mo38117a() {\n }",
"private static int convertLegacyAwbMode(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.hardware.camera2.legacy.LegacyResultMapper.convertLegacyAwbMode(java.lang.String):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.hardware.camera2.legacy.LegacyResultMapper.convertLegacyAwbMode(java.lang.String):int\");\n }",
"void mo1943l();",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"void mo119582b();",
"public abstract String mo11611b();",
"public void mo21878t() {\n }",
"private static android.hardware.camera2.impl.CameraMetadataNative convertResultMetadata(android.hardware.camera2.legacy.LegacyRequest r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.hardware.camera2.legacy.LegacyResultMapper.convertResultMetadata(android.hardware.camera2.legacy.LegacyRequest):android.hardware.camera2.impl.CameraMetadataNative, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.hardware.camera2.legacy.LegacyResultMapper.convertResultMetadata(android.hardware.camera2.legacy.LegacyRequest):android.hardware.camera2.impl.CameraMetadataNative\");\n }",
"void mo21076g();",
"public at(com.tencent.mm.bj.g r15) {\n /*\n r14 = this;\n r12 = 5000; // 0x1388 float:7.006E-42 double:2.4703E-320;\n r11 = 2;\n r1 = 1;\n r4 = 0;\n r6 = 0;\n r14.<init>();\n r14.gUz = r15;\n r7 = \"MediaDuplication\";\n r0 = r14.gUz;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r3 = \"PRAGMA table_info( \";\n r2.<init>(r3);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2 = r2.append(r7);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r3 = \" )\";\n r2 = r2.append(r3);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2 = r2.toString();\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r3 = 0;\n r5 = 2;\n r2 = r0.a(r2, r3, r5);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r0 = \"name\";\n r8 = r2.getColumnIndex(r0);\t Catch:{ Exception -> 0x0195 }\n r0 = r6;\n r3 = r6;\n r5 = r6;\n L_0x0037:\n r9 = r2.moveToNext();\t Catch:{ Exception -> 0x0195 }\n if (r9 == 0) goto L_0x0064;\n L_0x003d:\n if (r8 < 0) goto L_0x0037;\n L_0x003f:\n r9 = r2.getString(r8);\t Catch:{ Exception -> 0x0195 }\n r10 = \"remuxing\";\n r10 = r10.equalsIgnoreCase(r9);\t Catch:{ Exception -> 0x0195 }\n if (r10 == 0) goto L_0x004e;\n L_0x004c:\n r5 = r1;\n goto L_0x0037;\n L_0x004e:\n r10 = \"duration\";\n r10 = r10.equalsIgnoreCase(r9);\t Catch:{ Exception -> 0x0195 }\n if (r10 == 0) goto L_0x0059;\n L_0x0057:\n r3 = r1;\n goto L_0x0037;\n L_0x0059:\n r10 = \"status\";\n r9 = r10.equalsIgnoreCase(r9);\t Catch:{ Exception -> 0x0195 }\n if (r9 == 0) goto L_0x0037;\n L_0x0062:\n r0 = r1;\n goto L_0x0037;\n L_0x0064:\n r2.close();\t Catch:{ Exception -> 0x0195 }\n r2 = com.tencent.mm.kernel.h.vI();\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2 = r2.gYg;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r8 = java.lang.Thread.currentThread();\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r8 = r8.getId();\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r8 = r2.cs(r8);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n if (r5 != 0) goto L_0x008c;\n L_0x007b:\n r2 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r5 = \"it had no [remuxing] column, alter table now\";\n com.tencent.mm.sdk.platformtools.w.i(r2, r5);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2 = \"alter table MediaDuplication add remuxing text \";\n r5 = r14.gUz;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r5.eE(r7, r2);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n L_0x008c:\n if (r3 != 0) goto L_0x009f;\n L_0x008e:\n r2 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r3 = \"it had no [duration] column, alter table now\";\n com.tencent.mm.sdk.platformtools.w.i(r2, r3);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2 = \"alter table MediaDuplication add duration int \";\n r3 = r14.gUz;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r3.eE(r7, r2);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n L_0x009f:\n if (r0 != 0) goto L_0x00b2;\n L_0x00a1:\n r0 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r2 = \"it had no [status] column, alter table now\";\n com.tencent.mm.sdk.platformtools.w.i(r0, r2);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r0 = \"alter table MediaDuplication add status int \";\n r2 = r14.gUz;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r2.eE(r7, r0);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n L_0x00b2:\n r2 = 0;\n r0 = (r8 > r2 ? 1 : (r8 == r2 ? 0 : -1));\n if (r0 <= 0) goto L_0x00c1;\n L_0x00b8:\n r0 = com.tencent.mm.kernel.h.vI();\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r0 = r0.gYg;\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n r0.aD(r8);\t Catch:{ Exception -> 0x0116, all -> 0x0145 }\n L_0x00c1:\n r7 = \"MediaDuplication\";\n r2 = 0;\n r0 = r14.gUz;\t Catch:{ Exception -> 0x014c, all -> 0x017d }\n r5 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x014c, all -> 0x017d }\n r8 = \"SELECT count(*) from \";\n r5.<init>(r8);\t Catch:{ Exception -> 0x014c, all -> 0x017d }\n r5 = r5.append(r7);\t Catch:{ Exception -> 0x014c, all -> 0x017d }\n r5 = r5.toString();\t Catch:{ Exception -> 0x014c, all -> 0x017d }\n r8 = 0;\n r9 = 2;\n r5 = r0.a(r5, r8, r9);\t Catch:{ Exception -> 0x014c, all -> 0x017d }\n r0 = r5.moveToFirst();\t Catch:{ Exception -> 0x0187 }\n if (r0 == 0) goto L_0x0197;\n L_0x00e4:\n r0 = 0;\n r0 = r5.getInt(r0);\t Catch:{ Exception -> 0x0187 }\n L_0x00e9:\n r5.close();\t Catch:{ Exception -> 0x018b }\n if (r0 < r12) goto L_0x00f7;\n L_0x00ee:\n r5 = r14.gUz;\t Catch:{ Exception -> 0x018d, all -> 0x017d }\n r8 = 0;\n r9 = 0;\n r2 = r5.delete(r7, r8, r9);\t Catch:{ Exception -> 0x018d, all -> 0x017d }\n r2 = (long) r2;\n L_0x00f7:\n r4 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r5 = \"MediaDuplication record[%d], max record[%d], deleteRecord[%d]\";\n r7 = 3;\n r7 = new java.lang.Object[r7];\n r0 = java.lang.Integer.valueOf(r0);\n r7[r6] = r0;\n r0 = java.lang.Integer.valueOf(r12);\n r7[r1] = r0;\n r0 = java.lang.Long.valueOf(r2);\n r7[r11] = r0;\n com.tencent.mm.sdk.platformtools.w.i(r4, r5, r7);\n return;\n L_0x0116:\n r0 = move-exception;\n r2 = r4;\n L_0x0118:\n r3 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r5 = \"\";\n r7 = 0;\n r7 = new java.lang.Object[r7];\t Catch:{ all -> 0x0192 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r3, r0, r5, r7);\t Catch:{ all -> 0x0192 }\n r3 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r5 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0192 }\n r7 = \"tryAddDBCol error: \";\n r5.<init>(r7);\t Catch:{ all -> 0x0192 }\n r0 = r0.toString();\t Catch:{ all -> 0x0192 }\n r0 = r5.append(r0);\t Catch:{ all -> 0x0192 }\n r0 = r0.toString();\t Catch:{ all -> 0x0192 }\n com.tencent.mm.sdk.platformtools.w.e(r3, r0);\t Catch:{ all -> 0x0192 }\n if (r2 == 0) goto L_0x00c1;\n L_0x0140:\n r2.close();\n goto L_0x00c1;\n L_0x0145:\n r0 = move-exception;\n L_0x0146:\n if (r4 == 0) goto L_0x014b;\n L_0x0148:\n r4.close();\n L_0x014b:\n throw r0;\n L_0x014c:\n r0 = move-exception;\n r5 = r4;\n r4 = r0;\n r0 = r6;\n L_0x0150:\n r7 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r8 = \"\";\n r9 = 0;\n r9 = new java.lang.Object[r9];\t Catch:{ all -> 0x0185 }\n com.tencent.mm.sdk.platformtools.w.printErrStackTrace(r7, r4, r8, r9);\t Catch:{ all -> 0x0185 }\n r7 = \"MicroMsg.MediaCheckDuplicationStorage\";\n r8 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0185 }\n r9 = \"check to delete MediaDuplication. error : \";\n r8.<init>(r9);\t Catch:{ all -> 0x0185 }\n r4 = r4.toString();\t Catch:{ all -> 0x0185 }\n r4 = r8.append(r4);\t Catch:{ all -> 0x0185 }\n r4 = r4.toString();\t Catch:{ all -> 0x0185 }\n com.tencent.mm.sdk.platformtools.w.e(r7, r4);\t Catch:{ all -> 0x0185 }\n if (r5 == 0) goto L_0x00f7;\n L_0x0178:\n r5.close();\n goto L_0x00f7;\n L_0x017d:\n r0 = move-exception;\n r5 = r4;\n L_0x017f:\n if (r5 == 0) goto L_0x0184;\n L_0x0181:\n r5.close();\n L_0x0184:\n throw r0;\n L_0x0185:\n r0 = move-exception;\n goto L_0x017f;\n L_0x0187:\n r0 = move-exception;\n r4 = r0;\n r0 = r6;\n goto L_0x0150;\n L_0x018b:\n r4 = move-exception;\n goto L_0x0150;\n L_0x018d:\n r5 = move-exception;\n r13 = r5;\n r5 = r4;\n r4 = r13;\n goto L_0x0150;\n L_0x0192:\n r0 = move-exception;\n r4 = r2;\n goto L_0x0146;\n L_0x0195:\n r0 = move-exception;\n goto L_0x0118;\n L_0x0197:\n r0 = r6;\n goto L_0x00e9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.storage.at.<init>(com.tencent.mm.bj.g):void\");\n }",
"public void gored() {\n\t\t\n\t}",
"static int size_of_rrc(String passed){\n\t\treturn 1;\n\t}",
"public void mo21782G() {\n }",
"zzafe mo29840Y() throws RemoteException;",
"public abstract int mo12579RS(int i);",
"private void bщ04490449щ0449щ(rrrrrr.rcccrr r6) {\n /*\n r5 = this;\n r4 = 0;\n r0 = r6.getJsonData();\t Catch:{ Exception -> 0x0056 }\n r1 = new rrrrrr.ccrcrc;\t Catch:{ Exception -> 0x0056 }\n r2 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x0056 }\n r2.<init>();\t Catch:{ Exception -> 0x0056 }\n r3 = r5.bнн043Dннн;\t Catch:{ Exception -> 0x0056 }\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r3);\t Catch:{ Exception -> 0x0056 }\n r3 = r3.getFilesDir();\t Catch:{ Exception -> 0x0056 }\n r2 = r2.append(r3);\t Catch:{ Exception -> 0x0056 }\n r3 = java.io.File.separator;\t Catch:{ Exception -> 0x0056 }\n r2 = r2.append(r3);\t Catch:{ Exception -> 0x0056 }\n r3 = \"3HC4C-01.txt\";\n r2 = r2.append(r3);\t Catch:{ Exception -> 0x0056 }\n r2 = r2.toString();\t Catch:{ Exception -> 0x0056 }\n r1.<init>(r2);\t Catch:{ Exception -> 0x0056 }\n r2 = bЗ04170417ЗЗЗ;\n r3 = bЗЗЗ0417ЗЗ;\n r3 = r3 + r2;\n r2 = r2 * r3;\n r3 = b04170417З0417ЗЗ;\n r2 = r2 % r3;\n switch(r2) {\n case 0: goto L_0x0041;\n default: goto L_0x0039;\n };\n L_0x0039:\n r2 = 38;\n bЗ04170417ЗЗЗ = r2;\n r2 = 29;\n b041704170417ЗЗЗ = r2;\n L_0x0041:\n r1.load();\t Catch:{ Exception -> 0x0056 }\n L_0x0044:\n switch(r4) {\n case 0: goto L_0x004b;\n case 1: goto L_0x0044;\n default: goto L_0x0047;\n };\t Catch:{ Exception -> 0x0056 }\n L_0x0047:\n switch(r4) {\n case 0: goto L_0x004b;\n case 1: goto L_0x0044;\n default: goto L_0x004a;\n };\t Catch:{ Exception -> 0x0056 }\n L_0x004a:\n goto L_0x0047;\n L_0x004b:\n r0 = r0.toString();\t Catch:{ Exception -> 0x0056 }\n r1.push(r0);\t Catch:{ Exception -> 0x0056 }\n r1.save();\t Catch:{ Exception -> 0x0056 }\n L_0x0055:\n return;\n L_0x0056:\n r0 = move-exception;\n goto L_0x0055;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.bщ04490449щ0449щ(rrrrrr.rcccrr):void\");\n }",
"public void mo21791P() {\n }",
"public interface C0657b {\n /* renamed from: f */\n void mo3193f();\n\n /* renamed from: r */\n void mo3194r();\n}",
"public void mo21785J() {\n }",
"public abstract int mo12572RL(int i);",
"boolean m25333a(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r0 = this;\n java.lang.Class.forName(r1);\t Catch:{ ClassNotFoundException -> 0x0005 }\n r1 = 1;\n return r1;\n L_0x0005:\n r1 = 0;\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.mapbox.android.core.location.c.a(java.lang.String):boolean\");\n }",
"public abstract void mo42329d();",
"public static final java.lang.String m133282a(com.p280ss.android.ugc.aweme.draft.model.C27311c r1) {\n /*\n java.lang.String r0 = \"draft\"\n kotlin.jvm.internal.C7573i.m23587b(r1, r0)\n boolean r0 = r1.mo70215ad()\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.shortvideo.edit.model.EditPreviewInfo r1 = r1.mo70214ac()\n if (r1 == 0) goto L_0x0017\n java.lang.String r1 = r1.getDraftDir()\n if (r1 != 0) goto L_0x0019\n L_0x0017:\n java.lang.String r1 = \"\"\n L_0x0019:\n return r1\n L_0x001a:\n com.ss.android.ugc.aweme.photomovie.PhotoMovieContext r0 = r1.f72034c\n boolean r0 = com.p280ss.android.ugc.aweme.storage.p1640b.C41902b.m133264a(r0)\n if (r0 == 0) goto L_0x002b\n com.ss.android.ugc.aweme.draft.model.b r1 = r1.f72031S\n java.lang.String r1 = r1.f71951O\n if (r1 != 0) goto L_0x002a\n java.lang.String r1 = \"\"\n L_0x002a:\n return r1\n L_0x002b:\n com.ss.android.ugc.aweme.draft.model.b r1 = r1.f72031S\n java.lang.String r1 = r1.f71951O\n java.lang.String r1 = com.p280ss.android.ugc.aweme.shortvideo.WorkSpace.Workspace.m122803a(r1)\n if (r1 != 0) goto L_0x0037\n java.lang.String r1 = \"\"\n L_0x0037:\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.storage.p1640b.C41911c.m133282a(com.ss.android.ugc.aweme.draft.model.c):java.lang.String\");\n }",
"zzana mo29855eb() throws RemoteException;",
"public void redibujarAlgoformers() {\n\t\t\n\t}",
"public void mo1531a() {\n }",
"public abstract void mo30696a();",
"void mo54405a();",
"public static java.lang.String a(android.content.Context r16, android.net.Uri r17) {\n /*\n r1 = 2\n java.lang.Object[] r8 = new java.lang.Object[r1]\n r15 = 0\n r8[r15] = r16\n r6 = 1\n r8[r6] = r17\n com.meituan.robust.ChangeQuickRedirect r10 = f17527a\n java.lang.Class[] r13 = new java.lang.Class[r1]\n java.lang.Class<android.content.Context> r2 = android.content.Context.class\n r13[r15] = r2\n java.lang.Class<android.net.Uri> r2 = android.net.Uri.class\n r13[r6] = r2\n java.lang.Class<java.lang.String> r14 = java.lang.String.class\n r9 = 0\n r11 = 1\n r12 = 13601(0x3521, float:1.9059E-41)\n boolean r2 = com.meituan.robust.PatchProxy.isSupport(r8, r9, r10, r11, r12, r13, r14)\n if (r2 == 0) goto L_0x0041\n java.lang.Object[] r2 = new java.lang.Object[r1]\n r2[r15] = r16\n r2[r6] = r17\n r8 = 0\n com.meituan.robust.ChangeQuickRedirect r9 = f17527a\n r10 = 1\n r11 = 13601(0x3521, float:1.9059E-41)\n java.lang.Class[] r12 = new java.lang.Class[r1]\n java.lang.Class<android.content.Context> r0 = android.content.Context.class\n r12[r15] = r0\n java.lang.Class<android.net.Uri> r0 = android.net.Uri.class\n r12[r6] = r0\n java.lang.Class<java.lang.String> r13 = java.lang.String.class\n r7 = r2\n java.lang.Object r0 = com.meituan.robust.PatchProxy.accessDispatch(r7, r8, r9, r10, r11, r12, r13)\n java.lang.String r0 = (java.lang.String) r0\n return r0\n L_0x0041:\n r8 = 0\n if (r17 != 0) goto L_0x0045\n return r8\n L_0x0045:\n java.lang.String r1 = r17.getScheme()\n boolean r2 = com.bytedance.common.utility.StringUtils.isEmpty(r1)\n if (r2 != 0) goto L_0x010a\n java.lang.String r2 = \"file\"\n boolean r2 = r2.equals(r1)\n if (r2 == 0) goto L_0x0059\n goto L_0x010a\n L_0x0059:\n java.lang.String r2 = \"http\"\n boolean r2 = r2.equals(r1)\n if (r2 == 0) goto L_0x0066\n java.lang.String r0 = r17.toString()\n return r0\n L_0x0066:\n java.lang.String r2 = \"content\"\n boolean r1 = r2.equals(r1)\n if (r1 == 0) goto L_0x0109\n java.lang.String[] r11 = new java.lang.String[r6]\n java.lang.String r1 = \"_data\"\n r11[r15] = r1\n java.lang.String r9 = \"\"\n android.content.ContentResolver r1 = r16.getContentResolver() // Catch:{ Exception -> 0x00a3, all -> 0x009b }\n r4 = 0\n r5 = 0\n r10 = 0\n r2 = r17\n r3 = r11\n r12 = 1\n r6 = r10\n android.database.Cursor r1 = r1.query(r2, r3, r4, r5, r6) // Catch:{ Exception -> 0x00a4, all -> 0x009b }\n boolean r2 = r1.moveToFirst() // Catch:{ Exception -> 0x00a5, all -> 0x0099 }\n if (r2 == 0) goto L_0x0091\n java.lang.String r2 = r1.getString(r15) // Catch:{ Exception -> 0x00a5, all -> 0x0099 }\n r9 = r2\n L_0x0091:\n if (r1 == 0) goto L_0x0096\n r1.close() // Catch:{ Exception -> 0x00a5, all -> 0x0099 }\n L_0x0096:\n if (r1 == 0) goto L_0x00aa\n goto L_0x00a7\n L_0x0099:\n r0 = move-exception\n goto L_0x009d\n L_0x009b:\n r0 = move-exception\n r1 = r8\n L_0x009d:\n if (r1 == 0) goto L_0x00a2\n r1.close() // Catch:{ Exception -> 0x00a2 }\n L_0x00a2:\n throw r0\n L_0x00a3:\n r12 = 1\n L_0x00a4:\n r1 = r8\n L_0x00a5:\n if (r1 == 0) goto L_0x00aa\n L_0x00a7:\n r1.close() // Catch:{ Exception -> 0x00aa }\n L_0x00aa:\n r2 = r1\n r1 = r9\n boolean r3 = com.bytedance.common.utility.StringUtils.isEmpty(r1)\n if (r3 == 0) goto L_0x0108\n android.content.ContentResolver r9 = r16.getContentResolver() // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n java.lang.String r0 = \"_id= ?\"\n java.lang.String r3 = r17.getLastPathSegment() // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n int r4 = android.os.Build.VERSION.SDK_INT // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n r5 = 19\n if (r4 < r5) goto L_0x00d8\n boolean r4 = com.bytedance.common.utility.StringUtils.isEmpty(r3) // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n if (r4 != 0) goto L_0x00d8\n java.lang.String r4 = \":\"\n boolean r4 = r3.contains(r4) // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n if (r4 == 0) goto L_0x00d8\n java.lang.String r4 = \":\"\n java.lang.String[] r3 = r3.split(r4) // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n r3 = r3[r12] // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n L_0x00d8:\n java.lang.String[] r13 = new java.lang.String[r12] // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n r13[r15] = r3 // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n android.net.Uri r10 = android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n r14 = 0\n r12 = r0\n android.database.Cursor r3 = r9.query(r10, r11, r12, r13, r14) // Catch:{ Exception -> 0x0104, all -> 0x00fd }\n boolean r0 = r3.moveToFirst() // Catch:{ Exception -> 0x0105, all -> 0x00fa }\n if (r0 == 0) goto L_0x00ef\n java.lang.String r0 = r3.getString(r15) // Catch:{ Exception -> 0x0105, all -> 0x00fa }\n r1 = r0\n L_0x00ef:\n if (r3 == 0) goto L_0x00f4\n r3.close() // Catch:{ Exception -> 0x0105, all -> 0x00fa }\n L_0x00f4:\n if (r3 == 0) goto L_0x0108\n L_0x00f6:\n r3.close() // Catch:{ Exception -> 0x0108 }\n goto L_0x0108\n L_0x00fa:\n r0 = move-exception\n r2 = r3\n goto L_0x00fe\n L_0x00fd:\n r0 = move-exception\n L_0x00fe:\n if (r2 == 0) goto L_0x0103\n r2.close() // Catch:{ Exception -> 0x0103 }\n L_0x0103:\n throw r0\n L_0x0104:\n r3 = r2\n L_0x0105:\n if (r3 == 0) goto L_0x0108\n goto L_0x00f6\n L_0x0108:\n return r1\n L_0x0109:\n return r8\n L_0x010a:\n java.lang.String r0 = r17.getPath()\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.android.livesdk.utils.a.a(android.content.Context, android.net.Uri):java.lang.String\");\n }",
"private static String translateUrl(Reader r) throws IOException {\n StringBuilder s = new StringBuilder();\n while (true) {\n int c = r.read();\n if (c < 0) return s.toString();\n else if (c == '%') appendMultibyte(r, s);\n else if (c == '+') s.append(' ');\n else s.append((char) c);\n }\n }",
"public a.d.c.l a(a.d.c.c r42, java.util.Map<a.d.c.e, ?> r43) {\n /*\n r41 = this;\n r0 = r43\n a.d.c.p.d.a r1 = new a.d.c.p.d.a\n a.d.c.r.b r2 = r42.a()\n r1.<init>(r2)\n r2 = 7\n r3 = 3\n r4 = 0\n r5 = -1\n r6 = 2\n r7 = 1\n a.d.c.r.k.a r8 = new a.d.c.r.k.a // Catch:{ i -> 0x0026 }\n a.d.c.r.b r9 = r1.f2900a // Catch:{ i -> 0x0026 }\n r8.<init>(r9) // Catch:{ i -> 0x0026 }\n a.d.c.n[] r8 = r8.b() // Catch:{ i -> 0x0026 }\n r9 = r8[r4] // Catch:{ i -> 0x0026 }\n r10 = r8[r7] // Catch:{ i -> 0x0026 }\n r11 = r8[r6] // Catch:{ i -> 0x0026 }\n r8 = r8[r3] // Catch:{ i -> 0x0026 }\n goto L_0x0139\n L_0x0026:\n a.d.c.r.b r8 = r1.f2900a\n int r9 = r8.f2966a\n int r9 = r9 / r6\n int r8 = r8.f2967b\n int r8 = r8 / r6\n int r10 = r9 + 7\n int r11 = r8 + -7\n int r10 = r10 + r7\n r13 = r10\n r12 = r11\n L_0x0035:\n int r12 = r12 + r5\n boolean r14 = r1.d(r13, r12)\n if (r14 == 0) goto L_0x0047\n a.d.c.r.b r14 = r1.f2900a\n boolean r14 = r14.a(r13, r12)\n if (r14 != 0) goto L_0x0047\n int r13 = r13 + 1\n goto L_0x0035\n L_0x0047:\n int r13 = r13 - r7\n int r12 = r12 + r7\n L_0x0049:\n boolean r14 = r1.d(r13, r12)\n if (r14 == 0) goto L_0x005a\n a.d.c.r.b r14 = r1.f2900a\n boolean r14 = r14.a(r13, r12)\n if (r14 != 0) goto L_0x005a\n int r13 = r13 + 1\n goto L_0x0049\n L_0x005a:\n int r13 = r13 - r7\n L_0x005b:\n boolean r14 = r1.d(r13, r12)\n if (r14 == 0) goto L_0x006c\n a.d.c.r.b r14 = r1.f2900a\n boolean r14 = r14.a(r13, r12)\n if (r14 != 0) goto L_0x006c\n int r12 = r12 + -1\n goto L_0x005b\n L_0x006c:\n int r12 = r12 + r7\n a.d.c.n r14 = new a.d.c.n\n float r13 = (float) r13\n float r12 = (float) r12\n r14.<init>(r13, r12)\n int r8 = r8 + r2\n r12 = r8\n L_0x0076:\n int r12 = r12 + r7\n boolean r13 = r1.d(r10, r12)\n if (r13 == 0) goto L_0x0088\n a.d.c.r.b r13 = r1.f2900a\n boolean r13 = r13.a(r10, r12)\n if (r13 != 0) goto L_0x0088\n int r10 = r10 + 1\n goto L_0x0076\n L_0x0088:\n int r10 = r10 - r7\n int r12 = r12 - r7\n L_0x008a:\n boolean r13 = r1.d(r10, r12)\n if (r13 == 0) goto L_0x009b\n a.d.c.r.b r13 = r1.f2900a\n boolean r13 = r13.a(r10, r12)\n if (r13 != 0) goto L_0x009b\n int r10 = r10 + 1\n goto L_0x008a\n L_0x009b:\n int r10 = r10 - r7\n L_0x009c:\n boolean r13 = r1.d(r10, r12)\n if (r13 == 0) goto L_0x00ad\n a.d.c.r.b r13 = r1.f2900a\n boolean r13 = r13.a(r10, r12)\n if (r13 != 0) goto L_0x00ad\n int r12 = r12 + 1\n goto L_0x009c\n L_0x00ad:\n int r12 = r12 - r7\n a.d.c.n r13 = new a.d.c.n\n float r10 = (float) r10\n float r12 = (float) r12\n r13.<init>(r10, r12)\n int r9 = r9 + -7\n int r10 = r9 + -1\n L_0x00b9:\n int r8 = r8 + r7\n boolean r12 = r1.d(r10, r8)\n if (r12 == 0) goto L_0x00cb\n a.d.c.r.b r12 = r1.f2900a\n boolean r12 = r12.a(r10, r8)\n if (r12 != 0) goto L_0x00cb\n int r10 = r10 + -1\n goto L_0x00b9\n L_0x00cb:\n int r10 = r10 + r7\n int r8 = r8 - r7\n L_0x00cd:\n boolean r12 = r1.d(r10, r8)\n if (r12 == 0) goto L_0x00de\n a.d.c.r.b r12 = r1.f2900a\n boolean r12 = r12.a(r10, r8)\n if (r12 != 0) goto L_0x00de\n int r10 = r10 + -1\n goto L_0x00cd\n L_0x00de:\n int r10 = r10 + r7\n L_0x00df:\n boolean r12 = r1.d(r10, r8)\n if (r12 == 0) goto L_0x00f0\n a.d.c.r.b r12 = r1.f2900a\n boolean r12 = r12.a(r10, r8)\n if (r12 != 0) goto L_0x00f0\n int r8 = r8 + 1\n goto L_0x00df\n L_0x00f0:\n int r8 = r8 - r7\n a.d.c.n r12 = new a.d.c.n\n float r10 = (float) r10\n float r8 = (float) r8\n r12.<init>(r10, r8)\n L_0x00f8:\n int r9 = r9 + r5\n int r11 = r11 + r5\n boolean r8 = r1.d(r9, r11)\n if (r8 == 0) goto L_0x0109\n a.d.c.r.b r8 = r1.f2900a\n boolean r8 = r8.a(r9, r11)\n if (r8 != 0) goto L_0x0109\n goto L_0x00f8\n L_0x0109:\n int r9 = r9 + r7\n int r11 = r11 + r7\n L_0x010b:\n boolean r8 = r1.d(r9, r11)\n if (r8 == 0) goto L_0x011c\n a.d.c.r.b r8 = r1.f2900a\n boolean r8 = r8.a(r9, r11)\n if (r8 != 0) goto L_0x011c\n int r9 = r9 + -1\n goto L_0x010b\n L_0x011c:\n int r9 = r9 + r7\n L_0x011d:\n boolean r8 = r1.d(r9, r11)\n if (r8 == 0) goto L_0x012e\n a.d.c.r.b r8 = r1.f2900a\n boolean r8 = r8.a(r9, r11)\n if (r8 != 0) goto L_0x012e\n int r11 = r11 + -1\n goto L_0x011d\n L_0x012e:\n int r11 = r11 + r7\n a.d.c.n r8 = new a.d.c.n\n float r9 = (float) r9\n float r10 = (float) r11\n r8.<init>(r9, r10)\n r11 = r12\n r10 = r13\n r9 = r14\n L_0x0139:\n float r12 = r9.f2885a\n float r13 = r8.f2885a\n float r12 = r12 + r13\n float r13 = r10.f2885a\n float r12 = r12 + r13\n float r13 = r11.f2885a\n float r12 = r12 + r13\n r13 = 1082130432(0x40800000, float:4.0)\n float r12 = r12 / r13\n int r12 = a.d.c.p.d.a.e(r12)\n float r9 = r9.f2886b\n float r8 = r8.f2886b\n float r9 = r9 + r8\n float r8 = r10.f2886b\n float r9 = r9 + r8\n float r8 = r11.f2886b\n float r9 = r9 + r8\n float r9 = r9 / r13\n int r8 = a.d.c.p.d.a.e(r9)\n r9 = 15\n a.d.c.r.k.a r10 = new a.d.c.r.k.a // Catch:{ i -> 0x0172 }\n a.d.c.r.b r11 = r1.f2900a // Catch:{ i -> 0x0172 }\n r10.<init>(r11, r9, r12, r8) // Catch:{ i -> 0x0172 }\n a.d.c.n[] r10 = r10.b() // Catch:{ i -> 0x0172 }\n r11 = r10[r4] // Catch:{ i -> 0x0172 }\n r14 = r10[r7] // Catch:{ i -> 0x0172 }\n r15 = r10[r6] // Catch:{ i -> 0x0172 }\n r8 = r10[r3] // Catch:{ i -> 0x0172 }\n goto L_0x0282\n L_0x0172:\n int r10 = r12 + 7\n int r11 = r8 + -7\n int r10 = r10 + r7\n r15 = r10\n r14 = r11\n L_0x0179:\n int r14 = r14 + r5\n boolean r16 = r1.d(r15, r14)\n if (r16 == 0) goto L_0x018d\n a.d.c.r.b r9 = r1.f2900a\n boolean r9 = r9.a(r15, r14)\n if (r9 != 0) goto L_0x018d\n int r15 = r15 + 1\n r9 = 15\n goto L_0x0179\n L_0x018d:\n int r15 = r15 - r7\n int r14 = r14 + r7\n L_0x018f:\n boolean r9 = r1.d(r15, r14)\n if (r9 == 0) goto L_0x01a0\n a.d.c.r.b r9 = r1.f2900a\n boolean r9 = r9.a(r15, r14)\n if (r9 != 0) goto L_0x01a0\n int r15 = r15 + 1\n goto L_0x018f\n L_0x01a0:\n int r15 = r15 - r7\n L_0x01a1:\n boolean r9 = r1.d(r15, r14)\n if (r9 == 0) goto L_0x01b2\n a.d.c.r.b r9 = r1.f2900a\n boolean r9 = r9.a(r15, r14)\n if (r9 != 0) goto L_0x01b2\n int r14 = r14 + -1\n goto L_0x01a1\n L_0x01b2:\n int r14 = r14 + r7\n a.d.c.n r9 = new a.d.c.n\n float r15 = (float) r15\n float r14 = (float) r14\n r9.<init>(r15, r14)\n int r8 = r8 + r2\n r14 = r8\n L_0x01bc:\n int r14 = r14 + r7\n boolean r15 = r1.d(r10, r14)\n if (r15 == 0) goto L_0x01ce\n a.d.c.r.b r15 = r1.f2900a\n boolean r15 = r15.a(r10, r14)\n if (r15 != 0) goto L_0x01ce\n int r10 = r10 + 1\n goto L_0x01bc\n L_0x01ce:\n int r10 = r10 - r7\n int r14 = r14 - r7\n L_0x01d0:\n boolean r15 = r1.d(r10, r14)\n if (r15 == 0) goto L_0x01e1\n a.d.c.r.b r15 = r1.f2900a\n boolean r15 = r15.a(r10, r14)\n if (r15 != 0) goto L_0x01e1\n int r10 = r10 + 1\n goto L_0x01d0\n L_0x01e1:\n int r10 = r10 - r7\n L_0x01e2:\n boolean r15 = r1.d(r10, r14)\n if (r15 == 0) goto L_0x01f3\n a.d.c.r.b r15 = r1.f2900a\n boolean r15 = r15.a(r10, r14)\n if (r15 != 0) goto L_0x01f3\n int r14 = r14 + 1\n goto L_0x01e2\n L_0x01f3:\n int r14 = r14 - r7\n a.d.c.n r15 = new a.d.c.n\n float r10 = (float) r10\n float r14 = (float) r14\n r15.<init>(r10, r14)\n int r12 = r12 + -7\n int r10 = r12 + -1\n L_0x01ff:\n int r8 = r8 + r7\n boolean r14 = r1.d(r10, r8)\n if (r14 == 0) goto L_0x0211\n a.d.c.r.b r14 = r1.f2900a\n boolean r14 = r14.a(r10, r8)\n if (r14 != 0) goto L_0x0211\n int r10 = r10 + -1\n goto L_0x01ff\n L_0x0211:\n int r10 = r10 + r7\n int r8 = r8 - r7\n L_0x0213:\n boolean r14 = r1.d(r10, r8)\n if (r14 == 0) goto L_0x0224\n a.d.c.r.b r14 = r1.f2900a\n boolean r14 = r14.a(r10, r8)\n if (r14 != 0) goto L_0x0224\n int r10 = r10 + -1\n goto L_0x0213\n L_0x0224:\n int r10 = r10 + r7\n L_0x0225:\n boolean r14 = r1.d(r10, r8)\n if (r14 == 0) goto L_0x0236\n a.d.c.r.b r14 = r1.f2900a\n boolean r14 = r14.a(r10, r8)\n if (r14 != 0) goto L_0x0236\n int r8 = r8 + 1\n goto L_0x0225\n L_0x0236:\n int r8 = r8 - r7\n a.d.c.n r14 = new a.d.c.n\n float r10 = (float) r10\n float r8 = (float) r8\n r14.<init>(r10, r8)\n L_0x023e:\n int r12 = r12 + r5\n int r11 = r11 + r5\n boolean r8 = r1.d(r12, r11)\n if (r8 == 0) goto L_0x024f\n a.d.c.r.b r8 = r1.f2900a\n boolean r8 = r8.a(r12, r11)\n if (r8 != 0) goto L_0x024f\n goto L_0x023e\n L_0x024f:\n int r12 = r12 + r7\n int r11 = r11 + r7\n L_0x0251:\n boolean r8 = r1.d(r12, r11)\n if (r8 == 0) goto L_0x0262\n a.d.c.r.b r8 = r1.f2900a\n boolean r8 = r8.a(r12, r11)\n if (r8 != 0) goto L_0x0262\n int r12 = r12 + -1\n goto L_0x0251\n L_0x0262:\n int r12 = r12 + r7\n L_0x0263:\n boolean r8 = r1.d(r12, r11)\n if (r8 == 0) goto L_0x0274\n a.d.c.r.b r8 = r1.f2900a\n boolean r8 = r8.a(r12, r11)\n if (r8 != 0) goto L_0x0274\n int r11 = r11 + -1\n goto L_0x0263\n L_0x0274:\n int r11 = r11 + r7\n a.d.c.n r8 = new a.d.c.n\n float r10 = (float) r12\n float r11 = (float) r11\n r8.<init>(r10, r11)\n r11 = r9\n r40 = r15\n r15 = r14\n r14 = r40\n L_0x0282:\n float r9 = r11.f2885a\n float r10 = r8.f2885a\n float r9 = r9 + r10\n float r10 = r14.f2885a\n float r9 = r9 + r10\n float r10 = r15.f2885a\n float r9 = r9 + r10\n float r9 = r9 / r13\n int r9 = a.d.c.p.d.a.e(r9)\n float r10 = r11.f2886b\n float r8 = r8.f2886b\n float r10 = r10 + r8\n float r8 = r14.f2886b\n float r10 = r10 + r8\n float r8 = r15.f2886b\n float r10 = r10 + r8\n float r10 = r10 / r13\n int r8 = a.d.c.p.d.a.e(r10)\n a.d.c.p.d.a$b r10 = new a.d.c.p.d.a$b\n r11 = 0\n r10.<init>(r9, r8, r11)\n r1.f2904e = r7\n r8 = r10\n r9 = r8\n r12 = r9\n r13 = 1\n L_0x02ae:\n int r14 = r1.f2904e\n r15 = 9\n if (r14 >= r15) goto L_0x035f\n a.d.c.p.d.a$b r14 = r1.c(r10, r13, r7, r5)\n a.d.c.p.d.a$b r15 = r1.c(r8, r13, r7, r7)\n a.d.c.p.d.a$b r4 = r1.c(r9, r13, r5, r7)\n a.d.c.p.d.a$b r2 = r1.c(r12, r13, r5, r5)\n int r5 = r1.f2904e\n if (r5 <= r6) goto L_0x0344\n float r5 = a.d.c.p.d.a.a(r2, r14)\n int r7 = r1.f2904e\n float r7 = (float) r7\n float r5 = r5 * r7\n float r7 = a.d.c.p.d.a.a(r12, r10)\n int r11 = r1.f2904e\n int r11 = r11 + r6\n float r11 = (float) r11\n float r7 = r7 * r11\n float r5 = r5 / r7\n double r6 = (double) r5\n r21 = 4604930618986332160(0x3fe8000000000000, double:0.75)\n int r5 = (r6 > r21 ? 1 : (r6 == r21 ? 0 : -1))\n if (r5 < 0) goto L_0x035f\n r21 = 4608308318706860032(0x3ff4000000000000, double:1.25)\n int r5 = (r6 > r21 ? 1 : (r6 == r21 ? 0 : -1))\n if (r5 > 0) goto L_0x035f\n a.d.c.p.d.a$b r5 = new a.d.c.p.d.a$b\n int r6 = r14.f2905a\n int r6 = r6 + -3\n int r7 = r14.f2906b\n int r7 = r7 + r3\n r11 = 0\n r5.<init>(r6, r7, r11)\n a.d.c.p.d.a$b r6 = new a.d.c.p.d.a$b\n int r7 = r15.f2905a\n int r7 = r7 + -3\n int r3 = r15.f2906b\n int r3 = r3 + -3\n r6.<init>(r7, r3, r11)\n a.d.c.p.d.a$b r3 = new a.d.c.p.d.a$b\n int r7 = r4.f2905a\n r20 = 3\n int r7 = r7 + 3\n r23 = r14\n int r14 = r4.f2906b\n int r14 = r14 + -3\n r3.<init>(r7, r14, r11)\n a.d.c.p.d.a$b r7 = new a.d.c.p.d.a$b\n int r14 = r2.f2905a\n int r14 = r14 + 3\n r24 = r4\n int r4 = r2.f2906b\n int r4 = r4 + 3\n r7.<init>(r14, r4, r11)\n int r4 = r1.b(r7, r5)\n if (r4 != 0) goto L_0x032a\n goto L_0x0340\n L_0x032a:\n int r5 = r1.b(r5, r6)\n if (r5 == r4) goto L_0x0331\n goto L_0x0340\n L_0x0331:\n int r5 = r1.b(r6, r3)\n if (r5 == r4) goto L_0x0338\n goto L_0x0340\n L_0x0338:\n int r3 = r1.b(r3, r7)\n if (r3 != r4) goto L_0x0340\n r3 = 1\n goto L_0x0341\n L_0x0340:\n r3 = 0\n L_0x0341:\n if (r3 != 0) goto L_0x0348\n goto L_0x035f\n L_0x0344:\n r24 = r4\n r23 = r14\n L_0x0348:\n r13 = r13 ^ 1\n int r3 = r1.f2904e\n r4 = 1\n int r3 = r3 + r4\n r1.f2904e = r3\n r12 = r2\n r8 = r15\n r10 = r23\n r9 = r24\n r2 = 7\n r3 = 3\n r4 = 0\n r5 = -1\n r6 = 2\n r7 = 1\n r11 = 0\n goto L_0x02ae\n L_0x035f:\n int r2 = r1.f2904e\n r3 = 5\n if (r2 == r3) goto L_0x036b\n r4 = 7\n if (r2 != r4) goto L_0x0368\n goto L_0x036b\n L_0x0368:\n a.d.c.i r0 = a.d.c.i.f2874a\n throw r0\n L_0x036b:\n int r2 = r1.f2904e\n if (r2 != r3) goto L_0x0371\n r2 = 1\n goto L_0x0372\n L_0x0371:\n r2 = 0\n L_0x0372:\n r1.f2901b = r2\n r2 = 1069547520(0x3fc00000, float:1.5)\n int r4 = r1.f2904e\n r5 = 2\n int r4 = r4 * 2\n r5 = 3\n int r4 = r4 - r5\n float r4 = (float) r4\n float r2 = r2 / r4\n int r4 = r10.f2905a\n int r5 = r9.f2905a\n int r4 = r4 - r5\n int r6 = r10.f2906b\n int r7 = r9.f2906b\n int r6 = r6 - r7\n float r5 = (float) r5\n float r4 = (float) r4\n float r4 = r4 * r2\n float r5 = r5 - r4\n int r5 = a.d.c.p.d.a.e(r5)\n int r7 = r9.f2906b\n float r7 = (float) r7\n float r6 = (float) r6\n float r6 = r6 * r2\n float r7 = r7 - r6\n int r7 = a.d.c.p.d.a.e(r7)\n int r9 = r10.f2905a\n float r9 = (float) r9\n float r9 = r9 + r4\n int r4 = a.d.c.p.d.a.e(r9)\n int r9 = r10.f2906b\n float r9 = (float) r9\n float r9 = r9 + r6\n int r6 = a.d.c.p.d.a.e(r9)\n int r9 = r8.f2905a\n int r10 = r12.f2905a\n int r9 = r9 - r10\n int r13 = r8.f2906b\n int r14 = r12.f2906b\n int r13 = r13 - r14\n float r10 = (float) r10\n float r9 = (float) r9\n float r9 = r9 * r2\n float r10 = r10 - r9\n int r10 = a.d.c.p.d.a.e(r10)\n int r12 = r12.f2906b\n float r12 = (float) r12\n float r13 = (float) r13\n float r2 = r2 * r13\n float r12 = r12 - r2\n int r12 = a.d.c.p.d.a.e(r12)\n int r13 = r8.f2905a\n float r13 = (float) r13\n float r13 = r13 + r9\n int r9 = a.d.c.p.d.a.e(r13)\n int r8 = r8.f2906b\n float r8 = (float) r8\n float r8 = r8 + r2\n int r2 = a.d.c.p.d.a.e(r8)\n boolean r8 = r1.d(r4, r6)\n if (r8 == 0) goto L_0x0785\n boolean r8 = r1.d(r9, r2)\n if (r8 == 0) goto L_0x0785\n boolean r8 = r1.d(r5, r7)\n if (r8 == 0) goto L_0x0785\n boolean r8 = r1.d(r10, r12)\n if (r8 == 0) goto L_0x0785\n a.d.c.p.d.a$b r8 = new a.d.c.p.d.a$b\n r13 = 0\n r8.<init>(r4, r6, r13)\n a.d.c.p.d.a$b r4 = new a.d.c.p.d.a$b\n r4.<init>(r9, r2, r13)\n a.d.c.p.d.a$b r2 = new a.d.c.p.d.a$b\n r2.<init>(r5, r7, r13)\n a.d.c.p.d.a$b r5 = new a.d.c.p.d.a$b\n r5.<init>(r10, r12, r13)\n r6 = 4\n a.d.c.p.d.a$b[] r7 = new a.d.c.p.d.a.b[r6]\n r9 = 0\n r7[r9] = r8\n r8 = 1\n r7[r8] = r4\n r11 = 2\n r7[r11] = r2\n r2 = 3\n r7[r2] = r5\n r2 = r7[r9]\n r4 = r7[r8]\n int r5 = r1.f2904e\n int r5 = r5 * 2\n int r5 = r5 + r8\n boolean[] r2 = r1.f(r2, r4, r5)\n r4 = r7[r8]\n r5 = r7[r11]\n int r9 = r1.f2904e\n int r9 = r9 * 2\n int r9 = r9 + r8\n boolean[] r4 = r1.f(r4, r5, r9)\n r5 = r7[r11]\n r9 = 3\n r10 = r7[r9]\n int r12 = r1.f2904e\n int r12 = r12 * 2\n int r12 = r12 + r8\n boolean[] r5 = r1.f(r5, r10, r12)\n r10 = r7[r9]\n r9 = 0\n r12 = r7[r9]\n int r13 = r1.f2904e\n int r13 = r13 * 2\n int r13 = r13 + r8\n boolean[] r8 = r1.f(r10, r12, r13)\n boolean r10 = r2[r9]\n if (r10 == 0) goto L_0x045c\n int r10 = r1.f2904e\n int r10 = r10 * 2\n boolean r10 = r2[r10]\n if (r10 == 0) goto L_0x045c\n L_0x0459:\n r1.f = r9\n goto L_0x0488\n L_0x045c:\n boolean r10 = r4[r9]\n if (r10 == 0) goto L_0x046c\n int r10 = r1.f2904e\n int r10 = r10 * 2\n boolean r10 = r4[r10]\n if (r10 == 0) goto L_0x046c\n r10 = 1\n r1.f = r10\n goto L_0x0488\n L_0x046c:\n boolean r10 = r5[r9]\n if (r10 == 0) goto L_0x047a\n int r10 = r1.f2904e\n int r10 = r10 * 2\n boolean r10 = r5[r10]\n if (r10 == 0) goto L_0x047a\n r9 = 2\n goto L_0x0459\n L_0x047a:\n boolean r10 = r8[r9]\n if (r10 == 0) goto L_0x0782\n int r9 = r1.f2904e\n int r9 = r9 * 2\n boolean r9 = r8[r9]\n if (r9 == 0) goto L_0x0782\n r9 = 3\n goto L_0x0459\n L_0x0488:\n boolean r9 = r1.f2901b\n r10 = 11\n r12 = 10\n if (r9 == 0) goto L_0x04ca\n r9 = 28\n boolean[] r13 = new boolean[r9]\n r14 = 0\n L_0x0495:\n r15 = 7\n if (r14 >= r15) goto L_0x04b3\n int r15 = r14 + 2\n boolean r20 = r2[r15]\n r13[r14] = r20\n int r20 = r14 + 7\n boolean r21 = r4[r15]\n r13[r20] = r21\n int r20 = r14 + 14\n boolean r21 = r5[r15]\n r13[r20] = r21\n int r20 = r14 + 21\n boolean r15 = r8[r15]\n r13[r20] = r15\n int r14 = r14 + 1\n goto L_0x0495\n L_0x04b3:\n boolean[] r2 = new boolean[r9]\n r4 = 0\n L_0x04b6:\n if (r4 >= r9) goto L_0x04c6\n int r5 = r1.f\n r14 = 7\n int r5 = r5 * 7\n int r5 = r5 + r4\n int r5 = r5 % r9\n boolean r5 = r13[r5]\n r2[r4] = r5\n int r4 = r4 + 1\n goto L_0x04b6\n L_0x04c6:\n r14 = 7\n r18 = -1\n goto L_0x052a\n L_0x04ca:\n r14 = 7\n r9 = 40\n boolean[] r13 = new boolean[r9]\n r15 = 0\n L_0x04d0:\n if (r15 >= r10) goto L_0x0516\n if (r15 >= r3) goto L_0x04ec\n int r17 = r15 + 2\n boolean r20 = r2[r17]\n r13[r15] = r20\n int r20 = r15 + 10\n boolean r21 = r4[r17]\n r13[r20] = r21\n int r20 = r15 + 20\n boolean r21 = r5[r17]\n r13[r20] = r21\n int r20 = r15 + 30\n boolean r17 = r8[r17]\n r13[r20] = r17\n L_0x04ec:\n if (r15 <= r3) goto L_0x0511\n int r17 = r15 + -1\n int r20 = r15 + 2\n boolean r21 = r2[r20]\n r13[r17] = r21\n int r17 = r15 + 10\n r18 = -1\n int r17 = r17 + -1\n boolean r21 = r4[r20]\n r13[r17] = r21\n int r17 = r15 + 20\n int r17 = r17 + -1\n boolean r21 = r5[r20]\n r13[r17] = r21\n int r17 = r15 + 30\n int r17 = r17 + -1\n boolean r20 = r8[r20]\n r13[r17] = r20\n goto L_0x0513\n L_0x0511:\n r18 = -1\n L_0x0513:\n int r15 = r15 + 1\n goto L_0x04d0\n L_0x0516:\n r18 = -1\n boolean[] r2 = new boolean[r9]\n r4 = 0\n L_0x051b:\n if (r4 >= r9) goto L_0x052a\n int r5 = r1.f\n int r5 = r5 * 10\n int r5 = r5 + r4\n int r5 = r5 % r9\n boolean r5 = r13[r5]\n r2[r4] = r5\n int r4 = r4 + 1\n goto L_0x051b\n L_0x052a:\n boolean r4 = r1.f2901b\n if (r4 == 0) goto L_0x0530\n r4 = 2\n goto L_0x0533\n L_0x0530:\n r4 = 4\n r14 = 10\n L_0x0533:\n int r5 = r14 - r4\n int[] r8 = new int[r14]\n r9 = 0\n L_0x0538:\n if (r9 >= r14) goto L_0x0553\n r12 = 1\n r13 = 1\n L_0x053c:\n if (r12 > r6) goto L_0x0550\n int r15 = r6 * r9\n int r15 = r15 + r6\n int r15 = r15 - r12\n boolean r15 = r2[r15]\n if (r15 == 0) goto L_0x054b\n r15 = r8[r9]\n int r15 = r15 + r13\n r8[r9] = r15\n L_0x054b:\n int r13 = r13 << 1\n int r12 = r12 + 1\n goto L_0x053c\n L_0x0550:\n int r9 = r9 + 1\n goto L_0x0538\n L_0x0553:\n a.d.c.r.l.c r9 = new a.d.c.r.l.c // Catch:{ d -> 0x077f }\n a.d.c.r.l.a r12 = a.d.c.r.l.a.k // Catch:{ d -> 0x077f }\n r9.<init>(r12) // Catch:{ d -> 0x077f }\n r9.a(r8, r5) // Catch:{ d -> 0x077f }\n r5 = 0\n L_0x055e:\n if (r5 >= r4) goto L_0x057a\n r9 = 1\n r12 = 1\n L_0x0562:\n if (r9 > r6) goto L_0x0577\n int r13 = r5 * 4\n int r13 = r13 + r6\n int r13 = r13 - r9\n r14 = r8[r5]\n r14 = r14 & r12\n if (r14 != r12) goto L_0x056f\n r14 = 1\n goto L_0x0570\n L_0x056f:\n r14 = 0\n L_0x0570:\n r2[r13] = r14\n int r12 = r12 << 1\n int r9 = r9 + 1\n goto L_0x0562\n L_0x0577:\n int r5 = r5 + 1\n goto L_0x055e\n L_0x057a:\n boolean r4 = r1.f2901b\n if (r4 == 0) goto L_0x0581\n r3 = 6\n r4 = 2\n goto L_0x0584\n L_0x0581:\n r3 = 11\n r4 = 5\n L_0x0584:\n r5 = 0\n L_0x0585:\n if (r5 >= r4) goto L_0x0598\n int r8 = r1.f2902c\n r9 = 1\n int r8 = r8 << r9\n r1.f2902c = r8\n boolean r9 = r2[r5]\n if (r9 == 0) goto L_0x0595\n int r8 = r8 + 1\n r1.f2902c = r8\n L_0x0595:\n int r5 = r5 + 1\n goto L_0x0585\n L_0x0598:\n r5 = r4\n L_0x0599:\n int r8 = r4 + r3\n if (r5 >= r8) goto L_0x05ae\n int r8 = r1.f2903d\n r9 = 1\n int r8 = r8 << r9\n r1.f2903d = r8\n boolean r9 = r2[r5]\n if (r9 == 0) goto L_0x05ab\n int r8 = r8 + 1\n r1.f2903d = r8\n L_0x05ab:\n int r5 = r5 + 1\n goto L_0x0599\n L_0x05ae:\n int r2 = r1.f2902c\n r3 = 1\n int r2 = r2 + r3\n r1.f2902c = r2\n int r4 = r1.f2903d\n int r4 = r4 + r3\n r1.f2903d = r4\n int r3 = r2 * 2\n if (r2 <= r6) goto L_0x05bf\n r2 = 1\n goto L_0x05c0\n L_0x05bf:\n r2 = 0\n L_0x05c0:\n int r3 = r3 + r2\n int r2 = r1.f2902c\n int r2 = r2 - r6\n int r2 = r2 / 8\n int r2 = r2 + r3\n float r2 = (float) r2\n r3 = 1073741824(0x40000000, float:2.0)\n int r4 = r1.f2904e\n float r4 = (float) r4\n float r4 = r4 * r3\n float r2 = r2 / r4\n r3 = 0\n r4 = r7[r3]\n int r4 = r4.f2905a\n r5 = 2\n r8 = r7[r5]\n int r8 = r8.f2905a\n int r4 = r4 - r8\n if (r4 <= 0) goto L_0x05df\n r8 = 1\n goto L_0x05e0\n L_0x05df:\n r8 = -1\n L_0x05e0:\n int r4 = r4 + r8\n r8 = r7[r3]\n int r3 = r8.f2906b\n r8 = r7[r5]\n int r8 = r8.f2906b\n int r3 = r3 - r8\n if (r3 <= 0) goto L_0x05ee\n r8 = 1\n goto L_0x05ef\n L_0x05ee:\n r8 = -1\n L_0x05ef:\n int r3 = r3 + r8\n r8 = r7[r5]\n int r8 = r8.f2905a\n float r8 = (float) r8\n float r4 = (float) r4\n float r4 = r4 * r2\n float r8 = r8 - r4\n int r8 = a.d.c.p.d.a.e(r8)\n r9 = r7[r5]\n int r5 = r9.f2906b\n float r5 = (float) r5\n float r3 = (float) r3\n float r3 = r3 * r2\n float r5 = r5 - r3\n int r5 = a.d.c.p.d.a.e(r5)\n r9 = 0\n r12 = r7[r9]\n int r12 = r12.f2905a\n float r12 = (float) r12\n float r12 = r12 + r4\n int r4 = a.d.c.p.d.a.e(r12)\n r12 = r7[r9]\n int r9 = r12.f2906b\n float r9 = (float) r9\n float r9 = r9 + r3\n int r3 = a.d.c.p.d.a.e(r9)\n r19 = 1\n r9 = r7[r19]\n int r9 = r9.f2905a\n r12 = 3\n r13 = r7[r12]\n int r13 = r13.f2905a\n int r9 = r9 - r13\n if (r9 <= 0) goto L_0x062f\n r13 = 1\n goto L_0x0630\n L_0x062f:\n r13 = -1\n L_0x0630:\n int r9 = r9 + r13\n r13 = r7[r19]\n int r13 = r13.f2906b\n r14 = r7[r12]\n int r14 = r14.f2906b\n int r13 = r13 - r14\n if (r13 <= 0) goto L_0x063e\n r18 = 1\n L_0x063e:\n int r13 = r13 + r18\n r14 = r7[r12]\n int r14 = r14.f2905a\n float r14 = (float) r14\n float r9 = (float) r9\n float r9 = r9 * r2\n float r14 = r14 - r9\n int r14 = a.d.c.p.d.a.e(r14)\n r15 = r7[r12]\n int r12 = r15.f2906b\n float r12 = (float) r12\n float r13 = (float) r13\n float r2 = r2 * r13\n float r12 = r12 - r2\n int r12 = a.d.c.p.d.a.e(r12)\n r13 = 1\n r15 = r7[r13]\n int r15 = r15.f2905a\n float r15 = (float) r15\n float r15 = r15 + r9\n int r9 = a.d.c.p.d.a.e(r15)\n r7 = r7[r13]\n int r7 = r7.f2906b\n float r7 = (float) r7\n float r7 = r7 + r2\n int r2 = a.d.c.p.d.a.e(r7)\n boolean r7 = r1.d(r4, r3)\n if (r7 == 0) goto L_0x077c\n boolean r7 = r1.d(r9, r2)\n if (r7 == 0) goto L_0x077c\n boolean r7 = r1.d(r8, r5)\n if (r7 == 0) goto L_0x077c\n boolean r7 = r1.d(r14, r12)\n if (r7 == 0) goto L_0x077c\n a.d.c.n[] r7 = new a.d.c.n[r6]\n a.d.c.n r13 = new a.d.c.n\n float r4 = (float) r4\n float r3 = (float) r3\n r13.<init>(r4, r3)\n r3 = 0\n r7[r3] = r13\n a.d.c.n r4 = new a.d.c.n\n float r9 = (float) r9\n float r2 = (float) r2\n r4.<init>(r9, r2)\n r2 = 1\n r7[r2] = r4\n a.d.c.n r2 = new a.d.c.n\n float r4 = (float) r8\n float r5 = (float) r5\n r2.<init>(r4, r5)\n r4 = 2\n r7[r4] = r2\n a.d.c.n r2 = new a.d.c.n\n float r4 = (float) r14\n float r5 = (float) r12\n r2.<init>(r4, r5)\n r4 = 3\n r7[r4] = r2\n a.d.c.r.b r2 = r1.f2900a\n int r4 = r1.f\n int r5 = r4 % 4\n r5 = r7[r5]\n int r8 = r4 + 3\n int r8 = r8 % r6\n r8 = r7[r8]\n int r9 = r4 + 2\n int r9 = r9 % r6\n r9 = r7[r9]\n r12 = 1\n int r4 = r4 + r12\n int r4 = r4 % r6\n r4 = r7[r4]\n boolean r12 = r1.f2901b\n if (r12 == 0) goto L_0x06d3\n int r11 = r1.f2902c\n int r11 = r11 * 4\n int r11 = r11 + r10\n r10 = r11\n goto L_0x06e8\n L_0x06d3:\n int r10 = r1.f2902c\n if (r10 > r6) goto L_0x06da\n int r10 = r10 * 4\n goto L_0x06e5\n L_0x06da:\n int r12 = r10 * 4\n int r10 = r10 - r6\n int r10 = r10 / 8\n r6 = 1\n int r10 = r10 + r6\n r6 = 2\n int r10 = r10 * 2\n int r10 = r10 + r12\n L_0x06e5:\n r6 = 15\n int r10 = r10 + r6\n L_0x06e8:\n a.d.c.r.f r20 = a.d.c.r.f.f2982a\n r24 = 1056964608(0x3f000000, float:0.5)\n r25 = 1056964608(0x3f000000, float:0.5)\n float r6 = (float) r10\n r11 = 1056964608(0x3f000000, float:0.5)\n float r29 = r6 - r11\n r26 = r29\n r31 = r29\n r28 = r29\n r27 = 1056964608(0x3f000000, float:0.5)\n r30 = 1056964608(0x3f000000, float:0.5)\n float r6 = r5.f2885a\n r32 = r6\n float r5 = r5.f2886b\n r33 = r5\n float r5 = r4.f2885a\n r34 = r5\n float r4 = r4.f2886b\n r35 = r4\n float r4 = r9.f2885a\n r36 = r4\n float r4 = r9.f2886b\n r37 = r4\n float r4 = r8.f2885a\n r38 = r4\n float r4 = r8.f2886b\n r39 = r4\n r21 = r2\n r22 = r10\n r23 = r10\n a.d.c.r.b r24 = r20.a(r21, r22, r23, r24, r25, r26, r27, r28, r29, r30, r31, r32, r33, r34, r35, r36, r37, r38, r39)\n a.d.c.p.a r2 = new a.d.c.p.a\n boolean r4 = r1.f2901b\n int r5 = r1.f2903d\n int r1 = r1.f2902c\n r23 = r2\n r25 = r7\n r26 = r4\n r27 = r5\n r28 = r1\n r23.<init>(r24, r25, r26, r27, r28)\n a.d.c.n[] r1 = r2.f2984b\n if (r0 == 0) goto L_0x0755\n a.d.c.e r4 = a.d.c.e.NEED_RESULT_POINT_CALLBACK\n java.lang.Object r0 = r0.get(r4)\n a.d.c.o r0 = (a.d.c.o) r0\n if (r0 == 0) goto L_0x0755\n int r4 = r1.length\n L_0x074b:\n if (r3 >= r4) goto L_0x0755\n r5 = r1[r3]\n r0.a(r5)\n int r3 = r3 + 1\n goto L_0x074b\n L_0x0755:\n a.d.c.p.c.a r0 = new a.d.c.p.c.a\n r0.<init>()\n a.d.c.r.e r0 = r0.a(r2)\n a.d.c.l r2 = new a.d.c.l\n java.lang.String r3 = r0.f2979b\n byte[] r4 = r0.f2978a\n a.d.c.a r5 = a.d.c.a.AZTEC\n r2.<init>(r3, r4, r1, r5)\n java.util.List<byte[]> r1 = r0.f2980c\n if (r1 == 0) goto L_0x0772\n a.d.c.m r3 = a.d.c.m.BYTE_SEGMENTS\n r2.a(r3, r1)\n L_0x0772:\n java.lang.String r0 = r0.f2981d\n if (r0 == 0) goto L_0x077b\n a.d.c.m r1 = a.d.c.m.ERROR_CORRECTION_LEVEL\n r2.a(r1, r0)\n L_0x077b:\n return r2\n L_0x077c:\n a.d.c.i r0 = a.d.c.i.f2874a\n throw r0\n L_0x077f:\n a.d.c.i r0 = a.d.c.i.f2874a\n throw r0\n L_0x0782:\n a.d.c.i r0 = a.d.c.i.f2874a\n throw r0\n L_0x0785:\n a.d.c.i r0 = a.d.c.i.f2874a\n goto L_0x0789\n L_0x0788:\n throw r0\n L_0x0789:\n goto L_0x0788\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.d.c.p.b.a(a.d.c.c, java.util.Map):a.d.c.l\");\n }"
]
| [
"0.633024",
"0.60002476",
"0.5908792",
"0.5884819",
"0.5825277",
"0.58015496",
"0.5759838",
"0.57013875",
"0.56573063",
"0.5651276",
"0.56333035",
"0.56200635",
"0.5557566",
"0.55499846",
"0.5540668",
"0.553898",
"0.5501369",
"0.54945123",
"0.5483104",
"0.54790723",
"0.54661876",
"0.5444157",
"0.54429066",
"0.544128",
"0.54409134",
"0.5432294",
"0.5429192",
"0.5425497",
"0.54208493",
"0.54157716",
"0.5414545",
"0.5408548",
"0.54043597",
"0.5401439",
"0.53898853",
"0.5389206",
"0.53891414",
"0.53887737",
"0.5381641",
"0.5379484",
"0.5377668",
"0.53692126",
"0.5368366",
"0.5365751",
"0.53634775",
"0.53622097",
"0.53604937",
"0.53588814",
"0.5354613",
"0.53442866",
"0.5340681",
"0.53323185",
"0.5331424",
"0.53304106",
"0.53291225",
"0.5327721",
"0.5327721",
"0.5327721",
"0.5327721",
"0.5327721",
"0.5327721",
"0.5327721",
"0.53205544",
"0.53197366",
"0.5311786",
"0.5306664",
"0.5303355",
"0.5300541",
"0.52969664",
"0.5295136",
"0.52937376",
"0.529099",
"0.5289767",
"0.52874047",
"0.52843595",
"0.5279807",
"0.52792954",
"0.52688336",
"0.52623326",
"0.52611196",
"0.52602977",
"0.52582103",
"0.5249044",
"0.5245422",
"0.52355874",
"0.52342486",
"0.5231563",
"0.52296156",
"0.5224684",
"0.52221096",
"0.52209926",
"0.52173805",
"0.5216484",
"0.5215952",
"0.520814",
"0.52076215",
"0.5204937",
"0.5202813",
"0.5202302",
"0.51998836",
"0.51971346"
]
| 0.0 | -1 |
/ renamed from: s | private int m14720s() {
try {
m14721t();
byte[] bArr = this.f10950e;
int i = this.f10952g;
this.f10952g = i + 1;
return bArr[i] & 255;
} catch (Exception unused) {
this.f10965t = 1;
return 0;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String mangle(String sName);",
"java.lang.String getS();",
"java.lang.String getS2();",
"static String changeStr(StringFunc sf, String s){\n return sf.func(s);\n }",
"private void Trans(String s) {\n }",
"private final void r(String s) { if (m() > 0) setto(s); }",
"java.lang.String getS1();",
"private final void setto(String s)\n\t { int l = s.length();\n\t int o = j+1;\n\t for (int i = 0; i < l; i++) b[o+i] = s.charAt(i);\n\t k = j+l;\n\t }",
"public void setS(String s);",
"String getSFunc();",
"private void strin() {\n\n\t}",
"@Deprecated\r\n\tpublic String mapInvestorName(String s) {\r\n\t\tString s1 = s.replace(' ', '-');\r\n\t\treturn s1;\r\n\t}",
"java.lang.String getS9();",
"protected void slice_to(StringBuilder s)\n {\n\tslice_check();\n\ts.replace(0, s.length(), current.substring(bra, ket));\n }",
"public String smartDot(String s) {\n\t\t\t \ts = s.substring(0, (s.length() - 1)) + \"_\";\n\t\t\t \ts = s.replace(\"._\", \"s.\");\n\t s = s.replace(\" _\", \"s.\");\n\t s = s.replace(\"_\", \".\");\n\t return s;\n\t\t\t }",
"abstract String mo1747a(String str);",
"static public String normalize(String s){\n\t\treturn s;\n\t}",
"String invade(short s) {\n\t\treturn \"a few\";\n\t}",
"private String formatStr(String s) {\r\n\t\treturn formatStr(s, null, null);\r\n\t}",
"T convert(S s) throws UnconvertableException;",
"public String aliases(String s){\n\t\treturn null;\n\t}",
"void mo41089d(String str);",
"private void ss(){\n }",
"public String prefix(String s) {\n\t\tString tmp = methodBase();\n\t\treturn s+tmp.substring(0,1).toUpperCase()+tmp.substring(1);\n\t}",
"public abstract String mo24851a(String str);",
"private String replace(String s) {\n return s.replaceAll(\"C#\", \"1\")\n .replace(\"D#\", \"2\")\n .replace(\"F#\", \"3\")\n .replace(\"G#\", \"4\")\n .replace(\"A#\", \"5\");\n }",
"String einfachesErsetzen(String s) {\n\t\tString newS = s.replace(\"2\", \"0\");\n\t\tif (newS == s) {\n\t\t\tSystem.out.println(\"gleich\");\n\t\t}\n\t\treturn newS;\n\t}",
"private void loge(String s) {\n Rlog.e(TAG, s);\n }",
"private void convertString(AssignStatContext c, List<String> ssa) {\n\t\tString content = c.StringLiteral().getText();\n\t\tcontent = content.substring(1, content.length() - 1);\n\t\tString id = c.ID().getText();\n\t\tString newId = this.generateNewName(id);\n\t\tStringRepresentation rep = new StringRepresentation(newId, content);\n\t\tssa.addAll(rep.getConstraints());\n\t\t\n\t}",
"void mo1791a(String str);",
"void mo1935c(String str);",
"void mo37759a(String str);",
"java.lang.String getS4();",
"public static void shift(StringBuilder s){\n\t\t\n\t\t\n\t\t\n\t}",
"java.lang.String getS5();",
"java.lang.String getS8();",
"void mo3768a(String str);",
"void mo12635a(String str);",
"T convert(S e);",
"void mo1932a(String str);",
"void m(String s) {\n\t\tthis.m(getter(), 1);\r\n\t}",
"private void s(String s2) {\n System.out.println(s2);\n }",
"public static void swap(Strings t ,Strings s){\n\t\tStrings temp = s;\r\n\t\ts = t;\r\n\t\tt = temp;;\r\n\t}",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"void mo8713dV(String str);",
"void mo88522a(String str);",
"private String S() throws SyntaxException, ParserException {\n\t\tswitch (current) {\n\t\t\tcase 'a':\n\t\t\tcase 'b':\n\t\t\tcase 'c':\n\t\t\tcase '(':\n\t\t\t\t// S -> ERS\n\t\t\t\tString er = E();\n\t\t\t\tint r = R();\n\t\t\t\tString e=\"\";\n\t\t\t\tfor (int i=0; i<r; i++){\n\t\t\t\t\te += er;\n\t\t\t\t}\n\t\t\t\te+= S();\n\t\t\t\treturn (e);\n\t\t\tcase ')':\n\t\t\tcase END_MARKER:\n\t\t\t\t// S -> epsilon\n\t\t\t\treturn \"\";\n\t\t\tdefault:\n\t\t\t\tthrow new SyntaxException(ErrorType.NO_RULE,current);\n\t\t}\n\t}",
"public static void ssn(String val) {\n\t\t\n\t}",
"public MyString2(String s) {\n\t\tthis.s = s;\n\t}",
"void mo85415a(String str);",
"void mo1342w(String str, String str2);",
"public static String textFormat(String s){\r\n s =s.toLowerCase();\r\n s = s.substring(0, 1).toUpperCase() + s.substring(1);\r\n return(s);\r\n }",
"void mo1934b(String str);",
"String rotWord(String s) {\n return s.substring(2) + s.substring(0, 2);\n }",
"public void set(String s) {\n y=(int)Integer.parseInt(s.substring(0,4));\n m=(int)Integer.parseInt(s.substring(5,7))-1;\n d=(int)Integer.parseInt(s.substring(7,9));\n }",
"void mo87a(String str);",
"public static String unflatten(String s) {\n\t\tString unflattened=s.replace('_','.');\n\t\treturn unflattened;\n\t}",
"java.lang.String getNewSentence();",
"public void shingleStrippedString(String s) {\n\t\t\n\t\tString s_stripped = s.replaceAll(\"\\\\s\",\"\");\n//\t\tSystem.out.println(s_stripped);\n\t\tthis.shingleString(s_stripped);\n\t}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"@Override\n\tpublic String convert(String sLine) throws ExceptionZZZ {\n\t\treturn null;\n\t}",
"private Direction(String s){\n\t\tname = s;\n\t}",
"public void setString_data(String s) { \n int len = s.length();\n int i;\n for (i = 0; i < len; i++) {\n setElement_data(i, (short)s.charAt(i));\n }\n setElement_data(i, (short)0); //null terminate\n }",
"void mo1886a(String str, String str2);",
"void mo9697a(String str);",
"void mo5871a(String str);",
"public interface NameMangler\n {\n /**\n * Convert the given string to a new string using a convention determined\n * by the implementer.\n * \n * @param sName original string\n *\n * @return mangled string\n */\n public String mangle(String sName);\n }",
"private String simpleForm(String s1, String pos){\n\t\tpos = pos.trim();\n\t\tpos = pos.substring(0,1);\n\t\tString newString = \"\";\n\t\tString[] command = new String[3];\n\t\tcommand[0] = \"/bin/bash\";\n\t\tcommand[1] = \"-c\";\n\t\tcommand[2] = \"echo '\" + s1 + \"_\" + pos.toUpperCase() + \"' | ./rasp3os/morph/morpha -f ./rasp3os/morph/verbstem.list\";\n\t\ttry{\n\t\t\tProcess process = Runtime.getRuntime().exec(command);\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(process.getInputStream()));\n\t\t\tnewString = input.readLine();\n\t\t\tnewString = newString.split(\"_\")[0].trim();\n\t\t}\n\t\tcatch(Exception e){e.printStackTrace();}\n\t\treturn newString;\n\t}",
"public String visit(Statement n, String s) {\n n.f0.accept(this, null);\n return null;\n }",
"void mo3314b(String str);",
"void mo1340v(String str, String str2);",
"public abstract void mo4373a(String str);",
"public final void mo7596sH(String str) {\n }",
"public static String modifyResultName(String sName) {\n\n sName = sName.replaceAll(\"\\\\.\", \"_\");\n sName = sName.replaceAll(\" \", \"_\");\n sName = sName.replaceAll(\"\\\\[\", \"_\");\n sName = sName.replaceAll(\"\\\\]\", \"_\");\n sName = sName.replaceAll(\"\\\\(\", \"_\");\n sName = sName.replaceAll(\"\\\\)\", \"_\");\n sName = sName.replaceAll(\"á\", \"a\");\n sName = sName.replaceAll(\"é\", \"e\");\n sName = sName.replaceAll(\"í\", \"i\");\n sName = sName.replaceAll(\"ó\", \"o\");\n sName = sName.replaceAll(\"ú\", \"u\");\n sName = sName.replaceAll(\"ñ\", \"n\");\n\n return sName;\n\n }",
"static String stringCutter2(String s) {\n int value = s.length() % 2 == 0 ? s.length() / 2 : s.length() / 2 + 1;\n // pemotongan string untuk kelompok ke dua\n String sentence2 = s.substring(value, s.length());\n\n // perulangan untuk membalik setiap karakter pada kelompok kata ke dua\n String sentence2reverse = \"\";\n for (int i = sentence2.length() - 1; i >= 0; i--) {\n sentence2reverse += sentence2.toUpperCase().charAt(i);\n }\n return sentence2reverse;\n }",
"java.lang.String getScStr();",
"private static String normalize(String s) {\r\n\t\t//return Normalizer.normalize(s, Normalizer.Form.NFC);\r\n\t\treturn s;\r\n\t}",
"public void includeSymbol(String s) {\n if (!slexic.containsKey(s)) {\n int slexic_size = slexic.size();\n slexic.put(s, -(slexic_size + 1));\n slexicinv.add(s);\n }\n }",
"public abstract void mo70704a(String str);",
"protected int replace_s(int c_bra, int c_ket, String s)\n {\n\tint adjustment = s.length() - (c_ket - c_bra);\n\tcurrent.replace(c_bra, c_ket, s);\n\tlimit += adjustment;\n\tif (cursor >= c_ket) cursor += adjustment;\n\telse if (cursor > c_bra) cursor = c_bra;\n\treturn adjustment;\n }",
"String mo2801a(String str);",
"public String toString() {\n\t\treturn \"S\";\n\t}",
"String nombreDeClase(String s) {\n return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase();\n }",
"public void setString_entries_receiveEst(String s) { \n int len = s.length();\n int i;\n for (i = 0; i < len; i++) {\n setElement_entries_receiveEst(i, (short)s.charAt(i));\n }\n setElement_entries_receiveEst(i, (short)0); //null terminate\n }",
"public static void main(String[] args) {\n\n String s = \"2222\";\n String a = \"www\";\n// a.replace()\n\n s = a;\n System.out.println(s);\n }",
"void mo13161c(String str, String str2);",
"private static void standardPopulate(String[] s) {\n\t\tfor(/*int i = 0; i<s.length;i++*//* String z: s*/ int i = 0;i<s.length;i++){\r\n\t\t\t//s[i] = \"String #\"+(i+1);\r\n\t\t\t/*i++;\r\n\t\t\tz = \"String #\"+(i+1); */\r\n\t\t\tString string= \"String #\"+(i+1);\r\n\t\t\ts[i] = string; // setting position i into string\r\n\t\t\t\r\n\t\t}\r\n\t}",
"private Entity getThing(String s)\r\n/* 304: */ {\r\n/* 305:260 */ Entity t = (Entity)this.things.get(s);\r\n/* 306:261 */ if (t == null)\r\n/* 307: */ {\r\n/* 308:263 */ int space = s.indexOf(\" \");\r\n/* 309: */ \r\n/* 310:265 */ t = new Entity(s.substring(1, space));\r\n/* 311: */ }\r\n/* 312:268 */ return t;\r\n/* 313: */ }",
"public static String shorthand(String s){\n \tif(s.toUpperCase().indexOf(\"YOU\")>=0){\n \t\ts=s.substring(0, s.toUpperCase().indexOf(\"YOU\"))+\" U \"+s.substring(s.toUpperCase().indexOf(\"YOU\")+3);\n \t\ts=shorthand(s);\n \t}else if(s.toUpperCase().indexOf(\"FOR\")>=0){\n \t\ts=s.substring(0, s.toUpperCase().indexOf(\"FOR\"))+\" 4 \"+s.substring(s.toUpperCase().indexOf(\"FOR\")+3);\n \t\ts=shorthand(s);\n \t}else if(s.toUpperCase().indexOf(\"AND\")>=0){\n \t\ts=s.substring(0, s.toUpperCase().indexOf(\"AND\"))+\" & \"+s.substring(s.toUpperCase().indexOf(\"AND\")+3);\n \t\ts=shorthand(s);\n \t}else if(s.toUpperCase().indexOf(\"TO\")>=0){\n \t\ts=s.substring(0, s.toUpperCase().indexOf(\"TO\"))+\" 2 \"+s.substring(s.toUpperCase().indexOf(\"TO\")+3);\n \t\ts=shorthand(s);\n \t}\n \treturn removeVowels(s);\n }",
"public static String toLower(String s) {\n if(s.length() <= 1) {\n return s.toLowerCase();\n }\n char first = s.charAt(0);\n if((first == 'n' || first == 't') && isIrishUpperVowel(s.charAt(1))) {\n return first + \"-\" + s.substring(1).toLowerCase();\n } else {\n return s.toLowerCase();\n }\n }",
"public void m23077a(String str) {\n }",
"public String getS() {\r\n return s;\r\n }",
"private final static String stripA( String s ) {\n\n char[] ca = s.toCharArray();\n char[] ca2 = new char [ca.length - 1];\n\n\n for ( int i=0; i<ca2.length; i++ ) {\n ca2[i] = ca[i];\n } // end for\n\n return new String (ca2);\n\n }",
"@Override\n public void from(String from) {\n }",
"String replaceInString(String s) {\n\t\tString newS = s.replaceAll(\"[a-zA-Z]+\", \"WORT\");\n\t\tif (newS == s) {\n\t\t\tSystem.out.println(\"gleich\");\n\t\t}\n\t\treturn newS;\n\t}",
"public static String rest(String s) {\n\treturn s.substring(1);\n\t}",
"public void replaceString(String s1){\r\n\t\tString s=\"Hello username, How are you?\";\r\n\t\tif(s1.length()>=3){\r\n\t\t\tString s2=s.replace(\"username\", s1);\r\n\t\t\tSystem.out.println(s2);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSystem.out.println(\"You have to enter min 3 character\");\r\n\t\t}\r\n\t\t\r\n\t}",
"void setName(String s);",
"java.lang.String getSsn();",
"public Extension(String s) {\n if (s.contains(\"#\")) {\n String[]ss = s.split(\"#\");\n name=ss[0];\n version = ss[1];\n } else {\n name = s;\n version = \"\";\n }\n }",
"void mo131986a(String str, String str2);"
]
| [
"0.68539155",
"0.6841741",
"0.6787635",
"0.66025555",
"0.6591336",
"0.6584722",
"0.63117695",
"0.62974125",
"0.61578804",
"0.61321455",
"0.6094097",
"0.60017455",
"0.59867877",
"0.59291947",
"0.59233904",
"0.5921333",
"0.59011847",
"0.5892121",
"0.5845789",
"0.58351314",
"0.58149976",
"0.5795786",
"0.57486993",
"0.5746522",
"0.57337034",
"0.57169765",
"0.5705799",
"0.5705102",
"0.56961906",
"0.56924635",
"0.569005",
"0.5681021",
"0.5678472",
"0.567214",
"0.5669013",
"0.5653281",
"0.5646099",
"0.5640893",
"0.5633298",
"0.56327343",
"0.5616172",
"0.5607166",
"0.5590869",
"0.5581417",
"0.5572955",
"0.5568701",
"0.5568472",
"0.5564053",
"0.5556443",
"0.5555352",
"0.55495",
"0.5548819",
"0.5545814",
"0.55268234",
"0.55254334",
"0.55234027",
"0.5520028",
"0.5518966",
"0.5516874",
"0.5504576",
"0.54996717",
"0.54925907",
"0.54871434",
"0.5474024",
"0.54726446",
"0.54720086",
"0.54605204",
"0.5458191",
"0.5453873",
"0.54508346",
"0.544915",
"0.54419005",
"0.5428916",
"0.5426783",
"0.5423635",
"0.54135746",
"0.5413399",
"0.5409753",
"0.54082215",
"0.54057807",
"0.53856474",
"0.53794086",
"0.5371525",
"0.53707325",
"0.53664243",
"0.5363691",
"0.53634006",
"0.5357193",
"0.53485733",
"0.53378946",
"0.53348726",
"0.53318566",
"0.5331105",
"0.5327511",
"0.5324437",
"0.5312582",
"0.53097594",
"0.5309579",
"0.5308052",
"0.5303379",
"0.53032887"
]
| 0.0 | -1 |
/ renamed from: t | private void m14721t() {
if (this.f10951f <= this.f10952g) {
if (this.f10950e == null) {
this.f10950e = this.f10962q.mo12209b(16384);
}
this.f10952g = 0;
this.f10951f = Math.min(this.f10948c.remaining(), 16384);
this.f10948c.get(this.f10950e, 0, this.f10951f);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void mo16691c(T t);",
"void mo83696a(T t);",
"Text getT();",
"void mo83698a(T t);",
"void mo83695a(T t);",
"void mo40877a(T t);",
"void mo3312a(T t);",
"void mo11495a(T t);",
"void mo83699a(T t, int i, int i2, String str);",
"void mo16690b(T t, T t2);",
"TT createTT();",
"T mo26439a();",
"public void Tyre() {\n\t\t\r\n\t}",
"@Override\n\tpublic void af(String t) {\n\n\t}",
"int mo16684a(T t);",
"public String toString() {\n\t\treturn \"T\";\n\t}",
"public void t();",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"private static interface T {@Symbolic Term.List t();}",
"public String getT() {\n\t\treturn t;\n\t}",
"private USI_TRLT() {}",
"@Override\r\n\tpublic void creerTVA(TVA t) {\n\t\t\r\n\t}",
"@Override\n\tpublic void test(String t) {\n\t\t\n\t}",
"public void mo21878t() {\n }",
"@RepeatedTest(20)\n void transformtoTStringTest(){\n assertEquals(st.transformtoString(),new TString(hello));\n assertEquals(bot.transformtoString(),new TString(bot.toString()));\n assertEquals(bof.transformtoString(),new TString(bof.toString()));\n assertEquals(f.transformtoString(),new TString(f.toString()));\n assertEquals(i.transformtoString(),new TString(i.toString()));\n assertEquals(bi.transformtoString(),new TString(bi.toString()));\n assertEquals(Null.transformtoString(), Null);\n }",
"public abstract void mo33222b(T t) throws IOException;",
"public void mo21795T() {\n }",
"TR createTR();",
"int mo16689b(T t);",
"@Override\n\tpublic void test(Object t) {\n\t\t\n\t}",
"@Override\n\tpublic void test(Object t) {\n\t\t\n\t}",
"String buildFrom(T t);",
"@Override\n\tpublic void visitTdetree(Tdetree p) {\n\n\t}",
"public TTau() {}",
"public T fjern();",
"@Override\n public String getData() {\n return \"T \" + super.getData();\n }",
"public abstract String format(T t);",
"public void setTname(String tname) {\r\n this.tname = tname;\r\n }",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"@Override\n\tpublic void test(T1 t) {\n\t\t\n\t}",
"void mo83706a(C32459e<T> eVar);",
"void mo16687a(T t, C4621gg ggVar) throws IOException;",
"public abstract void mo36027a(Context context, T t);",
"private static String getNameForLabel(Type t) {\n return t.toLabel();\n }",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public void leggTil(T x);",
"public String getTname() {\r\n return tname;\r\n }",
"public abstract String toText(T value);",
"@Override\n public String toString(){\n return \"(\" + t + \", \" + u + \")\";\n }",
"@Override\n\tpublic void trabajar() {\n\n\t}",
"void mo25968e(TemplateInfo templateInfo);",
"@Override\n public String toString() {\n return tla;\n }",
"@Override\n\tpublic void visitTlfold(Tlfold p) {\n\n\t}",
"public ThingTimeTriple(String english, Entity t, long from, long to)\r\n/* 390: */ {\r\n/* 391:344 */ this.english = english;\r\n/* 392:345 */ this.t = t;\r\n/* 393:346 */ this.from = from;\r\n/* 394:347 */ this.to = to;\r\n/* 395: */ }",
"public abstract void mo32008e(TemplateInfo templateInfo);",
"boolean mo16692d(T t);",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public static void t(){\n\n\n }",
"@Override\n public String databaseString() {\n return \"T | \" + super.databaseString();\n }",
"public String t1() {\n\t\treturn \"111\";\n\t}",
"@Override\r\n\tpublic TVA mettreAjourTVA(TVA t) {\n\t\treturn null;\r\n\t}",
"void mo123342a(C48857t tVar);",
"@Override\n\tpublic String getCharacterRepresentation() {\n\t\treturn \"T\";\n\t}",
"@Override\r\n\t\tpublic String toString() {\n\t\t\treturn (this.n + \"\\t\" + this.t);\r\n\t\t}",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public Type getT() {\n \t\treturn t;\n \t}",
"public static void main(String[] args) {\n\t\t\tGenerics<String> g = new Generics<String>(\"abc\");\n\t\t\tSystem.out.println(g.getT());\n\t\t\tg.display();\n\t}",
"interface C4571et<T> {\n /* renamed from: a */\n int mo16684a(T t);\n\n /* renamed from: a */\n T mo16685a();\n\n /* renamed from: a */\n void mo16686a(T t, C4570es esVar, C4499ch chVar) throws IOException;\n\n /* renamed from: a */\n void mo16687a(T t, C4621gg ggVar) throws IOException;\n\n /* renamed from: a */\n boolean mo16688a(T t, T t2);\n\n /* renamed from: b */\n int mo16689b(T t);\n\n /* renamed from: b */\n void mo16690b(T t, T t2);\n\n /* renamed from: c */\n void mo16691c(T t);\n\n /* renamed from: d */\n boolean mo16692d(T t);\n}",
"private static String parseTname(String sql) {\r\n\t\tString ret = \"\";\r\n\t\t// String[] ret = str.split(\"name |field |grade \");\r\n\r\n\t\tchar ch;\r\n\t\tString word = \"\";\r\n\t\tint control = 0;\r\n\r\n\t\tfor (int x = 0; x < sql.length(); x++) {\r\n\t\t\tch = sql.charAt(x);\r\n\t\t\t// word = word + ch;\r\n\r\n\t\t\tif (control == 1) {\r\n\t\t\t\tif (ch == '(' || ch == ' ') {\r\n\t\t\t\t\tcontrol++;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tret = ret + ch;\r\n\t\t\t\t}\r\n\t\t\t} else if (control == 0 && word.equals(\"TABLE\")) {\r\n\t\t\t\tcontrol++;\r\n\t\t\t} else if (ch == ' ') {\r\n\t\t\t\tword = \"\";\r\n\t\t\t} else {\r\n\t\t\t\tword = word + ch;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn (ret);\r\n\t}",
"public List<String> getT();",
"Tulip getType() { return new Tulip(); }",
"private TAPosition()\n {\n\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\r\n\tpublic String toString() {\n\t\treturn s + \" != \" + t;\r\n\t}",
"@java.lang.Override\n public java.lang.String getT() {\n java.lang.Object ref = t_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n t_ = s;\n return s;\n }\n }",
"void mo25969f(TemplateInfo templateInfo);",
"boolean mo16688a(T t, T t2);",
"interface C11601a {\n /* renamed from: tY */\n void mo23327tY(int i);\n }",
"public void setT(Type t) {\n \t\tthis.t = t;\n \t}",
"default Parser<S, T, U> tr() {\n return s -> {\n int bak=s.pos;\n try {\n return parse(s);\n } catch (ParseException e) {\n s.seek(bak);\n throw e;\n }\n };\n }",
"Traditional createTraditional();",
"static void pontipo(String t){\r\n\t\tStruct s=new Struct(t,0);\r\n\t\tStruct auxt=buscaT(s);\r\n\t\t/*He encontrado el tipo q tengo q insertar*/\r\n\t\tif(aux==null){\r\n\t\t\t//Parse.SemError(1);\r\n\t\t\tSystem.out.println(\"ERROR TIPO NO ENCONTRADO!!\");\r\n\t\t}else{\r\n\t\t\tObj aux2=aux;\r\n\t\t\twhile (aux2 != null){\r\n\t\t\t\taux2.type=auxt;\r\n\t\t\t\taux2=aux2.next;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public interface u {\n t a();\n}",
"@Override\n public String toString() {\n return \"[T]\" + super.toString();\n }",
"@Override\n public String toString() {\n return \"[T]\" + super.toString();\n }",
"@Override\n public String toString() {\n return \"[T]\" + super.toString();\n }",
"@Override\n public String toString() {\n return \"[T]\" + super.toString();\n }",
"private startType(int t)\n\t\t{\n\t\t\tthis.type = t;\n\t\t}",
"public String getString() {\n\t\treturn \"T\";\n\t}",
"@Override\n\tpublic Byte getT() {\n\t\treturn this.t;\n\t}",
"public abstract void t3();",
"public String getText(T anItem) { return anItem.toString(); }",
"private AbsTime(AbsTime t)\n {\n // Copy the value.\n itsValue = t.itsValue;\n }",
"public static String generaTemp(){\n return \"t$\"+temp++;\n }",
"public static String generaTemp(){\n return \"t$\"+temp++;\n }",
"public static String generaTemp(){\n return \"t$\"+temp++;\n }",
"public static String generaTemp(){\n return \"t$\"+temp++;\n }",
"public double getT() {\r\n\t\treturn t;\t\r\n\t\t}",
"private SRTLabTestDT convertToSRTLabTestDT(TestResultTestFilterDT oldDT){\n SRTLabTestDT newDT = new SRTLabTestDT(oldDT);\n return newDT;\n\n }",
"public TabletTest(String name) {\n\t\tsuper(name);\n\t}",
"C20259y mo54455t(int i);"
]
| [
"0.66775393",
"0.660542",
"0.65889984",
"0.65849924",
"0.6551092",
"0.64997756",
"0.6481987",
"0.63850266",
"0.63283026",
"0.6012245",
"0.6012099",
"0.59172946",
"0.5891038",
"0.5881148",
"0.5878784",
"0.5856292",
"0.58508456",
"0.5850703",
"0.584503",
"0.58321756",
"0.5815303",
"0.5788424",
"0.5780343",
"0.5749407",
"0.57491064",
"0.5679597",
"0.56572944",
"0.56229985",
"0.56106573",
"0.56096125",
"0.56096125",
"0.55915415",
"0.55806094",
"0.5577639",
"0.5561974",
"0.5534541",
"0.5512202",
"0.5506841",
"0.5485336",
"0.5484324",
"0.543229",
"0.5430639",
"0.5428391",
"0.53954226",
"0.53748417",
"0.5373908",
"0.53648967",
"0.5361052",
"0.53572214",
"0.53488135",
"0.5345189",
"0.5344828",
"0.53389734",
"0.53238326",
"0.5313995",
"0.5311348",
"0.5293243",
"0.5284728",
"0.5281077",
"0.5270537",
"0.52698475",
"0.52639955",
"0.5254292",
"0.5230483",
"0.5229697",
"0.5228738",
"0.5227851",
"0.52191556",
"0.52168566",
"0.52166986",
"0.5213704",
"0.5209133",
"0.51942617",
"0.5191919",
"0.5183847",
"0.5179832",
"0.5178526",
"0.51762694",
"0.51712954",
"0.5171208",
"0.51475364",
"0.5147089",
"0.51353467",
"0.5120662",
"0.5120662",
"0.5120662",
"0.5120662",
"0.5119854",
"0.5116642",
"0.5114649",
"0.5111474",
"0.5104736",
"0.51029164",
"0.50990117",
"0.50990117",
"0.50990117",
"0.50990117",
"0.5096975",
"0.5096006",
"0.5086201",
"0.5081836"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public boolean mo12188a() {
if (this.f10961p.f10995c <= 0) {
return false;
}
if (this.f10959n == mo12194f() - 1) {
this.f10960o++;
}
int i = this.f10961p.f11005m;
if (i != -1 && this.f10960o > i) {
return false;
}
this.f10959n = (this.f10959n + 1) % this.f10961p.f10995c;
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract Object mo1771a();",
"public abstract void mo27464a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public abstract void mo70713b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public void mo4359a() {\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"public interface C0069a {\n void a();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"private void m50366E() {\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"void mo41083a();",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"public abstract C13619e mo34787a();",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0938b {\n }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.6714286",
"0.65658224",
"0.65416825",
"0.6513276",
"0.6468388",
"0.6468152",
"0.64618325",
"0.6459187",
"0.64499724",
"0.6441312",
"0.6433308",
"0.6425642",
"0.6421592",
"0.63852054",
"0.63751984",
"0.63556576",
"0.63321835",
"0.6319933",
"0.6313815",
"0.6313002",
"0.6308493",
"0.6306455",
"0.6303664",
"0.62978435",
"0.62825334",
"0.62751985",
"0.6244193",
"0.6243503",
"0.6240298",
"0.6235606",
"0.6235587",
"0.62273985",
"0.62260926",
"0.6222339",
"0.62186456",
"0.6217281",
"0.6214253",
"0.6211625",
"0.6211198",
"0.6211139",
"0.62108463",
"0.62081206",
"0.6207834",
"0.6199443",
"0.6183986",
"0.61816597",
"0.6169678",
"0.61514693",
"0.61462563",
"0.61458576",
"0.6144327",
"0.61421365",
"0.61400664",
"0.61360246",
"0.61351156",
"0.6126212",
"0.6126003",
"0.6119434",
"0.610845",
"0.6108444",
"0.6103581",
"0.6102206",
"0.6097209",
"0.6096251",
"0.6076945",
"0.607603",
"0.60693467",
"0.6063535",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6051907",
"0.6046083",
"0.6045836",
"0.6040054",
"0.60339534",
"0.60331196",
"0.6031278",
"0.60312057",
"0.6020413",
"0.60194945",
"0.601135",
"0.60080457",
"0.6005846",
"0.60042244",
"0.59952796",
"0.59949064",
"0.59943825",
"0.5988284",
"0.59802014",
"0.59799516",
"0.59749985",
"0.59736526",
"0.5971758",
"0.5967794",
"0.59620297",
"0.59590495"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: b | public boolean mo12190b(int i) {
if (i < -1 || i >= mo12194f()) {
return false;
}
this.f10959n = i;
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }",
"public void mo115190b() {\n }",
"public abstract void mo70713b();",
"public abstract void mo70702a(C30989b c30989b);",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public abstract C0631bt mo9227aB();",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public abstract Object mo1185b();",
"@Override\n public void b() {\n }",
"public void mo21825b() {\n }",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public abstract void mo6549b();",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public final void mo1285b() {\n }",
"void mo2508a(bxb bxb);",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }",
"public final /* bridge */ /* synthetic */ void mo43569b() {\n super.mo43569b();\n }",
"public /* bridge */ /* synthetic */ void mo55095b() {\n super.mo55095b();\n }",
"@Override\n\tpublic void b() {\n\n\t}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"@Override\n\tpublic void bbb() {\n\t\t\n\t}",
"public abstract void mo35054b();",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public void mo23813b() {\n }",
"public void mo9137b() {\n }",
"public abstract String mo118046b();",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"public interface C0938b {\n }",
"@Override\n\tpublic void b2() {\n\t\t\n\t}",
"public final void mo51373a() {\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void m23075a() {\n }",
"public abstract void mo4360a(byte b);",
"public abstract C0270jy mo5354b();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"@Override\n\tpublic void b1() {\n\t\t\n\t}",
"public interface C0764b {\n}",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public abstract void mo9246b(C0707b bVar);",
"public interface C0999b {\n }",
"public abstract String mo11611b();",
"public void mo5251b() {\n }",
"public abstract void mo9244b(C0620bi biVar);",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public abstract void mo9798a(byte b);",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public abstract void mo45765b();",
"public abstract long mo24409b();",
"public abstract int mo4375b();",
"public final void mo8775b() {\n }",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"void m1864a() {\r\n }",
"public void b() {\r\n }",
"public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }",
"public abstract int mo13680b();",
"void mo57277b();",
"public void mo23438b() {\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"void mo72113b();",
"void mo41086b();",
"public abstract void mo27464a();",
"public abstract void m15813a();",
"public void mo38117a() {\n }",
"public abstract Object mo26777y();",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public abstract void mo27385c();",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public abstract Object mo1771a();",
"public abstract void mo9809b(int i);",
"public abstract void mo42329d();",
"void mo80455b();",
"public final void mo91715d() {\n }",
"public abstract boolean mo66253b();",
"public void mo12930a() {\n }",
"public interface C11922a {\n void bvR();\n }",
"public interface C1372b {\n}",
"public abstract void mo56925d();",
"public void b() {\n }",
"public void b() {\n }",
"public void mo5097b() {\n }",
"public interface C9223b {\n }",
"public abstract Member mo23408O();",
"public abstract void mo27386d();",
"public void mo23981a(C4321b bVar) {\n }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public abstract C14407a mo11608b(int i);",
"public void mo97908d() {\n }",
"public void method_4270() {}",
"private final zzgy zzgb() {\n }",
"public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}",
"private C6310a m35240b() {\n return new C6310a() {\n public final void handleMsg(Message message) {\n }\n };\n }",
"void mo119582b();",
"private void m50366E() {\n }"
]
| [
"0.73150253",
"0.6803183",
"0.6711984",
"0.67039484",
"0.6664791",
"0.66183937",
"0.661637",
"0.6599995",
"0.65211433",
"0.6492437",
"0.6486207",
"0.64416975",
"0.6440887",
"0.6415721",
"0.6403434",
"0.6399589",
"0.63873744",
"0.63787085",
"0.6378415",
"0.636806",
"0.6364854",
"0.6364436",
"0.6356576",
"0.6345281",
"0.6343248",
"0.63237053",
"0.6311475",
"0.6296589",
"0.629512",
"0.6292277",
"0.6267538",
"0.6267538",
"0.6261199",
"0.62600446",
"0.62453765",
"0.62351876",
"0.62340695",
"0.6231777",
"0.62255996",
"0.6223294",
"0.62011516",
"0.6199606",
"0.6192038",
"0.61878467",
"0.6173588",
"0.61724067",
"0.61680835",
"0.61642355",
"0.61571985",
"0.6156882",
"0.61495125",
"0.6136649",
"0.61365426",
"0.6136385",
"0.6135731",
"0.61272883",
"0.6111571",
"0.6106213",
"0.6105409",
"0.6104023",
"0.6091434",
"0.6086722",
"0.6084301",
"0.6081556",
"0.60757416",
"0.6068394",
"0.6062715",
"0.60570896",
"0.60564625",
"0.6038994",
"0.6035545",
"0.60291946",
"0.6028633",
"0.60279554",
"0.60249037",
"0.60165864",
"0.6002496",
"0.60008407",
"0.59938025",
"0.5991064",
"0.599011",
"0.5984267",
"0.598034",
"0.59788924",
"0.59651035",
"0.59628224",
"0.59628224",
"0.596276",
"0.5961888",
"0.5958517",
"0.5955469",
"0.59510005",
"0.59482664",
"0.59479547",
"0.5946888",
"0.5939137",
"0.59361756",
"0.59354514",
"0.5933485",
"0.5932897",
"0.5930964"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: c | public int mo12191c() {
return this.f10948c.limit() + this.f10957l.length + (this.f10958m.length * 4);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract void mo53562a(C18796a c18796a);",
"public void mo1403c() {\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public abstract void mo27385c();",
"public interface C0939c {\n }",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public static void c0() {\n\t}",
"public interface C11910c {\n}",
"void mo80457c();",
"public interface C0335c {\n }",
"void mo17021c();",
"public abstract int mo41077c();",
"public void mo97906c() {\n }",
"public abstract C mo29734a();",
"public interface C0136c {\n }",
"public void m23075a() {\n }",
"public abstract String mo118046b();",
"public void mo12628c() {\n }",
"void mo17012c();",
"void m1864a() {\r\n }",
"void mo57278c();",
"public void mo115190b() {\n }",
"public interface C0777a {\n }",
"public final /* bridge */ /* synthetic */ void mo43571c() {\n super.mo43571c();\n }",
"public abstract void mo70713b();",
"public interface C0938b {\n }",
"public int c()\r\n/* 74: */ {\r\n/* 75:78 */ return this.c;\r\n/* 76: */ }",
"void mo21072c();",
"public interface C0764b {\n}",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo56167c() {\n }",
"private void m50366E() {\n }",
"public abstract void mo27386d();",
"void mo5289a(C5102c c5102c);",
"void mo5290b(C5102c c5102c);",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public final void mo91715d() {\n }",
"public void mo21779D() {\n }",
"public abstract String mo41079d();",
"public void method_4270() {}",
"public abstract String mo11611b();",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public interface C0333a {\n }",
"public void mo97908d() {\n }",
"public abstract C14408a mo11607a();",
"public final void mo51373a() {\n }",
"public interface C0303q extends C0291e {\n /* renamed from: a */\n void mo1747a(int i);\n\n /* renamed from: a */\n void mo1749a(C0288c cVar);\n\n /* renamed from: a */\n void mo1751a(byte[] bArr);\n\n /* renamed from: b */\n void mo1753b(int i);\n\n /* renamed from: c */\n void mo1754c(int i);\n\n /* renamed from: d */\n void mo1755d(int i);\n\n /* renamed from: e */\n int mo1756e(int i);\n\n /* renamed from: g */\n int mo1760g();\n\n /* renamed from: g */\n void mo1761g(int i);\n\n /* renamed from: h */\n void mo1763h(int i);\n}",
"void mo57277b();",
"public final void mo11687c() {\n }",
"public void mo38117a() {\n }",
"public interface C1372b {\n}",
"public void mo21825b() {\n }",
"public abstract void mo6549b();",
"C12017a mo41088c();",
"public abstract C0270jy mo5354b();",
"public interface C31889b {\n }",
"void mo86a(C0163d c0163d);",
"public abstract void m15813a();",
"private static void cajas() {\n\t\t\n\t}",
"public abstract void mo56925d();",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"interface C2578d {\n}",
"public abstract void mo27464a();",
"void mo12638c();",
"public abstract Member mo23408O();",
"public interface C0999b {\n }",
"public abstract C7036b mo24411d();",
"private stendhal() {\n\t}",
"public void mo115188a() {\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public abstract C13619e mo34787a();",
"C2451d mo3408a(C2457e c2457e);",
"public interface C0385a {\n }",
"public abstract String mo13682d();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C46409a {\n}",
"public abstract void mo42329d();",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"void mo72114c();",
"public interface C21597a {\n }",
"public interface C8482e {\n}",
"public void mo5099c() {\n }",
"void mo41086b();",
"public void mo44053a() {\n }",
"void m5769c() throws C0841b;",
"void mo41083a();",
"public abstract void mo35054b();",
"C1529a mo17019b();",
"public void mo21879u() {\n }",
"public abstract Object mo1185b();",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public interface C15428f {\n\n /* renamed from: com.ss.android.ugc.asve.context.f$a */\n public static final class C15429a {\n /* renamed from: a */\n public static String m45146a(C15428f fVar) {\n return \"\";\n }\n\n /* renamed from: b */\n public static String m45147b(C15428f fVar) {\n return \"\";\n }\n }\n\n /* renamed from: a */\n boolean mo38970a();\n\n /* renamed from: b */\n String mo38971b();\n\n /* renamed from: c */\n String mo38972c();\n\n /* renamed from: d */\n int mo38973d();\n\n /* renamed from: e */\n int mo38974e();\n}",
"public interface C3183a {\n}",
"public void mo23813b() {\n }",
"@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:02:04.534 -0500\", hash_original_method = \"E4DEB0C107DDB25A537EF0E89F1C04F8\", hash_generated_method = \"2E76AFD8C90588F5139C0C2D28CAEA05\")\n \nprivate static int translateCodingErrorAction(CodingErrorAction action) {\n if (action == CodingErrorAction.REPORT) {\n return 0;\n } else if (action == CodingErrorAction.IGNORE) {\n return 1;\n } else if (action == CodingErrorAction.REPLACE) {\n return 2;\n } else {\n throw new AssertionError(); // Someone changed the enum.\n }\n }",
"public abstract void mo102899a();",
"public interface C22379d {\n}"
]
| [
"0.66485035",
"0.6621233",
"0.6569465",
"0.6539913",
"0.650819",
"0.6495234",
"0.6486656",
"0.64657444",
"0.645867",
"0.64499134",
"0.64232445",
"0.63824147",
"0.63695115",
"0.63637286",
"0.63621736",
"0.6354158",
"0.6348177",
"0.6347641",
"0.6345113",
"0.63373977",
"0.63121176",
"0.6295719",
"0.6285853",
"0.6278426",
"0.62662274",
"0.62630767",
"0.6255429",
"0.62543344",
"0.62459016",
"0.62453073",
"0.6244936",
"0.6238291",
"0.62341785",
"0.62326205",
"0.6228567",
"0.6227506",
"0.62150156",
"0.6187625",
"0.6178064",
"0.61756086",
"0.6171056",
"0.6171051",
"0.61688197",
"0.6162141",
"0.6155874",
"0.6144973",
"0.61279356",
"0.6124593",
"0.61213213",
"0.61195076",
"0.61151326",
"0.6113661",
"0.61074495",
"0.61064875",
"0.6104789",
"0.61017036",
"0.61005086",
"0.6098976",
"0.60966486",
"0.60850745",
"0.60808504",
"0.6080812",
"0.60803276",
"0.6076854",
"0.6074818",
"0.6072464",
"0.6071688",
"0.6065916",
"0.6065285",
"0.60626173",
"0.6060406",
"0.605744",
"0.60534555",
"0.6053187",
"0.604854",
"0.6045685",
"0.6045256",
"0.6044401",
"0.60409683",
"0.603849",
"0.60383373",
"0.60285527",
"0.6024779",
"0.601968",
"0.6019367",
"0.60017824",
"0.6000281",
"0.5995494",
"0.59941924",
"0.59936595",
"0.5990776",
"0.59898055",
"0.5986212",
"0.59844786",
"0.59773064",
"0.5976477",
"0.59759027",
"0.5973611",
"0.597117",
"0.5970491",
"0.596966"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: d | public int mo12192d() {
return this.f10959n;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void mo91715d() {\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo21779D() {\n }",
"private void m50366E() {\n }",
"public void mo97908d() {\n }",
"public abstract void mo56925d();",
"public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"public void m23075a() {\n }",
"public abstract String mo41079d();",
"public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }",
"public abstract void mo42329d();",
"public abstract void mo27386d();",
"public final void mo51373a() {\n }",
"public abstract Member mo23408O();",
"private stendhal() {\n\t}",
"@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:02:04.534 -0500\", hash_original_method = \"E4DEB0C107DDB25A537EF0E89F1C04F8\", hash_generated_method = \"2E76AFD8C90588F5139C0C2D28CAEA05\")\n \nprivate static int translateCodingErrorAction(CodingErrorAction action) {\n if (action == CodingErrorAction.REPORT) {\n return 0;\n } else if (action == CodingErrorAction.IGNORE) {\n return 1;\n } else if (action == CodingErrorAction.REPLACE) {\n return 2;\n } else {\n throw new AssertionError(); // Someone changed the enum.\n }\n }",
"public void mo3749d() {\n }",
"public void mo1403c() {\n }",
"public abstract String mo118046b();",
"void m1864a() {\r\n }",
"public abstract void mo70713b();",
"public void method_4270() {}",
"public void mo115190b() {\n }",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"void mo17023d();",
"public abstract C7036b mo24411d();",
"public abstract long mo9229aD();",
"public abstract Object mo26777y();",
"public void mo4359a() {\n }",
"public abstract void mo27385c();",
"public void mo21825b() {\n }",
"public void mo12930a() {\n }",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"void mo21073d();",
"public void mo44053a() {\n }",
"public abstract void mo27464a();",
"private Rekenhulp()\n\t{\n\t}",
"public void mo1531a() {\n }",
"public abstract String mo13682d();",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"public abstract C14408a mo11607a();",
"public void mo21787L() {\n }",
"public abstract Object mo1771a();",
"void mo17013d();",
"public void mo12628c() {\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public void mo56167c() {\n }",
"public void mo23813b() {\n }",
"public abstract void mo35054b();",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"public void mo21879u() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public abstract C13619e mo34787a();",
"@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.426 -0500\", hash_original_method = \"26D71A046B8A5E21DEFC65FB89CD9FDA\", hash_generated_method = \"2293476E78FCC8BDA181F927AEA93BD1\")\n \nprivate void copyTables ()\n {\n if (prefixTable != null) {\n prefixTable = (Hashtable)prefixTable.clone();\n } else {\n prefixTable = new Hashtable();\n }\n if (uriTable != null) {\n uriTable = (Hashtable)uriTable.clone();\n } else {\n uriTable = new Hashtable();\n }\n elementNameTable = new Hashtable();\n attributeNameTable = new Hashtable();\n declSeen = true;\n }",
"public void mo6944a() {\n }",
"public void mo9848a() {\n }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"public abstract void mo42331g();",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public void mo2470d() {\n }",
"void mo57277b();",
"public void mo21782G() {\n }",
"public void mo97906c() {\n }",
"public void mo115188a() {\n }",
"protected boolean func_70041_e_() { return false; }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void d() {\n }",
"public abstract void mo30696a();",
"public abstract void mo6549b();",
"public void mo1405e() {\n }",
"public void mo2740a() {\n }",
"protected boolean func_70814_o() { return true; }",
"public final /* bridge */ /* synthetic */ void mo43571c() {\n super.mo43571c();\n }",
"void m5770d() throws C0841b;",
"public abstract void mo3994a();",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public abstract void m15813a();",
"public void mo55254a() {\n }",
"public void mo21878t() {\n }",
"public abstract String mo11611b();",
"public abstract Object mo1185b();",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"public void mo21877s() {\n }",
"public abstract int mo41077c();",
"private void m50367F() {\n }",
"public abstract C mo29734a();",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void mo9137b() {\n }",
"public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventory\";\r\n/* 447: */ }",
"public void mo21781F() {\n }",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }"
]
| [
"0.67799014",
"0.6530492",
"0.6522303",
"0.64555585",
"0.6428062",
"0.6381904",
"0.6380694",
"0.63762456",
"0.6366445",
"0.6362154",
"0.63472396",
"0.6339654",
"0.6337401",
"0.63122755",
"0.6304529",
"0.6300092",
"0.6285469",
"0.62755615",
"0.62466794",
"0.6246476",
"0.6228424",
"0.6226828",
"0.62091684",
"0.6198729",
"0.6182248",
"0.6175138",
"0.6166675",
"0.61419964",
"0.6128772",
"0.61274314",
"0.6108573",
"0.60867566",
"0.60671866",
"0.60583925",
"0.60533905",
"0.60498214",
"0.6047325",
"0.6039809",
"0.6030464",
"0.6018453",
"0.6014583",
"0.6013758",
"0.60002947",
"0.5994105",
"0.59932137",
"0.5985657",
"0.5985432",
"0.59836715",
"0.5979684",
"0.5975127",
"0.597163",
"0.5971206",
"0.5970897",
"0.596946",
"0.5969323",
"0.5968946",
"0.5958164",
"0.59564465",
"0.5953116",
"0.5953116",
"0.59490967",
"0.59467375",
"0.5946069",
"0.594448",
"0.59278876",
"0.59203506",
"0.59182495",
"0.5917058",
"0.5912663",
"0.5912663",
"0.5912663",
"0.5912663",
"0.5912663",
"0.5912663",
"0.5912663",
"0.5911787",
"0.59104264",
"0.5909228",
"0.59059703",
"0.5897523",
"0.5897339",
"0.5895849",
"0.5881039",
"0.5879038",
"0.58789104",
"0.5878329",
"0.5870944",
"0.5869499",
"0.586933",
"0.58665735",
"0.58574355",
"0.58573174",
"0.5856233",
"0.5852113",
"0.5847909",
"0.5845516",
"0.5844202",
"0.58403105",
"0.5839955",
"0.5838605",
"0.5831582"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: e | public ByteBuffer mo12193e() {
return this.f10948c;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void m50366E() {\n }",
"@Override\n\tpublic void e() {\n\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public byte e()\r\n/* 84: */ {\r\n/* 85:86 */ return this.e;\r\n/* 86: */ }",
"protected boolean func_70041_e_() { return false; }",
"public void mo1405e() {\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"public final void mo91720e() {\n super.mo91720e();\n }",
"public void m23075a() {\n }",
"public void mo21780E() {\n }",
"public void mo21779D() {\n }",
"public void e() {\n }",
"public final void mo91715d() {\n }",
"public void mo2471e() {\n }",
"public abstract void mo70713b();",
"public void mo1964g() throws cf {\r\n }",
"public abstract void mo27386d();",
"public void mo1962e() throws cf {\r\n }",
"public void mo1972o() throws cf {\r\n }",
"public void mo12628c() {\n }",
"public void mo97908d() {\n }",
"public void method_4270() {}",
"private E() {}",
"public void mo21879u() {\n }",
"public void mo4359a() {\n }",
"public final void mo12688e_() {\n }",
"public abstract void mo56925d();",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"protected boolean func_70814_o() { return true; }",
"public void mo1944a() throws cf {\r\n }",
"public /* bridge */ /* synthetic */ void mo22963g(C7059Ec ec) {\n super.mo22963g(ec);\n }",
"public void mo21825b() {\n }",
"public void mo115190b() {\n }",
"public void mo55254a() {\n }",
"public void mo12930a() {\n }",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"public abstract void mo27385c();",
"public void mo1531a() {\n }",
"public Set a()\r\n/* 44: */ {\r\n/* 45: 47 */ return this.e;\r\n/* 46: */ }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"public void mo23813b() {\n }",
"@Override\n public void e(int i0, int i1) {\n\n }",
"public void o_()\r\n/* 533: */ {\r\n/* 534:539 */ this.e = true;\r\n/* 535: */ }",
"public void mo21787L() {\n }",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public abstract void mo27464a();",
"void m5771e() throws C0841b;",
"public void mo2740a() {\n }",
"public abstract int mo123246e();",
"public void mo3749d() {\n }",
"public void mo1403c() {\n }",
"public void mo115188a() {\n }",
"protected void mo6255a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"abstract C0451h mo1607e();",
"public void mo9848a() {\n }",
"public void mo1976s() throws cf {\r\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public void mo1970m() throws cf {\r\n }",
"public void mo44053a() {\n }",
"void m5770d() throws C0841b;",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void mo1966i() throws cf {\r\n }",
"public void mo21781F() {\n }",
"public void mo21782G() {\n }",
"public void mo6944a() {\n }",
"@Override\n\tpublic void anular() {\n\n\t}",
"public float e()\r\n/* 20: */ {\r\n/* 21:167 */ return this.c;\r\n/* 22: */ }",
"public void mo9137b() {\n }",
"public void mo56167c() {\n }",
"public abstract String mo118046b();",
"public void m9741j() throws cf {\r\n }",
"void m1864a() {\r\n }",
"private stendhal() {\n\t}",
"public abstract Object mo26777y();",
"private V e() throws com.amap.api.col.n3.gh {\n /*\n r6 = this;\n r0 = 0\n r1 = 0\n L_0x0002:\n int r2 = r6.b\n if (r1 >= r2) goto L_0x00cd\n com.amap.api.col.n3.ki r2 = com.amap.api.col.n3.ki.c() // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n android.content.Context r3 = r6.d // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.net.Proxy r3 = com.amap.api.col.n3.ik.a(r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n r6.a((java.net.Proxy) r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n byte[] r2 = r2.a((com.amap.api.col.n3.kj) r6) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.lang.Object r2 = r6.a((byte[]) r2) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n int r0 = r6.b // Catch:{ ic -> 0x0025, gh -> 0x0020, Throwable -> 0x002a }\n r1 = r0\n r0 = r2\n goto L_0x0002\n L_0x0020:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0033\n L_0x0025:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0044\n L_0x002a:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"未知错误\"\n r0.<init>(r1)\n throw r0\n L_0x0032:\n r2 = move-exception\n L_0x0033:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 < r3) goto L_0x0002\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0043:\n r2 = move-exception\n L_0x0044:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 >= r3) goto L_0x008a\n int r3 = r6.e // Catch:{ InterruptedException -> 0x0053 }\n int r3 = r3 * 1000\n long r3 = (long) r3 // Catch:{ InterruptedException -> 0x0053 }\n java.lang.Thread.sleep(r3) // Catch:{ InterruptedException -> 0x0053 }\n goto L_0x0002\n L_0x0053:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x0078\n goto L_0x0082\n L_0x0078:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0082:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x008a:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"未知的错误\"\n java.lang.String r1 = r2.a()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x00bb\n goto L_0x00c5\n L_0x00bb:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x00c5:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x00cd:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.gi.e():java.lang.Object\");\n }",
"public void mo97906c() {\n }",
"public abstract void mo42330e();",
"public void mo21878t() {\n }",
"public abstract String mo41079d();",
"@Override\n protected void getExras() {\n }",
"public void mo21877s() {\n }",
"public void mo21785J() {\n }",
"public void mo1963f() throws cf {\r\n }",
"public abstract void mo35054b();",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"public abstract void m15813a();",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"public void mo21794S() {\n }",
"public abstract void mo6549b();",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"public void mo21793R() {\n }",
"public abstract void mo42329d();"
]
| [
"0.694762",
"0.6929112",
"0.6796041",
"0.6734974",
"0.67120844",
"0.6593292",
"0.65669006",
"0.6562074",
"0.6560681",
"0.65436345",
"0.6501908",
"0.6482532",
"0.647759",
"0.64735645",
"0.6406484",
"0.6402197",
"0.638745",
"0.6385422",
"0.6381895",
"0.6365324",
"0.6360464",
"0.63486964",
"0.6338258",
"0.63361216",
"0.6331043",
"0.6311663",
"0.63093024",
"0.6307835",
"0.6307138",
"0.63039064",
"0.63039064",
"0.63039064",
"0.63039064",
"0.63039064",
"0.63039064",
"0.63039064",
"0.6300365",
"0.62937045",
"0.6292239",
"0.6291152",
"0.62893844",
"0.62873065",
"0.62840265",
"0.62688804",
"0.6265944",
"0.6249837",
"0.62361026",
"0.6228055",
"0.6224532",
"0.62125576",
"0.62112224",
"0.6210699",
"0.6201783",
"0.6194361",
"0.6190403",
"0.6188229",
"0.6183488",
"0.6181995",
"0.61768067",
"0.61696935",
"0.6167878",
"0.61665106",
"0.61632544",
"0.6163085",
"0.61563426",
"0.61474884",
"0.6145537",
"0.61421514",
"0.6142022",
"0.6135937",
"0.61246926",
"0.61154145",
"0.6115066",
"0.61030376",
"0.6100991",
"0.6097722",
"0.60963124",
"0.6090129",
"0.60885465",
"0.6087763",
"0.6083225",
"0.607882",
"0.6071485",
"0.60662824",
"0.6062424",
"0.6054811",
"0.60491425",
"0.6046555",
"0.60412186",
"0.6040274",
"0.6032559",
"0.6019101",
"0.6019074",
"0.6014666",
"0.60119617",
"0.60065866",
"0.6005483",
"0.60001135",
"0.59997827",
"0.5996004",
"0.59934807"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: f | public int mo12194f() {
return this.f10961p.f10995c;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void func_70305_f() {}",
"@Override\n public int f() {\n return 0;\n }",
"public byte f()\r\n/* 89: */ {\r\n/* 90:90 */ return this.f;\r\n/* 91: */ }",
"public abstract int mo123247f();",
"protected float l()\r\n/* 72: */ {\r\n/* 73: 84 */ return 0.0F;\r\n/* 74: */ }",
"protected float m()\r\n/* 234: */ {\r\n/* 235:247 */ return 0.03F;\r\n/* 236: */ }",
"@Override\n public void func_104112_b() {\n \n }",
"private void m50367F() {\n }",
"static void feladat9() {\n\t}",
"public void mo1963f() throws cf {\r\n }",
"public abstract int mo9741f();",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"public amj p()\r\n/* 543: */ {\r\n/* 544:583 */ return this.f;\r\n/* 545: */ }",
"public void mo1406f() {\n }",
"C3579d mo19694a(C3581f fVar) throws IOException;",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"static void feladat4() {\n\t}",
"public void mo21781F() {\n }",
"public final void mo8765a(float f) {\n }",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"static void feladat7() {\n\t}",
"void mo21075f();",
"static void feladat8() {\n\t}",
"public static Forca get_f(){\n\t\treturn f;\n\t}",
"public void f() {\n }",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"static void feladat10() {\n\t}",
"void mo84656a(float f);",
"public abstract int mo64140f();",
"public void f() {\n }",
"public int getf(){\r\n return f;\r\n}",
"public float d()\r\n/* 15: */ {\r\n/* 16:163 */ return this.b;\r\n/* 17: */ }",
"public f206(String name) {\n super(name);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"@Override\n\tpublic void f2() {\n\t\t\n\t}",
"static void feladat6() {\n\t}",
"public int func_176881_a() {\n/* */ return this.field_176893_h;\n/* */ }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void m23075a() {\n }",
"@Override\n\tpublic void f1() {\n\n\t}",
"public int mo13019f() {\n return super.mo13019f();\n }",
"public void f() {\n this.f25459e.J();\n }",
"void mo72112a(float f);",
"public int getFunctionType() {\n/* 60 */ return 4;\n/* */ }",
"public int zzef() {\n throw new UnsupportedOperationException();\n }",
"void mo9704b(float f, float f2, int i);",
"public float e()\r\n/* 20: */ {\r\n/* 21:167 */ return this.c;\r\n/* 22: */ }",
"public abstract void mo70713b();",
"static void feladat3() {\n\t}",
"protected float method_4216() {\r\n return 5.0F;\r\n }",
"void mo56155a(float f);",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public static void feec() {\n\t}",
"void mo54440f();",
"public FI_() {\n }",
"static void feladat5() {\n\t}",
"private void m50366E() {\n }",
"void mo9705c(float f, float f2);",
"public void mo1964g() throws cf {\r\n }",
"public abstract C0620bi mo9231aF();",
"public abstract File mo41087j();",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"public abstract void mo70702a(C30989b c30989b);",
"public int getF() {\n\t\treturn f;\n\t}",
"public void mo1972o() throws cf {\r\n }",
"public void mo1944a() throws cf {\r\n }",
"void mo9703b(float f, float f2);",
"private static float m82748a(float f) {\n if (f == 0.0f) {\n return 1.0f;\n }\n return 0.0f;\n }",
"public abstract String mo118046b();",
"public abstract File mo41088k();",
"public abstract int mo4375b();",
"public final int mo65709f() {\n return 2;\n }",
"void mo3193f();",
"public interface C10555f {\n /* renamed from: es */\n void mo22049es(boolean z);\n }",
"private void m25426f() {\n C0396d.m1465a(this.f19104f).m1469a(this.f19111m, this.f19111m.m6587a());\n }",
"public abstract void mo27386d();",
"public abstract void mo70718c(String str, float f);",
"public final void mo91724f(int i) {\n }",
"protected boolean func_70041_e_() { return false; }",
"void mo9696a(float f, float f2, int i);",
"@Override\n\t\t\tpublic int af() {\n\t\t\t\tSystem.out.println(\"dsdfdghbd\");\n\t\t\t\treturn 0;\n\t\t\t}",
"public void mo1976s() throws cf {\r\n }",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"public abstract void mo42329d();",
"void f1() {\r\n\t}",
"public void method_4270() {}",
"public abstract String mo41079d();",
"public abstract Member mo23408O();",
"public abstract void mo56925d();",
"void mo9694a(float f, float f2);",
"public abstract byte zzfv(int i);",
"public interface C0159fv {\n /* renamed from: a */\n void mo4827a(Context context, C0152fo foVar);\n\n /* renamed from: a */\n void mo4828a(C0152fo foVar, boolean z);\n\n /* renamed from: a */\n void mo4829a(C0158fu fuVar);\n\n /* renamed from: a */\n boolean mo4830a();\n\n /* renamed from: a */\n boolean mo4831a(C0153fp fpVar);\n\n /* renamed from: a */\n boolean mo4832a(C0167gc gcVar);\n\n /* renamed from: b */\n void mo4833b();\n\n /* renamed from: b */\n boolean mo4834b(C0153fp fpVar);\n}",
"int mo98358f();",
"public boolean mo15023f() {\n return false;\n }",
"public abstract int mo123246e();",
"void mo57277b();",
"public int F()\r\n/* 24: */ {\r\n/* 25: 39 */ return aqt.a(0.5D, 1.0D);\r\n/* 26: */ }",
"public final void mo91715d() {\n }",
"public abstract void mo6549b();",
"public abstract void mo42330e();"
]
| [
"0.73608595",
"0.6936105",
"0.67633754",
"0.6743576",
"0.662169",
"0.65259814",
"0.6491597",
"0.64622194",
"0.6450568",
"0.6449478",
"0.64176774",
"0.6414097",
"0.63789856",
"0.63438267",
"0.6329155",
"0.63223124",
"0.6305304",
"0.6298547",
"0.62874424",
"0.62869716",
"0.6274441",
"0.6273282",
"0.6268119",
"0.6267802",
"0.6224208",
"0.62056607",
"0.6204697",
"0.62037987",
"0.61888105",
"0.6179118",
"0.6172262",
"0.6164803",
"0.61603993",
"0.6145659",
"0.6143915",
"0.61230445",
"0.61220616",
"0.60957164",
"0.60929054",
"0.60813725",
"0.60758615",
"0.60656154",
"0.60619795",
"0.6058981",
"0.6055079",
"0.6050744",
"0.60382944",
"0.60247886",
"0.6016754",
"0.60148466",
"0.6010228",
"0.6003794",
"0.6002991",
"0.59911376",
"0.5984719",
"0.5966504",
"0.5962928",
"0.5955251",
"0.5953349",
"0.59417355",
"0.5929408",
"0.59274304",
"0.59256667",
"0.5924246",
"0.59197897",
"0.5916379",
"0.5915151",
"0.59051615",
"0.58991814",
"0.5895874",
"0.58929443",
"0.58904785",
"0.58842826",
"0.5881764",
"0.587949",
"0.5875428",
"0.5874241",
"0.5872144",
"0.58707786",
"0.5866913",
"0.58480895",
"0.5842146",
"0.58398706",
"0.58398706",
"0.58394814",
"0.58393216",
"0.58361953",
"0.5833776",
"0.58301145",
"0.58277005",
"0.58235306",
"0.581989",
"0.5811342",
"0.5811139",
"0.5809377",
"0.5808493",
"0.5804373",
"0.5803695",
"0.57989484",
"0.5796927",
"0.5787269"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: g | public int mo12195g() {
return this.f10961p.f10999g;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public abstract String mo118046b();",
"private final zzgy zzgb() {\n }",
"public void mo21782G() {\n }",
"public void m23075a() {\n }",
"private void m50366E() {\n }",
"public abstract String mo41079d();",
"public abstract void mo70713b();",
"private stendhal() {\n\t}",
"public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }",
"public void method_4270() {}",
"public abstract void mo42331g();",
"public void mo38117a() {\n }",
"public void mo21779D() {\n }",
"public abstract Object mo26777y();",
"void mo57277b();",
"void m1864a() {\r\n }",
"public final void mo91715d() {\n }",
"public void gored() {\n\t\t\n\t}",
"public abstract int mo123248g();",
"public void mo115190b() {\n }",
"public void mo97908d() {\n }",
"public abstract void mo27385c();",
"protected boolean func_70814_o() { return true; }",
"public abstract void mo27386d();",
"public abstract Member mo23408O();",
"public abstract void mo56925d();",
"public final void mo51373a() {\n }",
"public abstract String mo13682d();",
"private Rekenhulp()\n\t{\n\t}",
"public void mo1403c() {\n }",
"public void mo21787L() {\n }",
"public abstract String mo11611b();",
"public void g() {\n }",
"void mo41086b();",
"public abstract void mo6549b();",
"void mo21076g();",
"public void mo23813b() {\n }",
"public abstract void mo27464a();",
"public void mo21825b() {\n }",
"public abstract void mo30696a();",
"void mo57278c();",
"public abstract void mo53562a(C18796a c18796a);",
"public abstract int mo41077c();",
"public abstract void mo42329d();",
"public abstract int mo9742g();",
"public void mo56167c() {\n }",
"public void mo3749d() {\n }",
"public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }",
"public void mo6944a() {\n }",
"public void mo21879u() {\n }",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"public void mo115188a() {\n }",
"public abstract C14408a mo11607a();",
"void mo41083a();",
"void mo56163g();",
"void mo72113b();",
"void mo80457c();",
"public abstract String mo9239aw();",
"public interface C13719g {\n}",
"public abstract void m15813a();",
"public void mo12628c() {\n }",
"public abstract void mo35054b();",
"public void mo12930a() {\n }",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"public abstract int mo9747l();",
"void mo119582b();",
"public void mo4359a() {\n }",
"public void mo44053a() {\n }",
"public void mo9848a() {\n }",
"public abstract String mo41086i();",
"protected boolean func_70041_e_() { return false; }",
"public void mo97906c() {\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }",
"public void mo21878t() {\n }",
"private void m50367F() {\n }",
"void mo21073d();",
"public void mo2740a() {\n }",
"public void mo21793R() {\n }",
"public void mo1964g() throws cf {\r\n }",
"public interface C7878U {\n /* renamed from: Lg */\n public static final int f26781Lg = 1;\n /* renamed from: Mg */\n public static final int f26782Mg = 2;\n public static final int NOERROR = 0;\n /* renamed from: Ng */\n public static final int f26783Ng = 3;\n /* renamed from: Og */\n public static final int f26784Og = 4;\n /* renamed from: Pg */\n public static final int f26785Pg = 5;\n /* renamed from: Qg */\n public static final int f26786Qg = 6;\n}",
"public abstract Object mo1771a();",
"void mo28307a(zzgd zzgd);",
"public interface C8843g {\n}",
"public abstract void mo2624j();",
"public void mo21877s() {\n }",
"public void mo21781F() {\n }",
"public void mo21785J() {\n }",
"public abstract C13619e mo34787a();",
"public void mo9137b() {\n }",
"void mo54405a();",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"private Gng() {\n }",
"public void mo1406f() {\n }",
"public void mo21789N() {\n }",
"public abstract Object mo1185b();",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"void mo80455b();",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}"
]
| [
"0.66122985",
"0.6558361",
"0.6540168",
"0.6496619",
"0.6484324",
"0.6466894",
"0.64642197",
"0.64601386",
"0.64600873",
"0.6451483",
"0.64197004",
"0.64143175",
"0.6381735",
"0.63590086",
"0.63583577",
"0.6356032",
"0.6352652",
"0.63516843",
"0.63507235",
"0.633908",
"0.6331077",
"0.6328435",
"0.6325355",
"0.6313984",
"0.63057655",
"0.6281938",
"0.62714857",
"0.6261277",
"0.626089",
"0.6247647",
"0.6246093",
"0.6244434",
"0.6239683",
"0.6221069",
"0.6216217",
"0.62126315",
"0.62123114",
"0.6197472",
"0.61776495",
"0.61741173",
"0.61657566",
"0.6159795",
"0.6158815",
"0.615853",
"0.6151814",
"0.6149312",
"0.61380756",
"0.6129778",
"0.612679",
"0.612605",
"0.612325",
"0.6117027",
"0.61151147",
"0.61087596",
"0.6105029",
"0.6105006",
"0.6098629",
"0.60946494",
"0.6079382",
"0.6078132",
"0.60753715",
"0.60746664",
"0.60736734",
"0.60723287",
"0.6071307",
"0.607043",
"0.6070328",
"0.60656846",
"0.60655725",
"0.6064051",
"0.60621506",
"0.6061806",
"0.6056436",
"0.60543036",
"0.604502",
"0.60404307",
"0.60290587",
"0.6025396",
"0.6025191",
"0.60219157",
"0.6020175",
"0.6018192",
"0.60170203",
"0.60156715",
"0.6010839",
"0.6009478",
"0.60059845",
"0.599266",
"0.59912825",
"0.5990767",
"0.59876156",
"0.5987561",
"0.59875226",
"0.59809923",
"0.59800917",
"0.59762645",
"0.59720784",
"0.5971265",
"0.596959",
"0.5962253",
"0.59616125"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: h | public int mo12196h() {
return this.f10961p.f11005m;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private stendhal() {\n\t}",
"protected void h() {}",
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"public void mo21783H() {\n }",
"public abstract void mo70713b();",
"public void method_4270() {}",
"public final void mo51373a() {\n }",
"private void m50366E() {\n }",
"public void mo9233aH() {\n }",
"public abstract Object mo26777y();",
"public void mo38117a() {\n }",
"public final void mo91715d() {\n }",
"public void mo21779D() {\n }",
"public void mo115190b() {\n }",
"public void mo97908d() {\n }",
"public abstract String mo118046b();",
"public abstract String mo41079d();",
"public abstract void mo27386d();",
"public abstract int mo123249h();",
"private Rekenhulp()\n\t{\n\t}",
"public void mo21825b() {\n }",
"public abstract void mo27385c();",
"public abstract Member mo23408O();",
"public abstract void mo56925d();",
"abstract C0451h mo1607e();",
"@Hide\n private final zzs zzahx() {\n }",
"public abstract void mo6549b();",
"public int func_176881_a() {\n/* */ return this.field_176893_h;\n/* */ }",
"public void mo21879u() {\n }",
"public void mo21787L() {\n }",
"protected void mo6255a() {\n }",
"public void mo1403c() {\n }",
"public void mo12628c() {\n }",
"void m1864a() {\r\n }",
"void mo57277b();",
"public void mo21782G() {\n }",
"public void mo44053a() {\n }",
"public void mo23813b() {\n }",
"public void mo115188a() {\n }",
"public void mo4359a() {\n }",
"public abstract void mo30696a();",
"public void mo3749d() {\n }",
"public abstract void mo42329d();",
"public abstract void mo27464a();",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"public abstract String mo13682d();",
"public void mo97906c() {\n }",
"public void mo6944a() {\n }",
"public void mo9848a() {\n }",
"public abstract Object mo1771a();",
"public void mo12930a() {\n }",
"public abstract int mo41077c();",
"public abstract void mo35054b();",
"public interface C22383h {\n}",
"public void mo55254a() {\n }",
"public void mo2740a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo21878t() {\n }",
"public abstract String mo11611b();",
"public abstract void mo53562a(C18796a c18796a);",
"C32446a mo21077h() throws Exception;",
"public void mo56167c() {\n }",
"@Override\n protected void prot() {\n }",
"public abstract Object mo1185b();",
"public abstract int mo9747l();",
"public void mo21877s() {\n }",
"public void mo21781F() {\n }",
"public void mo21785J() {\n }",
"public abstract void mo42331g();",
"void mo80457c();",
"public abstract C7036b mo24411d();",
"public abstract C14408a mo11607a();",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"private void level7() {\n }",
"public void mo21793R() {\n }",
"void mo72113b();",
"public void mo21794S() {\n }",
"public void mo9137b() {\n }",
"public void mo3376r() {\n }",
"public void mo1531a() {\n }",
"public abstract C13619e mo34787a();",
"public interface C0939c {\n }",
"public abstract int mo9742g();",
"public abstract void mo2624j();",
"public abstract long mo9743h();",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"void mo41086b();",
"public abstract C0270jy mo5354b();",
"public abstract long mo9229aD();",
"public interface C0136c {\n }",
"private void m50367F() {\n }",
"void mo41083a();",
"public abstract String mo9239aw();",
"public abstract void mo20899UO();"
]
| [
"0.66693985",
"0.6569719",
"0.65170866",
"0.64896584",
"0.64864457",
"0.64524543",
"0.6451001",
"0.6449716",
"0.6439774",
"0.6422889",
"0.64143664",
"0.6413722",
"0.64069444",
"0.640156",
"0.6391812",
"0.6388581",
"0.638008",
"0.637158",
"0.63655025",
"0.63479406",
"0.63320345",
"0.63084185",
"0.63029915",
"0.6297619",
"0.6296174",
"0.62819415",
"0.6281062",
"0.62789184",
"0.6268393",
"0.6265607",
"0.6244628",
"0.6235229",
"0.62344307",
"0.6234097",
"0.62259614",
"0.62214327",
"0.62157714",
"0.6215624",
"0.6213115",
"0.61988103",
"0.61985064",
"0.61981404",
"0.6195677",
"0.61948955",
"0.6193567",
"0.618438",
"0.61774635",
"0.61772203",
"0.6172535",
"0.6168526",
"0.616707",
"0.61664206",
"0.6165383",
"0.61627185",
"0.61598074",
"0.6151942",
"0.6150442",
"0.6144935",
"0.6144935",
"0.6144935",
"0.6144935",
"0.6144935",
"0.6144935",
"0.6144935",
"0.6137248",
"0.6127223",
"0.6125504",
"0.611277",
"0.61114997",
"0.61112916",
"0.6111027",
"0.61088204",
"0.60982925",
"0.60972065",
"0.6088145",
"0.6083809",
"0.60820544",
"0.6075103",
"0.60746026",
"0.60696435",
"0.6059814",
"0.605924",
"0.6055665",
"0.60555744",
"0.6053939",
"0.6051538",
"0.6045415",
"0.6035802",
"0.60313344",
"0.6027671",
"0.6027184",
"0.6027011",
"0.60208416",
"0.602034",
"0.60200423",
"0.60189927",
"0.6017823",
"0.60168445",
"0.6015665",
"0.60121053",
"0.6010857"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: i | public int mo12197i() {
return this.f10960o;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private final void i() {\n }",
"void mo17022c(int i);",
"public abstract void mo9809b(int i);",
"public final void mo91727g(int i) {\n }",
"public void mo5332a(int i) {\n }",
"public abstract C14407a mo11608b(int i);",
"public abstract C14407a mo11604a(int i);",
"public abstract void mo4376b(int i);",
"public abstract int mo12581RU(int i);",
"C02(int i){\n\t\t\n\t}",
"public final void mo5394iy(int i) {\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public abstract C14407a mo11609c(int i);",
"public void mo44231a(int i) {\n }",
"void mo17020b(int i);",
"void mo1933b(int i);",
"public abstract void mo9814c(int i);",
"void mo1753b(int i);",
"void m15858a(int i);",
"public int i() {\n \treturn i; \n }",
"public abstract int mo4307b(int i);",
"public abstract void mo9734b(int i);",
"void mo54406a(int i);",
"public interface C7446a {\n /* renamed from: rn */\n void mo32046rn(int i);\n }",
"public abstract void mo4385d(int i);",
"void mo1754c(int i);",
"public abstract int mo12582RV(int i);",
"public final void mo91947k(int i) {\n }",
"void mo1747a(int i);",
"public final void mo91711c(int i) {\n super.mo91711c(i);\n }",
"void mo1494c(int i);",
"public abstract AbstractC5666g mo39572a(int i);",
"public final void mo91724f(int i) {\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public void zzak(int i) {\n throw new UnsupportedOperationException();\n }",
"void mo1761g(int i);",
"void mo54447l(int i);",
"void mo88773a(int i);",
"public abstract void mo2156b(int i);",
"void mo1755d(int i);",
"C3579d mo19710g(int i) throws IOException;",
"public interface C1361a {\n /* renamed from: ix */\n Info mo7564ix();\n }",
"public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }",
"interface C11601a {\n /* renamed from: tY */\n void mo23327tY(int i);\n }",
"public void mo3350a(int i) {\n }",
"void mo17016a(int i);",
"public void int2_m() {\n\t\t\n\t}",
"public abstract void mo4386e(int i, int i2);",
"void mo32046rn(int i);",
"@Override\n public void func_104112_b() {\n \n }",
"void mo122221a(int i);",
"public void mo115203b(int i, int i2) {\n }",
"public interface C0999b {\n }",
"public abstract void mo9810b(int i, int i2);",
"void mo54436d(int i);",
"void mo27576a(int i);",
"void mo66998a(int i);",
"public abstract void mo4378b(int i, zzud zzud);",
"void mo54437e(int i);",
"void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);",
"public abstract void mo102900a(int i, int i2);",
"public abstract void mo4377b(int i, int i2);",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"@Override\n\tpublic void i2() {\n\t\t\n\t}",
"public void mo21784I() {\n }",
"Liczba(int i) {\n this.i= i;\n }",
"void mo1491b(int i);",
"public abstract int mo12585RY(int i);",
"public void mo32111rr(int i) {\n }",
"public abstract int mo12574RN(int i);",
"public interface C0939c {\n }",
"void mo37668e(int i);",
"public abstract void mo9800a(int i, int i2);",
"public interface C0938b {\n }",
"public void int1_m() {\n\t\t\n\t}",
"public abstract void mo9733a(int i);",
"public abstract void mo9815c(int i, int i2);",
"public abstract void mo9816d(int i, int i2);",
"void mo26876a(int i);",
"void mo7304b(int i, int i2);",
"void m15861b(int i, int i2);",
"public interface C0136c {\n }",
"public abstract void mo4364a(int i, zzud zzud);",
"public abstract void mo4361a(int i);",
"public int geti(){\r\n return i;\r\n}",
"void mo17007a(int i);",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public abstract int mo12579RS(int i);",
"public interface iLL11Ll1 {\n C6860liLi OooO00o(C6773llLi v) throws IOException;\n}",
"public abstract void mo4381c(int i, int i2);",
"public abstract int mo12572RL(int i);",
"private final int m28109e(int i) {\n return i + i;\n }",
"public abstract void mo9799a(int i);",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public abstract int mo12575RO(int i);",
"void mo22044oA(int i);",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"void mo63039b(int i, int i2);",
"C20241o mo54456u(int i);",
"public abstract long i();",
"void mo38565a(int i);"
]
| [
"0.6943172",
"0.692046",
"0.6751326",
"0.6733585",
"0.6718648",
"0.6677669",
"0.6667721",
"0.66291493",
"0.6598911",
"0.65927064",
"0.6580695",
"0.6578598",
"0.6566675",
"0.65599287",
"0.65470374",
"0.654165",
"0.6519802",
"0.6510887",
"0.6463568",
"0.64554083",
"0.64513904",
"0.64501256",
"0.64485335",
"0.6430267",
"0.6424272",
"0.64059436",
"0.63980454",
"0.6384393",
"0.6383724",
"0.6367952",
"0.63593394",
"0.63361937",
"0.6335424",
"0.63333297",
"0.63319546",
"0.6330796",
"0.63257104",
"0.631984",
"0.6317635",
"0.63124126",
"0.6311908",
"0.6303157",
"0.62982976",
"0.62803495",
"0.6280152",
"0.62799716",
"0.62756705",
"0.62723505",
"0.62684727",
"0.62682176",
"0.6267382",
"0.6267205",
"0.62599",
"0.62555623",
"0.6248893",
"0.6246709",
"0.6239737",
"0.6234782",
"0.6232375",
"0.62273324",
"0.6224099",
"0.62204343",
"0.62179804",
"0.6214898",
"0.6213252",
"0.6210576",
"0.62002486",
"0.6193781",
"0.61858356",
"0.6184106",
"0.61759955",
"0.6175917",
"0.6171801",
"0.61699754",
"0.6166801",
"0.61578196",
"0.61573374",
"0.61555403",
"0.6153954",
"0.6152847",
"0.6151108",
"0.6149664",
"0.6149004",
"0.6147372",
"0.6144966",
"0.61383605",
"0.61338204",
"0.61326426",
"0.61256677",
"0.6124779",
"0.61208117",
"0.6118255",
"0.6109634",
"0.6108523",
"0.6099721",
"0.6090092",
"0.6089789",
"0.6084809",
"0.60836774",
"0.60795206",
"0.6075872"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: j | public int mo12198j() {
if (this.f10961p.f10995c > 0) {
int i = this.f10959n;
if (i >= 0) {
return mo12182a(i);
}
}
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void mo21785J() {\n }",
"public void mo21779D() {\n }",
"public void method_4270() {}",
"public abstract void mo2624j();",
"private void m50366E() {\n }",
"public abstract void mo70713b();",
"public abstract Object mo26777y();",
"public void mo38117a() {\n }",
"public abstract void mo27385c();",
"public final void mo91715d() {\n }",
"public void mo21825b() {\n }",
"public void m23075a() {\n }",
"public final void mo51373a() {\n }",
"private void kk12() {\n\n\t}",
"public void mo97908d() {\n }",
"public void mo21787L() {\n }",
"public abstract void mo27386d();",
"public void mo115190b() {\n }",
"public abstract void mo56925d();",
"public void mo21782G() {\n }",
"public abstract void mo6549b();",
"public void mo21877s() {\n }",
"public abstract void mo42329d();",
"private stendhal() {\n\t}",
"public void mo23813b() {\n }",
"public void mo21879u() {\n }",
"public abstract String mo118046b();",
"public void mo21793R() {\n }",
"public abstract Object mo1185b();",
"public abstract Member mo23408O();",
"public abstract String mo41079d();",
"public abstract void mo42331g();",
"public String func_176882_c() {\n/* */ return this.field_176891_j;\n/* */ }",
"void mo57277b();",
"public void mo12930a() {\n }",
"public abstract Object mo1771a();",
"public interface C11316t5 extends C11259p5, Cloneable {\n /* renamed from: j0 */\n C11316t5 mo29022j0();\n}",
"public abstract C0270jy mo5354b();",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void mo21794S() {\n }",
"public void mo3749d() {\n }",
"public void mo4359a() {\n }",
"public void mo21791P() {\n }",
"public void mo44053a() {\n }",
"public void mo21781F() {\n }",
"public void mo21789N() {\n }",
"public void mo6944a() {\n }",
"void m1864a() {\r\n }",
"public abstract void mo27464a();",
"public void mo9137b() {\n }",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"public void mo21878t() {\n }",
"public void mo21786K() {\n }",
"public abstract void mo30696a();",
"public void mo12628c() {\n }",
"public abstract void mo35054b();",
"public void mo1403c() {\n }",
"public void mo1531a() {\n }",
"private static void cajas() {\n\t\t\n\t}",
"public void mo115188a() {\n }",
"public void mo3376r() {\n }",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public void mo97906c() {\n }",
"public abstract int mo9745j();",
"public abstract String mo13682d();",
"public abstract long mo9229aD();",
"public void mo55254a() {\n }",
"protected boolean func_70814_o() { return true; }",
"public abstract String mo11611b();",
"private Rekenhulp()\n\t{\n\t}",
"public abstract String mo9239aw();",
"public void mo56167c() {\n }",
"zzang mo29839S() throws RemoteException;",
"public void mo9233aH() {\n }",
"public void mo21784I() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"protected void mo6255a() {\n }",
"public void m9741j() throws cf {\r\n }",
"public void mo21780E() {\n }",
"public abstract void mo42330e();",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"void mo72113b();",
"@Override\n protected void prot() {\n }",
"public void mo5382o() {\n }",
"public abstract int mo9747l();",
"public abstract void mo53562a(C18796a c18796a);",
"public final void zzjk() {\n }",
"void mo41086b();",
"public abstract int mo41077c();",
"public void mo21792Q() {\n }",
"public void j() {\n }",
"void mo41083a();",
"zzafe mo29840Y() throws RemoteException;"
]
| [
"0.6676658",
"0.656286",
"0.652839",
"0.652784",
"0.6506729",
"0.6476798",
"0.6471601",
"0.6468169",
"0.6427549",
"0.6423889",
"0.64230555",
"0.63985205",
"0.6387964",
"0.6382079",
"0.6373965",
"0.6369291",
"0.6362187",
"0.6342023",
"0.6330205",
"0.6327661",
"0.6321659",
"0.6311178",
"0.63041914",
"0.63000697",
"0.6284562",
"0.6283472",
"0.6268609",
"0.6268501",
"0.6265936",
"0.626431",
"0.62540454",
"0.624992",
"0.6245424",
"0.62426275",
"0.6226992",
"0.6218905",
"0.62042946",
"0.6203317",
"0.62027514",
"0.6198835",
"0.6188031",
"0.6185658",
"0.6185354",
"0.6179444",
"0.61769634",
"0.617292",
"0.617176",
"0.61685526",
"0.6167951",
"0.61654955",
"0.6165174",
"0.6163115",
"0.61587757",
"0.615746",
"0.61544484",
"0.61530924",
"0.6152694",
"0.61513156",
"0.6142634",
"0.6140126",
"0.6131474",
"0.61303085",
"0.61246145",
"0.6121701",
"0.6120431",
"0.6118192",
"0.6100891",
"0.6096607",
"0.60948706",
"0.6091378",
"0.6090043",
"0.6085102",
"0.60828775",
"0.60726243",
"0.60672843",
"0.60528415",
"0.60516816",
"0.60516816",
"0.60516816",
"0.60516816",
"0.60516816",
"0.60516816",
"0.60516816",
"0.6046242",
"0.6041757",
"0.60391104",
"0.6038953",
"0.6036389",
"0.60361797",
"0.6035731",
"0.6034802",
"0.6024666",
"0.6021911",
"0.60173506",
"0.6015893",
"0.60138893",
"0.6012758",
"0.6012193",
"0.6009781",
"0.6009459",
"0.60089266"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: k | public synchronized Bitmap mo12199k() {
if (this.f10961p.f10995c <= 0 || this.f10959n < 0) {
String str = f10944y;
StringBuilder sb = new StringBuilder();
sb.append("unable to decode frame, frameCount=");
sb.append(this.f10961p.f10995c);
sb.append(" framePointer=");
sb.append(this.f10959n);
C3111h1.m14931d(str, sb.toString());
this.f10965t = 1;
}
if (this.f10965t != 1) {
if (this.f10965t != 2) {
this.f10965t = 0;
C3072b1 b1Var = (C3072b1) this.f10961p.f10997e.get(this.f10959n);
int i = this.f10959n - 1;
C3072b1 b1Var2 = i >= 0 ? (C3072b1) this.f10961p.f10997e.get(i) : null;
this.f10946a = b1Var.f10980k != null ? b1Var.f10980k : this.f10961p.f10993a;
if (this.f10946a == null) {
String str2 = f10944y;
StringBuilder sb2 = new StringBuilder();
sb2.append("No Valid Color Table for frame #");
sb2.append(this.f10959n);
C3111h1.m14931d(str2, sb2.toString());
this.f10965t = 1;
return null;
}
if (b1Var.f10975f) {
System.arraycopy(this.f10946a, 0, this.f10947b, 0, this.f10946a.length);
this.f10946a = this.f10947b;
this.f10946a[b1Var.f10977h] = 0;
}
return m14713a(b1Var, b1Var2);
}
}
String str3 = f10944y;
StringBuilder sb3 = new StringBuilder();
sb3.append("Unable to decode frame, status=");
sb3.append(this.f10965t);
C3111h1.m14931d(str3, sb3.toString());
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void kk12() {\n\n\t}",
"public void mo21786K() {\n }",
"public void func_70295_k_() {}",
"public boolean k_()\r\n/* 450: */ {\r\n/* 451:464 */ return false;\r\n/* 452: */ }",
"public int s() {\r\n/* 247 */ return this.k;\r\n/* */ }",
"public final void zzjk() {\n }",
"public interface C0094dk {\n /* renamed from: a */\n boolean mo1311a(KeyEvent keyEvent);\n}",
"public boolean a()\r\n/* 598: */ {\r\n/* 599:597 */ return this.k;\r\n/* 600: */ }",
"public void m23075a() {\n }",
"private void m50366E() {\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public aql k()\r\n/* 114: */ {\r\n/* 115:126 */ return aql.b;\r\n/* 116: */ }",
"public void mo12628c() {\n }",
"public void mo1403c() {\n }",
"public void mo21779D() {\n }",
"public void mo21825b() {\n }",
"public void mo21879u() {\n }",
"public abstract void mo2624j();",
"private stendhal() {\n\t}",
"public void mo115190b() {\n }",
"public final void mo91715d() {\n }",
"public void mo97908d() {\n }",
"public abstract String mo118046b();",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"void mo1942k();",
"public void mo38117a() {\n }",
"public void mo97906c() {\n }",
"public abstract void mo27385c();",
"public void mo21787L() {\n }",
"void m1864a() {\r\n }",
"public abstract Object mo26777y();",
"public void mo21782G() {\n }",
"public void mo12930a() {\n }",
"public void mo23813b() {\n }",
"public abstract void mo27386d();",
"public void mo21880v() {\n }",
"public void mo21800a() {\n }",
"public void method_4270() {}",
"public abstract Member mo23408O();",
"public void mo44053a() {\n }",
"public abstract long mo9746k();",
"public abstract String mo41079d();",
"@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:02:04.534 -0500\", hash_original_method = \"E4DEB0C107DDB25A537EF0E89F1C04F8\", hash_generated_method = \"2E76AFD8C90588F5139C0C2D28CAEA05\")\n \nprivate static int translateCodingErrorAction(CodingErrorAction action) {\n if (action == CodingErrorAction.REPORT) {\n return 0;\n } else if (action == CodingErrorAction.IGNORE) {\n return 1;\n } else if (action == CodingErrorAction.REPLACE) {\n return 2;\n } else {\n throw new AssertionError(); // Someone changed the enum.\n }\n }",
"public void mo21877s() {\n }",
"private void m50367F() {\n }",
"public interface axk\r\n/* */ {\r\n/* */ @Nullable\r\n/* */ bji f(el paramel);\r\n/* */ \r\n/* */ blc a_(el paramel);\r\n/* */ \r\n/* */ byw b(el paramel);\r\n/* */ \r\n/* */ default int K() {\r\n/* 27 */ return 15;\r\n/* */ }\r\n/* */ }",
"public KeyPermission()\r\n\t{}",
"public interface C0939c {\n }",
"public void mo21785J() {\n }",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public void mo21878t() {\n }",
"public void mo1531a() {\n }",
"public abstract void mo56925d();",
"public void mo115188a() {\n }",
"public void mo9848a() {\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract int mo9747l();",
"public interface C0938b {\n }",
"private final zzgy zzgb() {\n }",
"public void mo21794S() {\n }",
"private void setKey() {\n\t\t \n\t}",
"public void mo2740a() {\n }",
"public abstract void mo32005dK(boolean z);",
"public abstract void mo70713b();",
"public void mo21781F() {\n }",
"public final void mo51373a() {\n }",
"public void mo3749d() {\n }",
"public abstract long mo24409b();",
"public interface C24717ak {\n}",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public void mo56167c() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"java.lang.String printKeys() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: java.security.Signer.printKeys():java.lang.String, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: java.security.Signer.printKeys():java.lang.String\");\n }",
"public void mo21789N() {\n }",
"public void mo21791P() {\n }",
"public void mo21788M() {\n }",
"public void mo23438b() {\n }",
"public void mo21793R() {\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public abstract void mo42329d();",
"public void mo6944a() {\n }",
"public final void mo92082N() {\n }",
"public void mo21780E() {\n }",
"public abstract C7982k4<E> m39518y();",
"private com.hps.july.persistence.SuperRegionAccKey keyFromFields ( int f0 ) {\n com.hps.july.persistence.SuperRegionAccKey keyClass = new com.hps.july.persistence.SuperRegionAccKey();\n keyClass.accessid = f0;\n return keyClass;\n }",
"public void mo55254a() {\n }",
"public abstract VKRequest mo118418h();",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }",
"public abstract String mo11611b();",
"void mo17021c();",
"protected void mo6255a() {\n }",
"public void mo5097b() {\n }",
"public void mo21783H() {\n }"
]
| [
"0.69383806",
"0.65400434",
"0.64881164",
"0.63769954",
"0.6310972",
"0.62579095",
"0.623114",
"0.6176943",
"0.6174968",
"0.615989",
"0.61273944",
"0.6123692",
"0.6100129",
"0.60762686",
"0.60738254",
"0.60565346",
"0.6049042",
"0.604597",
"0.60384995",
"0.603692",
"0.6024298",
"0.6017689",
"0.60035765",
"0.60020334",
"0.5995621",
"0.5992401",
"0.5991588",
"0.5971292",
"0.5936396",
"0.593439",
"0.5932555",
"0.5922121",
"0.5883233",
"0.58828866",
"0.5865753",
"0.5858327",
"0.5854422",
"0.58441603",
"0.5842025",
"0.5841249",
"0.5829384",
"0.5822374",
"0.58196515",
"0.5816247",
"0.58111596",
"0.58088744",
"0.5806008",
"0.5800115",
"0.57909757",
"0.57855564",
"0.5784788",
"0.57846385",
"0.5780758",
"0.5779304",
"0.5771189",
"0.576885",
"0.576718",
"0.5762972",
"0.5759036",
"0.5758032",
"0.57568216",
"0.5754439",
"0.5751625",
"0.5749516",
"0.5747226",
"0.5746409",
"0.5745921",
"0.57446164",
"0.57433695",
"0.5740038",
"0.57372487",
"0.5737134",
"0.57342017",
"0.5724122",
"0.5722333",
"0.5720097",
"0.57195425",
"0.5718974",
"0.5717417",
"0.5715352",
"0.5710378",
"0.5709019",
"0.57039624",
"0.57028973",
"0.5701455",
"0.5699469",
"0.5697747",
"0.56972694",
"0.5690627",
"0.5690627",
"0.5690627",
"0.5690627",
"0.5690627",
"0.5690627",
"0.5690627",
"0.5676705",
"0.56736547",
"0.5673001",
"0.5671585",
"0.56635636",
"0.5661753"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: l | public int mo12200l() {
return this.f10965t;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mo21787L() {\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public abstract int mo9747l();",
"protected float l()\r\n/* 72: */ {\r\n/* 73: 84 */ return 0.0F;\r\n/* 74: */ }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"void m1864a() {\r\n }",
"public void mo3370l() {\n }",
"public void m23075a() {\n }",
"public void mo38117a() {\n }",
"void mo1943l();",
"private void m50366E() {\n }",
"public abstract String mo118046b();",
"public String getLcode()\n/* */ {\n/* 47 */ return this.lcode;\n/* */ }",
"public void method_4270() {}",
"public abstract long mo24409b();",
"public lo() {}",
"private USI_TRLT() {}",
"public abstract long mo9229aD();",
"public final void mo51373a() {\n }",
"public void mo12930a() {\n }",
"private stendhal() {\n\t}",
"public abstract String mo41079d();",
"public abstract Member mo23408O();",
"void mo4873a(C4718l c4718l);",
"public void mo115190b() {\n }",
"public abstract void mo27386d();",
"public static void c1_vl() {\n\t}",
"public abstract void mo53562a(C18796a c18796a);",
"public int func_176881_a() {\n/* */ return this.field_176893_h;\n/* */ }",
"public void mo21779D() {\n }",
"public abstract void mo42329d();",
"public static void bi_vl() {\n\t}",
"public void mo1531a() {\n }",
"public abstract void mo70713b();",
"public void mo21879u() {\n }",
"public abstract Object mo26777y();",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public final void mo91715d() {\n }",
"public abstract void mo27464a();",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"protected boolean func_70041_e_() { return false; }",
"public abstract void mo27385c();",
"private Rekenhulp()\n\t{\n\t}",
"private void level7() {\n }",
"public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public abstract void mo42331g();",
"void mo4874b(C4718l c4718l);",
"public void mo97908d() {\n }",
"public String limpiar()\r\n/* 509: */ {\r\n/* 510:529 */ return null;\r\n/* 511: */ }",
"public abstract void mo30696a();",
"public static void c0_vl() {\n\t}",
"public abstract long mo24410c();",
"public abstract String mo11611b();",
"public abstract String mo13682d();",
"public void mo21825b() {\n }",
"protected boolean func_70814_o() { return true; }",
"public void mo4359a() {\n }",
"public abstract long mo13681c();",
"private static class <init> extends l\n{\n\n public int noteOp(Context context, String s, int i, String s1)\n {\n return AppOpsManagerCompat23.noteOp(context, s, i, s1);\n }",
"public boolean b()\r\n/* 709: */ {\r\n/* 710:702 */ return this.l;\r\n/* 711: */ }",
"public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}",
"public abstract void mo35054b();",
"private LevelConstants() {\n\t\t\n\t}",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public void mo21877s() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo23813b() {\n }",
"public void mo12628c() {\n }",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"public interface C3963a {\n /* renamed from: Ly */\n int mo23521Ly();\n }",
"public abstract void m15813a();",
"public void mo44053a() {\n }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"public String func_176882_c() {\n/* */ return this.field_176891_j;\n/* */ }",
"public void mo55254a() {\n }",
"public void mo6944a() {\n }",
"private static String lllIIllIl(short IIIlIIlllllIIll, String IIIIlIlllllIIll) {\n }",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public void mo3749d() {\n }",
"public abstract void mo56925d();",
"public abstract Object mo1771a();",
"public abstract C13619e mo34787a();",
"public void mo21878t() {\n }",
"public void mo115188a() {\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract void mo6549b();",
"public int getThirdL() {\n/* 72 */ return this.thirdL;\n/* */ }",
"public void mo1403c() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"void mo57277b();",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"private void m50367F() {\n }",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"public void mo21782G() {\n }"
]
| [
"0.6483085",
"0.6393656",
"0.6326625",
"0.62885547",
"0.6194582",
"0.61409354",
"0.6139327",
"0.61112976",
"0.6098754",
"0.6093515",
"0.60677177",
"0.60569817",
"0.6011893",
"0.5991155",
"0.59731525",
"0.59589404",
"0.5954667",
"0.5937041",
"0.59346026",
"0.592614",
"0.5919382",
"0.5914245",
"0.58935094",
"0.58785397",
"0.58723444",
"0.58635753",
"0.58625925",
"0.5860162",
"0.58524173",
"0.5836802",
"0.5835004",
"0.5833491",
"0.5832977",
"0.5830835",
"0.5820339",
"0.5811305",
"0.5804177",
"0.57967496",
"0.5787575",
"0.5786926",
"0.5782596",
"0.57785726",
"0.57751113",
"0.5765977",
"0.57613736",
"0.5754609",
"0.5746645",
"0.5746388",
"0.57434934",
"0.5739266",
"0.5731881",
"0.57292014",
"0.5728905",
"0.5725347",
"0.5721356",
"0.57183254",
"0.5717098",
"0.5712349",
"0.5704566",
"0.5702102",
"0.56901133",
"0.56863296",
"0.56812173",
"0.56797487",
"0.5679454",
"0.56788164",
"0.56788164",
"0.56788164",
"0.56788164",
"0.56788164",
"0.56788164",
"0.56788164",
"0.5676378",
"0.5674865",
"0.5673714",
"0.5668051",
"0.56643945",
"0.5658768",
"0.5654814",
"0.56490666",
"0.56384814",
"0.56380874",
"0.56379783",
"0.5635668",
"0.5631317",
"0.56270534",
"0.5626024",
"0.56250864",
"0.5624683",
"0.5623023",
"0.56223893",
"0.56180197",
"0.5617947",
"0.5616959",
"0.5614286",
"0.5614059",
"0.5609255",
"0.5608352",
"0.5607345",
"0.5596315",
"0.5594637"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: m | public int mo12201m() {
return this.f10961p.f10998f;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void m50366E() {\n }",
"public abstract Member mo23408O();",
"public void m23075a() {\n }",
"void m1864a() {\r\n }",
"public void mo1403c() {\n }",
"public abstract void m15813a();",
"public abstract C14408a mo11607a();",
"public void mo115190b() {\n }",
"public void int1_m() {\n\t\t\n\t}",
"public void mo21788M() {\n }",
"private void m50367F() {\n }",
"public void mo21779D() {\n }",
"public final void mo51373a() {\n }",
"public void mo1531a() {\n }",
"public abstract String mo118046b();",
"public void mo12930a() {\n }",
"public void mo23813b() {\n }",
"public abstract void mo70713b();",
"public void mo38117a() {\n }",
"public abstract Object mo26777y();",
"public void mo21825b() {\n }",
"public abstract void mo27385c();",
"public void mo21787L() {\n }",
"public abstract void mo42329d();",
"public final void mo91715d() {\n }",
"public void mo97908d() {\n }",
"public void mo12628c() {\n }",
"public abstract void mo27386d();",
"public abstract Object mo1185b();",
"public abstract Object mo1771a();",
"public abstract C7036b mo24411d();",
"void mo1506m();",
"public void mo4359a() {\n }",
"public void mo21782G() {\n }",
"public void method_4270() {}",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo56167c() {\n }",
"public abstract C0270jy mo5354b();",
"public abstract C13619e mo34787a();",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract void mo6549b();",
"public void mo21781F() {\n }",
"public abstract C7034m mo24416a();",
"public abstract void mo27464a();",
"public void int2_m() {\n\t\t\n\t}",
"public void mo3749d() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public abstract void mo42331g();",
"public void mo55254a() {\n }",
"public void mo115188a() {\n }",
"public void mo1405e() {\n }",
"public abstract String mo13682d();",
"public void mo9137b() {\n }",
"public void mo21879u() {\n }",
"public abstract void mo56925d();",
"public abstract String mo41079d();",
"public abstract int mo41077c();",
"public void mo97906c() {\n }",
"public abstract C0707b mo9237au();",
"public abstract void mo30696a();",
"public void mo21877s() {\n }",
"protected float m()\r\n/* 234: */ {\r\n/* 235:247 */ return 0.03F;\r\n/* 236: */ }",
"public void mo2740a() {\n }",
"public abstract C mo29734a();",
"public void mo21793R() {\n }",
"public void mo44053a() {\n }",
"public void mo21791P() {\n }",
"public abstract void mo35054b();",
"public abstract int mo9747l();",
"public abstract String mo11611b();",
"public void mo9848a() {\n }",
"public void mo21785J() {\n }",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"abstract C0451h mo1607e();",
"public final void m2() {\n\r\n }",
"public void mo6944a() {\n }",
"public abstract long mo9229aD();",
"public void mo21794S() {\n }",
"public void mo3376r() {\n }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void mo21878t() {\n }",
"public void mo21780E() {\n }",
"public abstract long mo24409b();",
"public void mo6081a() {\n }",
"void mo17023d();",
"public void mo21789N() {\n }",
"public abstract int mo123248g();",
"public void mo5248a() {\n }",
"C1529a mo17019b();",
"protected void mo6255a() {\n }",
"public void mo2471e() {\n }",
"public final void mo1285b() {\n }",
"public final void mo92082N() {\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public void mo23438b() {\n }"
]
| [
"0.70523757",
"0.70231116",
"0.7015866",
"0.67861897",
"0.6644429",
"0.6598591",
"0.6585717",
"0.65627",
"0.6553961",
"0.65498596",
"0.6546086",
"0.6544004",
"0.65353054",
"0.6497288",
"0.6494906",
"0.6493197",
"0.64744925",
"0.6458049",
"0.64361125",
"0.6429337",
"0.6424951",
"0.64209074",
"0.6407536",
"0.6400058",
"0.63997567",
"0.63867337",
"0.63831866",
"0.6378442",
"0.637008",
"0.63661313",
"0.635838",
"0.63513476",
"0.63403726",
"0.63336694",
"0.6328119",
"0.63228893",
"0.63206077",
"0.63172966",
"0.6316996",
"0.62977934",
"0.62966204",
"0.6295814",
"0.62893",
"0.6284175",
"0.6283378",
"0.6283373",
"0.62829447",
"0.62829447",
"0.62829447",
"0.62829447",
"0.62829447",
"0.62829447",
"0.62829447",
"0.6281668",
"0.62768555",
"0.6276755",
"0.6276731",
"0.62749827",
"0.627081",
"0.6267761",
"0.6263945",
"0.62620926",
"0.626066",
"0.6256783",
"0.62552714",
"0.62505287",
"0.6242984",
"0.6238248",
"0.6236439",
"0.6236013",
"0.6235913",
"0.6233957",
"0.6227198",
"0.6226918",
"0.6217854",
"0.62098235",
"0.6205292",
"0.6199112",
"0.61975795",
"0.6184115",
"0.61773545",
"0.6173072",
"0.6172233",
"0.61720985",
"0.61706054",
"0.61702",
"0.6164957",
"0.61645544",
"0.61618197",
"0.61602825",
"0.6153405",
"0.6150578",
"0.61376005",
"0.6135865",
"0.61342484",
"0.61244273",
"0.6115072",
"0.6112463",
"0.6107746",
"0.6105649",
"0.6105287"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: n | public void mo12202n() {
this.f10959n = -1;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract Member mo23408O();",
"public int n_()\r\n/* 429: */ {\r\n/* 430:442 */ return this.a.length + 4;\r\n/* 431: */ }",
"public abstract int mo9749n();",
"public no(np paramnp)\r\n/* 13: */ {\r\n/* 14:30 */ this.b = paramnp;\r\n/* 15: */ }",
"public abstract Integer mo36212o();",
"public final void mo92082N() {\n }",
"public void mo21789N() {\n }",
"public abstract C14407a mo11604a(int i);",
"public abstract long mo9229aD();",
"public int n(){\n return n;\n }",
"public interface C7446a {\n /* renamed from: rn */\n void mo32046rn(int i);\n }",
"@Override\n public void func_104112_b() {\n \n }",
"public int arn() {\n return 383;\n }",
"NullSt (int ln) { super (ln); }",
"public void O000000o() {\r\n super.O000000o();\r\n this.O0000o0 = false;\r\n }",
"public interface C0999b {\n }",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public abstract int mo12574RN(int i);",
"public abstract void mo9809b(int i);",
"public abstract C14407a mo11608b(int i);",
"public abstract int mo12581RU(int i);",
"public final void mo91715d() {\n }",
"private void m50366E() {\n }",
"public void mo21879u() {\n }",
"public abstract long mo24410c();",
"public void m23075a() {\n }",
"public abstract int finalN();",
"public abstract String mo118046b();",
"public abstract C14408a mo11607a();",
"public abstract C14407a mo11609c(int i);",
"public void mo12930a() {\n }",
"public int method_113() {\r\n return 0;\r\n }",
"public void mo1531a() {\n }",
"public void n() {\n this.f80658c.a(new f() {\n public void a(Object obj, boolean z) {\n p unused = m.this.f80658c = (p) obj;\n }\n }, \"__ag_of\");\n }",
"public abstract long mo20901UQ();",
"void mo17022c(int i);",
"public abstract long mo24409b();",
"public void O0000O0o() {\r\n this.O00000oo = this.O00000oO;\r\n }",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"public void mo21779D() {\n }",
"public abstract String mo11611b();",
"interface C11601a {\n /* renamed from: tY */\n void mo23327tY(int i);\n }",
"public final void mo51373a() {\n }",
"public abstract void mo70713b();",
"void mo1507n();",
"public abstract int mo9754s();",
"public abstract void mo20899UO();",
"private void SetZN16 ( int Work )\n\t{\n\t\t_Zero = Work != 0 ? 1 : 0;\n\t\t_Negative = ( Work >>> 8 );\n\t}",
"public abstract int mo9747l();",
"public int method_209() {\r\n return 0;\r\n }",
"public abstract int mo13680b();",
"public abstract int preN();",
"public abstract long mo13681c();",
"public abstract void mo9814c(int i);",
"public abstract void mo42329d();",
"public abstract int mo123248g();",
"public abstract int mo12582RV(int i);",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"public void mo5332a(int i) {\n }",
"public int getNotaFinal()\r\n {\n return 4;\r\n }",
"public int getNotaFinal()\r\n {\n return 4;\r\n }",
"public abstract String mo41079d();",
"public void mo115190b() {\n }",
"public void mo1403c() {\n }",
"public int mo12720a() {\n return 0;\n }",
"public void O0000OOo() {\r\n this.O00000oO = this.O00000oo;\r\n }",
"public abstract Integer mo36210m();",
"public void mo21800a() {\n }",
"public abstract long mo24412e();",
"public abstract int mo12572RL(int i);",
"public abstract int mo123246e();",
"public final void mo92083O() {\n }",
"C02(int i){\n\t\t\n\t}",
"public abstract int mo4307b(int i);",
"public boolean setCurrentAccessibleValue(Number n) {\n return false;\n }",
"public abstract String mo10149a();",
"public abstract String mo9239aw();",
"public abstract Object mo26777y();",
"public int mo1265e() {\n throw new UnsupportedOperationException(getClass().getSimpleName());\n }",
"private Zeroes() {\n // This space intentionally left blank.\n }",
"public abstract String mo13682d();",
"public abstract void mo56925d();",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void int1_m() {\n\t\t\n\t}",
"public void mo12628c() {\n }",
"public void mo21825b() {\n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"public void mo21782G() {\n }",
"public void mo21877s() {\n }",
"public interface O000000o {\r\n boolean O000000o(O000OO o000oo);\r\n\r\n boolean O00000Oo(O000OO o000oo);\r\n\r\n void O00000o0(O000OO o000oo);\r\n }",
"public abstract C13619e mo34787a();",
"public void int2_m() {\n\t\t\n\t}",
"private FinalIntegerNode() { }",
"public abstract String mo9091a();"
]
| [
"0.6532817",
"0.62874234",
"0.62531215",
"0.6123211",
"0.61206895",
"0.61162806",
"0.60837114",
"0.60468394",
"0.60379195",
"0.60313135",
"0.60164446",
"0.6015612",
"0.5978336",
"0.59760755",
"0.5955372",
"0.5948308",
"0.592539",
"0.59253484",
"0.59211355",
"0.5902308",
"0.58995515",
"0.58875895",
"0.5872658",
"0.58703",
"0.58657515",
"0.586099",
"0.58550054",
"0.5845464",
"0.5844371",
"0.5842379",
"0.5833262",
"0.582444",
"0.5796959",
"0.5794515",
"0.57931584",
"0.5793004",
"0.5785996",
"0.57707524",
"0.57699317",
"0.5766573",
"0.5762565",
"0.57567286",
"0.5753459",
"0.5752535",
"0.5752179",
"0.57503617",
"0.574945",
"0.57467824",
"0.57457215",
"0.5742984",
"0.5740439",
"0.5739256",
"0.5734557",
"0.57298005",
"0.5728268",
"0.57277817",
"0.5727257",
"0.5727083",
"0.57193357",
"0.57188994",
"0.57188994",
"0.57186544",
"0.57161415",
"0.5711728",
"0.570942",
"0.57077646",
"0.5705816",
"0.5699735",
"0.5691253",
"0.56899124",
"0.56850827",
"0.5683513",
"0.5682695",
"0.5675739",
"0.56729823",
"0.5671216",
"0.566601",
"0.565754",
"0.565646",
"0.5655829",
"0.5651168",
"0.5650919",
"0.56407076",
"0.56407076",
"0.56407076",
"0.56407076",
"0.56407076",
"0.56407076",
"0.56407076",
"0.56345755",
"0.5631776",
"0.56286716",
"0.5628659",
"0.56280047",
"0.56276184",
"0.56233346",
"0.56223905",
"0.56141156",
"0.56125844",
"0.5611792"
]
| 0.58308744 | 31 |
/ access modifiers changed from: 0000 / renamed from: o | public void mo12203o() {
this.f10960o = 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract Member mo23408O();",
"@Override\n public void func_104112_b() {\n \n }",
"public abstract Object mo26777y();",
"public abstract Object mo1771a();",
"public final void mo51373a() {\n }",
"public abstract Object mo1185b();",
"public void mo115190b() {\n }",
"public void mo38117a() {\n }",
"public void m23075a() {\n }",
"public abstract void mo70713b();",
"public abstract String mo118046b();",
"public void mo21779D() {\n }",
"public final void mo91715d() {\n }",
"private void m50366E() {\n }",
"private stendhal() {\n\t}",
"public void mo1403c() {\n }",
"public abstract void mo20899UO();",
"public void mo1531a() {\n }",
"public void O000000o() {\r\n super.O000000o();\r\n this.O0000o0 = false;\r\n }",
"public void mo12930a() {\n }",
"@Override\n protected void prot() {\n }",
"public void mo21825b() {\n }",
"private Rekenhulp()\n\t{\n\t}",
"public void method_4270() {}",
"public void mo97908d() {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public abstract C14408a mo11607a();",
"public abstract void mo27385c();",
"public void mo21879u() {\n }",
"public final void mo92083O() {\n }",
"public abstract void mo27386d();",
"public abstract String mo41079d();",
"public abstract void mo56925d();",
"public void mo21782G() {\n }",
"public interface O000000o {\r\n boolean O000000o(O000OO o000oo);\r\n\r\n boolean O00000Oo(O000OO o000oo);\r\n\r\n void O00000o0(O000OO o000oo);\r\n }",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"public void mo115188a() {\n }",
"public abstract void mo42329d();",
"public void mo5382o() {\n }",
"public abstract void mo30696a();",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"void m1864a() {\r\n }",
"public void mo21787L() {\n }",
"public void mo23813b() {\n }",
"public void mo4359a() {\n }",
"public abstract C7036b mo24411d();",
"public abstract void mo27464a();",
"public abstract void mo6549b();",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public void mo21781F() {\n }",
"public void mo55254a() {\n }",
"protected boolean func_70041_e_() { return false; }",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"public void mo1972o() throws cf {\r\n }",
"public void mo44053a() {\n }",
"public void mo2740a() {\n }",
"public void mo12628c() {\n }",
"public abstract void mo35054b();",
"public abstract String mo11611b();",
"public void mo21800a() {\n }",
"public abstract String mo13682d();",
"public void mo21878t() {\n }",
"public void mo97906c() {\n }",
"public abstract C13619e mo34787a();",
"public void mo21791P() {\n }",
"public void m20445OooO00o() {\n OooO0OO();\n }",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public void mo56167c() {\n }",
"public void mo9848a() {\n }",
"@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:02:04.534 -0500\", hash_original_method = \"E4DEB0C107DDB25A537EF0E89F1C04F8\", hash_generated_method = \"2E76AFD8C90588F5139C0C2D28CAEA05\")\n \nprivate static int translateCodingErrorAction(CodingErrorAction action) {\n if (action == CodingErrorAction.REPORT) {\n return 0;\n } else if (action == CodingErrorAction.IGNORE) {\n return 1;\n } else if (action == CodingErrorAction.REPLACE) {\n return 2;\n } else {\n throw new AssertionError(); // Someone changed the enum.\n }\n }",
"public abstract void mo1184a(Object obj);",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public void mo6944a() {\n }",
"public abstract void mo42331g();",
"public void mo21793R() {\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo21877s() {\n }",
"public void O0000O0o() {\r\n this.O00000oo = this.O00000oO;\r\n }",
"public void mo3749d() {\n }",
"public void mo21780E() {\n }",
"public void O0000OOo() {\r\n this.O00000oO = this.O00000oo;\r\n }",
"public void o_() {}",
"public void mo21785J() {\n }",
"public void mo9137b() {\n }",
"public void mo1405e() {\n }",
"public abstract void m15813a();",
"public abstract C mo29734a();",
"void mo57277b();",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public void mo21794S() {\n }",
"public abstract void mo102899a();"
]
| [
"0.65970093",
"0.6509954",
"0.64822996",
"0.6463521",
"0.64441806",
"0.6405146",
"0.63440657",
"0.6330305",
"0.631841",
"0.63151366",
"0.6313176",
"0.6309111",
"0.62968516",
"0.62814933",
"0.6278006",
"0.6265417",
"0.62522006",
"0.6241222",
"0.62299794",
"0.6212826",
"0.62126744",
"0.619962",
"0.6199047",
"0.6193201",
"0.6193083",
"0.6173443",
"0.6159634",
"0.61502105",
"0.61478746",
"0.614399",
"0.61388946",
"0.61359984",
"0.61167914",
"0.61101097",
"0.6102395",
"0.6098296",
"0.609692",
"0.6095984",
"0.60949135",
"0.6087077",
"0.6075508",
"0.6074504",
"0.60717195",
"0.6068917",
"0.60668504",
"0.6049838",
"0.60457027",
"0.60440964",
"0.6044052",
"0.60415846",
"0.60415846",
"0.60415846",
"0.60415846",
"0.60415846",
"0.60415846",
"0.60415846",
"0.6039123",
"0.6038418",
"0.6035209",
"0.6033024",
"0.6030504",
"0.6023335",
"0.602317",
"0.6021211",
"0.6014029",
"0.6010014",
"0.6009991",
"0.600864",
"0.60049975",
"0.5997666",
"0.59929407",
"0.5991785",
"0.5991401",
"0.5989335",
"0.5983063",
"0.5982537",
"0.5982125",
"0.597895",
"0.5976346",
"0.59760267",
"0.597551",
"0.5975341",
"0.5973732",
"0.5970745",
"0.5960769",
"0.59547067",
"0.59502083",
"0.59500194",
"0.5946424",
"0.5944469",
"0.59441674",
"0.59419787",
"0.59411234",
"0.59400916",
"0.5936834",
"0.5935747",
"0.5928678",
"0.59259546",
"0.5924477",
"0.5918592",
"0.5906035"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: b | public void mo12189b() {
this.f10961p = null;
byte[] bArr = this.f10957l;
if (bArr != null) {
this.f10962q.mo12206a(bArr);
}
int[] iArr = this.f10958m;
if (iArr != null) {
this.f10962q.mo12207a(iArr);
}
Bitmap bitmap = this.f10963r;
if (bitmap != null) {
this.f10962q.mo12205a(bitmap);
}
this.f10963r = null;
this.f10948c = null;
this.f10969x = false;
byte[] bArr2 = this.f10949d;
if (bArr2 != null) {
this.f10962q.mo12206a(bArr2);
}
byte[] bArr3 = this.f10950e;
if (bArr3 != null) {
this.f10962q.mo12206a(bArr3);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }",
"public void mo115190b() {\n }",
"public abstract void mo70713b();",
"public abstract void mo70702a(C30989b c30989b);",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public abstract C0631bt mo9227aB();",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public abstract Object mo1185b();",
"@Override\n public void b() {\n }",
"public void mo21825b() {\n }",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public abstract void mo6549b();",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public final void mo1285b() {\n }",
"void mo2508a(bxb bxb);",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }",
"public final /* bridge */ /* synthetic */ void mo43569b() {\n super.mo43569b();\n }",
"public /* bridge */ /* synthetic */ void mo55095b() {\n super.mo55095b();\n }",
"@Override\n\tpublic void b() {\n\n\t}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"@Override\n\tpublic void bbb() {\n\t\t\n\t}",
"public abstract void mo35054b();",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public void mo23813b() {\n }",
"public void mo9137b() {\n }",
"public abstract String mo118046b();",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"public interface C0938b {\n }",
"@Override\n\tpublic void b2() {\n\t\t\n\t}",
"public final void mo51373a() {\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void m23075a() {\n }",
"public abstract void mo4360a(byte b);",
"public abstract C0270jy mo5354b();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"@Override\n\tpublic void b1() {\n\t\t\n\t}",
"public interface C0764b {\n}",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public abstract void mo9246b(C0707b bVar);",
"public interface C0999b {\n }",
"public abstract String mo11611b();",
"public void mo5251b() {\n }",
"public abstract void mo9244b(C0620bi biVar);",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public abstract void mo9798a(byte b);",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public abstract void mo45765b();",
"public abstract long mo24409b();",
"public abstract int mo4375b();",
"public final void mo8775b() {\n }",
"public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }",
"void m1864a() {\r\n }",
"public void b() {\r\n }",
"public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }",
"public abstract int mo13680b();",
"void mo57277b();",
"public void mo23438b() {\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public /* bridge */ /* synthetic */ void mo55096c() {\n super.mo55096c();\n }",
"void mo72113b();",
"void mo41086b();",
"public abstract void mo27464a();",
"public abstract void m15813a();",
"public void mo38117a() {\n }",
"public abstract Object mo26777y();",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public abstract void mo27385c();",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public abstract Object mo1771a();",
"public abstract void mo9809b(int i);",
"public abstract void mo42329d();",
"void mo80455b();",
"public final void mo91715d() {\n }",
"public abstract boolean mo66253b();",
"public void mo12930a() {\n }",
"public interface C11922a {\n void bvR();\n }",
"public interface C1372b {\n}",
"public abstract void mo56925d();",
"public void b() {\n }",
"public void b() {\n }",
"public void mo5097b() {\n }",
"public interface C9223b {\n }",
"public abstract Member mo23408O();",
"public abstract void mo27386d();",
"public void mo23981a(C4321b bVar) {\n }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public abstract C14407a mo11608b(int i);",
"public void mo97908d() {\n }",
"public void method_4270() {}",
"private final zzgy zzgb() {\n }",
"public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}",
"private C6310a m35240b() {\n return new C6310a() {\n public final void handleMsg(Message message) {\n }\n };\n }",
"void mo119582b();",
"private void m50366E() {\n }"
]
| [
"0.73150253",
"0.6803183",
"0.6711984",
"0.67039484",
"0.6664791",
"0.66183937",
"0.661637",
"0.6599995",
"0.65211433",
"0.6492437",
"0.6486207",
"0.64416975",
"0.6440887",
"0.6415721",
"0.6403434",
"0.6399589",
"0.63873744",
"0.63787085",
"0.6378415",
"0.636806",
"0.6364854",
"0.6364436",
"0.6356576",
"0.6345281",
"0.6343248",
"0.63237053",
"0.6311475",
"0.6296589",
"0.629512",
"0.6292277",
"0.6267538",
"0.6267538",
"0.6261199",
"0.62600446",
"0.62453765",
"0.62351876",
"0.62340695",
"0.6231777",
"0.62255996",
"0.6223294",
"0.62011516",
"0.6199606",
"0.6192038",
"0.61878467",
"0.6173588",
"0.61724067",
"0.61680835",
"0.61642355",
"0.61571985",
"0.6156882",
"0.61495125",
"0.6136649",
"0.61365426",
"0.6136385",
"0.6135731",
"0.61272883",
"0.6111571",
"0.6106213",
"0.6105409",
"0.6104023",
"0.6091434",
"0.6086722",
"0.6084301",
"0.6081556",
"0.60757416",
"0.6068394",
"0.6062715",
"0.60570896",
"0.60564625",
"0.6038994",
"0.6035545",
"0.60291946",
"0.6028633",
"0.60279554",
"0.60249037",
"0.60165864",
"0.6002496",
"0.60008407",
"0.59938025",
"0.5991064",
"0.599011",
"0.5984267",
"0.598034",
"0.59788924",
"0.59651035",
"0.59628224",
"0.59628224",
"0.596276",
"0.5961888",
"0.5958517",
"0.5955469",
"0.59510005",
"0.59482664",
"0.59479547",
"0.5946888",
"0.5939137",
"0.59361756",
"0.59354514",
"0.5933485",
"0.5932897",
"0.5930964"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public int mo12182a(int i) {
if (i >= 0) {
C3075c1 c1Var = this.f10961p;
if (i < c1Var.f10995c) {
return ((C3072b1) c1Var.f10997e.get(i)).f10978i;
}
}
return -1;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract Object mo1771a();",
"public abstract void mo27464a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public abstract void mo70713b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public void mo4359a() {\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"public interface C0069a {\n void a();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"private void m50366E() {\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"void mo41083a();",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"public abstract C13619e mo34787a();",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0938b {\n }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.6714286",
"0.65658224",
"0.65416825",
"0.6513276",
"0.6468388",
"0.6468152",
"0.64618325",
"0.6459187",
"0.64499724",
"0.6441312",
"0.6433308",
"0.6425642",
"0.6421592",
"0.63852054",
"0.63751984",
"0.63556576",
"0.63321835",
"0.6319933",
"0.6313815",
"0.6313002",
"0.6308493",
"0.6306455",
"0.6303664",
"0.62978435",
"0.62825334",
"0.62751985",
"0.6244193",
"0.6243503",
"0.6240298",
"0.6235606",
"0.6235587",
"0.62273985",
"0.62260926",
"0.6222339",
"0.62186456",
"0.6217281",
"0.6214253",
"0.6211625",
"0.6211198",
"0.6211139",
"0.62108463",
"0.62081206",
"0.6207834",
"0.6199443",
"0.6183986",
"0.61816597",
"0.6169678",
"0.61514693",
"0.61462563",
"0.61458576",
"0.6144327",
"0.61421365",
"0.61400664",
"0.61360246",
"0.61351156",
"0.6126212",
"0.6126003",
"0.6119434",
"0.610845",
"0.6108444",
"0.6103581",
"0.6102206",
"0.6097209",
"0.6096251",
"0.6076945",
"0.607603",
"0.60693467",
"0.6063535",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6051907",
"0.6046083",
"0.6045836",
"0.6040054",
"0.60339534",
"0.60331196",
"0.6031278",
"0.60312057",
"0.6020413",
"0.60194945",
"0.601135",
"0.60080457",
"0.6005846",
"0.60042244",
"0.59952796",
"0.59949064",
"0.59943825",
"0.5988284",
"0.59802014",
"0.59799516",
"0.59749985",
"0.59736526",
"0.5971758",
"0.5967794",
"0.59620297",
"0.59590495"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public int mo12183a(InputStream inputStream, int i) {
if (inputStream != null) {
try {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(i > 0 ? i + 4096 : 16384);
byte[] bArr = new byte[16384];
while (true) {
int read = inputStream.read(bArr, 0, bArr.length);
if (read == -1) {
break;
}
byteArrayOutputStream.write(bArr, 0, read);
}
byteArrayOutputStream.flush();
mo12184a(byteArrayOutputStream.toByteArray());
} catch (IOException e) {
C3111h1.m14932d(f10944y, "Error reading data from stream", e);
}
} else {
this.f10965t = 2;
}
if (inputStream != null) {
try {
inputStream.close();
} catch (IOException e2) {
C3111h1.m14932d(f10944y, "Error closing stream", e2);
}
}
return this.f10965t;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract void mo27464a();",
"public abstract Object mo1771a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public abstract void mo70713b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"public void mo4359a() {\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0069a {\n void a();\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"private void m50366E() {\n }",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"void mo41083a();",
"public abstract C13619e mo34787a();",
"public interface C0938b {\n }",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.67132944",
"0.65655446",
"0.65399784",
"0.65144646",
"0.6469384",
"0.6468396",
"0.6461784",
"0.6458328",
"0.6449518",
"0.644272",
"0.64330333",
"0.64257383",
"0.6421159",
"0.63868374",
"0.6376262",
"0.63560826",
"0.63305223",
"0.6318987",
"0.6315042",
"0.63145274",
"0.63077116",
"0.63067263",
"0.6304548",
"0.6299418",
"0.6280767",
"0.6274021",
"0.6243324",
"0.62429124",
"0.62419426",
"0.62346107",
"0.62341267",
"0.6226493",
"0.6225325",
"0.6223883",
"0.62185305",
"0.6216954",
"0.62127966",
"0.62125254",
"0.6212185",
"0.6210115",
"0.62100035",
"0.6207968",
"0.62067795",
"0.6200102",
"0.61823887",
"0.6180715",
"0.61694044",
"0.6153568",
"0.6146887",
"0.6145536",
"0.6144862",
"0.61429864",
"0.6140886",
"0.61342835",
"0.61341095",
"0.6126859",
"0.6125086",
"0.6121262",
"0.6107715",
"0.6107343",
"0.61044693",
"0.6101102",
"0.60982627",
"0.6095957",
"0.6075254",
"0.6075057",
"0.60680056",
"0.6064952",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6053097",
"0.6046362",
"0.6044621",
"0.6041315",
"0.60353297",
"0.6032702",
"0.60325325",
"0.6031965",
"0.6021524",
"0.6019112",
"0.60104847",
"0.600948",
"0.6004752",
"0.6002943",
"0.5995255",
"0.59944403",
"0.59937435",
"0.59895104",
"0.59808123",
"0.5979005",
"0.5973948",
"0.5971074",
"0.5970807",
"0.59673184",
"0.59604394",
"0.5960251"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public synchronized void mo12187a(C3075c1 c1Var, byte[] bArr) {
mo12185a(c1Var, ByteBuffer.wrap(bArr));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract void mo27464a();",
"public abstract Object mo1771a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public abstract void mo70713b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"public void mo4359a() {\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0069a {\n void a();\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"private void m50366E() {\n }",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"void mo41083a();",
"public abstract C13619e mo34787a();",
"public interface C0938b {\n }",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.67132944",
"0.65655446",
"0.65399784",
"0.65144646",
"0.6469384",
"0.6468396",
"0.6461784",
"0.6458328",
"0.6449518",
"0.644272",
"0.64330333",
"0.64257383",
"0.6421159",
"0.63868374",
"0.6376262",
"0.63560826",
"0.63305223",
"0.6318987",
"0.6315042",
"0.63145274",
"0.63077116",
"0.63067263",
"0.6304548",
"0.6299418",
"0.6280767",
"0.6274021",
"0.6243324",
"0.62429124",
"0.62419426",
"0.62346107",
"0.62341267",
"0.6226493",
"0.6225325",
"0.6223883",
"0.62185305",
"0.6216954",
"0.62127966",
"0.62125254",
"0.6212185",
"0.6210115",
"0.62100035",
"0.6207968",
"0.62067795",
"0.6200102",
"0.61823887",
"0.6180715",
"0.61694044",
"0.6153568",
"0.6146887",
"0.6145536",
"0.6144862",
"0.61429864",
"0.6140886",
"0.61342835",
"0.61341095",
"0.6126859",
"0.6125086",
"0.6121262",
"0.6107715",
"0.6107343",
"0.61044693",
"0.6101102",
"0.60982627",
"0.6095957",
"0.6075254",
"0.6075057",
"0.60680056",
"0.6064952",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6053097",
"0.6046362",
"0.6044621",
"0.6041315",
"0.60353297",
"0.6032702",
"0.60325325",
"0.6031965",
"0.6021524",
"0.6019112",
"0.60104847",
"0.600948",
"0.6004752",
"0.6002943",
"0.5995255",
"0.59944403",
"0.59937435",
"0.59895104",
"0.59808123",
"0.5979005",
"0.5973948",
"0.5971074",
"0.5970807",
"0.59673184",
"0.59604394",
"0.5960251"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public synchronized void mo12185a(C3075c1 c1Var, ByteBuffer byteBuffer) {
mo12186a(c1Var, byteBuffer, 1);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract void mo27464a();",
"public abstract Object mo1771a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public abstract void mo70713b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"public void mo4359a() {\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0069a {\n void a();\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"private void m50366E() {\n }",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"void mo41083a();",
"public abstract C13619e mo34787a();",
"public interface C0938b {\n }",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.67132944",
"0.65655446",
"0.65399784",
"0.65144646",
"0.6469384",
"0.6468396",
"0.6461784",
"0.6458328",
"0.6449518",
"0.644272",
"0.64330333",
"0.64257383",
"0.6421159",
"0.63868374",
"0.6376262",
"0.63560826",
"0.63305223",
"0.6318987",
"0.6315042",
"0.63145274",
"0.63077116",
"0.63067263",
"0.6304548",
"0.6299418",
"0.6280767",
"0.6274021",
"0.6243324",
"0.62429124",
"0.62419426",
"0.62346107",
"0.62341267",
"0.6226493",
"0.6225325",
"0.6223883",
"0.62185305",
"0.6216954",
"0.62127966",
"0.62125254",
"0.6212185",
"0.6210115",
"0.62100035",
"0.6207968",
"0.62067795",
"0.6200102",
"0.61823887",
"0.6180715",
"0.61694044",
"0.6153568",
"0.6146887",
"0.6145536",
"0.6144862",
"0.61429864",
"0.6140886",
"0.61342835",
"0.61341095",
"0.6126859",
"0.6125086",
"0.6121262",
"0.6107715",
"0.6107343",
"0.61044693",
"0.6101102",
"0.60982627",
"0.6095957",
"0.6075254",
"0.6075057",
"0.60680056",
"0.6064952",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6053097",
"0.6046362",
"0.6044621",
"0.6041315",
"0.60353297",
"0.6032702",
"0.60325325",
"0.6031965",
"0.6021524",
"0.6019112",
"0.60104847",
"0.600948",
"0.6004752",
"0.6002943",
"0.5995255",
"0.59944403",
"0.59937435",
"0.59895104",
"0.59808123",
"0.5979005",
"0.5973948",
"0.5971074",
"0.5970807",
"0.59673184",
"0.59604394",
"0.5960251"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public synchronized void mo12186a(C3075c1 c1Var, ByteBuffer byteBuffer, int i) {
if (i > 0) {
int highestOneBit = Integer.highestOneBit(i);
this.f10965t = 0;
this.f10961p = c1Var;
this.f10969x = false;
this.f10959n = -1;
mo12203o();
this.f10948c = byteBuffer.asReadOnlyBuffer();
this.f10948c.position(0);
this.f10948c.order(ByteOrder.LITTLE_ENDIAN);
this.f10964s = false;
Iterator it = c1Var.f10997e.iterator();
while (true) {
if (it.hasNext()) {
if (((C3072b1) it.next()).f10976g == 3) {
this.f10964s = true;
break;
}
} else {
break;
}
}
this.f10966u = highestOneBit;
this.f10968w = c1Var.f10998f / highestOneBit;
this.f10967v = c1Var.f10999g / highestOneBit;
this.f10957l = this.f10962q.mo12209b(c1Var.f10998f * c1Var.f10999g);
this.f10958m = this.f10962q.mo12208a(this.f10968w * this.f10967v);
} else {
StringBuilder sb = new StringBuilder();
sb.append("Sample size must be >=0, not: ");
sb.append(i);
throw new IllegalArgumentException(sb.toString());
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract Object mo1771a();",
"public abstract void mo27464a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public abstract void mo70713b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public void mo4359a() {\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"public interface C0069a {\n void a();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"private void m50366E() {\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"void mo41083a();",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"public abstract C13619e mo34787a();",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0938b {\n }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.6714286",
"0.65658224",
"0.65416825",
"0.6513276",
"0.6468388",
"0.6468152",
"0.64618325",
"0.6459187",
"0.64499724",
"0.6441312",
"0.6433308",
"0.6425642",
"0.6421592",
"0.63852054",
"0.63751984",
"0.63556576",
"0.63321835",
"0.6319933",
"0.6313815",
"0.6313002",
"0.6308493",
"0.6306455",
"0.6303664",
"0.62978435",
"0.62825334",
"0.62751985",
"0.6244193",
"0.6243503",
"0.6240298",
"0.6235606",
"0.6235587",
"0.62273985",
"0.62260926",
"0.6222339",
"0.62186456",
"0.6217281",
"0.6214253",
"0.6211625",
"0.6211198",
"0.6211139",
"0.62108463",
"0.62081206",
"0.6207834",
"0.6199443",
"0.6183986",
"0.61816597",
"0.6169678",
"0.61514693",
"0.61462563",
"0.61458576",
"0.6144327",
"0.61421365",
"0.61400664",
"0.61360246",
"0.61351156",
"0.6126212",
"0.6126003",
"0.6119434",
"0.610845",
"0.6108444",
"0.6103581",
"0.6102206",
"0.6097209",
"0.6096251",
"0.6076945",
"0.607603",
"0.60693467",
"0.6063535",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6059362",
"0.6051907",
"0.6046083",
"0.6045836",
"0.6040054",
"0.60339534",
"0.60331196",
"0.6031278",
"0.60312057",
"0.6020413",
"0.60194945",
"0.601135",
"0.60080457",
"0.6005846",
"0.60042244",
"0.59952796",
"0.59949064",
"0.59943825",
"0.5988284",
"0.59802014",
"0.59799516",
"0.59749985",
"0.59736526",
"0.5971758",
"0.5967794",
"0.59620297",
"0.59590495"
]
| 0.0 | -1 |
/ access modifiers changed from: 0000 / renamed from: a | public synchronized int mo12184a(byte[] bArr) {
this.f10961p = m14717p().mo12234a(bArr).mo12237c();
if (bArr != null) {
mo12187a(this.f10961p, bArr);
}
return this.f10965t;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void func_104112_b() {\n \n }",
"public void m23075a() {\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"public /* bridge */ /* synthetic */ void mo55094a() {\n super.mo55094a();\n }",
"public final void mo51373a() {\n }",
"public void mo38117a() {\n }",
"public abstract void mo53562a(C18796a c18796a);",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"void m1864a() {\r\n }",
"public final /* bridge */ /* synthetic */ void mo43566a() {\n super.mo43566a();\n }",
"public void mo12930a() {\n }",
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C3660a {\n /* renamed from: a */\n void mo9777a();\n }",
"public void mo1531a() {\n }",
"public int a()\r\n/* 64: */ {\r\n/* 65:70 */ return this.a;\r\n/* 66: */ }",
"public abstract void m15813a();",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public void mo9848a() {\n }",
"public void mo2740a() {\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public abstract void mo27464a();",
"public abstract Object mo1771a();",
"public void mo115188a() {\n }",
"public void mo44053a() {\n }",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"public abstract void mo70702a(C30989b c30989b);",
"public void mo115190b() {\n }",
"public abstract String mo118046b();",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public abstract void mo70713b();",
"public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface AbstractC33066a {\n /* renamed from: a */\n long mo133613a();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public abstract C14408a mo11607a();",
"public abstract Member mo23408O();",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"public void mo4359a() {\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"@Override\n\tpublic void aaa() {\n\t\t\n\t}",
"public void mo21800a() {\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C0069a {\n void a();\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public void mo21825b() {\n }",
"public abstract void mo3994a();",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public void mo6944a() {\n }",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public void mo23813b() {\n }",
"public abstract Object mo26777y();",
"public abstract void mo30696a();",
"public abstract void mo102899a();",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"@Override\r\n\tpublic void smthAbstr() {\n\t\t\r\n\t}",
"public void mo97908d() {\n }",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C0025k {\n /* renamed from: a */\n long mo49a();\n}",
"private void m50366E() {\n }",
"public final void mo91715d() {\n }",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"public interface AbstractC5208b {\n\n /* renamed from: com.iflytek.voiceads.a.b$a */\n public static final class C5209a implements AbstractC5208b {\n\n /* renamed from: a */\n private final byte[] f22887a;\n\n /* renamed from: b */\n private int f22888b;\n\n C5209a(byte[] bArr) {\n this.f22887a = bArr;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public void mo38565a(int i) {\n this.f22888b = i;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: a */\n public byte[] mo38566a() {\n return this.f22887a;\n }\n\n @Override // com.iflytek.voiceads.p619a.AbstractC5208b\n /* renamed from: b */\n public int mo38567b() {\n return this.f22888b;\n }\n }\n\n /* renamed from: a */\n void mo38565a(int i);\n\n /* renamed from: a */\n byte[] mo38566a();\n\n /* renamed from: b */\n int mo38567b();\n}",
"public void mo55254a() {\n }",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public void mo5248a() {\n }",
"public abstract Object mo1185b();",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C0777a {\n }",
"public abstract void mo27385c();",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"@Override // g.i.a.a\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void a(android.view.View r18, android.content.Context r19, android.database.Cursor r20) {\n /*\n // Method dump skipped, instructions count: 441\n */\n throw new UnsupportedOperationException(\"Method not decompiled: g.b.g.t0.a(android.view.View, android.content.Context, android.database.Cursor):void\");\n }",
"void mo41083a();",
"public abstract C13619e mo34787a();",
"public interface C0938b {\n }",
"public String i() {\n/* 44 */ return this.a.toString();\n/* */ }",
"public interface C0020b {\n void a(String str);\n }",
"public abstract C mo29734a();",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }"
]
| [
"0.67132944",
"0.65655446",
"0.65399784",
"0.65144646",
"0.6469384",
"0.6468396",
"0.6461784",
"0.6458328",
"0.6449518",
"0.644272",
"0.64330333",
"0.64257383",
"0.6421159",
"0.63868374",
"0.6376262",
"0.63560826",
"0.63305223",
"0.6318987",
"0.6315042",
"0.63145274",
"0.63077116",
"0.63067263",
"0.6304548",
"0.6299418",
"0.6280767",
"0.6274021",
"0.6243324",
"0.62429124",
"0.62419426",
"0.62346107",
"0.62341267",
"0.6226493",
"0.6225325",
"0.6223883",
"0.62185305",
"0.6216954",
"0.62127966",
"0.62125254",
"0.6212185",
"0.6210115",
"0.62100035",
"0.6207968",
"0.62067795",
"0.6200102",
"0.61823887",
"0.6180715",
"0.61694044",
"0.6153568",
"0.6146887",
"0.6145536",
"0.6144862",
"0.61429864",
"0.6140886",
"0.61342835",
"0.61341095",
"0.6126859",
"0.6125086",
"0.6121262",
"0.6107715",
"0.6107343",
"0.61044693",
"0.6101102",
"0.60982627",
"0.6095957",
"0.6075254",
"0.6075057",
"0.60680056",
"0.6064952",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6058694",
"0.6053097",
"0.6046362",
"0.6044621",
"0.6041315",
"0.60353297",
"0.6032702",
"0.60325325",
"0.6031965",
"0.6021524",
"0.6019112",
"0.60104847",
"0.600948",
"0.6004752",
"0.6002943",
"0.5995255",
"0.59944403",
"0.59937435",
"0.59895104",
"0.59808123",
"0.5979005",
"0.5973948",
"0.5971074",
"0.5970807",
"0.59673184",
"0.59604394",
"0.5960251"
]
| 0.0 | -1 |
/ JADX WARNING: Code restructure failed: missing block: B:13:0x0029, code lost: if (r3.f11002j == r1.f10977h) goto L_0x0032; / renamed from: a / Code decompiled incorrectly, please refer to instructions dump. | private android.graphics.Bitmap m14713a(com.clevertap.android.sdk.C3072b1 r18, com.clevertap.android.sdk.C3072b1 r19) {
/*
r17 = this;
r0 = r17
r1 = r18
r2 = r19
int[] r10 = r0.f10958m
r11 = 0
if (r2 != 0) goto L_0x000e
java.util.Arrays.fill(r10, r11)
L_0x000e:
r12 = 3
r13 = 2
r14 = 1
if (r2 == 0) goto L_0x005e
int r3 = r2.f10976g
if (r3 <= 0) goto L_0x005e
if (r3 != r13) goto L_0x0037
boolean r3 = r1.f10975f
if (r3 != 0) goto L_0x002c
com.clevertap.android.sdk.c1 r3 = r0.f10961p
int r4 = r3.f11004l
int[] r5 = r1.f10980k
if (r5 == 0) goto L_0x0033
int r3 = r3.f11002j
int r5 = r1.f10977h
if (r3 != r5) goto L_0x0033
goto L_0x0032
L_0x002c:
int r3 = r0.f10959n
if (r3 != 0) goto L_0x0032
r0.f10969x = r14
L_0x0032:
r4 = 0
L_0x0033:
r0.m14716a(r10, r2, r4)
goto L_0x005e
L_0x0037:
if (r3 != r12) goto L_0x005e
android.graphics.Bitmap r3 = r0.f10963r
if (r3 != 0) goto L_0x0041
r0.m14716a(r10, r2, r11)
goto L_0x005e
L_0x0041:
int r4 = r2.f10973d
int r5 = r0.f10966u
int r9 = r4 / r5
int r4 = r2.f10971b
int r7 = r4 / r5
int r4 = r2.f10972c
int r8 = r4 / r5
int r2 = r2.f10970a
int r6 = r2 / r5
int r5 = r0.f10968w
int r2 = r7 * r5
int r4 = r2 + r6
r2 = r3
r3 = r10
r2.getPixels(r3, r4, r5, r6, r7, r8, r9)
L_0x005e:
r17.m14715a(r18)
int r2 = r1.f10973d
int r3 = r0.f10966u
int r2 = r2 / r3
int r4 = r1.f10971b
int r4 = r4 / r3
int r5 = r1.f10972c
int r5 = r5 / r3
int r6 = r1.f10970a
int r6 = r6 / r3
r3 = 8
int r7 = r0.f10959n
if (r7 != 0) goto L_0x0077
r7 = 1
goto L_0x0078
L_0x0077:
r7 = 0
L_0x0078:
r3 = 0
r8 = 1
r9 = 8
L_0x007c:
if (r11 >= r2) goto L_0x0100
boolean r15 = r1.f10974e
if (r15 == 0) goto L_0x0098
r15 = 4
if (r3 < r2) goto L_0x0095
int r8 = r8 + 1
if (r8 == r13) goto L_0x0094
if (r8 == r12) goto L_0x0091
if (r8 == r15) goto L_0x008e
goto L_0x0095
L_0x008e:
r3 = 1
r9 = 2
goto L_0x0095
L_0x0091:
r3 = 2
r9 = 4
goto L_0x0095
L_0x0094:
r3 = 4
L_0x0095:
int r15 = r3 + r9
goto L_0x009a
L_0x0098:
r15 = r3
r3 = r11
L_0x009a:
int r3 = r3 + r4
int r12 = r0.f10967v
if (r3 >= r12) goto L_0x00f0
int r12 = r0.f10968w
int r3 = r3 * r12
int r16 = r3 + r6
int r13 = r16 + r5
int r14 = r3 + r12
if (r14 >= r13) goto L_0x00ad
int r13 = r3 + r12
L_0x00ad:
int r3 = r0.f10966u
int r12 = r11 * r3
int r14 = r1.f10972c
int r12 = r12 * r14
int r14 = r13 - r16
int r14 = r14 * r3
int r14 = r14 + r12
r3 = r16
L_0x00bc:
if (r3 >= r13) goto L_0x00f0
r19 = r2
int r2 = r0.f10966u
r16 = r4
r4 = 1
if (r2 != r4) goto L_0x00d2
byte[] r2 = r0.f10957l
byte r2 = r2[r12]
r2 = r2 & 255(0xff, float:3.57E-43)
int[] r4 = r0.f10946a
r2 = r4[r2]
goto L_0x00d8
L_0x00d2:
int r2 = r1.f10972c
int r2 = r0.m14712a(r12, r14, r2)
L_0x00d8:
if (r2 == 0) goto L_0x00dd
r10[r3] = r2
goto L_0x00e6
L_0x00dd:
boolean r2 = r0.f10969x
if (r2 != 0) goto L_0x00e6
if (r7 == 0) goto L_0x00e6
r2 = 1
r0.f10969x = r2
L_0x00e6:
int r2 = r0.f10966u
int r12 = r12 + r2
int r3 = r3 + 1
r2 = r19
r4 = r16
goto L_0x00bc
L_0x00f0:
r19 = r2
r16 = r4
int r11 = r11 + 1
r2 = r19
r3 = r15
r4 = r16
r12 = 3
r13 = 2
r14 = 1
goto L_0x007c
L_0x0100:
boolean r2 = r0.f10964s
if (r2 == 0) goto L_0x0123
int r1 = r1.f10976g
if (r1 == 0) goto L_0x010b
r2 = 1
if (r1 != r2) goto L_0x0123
L_0x010b:
android.graphics.Bitmap r1 = r0.f10963r
if (r1 != 0) goto L_0x0115
android.graphics.Bitmap r1 = r17.m14718q()
r0.f10963r = r1
L_0x0115:
android.graphics.Bitmap r1 = r0.f10963r
r3 = 0
int r7 = r0.f10968w
r5 = 0
r6 = 0
int r8 = r0.f10967v
r2 = r10
r4 = r7
r1.setPixels(r2, r3, r4, r5, r6, r7, r8)
L_0x0123:
android.graphics.Bitmap r9 = r17.m14718q()
r3 = 0
int r7 = r0.f10968w
r5 = 0
r6 = 0
int r8 = r0.f10967v
r1 = r9
r2 = r10
r4 = r7
r1.setPixels(r2, r3, r4, r5, r6, r7, r8)
return r9
*/
throw new UnsupportedOperationException("Method not decompiled: com.clevertap.android.sdk.C3068a1.m14713a(com.clevertap.android.sdk.b1, com.clevertap.android.sdk.b1):android.graphics.Bitmap");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void a() {\n block8 : {\n block9 : {\n var1_1 = this.f();\n var2_2 = false;\n if (var1_1) break block8;\n this.j.c();\n var6_3 = this.k;\n var7_4 = this.b;\n var8_5 = (l)var6_3;\n var9_6 = var8_5.a(var7_4);\n if (var9_6 != null) break block9;\n this.a(false);\n var2_2 = true;\n ** GOTO lbl30\n }\n if (var9_6 != n.b) ** GOTO lbl26\n this.a(this.g);\n var11_7 = this.k;\n var12_8 = this.b;\n var13_9 = (l)var11_7;\n try {\n block10 : {\n var2_2 = var13_9.a(var12_8).d();\n break block10;\nlbl26: // 1 sources:\n var10_10 = var9_6.d();\n var2_2 = false;\n if (!var10_10) {\n this.b();\n }\n }\n this.j.g();\n }\n finally {\n this.j.d();\n }\n }\n if ((var3_12 = this.c) == null) return;\n if (var2_2) {\n var4_13 = var3_12.iterator();\n while (var4_13.hasNext()) {\n ((d)var4_13.next()).a(this.b);\n }\n }\n e.a(this.h, this.j, this.c);\n }\n\n /*\n * Exception decompiling\n */\n public final void a(ListenableWorker.a var1_1) {\n // This method has failed to decompile. When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.\n // org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [4[TRYBLOCK]], but top level block is 10[WHILELOOP]\n // org.benf.cfr.reader.b.a.a.j.a(Op04StructuredStatement.java:432)\n // org.benf.cfr.reader.b.a.a.j.d(Op04StructuredStatement.java:484)\n // org.benf.cfr.reader.b.a.a.i.a(Op03SimpleStatement.java:607)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:692)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:182)\n // org.benf.cfr.reader.b.f.a(CodeAnalyser.java:127)\n // org.benf.cfr.reader.entities.attributes.f.c(AttributeCode.java:96)\n // org.benf.cfr.reader.entities.g.p(Method.java:396)\n // org.benf.cfr.reader.entities.d.e(ClassFile.java:890)\n // org.benf.cfr.reader.entities.d.b(ClassFile.java:792)\n // org.benf.cfr.reader.b.a(Driver.java:128)\n // org.benf.cfr.reader.a.a(CfrDriverImpl.java:63)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.decompileWithCFR(JavaExtractionWorker.kt:61)\n // com.njlabs.showjava.decompilers.JavaExtractionWorker.doWork(JavaExtractionWorker.kt:130)\n // com.njlabs.showjava.decompilers.BaseDecompiler.withAttempt(BaseDecompiler.kt:108)\n // com.njlabs.showjava.workers.DecompilerWorker$b.run(DecompilerWorker.kt:118)\n // java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)\n // java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)\n // java.lang.Thread.run(Thread.java:919)\n throw new IllegalStateException(\"Decompilation failed\");\n }\n\n public final void a(String string) {\n LinkedList linkedList = new LinkedList();\n linkedList.add((Object)string);\n while (!linkedList.isEmpty()) {\n String string2 = (String)linkedList.remove();\n if (((l)this.k).a(string2) != n.f) {\n k k2 = this.k;\n n n2 = n.d;\n String[] arrstring = new String[]{string2};\n ((l)k2).a(n2, arrstring);\n }\n linkedList.addAll((Collection)((a.i.r.p.c)this.l).a(string2));\n }\n }\n\n /*\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n */\n public final void a(boolean bl) {\n this.j.c();\n k k2 = this.j.k();\n l l2 = (l)k2;\n List list = l2.a();\n ArrayList arrayList = (ArrayList)list;\n boolean bl2 = arrayList.isEmpty();\n if (bl2) {\n f.a(this.a, RescheduleReceiver.class, false);\n }\n this.j.g();\n this.p.c((Object)bl);\n return;\n finally {\n this.j.d();\n }\n }\n\n public final void b() {\n this.j.c();\n k k2 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l2 = (l)k2;\n l2.a(n2, arrstring);\n k k3 = this.k;\n String string = this.b;\n long l3 = System.currentTimeMillis();\n l l4 = (l)k3;\n l4.b(string, l3);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n try {\n l5.a(string2, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(true);\n }\n }\n\n public final void c() {\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n long l2 = System.currentTimeMillis();\n l l3 = (l)k2;\n l3.b(string, l2);\n k k3 = this.k;\n n n2 = n.a;\n String[] arrstring = new String[]{this.b};\n l l4 = (l)k3;\n l4.a(n2, arrstring);\n k k4 = this.k;\n String string2 = this.b;\n l l5 = (l)k4;\n l5.f(string2);\n k k5 = this.k;\n String string3 = this.b;\n l l6 = (l)k5;\n try {\n l6.a(string3, -1L);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final void d() {\n k k2 = this.k;\n String string = this.b;\n n n2 = ((l)k2).a(string);\n if (n2 == n.b) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[]{this.b};\n h2.a(string2, String.format((String)\"Status for %s is RUNNING;not doing any work and rescheduling for later execution\", (Object[])arrobject), new Throwable[0]);\n this.a(true);\n return;\n }\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[]{this.b, n2};\n h4.a(string3, String.format((String)\"Status for %s is %s; not doing any work\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n }\n\n public void e() {\n this.j.c();\n this.a(this.b);\n a.i.e e2 = ((ListenableWorker.a.a)this.g).a;\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n try {\n l2.a(string, e2);\n this.j.g();\n return;\n }\n finally {\n this.j.d();\n this.a(false);\n }\n }\n\n public final boolean f() {\n if (this.r) {\n h h2 = h.a();\n String string = s;\n Object[] arrobject = new Object[]{this.o};\n h2.a(string, String.format((String)\"Work interrupted for %s\", (Object[])arrobject), new Throwable[0]);\n k k2 = this.k;\n String string2 = this.b;\n n n2 = ((l)k2).a(string2);\n if (n2 == null) {\n this.a(false);\n return true;\n }\n this.a(true ^ n2.d());\n return true;\n }\n return false;\n }\n\n /*\n * Loose catch block\n * Enabled aggressive block sorting\n * Enabled unnecessary exception pruning\n * Enabled aggressive exception aggregation\n * Lifted jumps to return sites\n */\n public void run() {\n int n2;\n block42 : {\n block41 : {\n i i2;\n Cursor cursor;\n block48 : {\n block46 : {\n ListenableWorker listenableWorker;\n block47 : {\n a.i.e e2;\n block44 : {\n g g2;\n block45 : {\n block40 : {\n boolean bl;\n Iterator iterator;\n j j2;\n StringBuilder stringBuilder;\n block43 : {\n a.i.r.p.n n3 = this.m;\n String string = this.b;\n o o2 = (o)n3;\n if (o2 == null) throw null;\n n2 = 1;\n i i3 = i.a((String)\"SELECT DISTINCT tag FROM worktag WHERE work_spec_id=?\", (int)n2);\n if (string == null) {\n i3.bindNull(n2);\n } else {\n i3.bindString(n2, string);\n }\n o2.a.b();\n Cursor cursor2 = a.f.l.a.a(o2.a, (a.g.a.e)i3, false);\n ArrayList arrayList = new ArrayList(cursor2.getCount());\n while (cursor2.moveToNext()) {\n arrayList.add((Object)cursor2.getString(0));\n }\n this.n = arrayList;\n stringBuilder = new StringBuilder(\"Work [ id=\");\n stringBuilder.append(this.b);\n stringBuilder.append(\", tags={ \");\n iterator = arrayList.iterator();\n bl = true;\n break block43;\n finally {\n cursor2.close();\n i3.b();\n }\n }\n while (iterator.hasNext()) {\n String string = (String)iterator.next();\n if (bl) {\n bl = false;\n } else {\n stringBuilder.append(\", \");\n }\n stringBuilder.append(string);\n }\n stringBuilder.append(\" } ]\");\n this.o = stringBuilder.toString();\n if (this.f()) {\n return;\n }\n this.j.c();\n k k2 = this.k;\n String string = this.b;\n l l2 = (l)k2;\n this.e = j2 = l2.d(string);\n if (j2 == null) {\n h h2 = h.a();\n String string2 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.b;\n h2.b(string2, String.format((String)\"Didn't find WorkSpec for id %s\", (Object[])arrobject), new Throwable[0]);\n this.a(false);\n return;\n }\n if (j2.b != n.a) {\n this.d();\n this.j.g();\n h h4 = h.a();\n String string3 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h4.a(string3, String.format((String)\"%s is not in ENQUEUED state. Nothing more to do.\", (Object[])arrobject), new Throwable[0]);\n return;\n }\n if (j2.d() || this.e.c()) {\n long l3 = System.currentTimeMillis();\n boolean bl2 = this.e.n == 0L;\n if (!bl2 && l3 < this.e.a()) {\n h h5 = h.a();\n String string4 = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h5.a(string4, String.format((String)\"Delaying execution for %s because it is being executed before schedule.\", (Object[])arrobject), new Throwable[0]);\n this.a((boolean)n2);\n return;\n }\n }\n this.j.g();\n if (!this.e.d()) break block40;\n e2 = this.e.e;\n break block44;\n }\n g2 = g.a(this.e.d);\n if (g2 != null) break block45;\n h h6 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.d;\n h6.b(string, String.format((String)\"Could not create Input Merger %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n ArrayList arrayList = new ArrayList();\n arrayList.add((Object)this.e.e);\n k k3 = this.k;\n String string = this.b;\n l l4 = (l)k3;\n if (l4 == null) throw null;\n i2 = i.a((String)\"SELECT output FROM workspec WHERE id IN (SELECT prerequisite_id FROM dependency WHERE work_spec_id=?)\", (int)n2);\n if (string == null) {\n i2.bindNull(n2);\n } else {\n i2.bindString(n2, string);\n }\n l4.a.b();\n cursor = a.f.l.a.a(l4.a, (a.g.a.e)i2, false);\n ArrayList arrayList2 = new ArrayList(cursor.getCount());\n while (cursor.moveToNext()) {\n arrayList2.add((Object)a.i.e.b(cursor.getBlob(0)));\n }\n arrayList.addAll((Collection)arrayList2);\n e2 = g2.a((List<a.i.e>)arrayList);\n }\n a.i.e e3 = e2;\n UUID uUID = UUID.fromString((String)this.b);\n List<String> list = this.n;\n WorkerParameters.a a2 = this.d;\n int n5 = this.e.k;\n a.i.b b2 = this.h;\n WorkerParameters workerParameters = new WorkerParameters(uUID, e3, list, a2, n5, b2.a, this.i, b2.c);\n if (this.f == null) {\n this.f = this.h.c.a(this.a, this.e.c, workerParameters);\n }\n if ((listenableWorker = this.f) != null) break block47;\n h h7 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h7.b(string, String.format((String)\"Could not create Worker %s\", (Object[])arrobject), new Throwable[0]);\n break block46;\n }\n if (!listenableWorker.isUsed()) break block48;\n h h8 = h.a();\n String string = s;\n Object[] arrobject = new Object[n2];\n arrobject[0] = this.e.c;\n h8.b(string, String.format((String)\"Received an already-used Worker %s; WorkerFactory should return new instances\", (Object[])arrobject), new Throwable[0]);\n }\n this.e();\n return;\n }\n this.f.setUsed();\n this.j.c();\n k k4 = this.k;\n String string = this.b;\n l l5 = (l)k4;\n if (l5.a(string) != n.a) break block41;\n k k5 = this.k;\n n n7 = n.b;\n String[] arrstring = new String[n2];\n arrstring[0] = this.b;\n l l6 = (l)k5;\n l6.a(n7, arrstring);\n k k6 = this.k;\n String string5 = this.b;\n l l7 = (l)k6;\n try {\n l7.e(string5);\n break block42;\n }\n finally {\n cursor.close();\n i2.b();\n }\n catch (Throwable throwable) {\n throw throwable;\n }\n finally {\n this.j.d();\n }\n }\n n2 = 0;\n }\n this.j.g();\n if (n2 != 0) {\n if (this.f()) {\n return;\n }\n c c2 = new c();\n ((a.i.r.q.m.b)this.i).c.execute((Runnable)new a.i.r.k(this, c2));\n c2.a((Runnable)new a.i.r.l(this, c2, this.o), ((a.i.r.q.m.b)this.i).a);\n return;\n }\n this.d();\n return;\n finally {\n this.j.d();\n }\n }\n\n public static class a {\n public Context a;\n public ListenableWorker b;\n public a.i.r.q.m.a c;\n public a.i.b d;\n public WorkDatabase e;\n public String f;\n public List<d> g;\n public WorkerParameters.a h = new WorkerParameters.a();\n\n public a(Context context, a.i.b b2, a.i.r.q.m.a a2, WorkDatabase workDatabase, String string) {\n this.a = context.getApplicationContext();\n this.c = a2;\n this.d = b2;\n this.e = workDatabase;\n this.f = string;\n }\n }\n\n}",
"void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n var10_9 = var9_8.a();\n if (var14_6) break block6;\n if (!var10_9.e() || var1_1.i((y.c.d)var10_9).bendCount() > 1) ** GOTO lbl-1000\n var11_10 = var1_1.i((y.c.d)var10_9);\n var12_11 = var11_10.getSourceRealizer();\n if (var1_1.i((y.c.d)var10_9).bendCount() == 0) {\n var11_10.appendBend(var11_10.getSourcePort().a(var12_11), var11_10.getSourcePort().b(var12_11) - 20.0 - var12_11.getHeight());\n }\n this.a(var1_1, var4_4, var6_5, (y.c.d)var10_9, true, false, false, var10_9.c());\n if (var14_6) lbl-1000: // 2 sources:\n {\n var8_7.a(var10_9, true);\n var8_7.a((Object)var3_3.get(var10_9), true);\n }\n var9_8.g();\n if (!var14_6) continue;\n }\n var1_1.a(as.a, var8_7);\n }\n var9_8 = new as();\n var9_8.a(5.0);\n var9_8.b(false);\n var9_8.a(true);\n try {\n var10_9 = new bI(1);\n var10_9.a(false);\n var10_9.b(true);\n var10_9.d().a(true);\n var10_9.a(var1_1, (ah)var9_8);\n return;\n }\n finally {\n var1_1.d_(as.a);\n }\n }",
"public void mo2485a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = r2.f11863a;\n monitor-enter(r0);\n r1 = r2.f11873l;\t Catch:{ all -> 0x002a }\n if (r1 != 0) goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x0007:\n r1 = r2.f11872k;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x000c;\t Catch:{ all -> 0x002a }\n L_0x000b:\n goto L_0x0028;\t Catch:{ all -> 0x002a }\n L_0x000c:\n r1 = r2.f11875n;\t Catch:{ all -> 0x002a }\n if (r1 == 0) goto L_0x0015;\n L_0x0010:\n r1 = r2.f11875n;\t Catch:{ RemoteException -> 0x0015 }\n r1.cancel();\t Catch:{ RemoteException -> 0x0015 }\n L_0x0015:\n r1 = r2.f11870i;\t Catch:{ all -> 0x002a }\n m14216b(r1);\t Catch:{ all -> 0x002a }\n r1 = 1;\t Catch:{ all -> 0x002a }\n r2.f11873l = r1;\t Catch:{ all -> 0x002a }\n r1 = com.google.android.gms.common.api.Status.zzfnm;\t Catch:{ all -> 0x002a }\n r1 = r2.mo3568a(r1);\t Catch:{ all -> 0x002a }\n r2.m14217c(r1);\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x0028:\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n return;\t Catch:{ all -> 0x002a }\n L_0x002a:\n r1 = move-exception;\t Catch:{ all -> 0x002a }\n monitor-exit(r0);\t Catch:{ all -> 0x002a }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.common.api.internal.BasePendingResult.a():void\");\n }",
"private void m14210a(java.io.IOException r4, java.io.IOException r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r3 = this;\n r0 = f12370a;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = f12370a;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = 1;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1 = new java.lang.Object[r1];\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r2 = 0;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r1[r2] = r5;\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n r0.invoke(r4, r1);\t Catch:{ InvocationTargetException -> 0x000f, InvocationTargetException -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.internal.connection.RouteException.a(java.io.IOException, java.io.IOException):void\");\n }",
"private boolean m2248a(java.lang.String r3, com.onesignal.La.C0596a r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/318857719.run(Unknown Source)\n*/\n /*\n r2 = this;\n r0 = 0;\n r1 = 1;\n java.lang.Float.parseFloat(r3);\t Catch:{ Throwable -> 0x0007 }\n r3 = 1;\n goto L_0x0008;\n L_0x0007:\n r3 = 0;\n L_0x0008:\n if (r3 != 0) goto L_0x0017;\n L_0x000a:\n r3 = com.onesignal.sa.C0650i.ERROR;\n r1 = \"Missing Google Project number!\\nPlease enter a Google Project number / Sender ID on under App Settings > Android > Configuration on the OneSignal dashboard.\";\n com.onesignal.sa.m1656a(r3, r1);\n r3 = 0;\n r1 = -6;\n r4.mo1392a(r3, r1);\n return r0;\n L_0x0017:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.onesignal.Pa.a(java.lang.String, com.onesignal.La$a):boolean\");\n }",
"public final synchronized void mo5320b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r1 = 0;\t Catch:{ all -> 0x004c }\n r2 = 0;\t Catch:{ all -> 0x004c }\n if (r0 == 0) goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0007:\n r0 = r6.f24851a;\t Catch:{ all -> 0x004c }\n if (r0 != 0) goto L_0x0013;\t Catch:{ all -> 0x004c }\n L_0x000b:\n r0 = r6.f24854d;\t Catch:{ all -> 0x004c }\n r3 = r6.f24853c;\t Catch:{ all -> 0x004c }\n r0.deleteFile(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\t Catch:{ all -> 0x004c }\n L_0x0013:\n r0 = com.google.android.m4b.maps.cg.bx.m23058b();\t Catch:{ all -> 0x004c }\n r3 = r6.f24854d;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24853c;\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r3 = r3.openFileOutput(r4, r1);\t Catch:{ IOException -> 0x0032, all -> 0x002f }\n r4 = r6.f24851a;\t Catch:{ IOException -> 0x0033 }\n r4 = r4.m20837d();\t Catch:{ IOException -> 0x0033 }\n r3.write(r4);\t Catch:{ IOException -> 0x0033 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n L_0x002b:\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n goto L_0x0046;\n L_0x002f:\n r1 = move-exception;\n r3 = r2;\n goto L_0x003f;\n L_0x0032:\n r3 = r2;\n L_0x0033:\n r4 = r6.f24854d;\t Catch:{ all -> 0x003e }\n r5 = r6.f24853c;\t Catch:{ all -> 0x003e }\n r4.deleteFile(r5);\t Catch:{ all -> 0x003e }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n goto L_0x002b;\t Catch:{ all -> 0x004c }\n L_0x003e:\n r1 = move-exception;\t Catch:{ all -> 0x004c }\n L_0x003f:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x004c }\n com.google.android.m4b.maps.ap.C4655c.m20770a(r3);\t Catch:{ all -> 0x004c }\n throw r1;\t Catch:{ all -> 0x004c }\n L_0x0046:\n r6.f24851a = r2;\t Catch:{ all -> 0x004c }\n r6.f24852b = r1;\t Catch:{ all -> 0x004c }\n monitor-exit(r6);\n return;\n L_0x004c:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.b():void\");\n }",
"public long mo915b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = -1;\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n if (r2 == 0) goto L_0x000d;\t Catch:{ NumberFormatException -> 0x000e }\n L_0x0006:\n r2 = r4.f18088d;\t Catch:{ NumberFormatException -> 0x000e }\n r2 = java.lang.Long.parseLong(r2);\t Catch:{ NumberFormatException -> 0x000e }\n r0 = r2;\n L_0x000d:\n return r0;\n L_0x000e:\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.b.b():long\");\n }",
"static void m13383b() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = com.foursquare.internal.data.db.C1916a.getDatabase();\t Catch:{ Exception -> 0x000a }\n r1 = \"battery_watcher\";\t Catch:{ Exception -> 0x000a }\n r2 = 0;\t Catch:{ Exception -> 0x000a }\n r0.delete(r1, r2, r2);\t Catch:{ Exception -> 0x000a }\n L_0x000a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.e.b():void\");\n }",
"protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private p000a.p001a.p002a.p003a.C0916s m1655b(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/293907205.run(Unknown Source)\n*/\n /*\n r6 = this;\n r0 = r7.m321a();\n r7 = r7.m322b();\n r1 = 0;\n r2 = r1;\n L_0x000a:\n r3 = r6.f1533u;\n r3 = r3 + 1;\n r6.f1533u = r3;\n r0.m2803e();\n r3 = r0.mo2010a();\n if (r3 != 0) goto L_0x0032;\n L_0x0019:\n r7 = r6.f1513a;\n r8 = \"Cannot retry non-repeatable request\";\n r7.m260a(r8);\n if (r2 == 0) goto L_0x002a;\n L_0x0022:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity. The cause lists the reason the original request failed.\";\n r7.<init>(r8, r2);\n throw r7;\n L_0x002a:\n r7 = new a.a.a.a.b.m;\n r8 = \"Cannot retry request with a non-repeatable request entity.\";\n r7.<init>(r8);\n throw r7;\n L_0x0032:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.mo1932c();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x003a:\n r2 = r7.mo15e();\t Catch:{ IOException -> 0x0086 }\n if (r2 != 0) goto L_0x004f;\t Catch:{ IOException -> 0x0086 }\n L_0x0040:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Reopening the direct connection.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x0086 }\n r2.mo2023a(r7, r8, r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0057;\t Catch:{ IOException -> 0x0086 }\n L_0x004f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = \"Proxied connection. Need to start over.\";\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n goto L_0x0085;\t Catch:{ IOException -> 0x0086 }\n L_0x0057:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m262a();\t Catch:{ IOException -> 0x0086 }\n if (r2 == 0) goto L_0x007c;\t Catch:{ IOException -> 0x0086 }\n L_0x005f:\n r2 = r6.f1513a;\t Catch:{ IOException -> 0x0086 }\n r3 = new java.lang.StringBuilder;\t Catch:{ IOException -> 0x0086 }\n r3.<init>();\t Catch:{ IOException -> 0x0086 }\n r4 = \"Attempt \";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = r6.f1533u;\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r4 = \" to execute request\";\t Catch:{ IOException -> 0x0086 }\n r3.append(r4);\t Catch:{ IOException -> 0x0086 }\n r3 = r3.toString();\t Catch:{ IOException -> 0x0086 }\n r2.m260a(r3);\t Catch:{ IOException -> 0x0086 }\n L_0x007c:\n r2 = r6.f1518f;\t Catch:{ IOException -> 0x0086 }\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0086 }\n r2 = r2.m464a(r0, r3, r8);\t Catch:{ IOException -> 0x0086 }\n r1 = r2;\n L_0x0085:\n return r1;\n L_0x0086:\n r2 = move-exception;\n r3 = r6.f1513a;\n r4 = \"Closing the connection.\";\n r3.m260a(r4);\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0093 }\n r3.close();\t Catch:{ IOException -> 0x0093 }\n L_0x0093:\n r3 = r6.f1520h;\n r4 = r0.m2802d();\n r3 = r3.retryRequest(r2, r4, r8);\n if (r3 == 0) goto L_0x010a;\n L_0x009f:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x00d9;\n L_0x00a7:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"I/O exception (\";\n r4.append(r5);\n r5 = r2.getClass();\n r5 = r5.getName();\n r4.append(r5);\n r5 = \") caught when processing request to \";\n r4.append(r5);\n r4.append(r7);\n r5 = \": \";\n r4.append(r5);\n r5 = r2.getMessage();\n r4.append(r5);\n r4 = r4.toString();\n r3.m269d(r4);\n L_0x00d9:\n r3 = r6.f1513a;\n r3 = r3.m262a();\n if (r3 == 0) goto L_0x00ea;\n L_0x00e1:\n r3 = r6.f1513a;\n r4 = r2.getMessage();\n r3.m261a(r4, r2);\n L_0x00ea:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x000a;\n L_0x00f2:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"Retrying request to \";\n r4.append(r5);\n r4.append(r7);\n r4 = r4.toString();\n r3.m269d(r4);\n goto L_0x000a;\n L_0x010a:\n r8 = r2 instanceof p000a.p001a.p002a.p003a.C0176z;\n if (r8 == 0) goto L_0x0134;\n L_0x010e:\n r8 = new a.a.a.a.z;\n r0 = new java.lang.StringBuilder;\n r0.<init>();\n r7 = r7.mo10a();\n r7 = r7.m474e();\n r0.append(r7);\n r7 = \" failed to respond\";\n r0.append(r7);\n r7 = r0.toString();\n r8.<init>(r7);\n r7 = r2.getStackTrace();\n r8.setStackTrace(r7);\n throw r8;\n L_0x0134:\n throw r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.b.p.b(a.a.a.a.i.b.x, a.a.a.a.n.e):a.a.a.a.s\");\n }",
"public void mo3613a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:14)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = r4.f18081b;\n monitor-enter(r0);\n r1 = r4.f18080a;\t Catch:{ all -> 0x001f }\n if (r1 == 0) goto L_0x0009;\t Catch:{ all -> 0x001f }\n L_0x0007:\n monitor-exit(r0);\t Catch:{ all -> 0x001f }\n return;\t Catch:{ all -> 0x001f }\n L_0x0009:\n r1 = 1;\t Catch:{ all -> 0x001f }\n r4.f18080a = r1;\t Catch:{ all -> 0x001f }\n r2 = r4.f18081b;\t Catch:{ all -> 0x001f }\n r3 = r2.f12200d;\t Catch:{ all -> 0x001f }\n r3 = r3 + r1;\t Catch:{ all -> 0x001f }\n r2.f12200d = r3;\t Catch:{ all -> 0x001f }\n monitor-exit(r0);\t Catch:{ all -> 0x001f }\n r0 = r4.f18083d;\n okhttp3.internal.C2933c.m14194a(r0);\n r0 = r4.f18082c;\t Catch:{ IOException -> 0x001e }\n r0.m14100c();\t Catch:{ IOException -> 0x001e }\n L_0x001e:\n return;\n L_0x001f:\n r1 = move-exception;\n monitor-exit(r0);\t Catch:{ all -> 0x001f }\n throw r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.a.a():void\");\n }",
"private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }",
"protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private synchronized void m29549c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r6 = this;\n monitor-enter(r6);\n r0 = r6.f24853c;\t Catch:{ all -> 0x0050 }\n if (r0 == 0) goto L_0x004b;\t Catch:{ all -> 0x0050 }\n L_0x0005:\n r0 = com.google.android.m4b.maps.cg.bx.m23056a();\t Catch:{ all -> 0x0050 }\n r1 = 0;\n r2 = r6.f24854d;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r3 = r6.f24853c;\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n r2 = r2.openFileInput(r3);\t Catch:{ IOException -> 0x0035, all -> 0x0030 }\n if (r2 == 0) goto L_0x0027;\n L_0x0014:\n r3 = new com.google.android.m4b.maps.ar.a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.de.af.f19891a;\t Catch:{ IOException -> 0x0036 }\n r3.<init>(r4);\t Catch:{ IOException -> 0x0036 }\n r6.f24851a = r3;\t Catch:{ IOException -> 0x0036 }\n r3 = r6.f24851a;\t Catch:{ IOException -> 0x0036 }\n r4 = com.google.android.m4b.maps.ap.C4655c.m20771a(r2);\t Catch:{ IOException -> 0x0036 }\n r3.m20819a(r4);\t Catch:{ IOException -> 0x0036 }\n goto L_0x0029;\t Catch:{ IOException -> 0x0036 }\n L_0x0027:\n r6.f24851a = r1;\t Catch:{ IOException -> 0x0036 }\n L_0x0029:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n L_0x002c:\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n goto L_0x004b;\n L_0x0030:\n r2 = move-exception;\n r5 = r2;\n r2 = r1;\n r1 = r5;\n goto L_0x0044;\n L_0x0035:\n r2 = r1;\n L_0x0036:\n r6.f24851a = r1;\t Catch:{ all -> 0x0043 }\n r1 = r6.f24854d;\t Catch:{ all -> 0x0043 }\n r3 = r6.f24853c;\t Catch:{ all -> 0x0043 }\n r1.deleteFile(r3);\t Catch:{ all -> 0x0043 }\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n goto L_0x002c;\t Catch:{ all -> 0x0050 }\n L_0x0043:\n r1 = move-exception;\t Catch:{ all -> 0x0050 }\n L_0x0044:\n com.google.android.m4b.maps.cg.bx.m23057a(r0);\t Catch:{ all -> 0x0050 }\n com.google.android.m4b.maps.ap.C4655c.m20773b(r2);\t Catch:{ all -> 0x0050 }\n throw r1;\t Catch:{ all -> 0x0050 }\n L_0x004b:\n r0 = 1;\t Catch:{ all -> 0x0050 }\n r6.f24852b = r0;\t Catch:{ all -> 0x0050 }\n monitor-exit(r6);\n return;\n L_0x0050:\n r0 = move-exception;\n monitor-exit(r6);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.cg.q.c():void\");\n }",
"public static boolean m19464a(java.lang.String r3, int[] r4) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = android.text.TextUtils.isEmpty(r3);\n r1 = 0;\n if (r0 == 0) goto L_0x0008;\n L_0x0007:\n return r1;\n L_0x0008:\n r0 = r4.length;\n r2 = 2;\n if (r0 == r2) goto L_0x000d;\n L_0x000c:\n return r1;\n L_0x000d:\n r0 = \"x\";\n r3 = r3.split(r0);\n r0 = r3.length;\n if (r0 == r2) goto L_0x0017;\n L_0x0016:\n return r1;\n L_0x0017:\n r0 = r3[r1];\t Catch:{ NumberFormatException -> 0x0029 }\n r0 = java.lang.Integer.parseInt(r0);\t Catch:{ NumberFormatException -> 0x0029 }\n r4[r1] = r0;\t Catch:{ NumberFormatException -> 0x0029 }\n r0 = 1;\t Catch:{ NumberFormatException -> 0x0029 }\n r3 = r3[r0];\t Catch:{ NumberFormatException -> 0x0029 }\n r3 = java.lang.Integer.parseInt(r3);\t Catch:{ NumberFormatException -> 0x0029 }\n r4[r0] = r3;\t Catch:{ NumberFormatException -> 0x0029 }\n return r0;\n L_0x0029:\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.arp.a(java.lang.String, int[]):boolean\");\n }",
"private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public boolean mo3969a() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r4 = this;\n r0 = r4.f19005h;\n if (r0 != 0) goto L_0x0011;\n L_0x0004:\n r0 = r4.f19004g;\n if (r0 == 0) goto L_0x000f;\n L_0x0008:\n r0 = r4.f19004g;\n r1 = com.facebook.ads.C1700b.f5123e;\n r0.mo1313a(r4, r1);\n L_0x000f:\n r0 = 0;\n return r0;\n L_0x0011:\n r0 = new android.content.Intent;\n r1 = r4.f19002e;\n r2 = com.facebook.ads.AudienceNetworkActivity.class;\n r0.<init>(r1, r2);\n r1 = \"predefinedOrientationKey\";\n r2 = r4.m25306b();\n r0.putExtra(r1, r2);\n r1 = \"uniqueId\";\n r2 = r4.f18999b;\n r0.putExtra(r1, r2);\n r1 = \"placementId\";\n r2 = r4.f19000c;\n r0.putExtra(r1, r2);\n r1 = \"requestTime\";\n r2 = r4.f19001d;\n r0.putExtra(r1, r2);\n r1 = \"viewType\";\n r2 = r4.f19009l;\n r0.putExtra(r1, r2);\n r1 = \"useCache\";\n r2 = r4.f19010m;\n r0.putExtra(r1, r2);\n r1 = r4.f19008k;\n if (r1 == 0) goto L_0x0052;\n L_0x004a:\n r1 = \"ad_data_bundle\";\n r2 = r4.f19008k;\n r0.putExtra(r1, r2);\n goto L_0x005b;\n L_0x0052:\n r1 = r4.f19006i;\n if (r1 == 0) goto L_0x005b;\n L_0x0056:\n r1 = r4.f19006i;\n r1.m18953a(r0);\n L_0x005b:\n r1 = 268435456; // 0x10000000 float:2.5243549E-29 double:1.32624737E-315;\n r0.addFlags(r1);\n r1 = r4.f19002e;\t Catch:{ ActivityNotFoundException -> 0x0066 }\n r1.startActivity(r0);\t Catch:{ ActivityNotFoundException -> 0x0066 }\n goto L_0x0072;\n L_0x0066:\n r1 = r4.f19002e;\n r2 = com.facebook.ads.InterstitialAdActivity.class;\n r0.setClass(r1, r2);\n r1 = r4.f19002e;\n r1.startActivity(r0);\n L_0x0072:\n r0 = 1;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.k.a():boolean\");\n }",
"public void method_7081() {\r\n // $FF: Couldn't be decompiled\r\n }",
"protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void method_2139() {\r\n // $FF: Couldn't be decompiled\r\n }",
"@Override // X.AnonymousClass0PN\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public void A0D() {\n /*\n r5 = this;\n super.A0D()\n X.08d r0 = r5.A05\n X.0OQ r4 = r0.A04()\n X.0Rk r3 = r4.A00() // Catch:{ all -> 0x003d }\n X.0BK r2 = r4.A04 // Catch:{ all -> 0x0036 }\n java.lang.String r1 = \"DELETE FROM receipt_device\"\n java.lang.String r0 = \"CLEAR_TABLE_RECEIPT_DEVICE\"\n r2.A0C(r1, r0) // Catch:{ all -> 0x0036 }\n X.08m r1 = r5.A03 // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"receipt_device_migration_complete\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_index\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n java.lang.String r0 = \"migration_receipt_device_retry\"\n r1.A02(r0) // Catch:{ all -> 0x0036 }\n r3.A00() // Catch:{ all -> 0x0036 }\n r3.close()\n r4.close()\n java.lang.String r0 = \"ReceiptDeviceStore/ReceiptDeviceDatabaseMigration/resetMigration/done\"\n com.whatsapp.util.Log.i(r0)\n return\n L_0x0036:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x0038 }\n L_0x0038:\n r0 = move-exception\n r3.close() // Catch:{ all -> 0x003c }\n L_0x003c:\n throw r0\n L_0x003d:\n r0 = move-exception\n throw r0 // Catch:{ all -> 0x003f }\n L_0x003f:\n r0 = move-exception\n r4.close() // Catch:{ all -> 0x0043 }\n L_0x0043:\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: X.C43661yk.A0D():void\");\n }",
"public void m7211c() {\n /*\n r34 = this;\n r16 = 0;\n r15 = 0;\n r5 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case -1172269795: goto L_0x002e;\n case 2157948: goto L_0x0038;\n case 2571565: goto L_0x0024;\n default: goto L_0x0018;\n };\n L_0x0018:\n r2 = r3;\n L_0x0019:\n switch(r2) {\n case 0: goto L_0x0042;\n case 1: goto L_0x0162;\n case 2: goto L_0x01a9;\n default: goto L_0x001c;\n };\n L_0x001c:\n r2 = \"Undefined type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n L_0x0023:\n return;\n L_0x0024:\n r4 = \"TEXT\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x002c:\n r2 = 0;\n goto L_0x0019;\n L_0x002e:\n r4 = \"STICKER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0036:\n r2 = 1;\n goto L_0x0019;\n L_0x0038:\n r4 = \"FILE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0040:\n r2 = 2;\n goto L_0x0019;\n L_0x0042:\n r4 = mobi.mmdt.ott.provider.p169c.C1594n.TEXT;\n r33 = r5;\n L_0x0046:\n r8 = mobi.mmdt.componentsutils.p079a.p084e.C1113a.m6421a();\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.IN;\n r0 = r34;\n r2 = r0.f4758b;\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.p109d.p111b.C1309a.m6934a(r3);\n r3 = r3.m6942b();\n r2 = r2.equals(r3);\n if (r2 == 0) goto L_0x0064;\n L_0x0062:\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.OUT;\n L_0x0064:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m7972a(r2, r3, r10);\n if (r2 != 0) goto L_0x0023;\n L_0x0072:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n if (r2 == 0) goto L_0x008a;\n L_0x007a:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n r0 = r34;\n r3 = r0.f4759c;\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x024e;\n L_0x008a:\n r17 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x00b8;\n L_0x0098:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x00b8;\n L_0x00aa:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r17 = r2;\n L_0x00b8:\n r2 = new mobi.mmdt.ott.d.a.b;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.NOT_READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n r2.<init>(r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16, r17);\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.logic.p157e.C1509a.m7621a(r3);\n r0 = r34;\n r4 = r0.f4762f;\n r0 = r33;\n r3.m7626a(r2, r0, r4);\n L_0x00f2:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x013c;\n L_0x00fe:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x013c;\n L_0x0110:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n mobi.mmdt.ott.provider.p169c.C1583c.m7976b(r3, r4, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m8003n(r3, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n r5 = mobi.mmdt.ott.provider.p169c.C1595o.SINGLE;\n mobi.mmdt.ott.logic.p112a.p120c.p121a.p123b.C1387u.m7218a(r3, r4, r2, r5);\n L_0x013c:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = \"TEXT\";\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x0023;\n L_0x0150:\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.b;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4762f;\n r2.<init>(r3, r15, r4);\n mobi.mmdt.ott.logic.C1494c.m7541c(r2);\n goto L_0x0023;\n L_0x0162:\n r6 = mobi.mmdt.ott.provider.p169c.C1594n.STICKER;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"STICKER_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4762f;\n r4 = \"STICKER_PACKAGE_ID\";\n r3 = r3.get(r4);\n r3 = (java.lang.String) r3;\n r0 = r34;\n r4 = r0.f4762f;\n r7 = \"STICKER_VERSION\";\n r4 = r4.get(r7);\n r4 = (java.lang.String) r4;\n if (r4 == 0) goto L_0x02c9;\n L_0x018a:\n if (r2 == 0) goto L_0x02c9;\n L_0x018c:\n if (r3 == 0) goto L_0x02c9;\n L_0x018e:\n r7 = r4.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x0194:\n r7 = r2.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x019a:\n r7 = r3.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x01a0:\n r16 = mobi.mmdt.ott.provider.p174h.C1629b.m8295a(r4, r3, r2);\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n L_0x01a9:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"FILE_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case 327328941: goto L_0x01de;\n case 796404377: goto L_0x01ca;\n case 802160718: goto L_0x01e8;\n case 808293817: goto L_0x01d4;\n default: goto L_0x01bd;\n };\n L_0x01bd:\n r2 = r3;\n L_0x01be:\n switch(r2) {\n case 0: goto L_0x01f2;\n case 1: goto L_0x020c;\n case 2: goto L_0x0222;\n case 3: goto L_0x0238;\n default: goto L_0x01c1;\n };\n L_0x01c1:\n r2 = \"Undefined file type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n goto L_0x0023;\n L_0x01ca:\n r4 = \"FILE_TYPE_IMAGE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01d2:\n r2 = 0;\n goto L_0x01be;\n L_0x01d4:\n r4 = \"FILE_TYPE_VIDEO\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01dc:\n r2 = 1;\n goto L_0x01be;\n L_0x01de:\n r4 = \"FILE_TYPE_PUSH_TO_TALK\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01e6:\n r2 = 2;\n goto L_0x01be;\n L_0x01e8:\n r4 = \"FILE_TYPE_OTHER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01f0:\n r2 = 3;\n goto L_0x01be;\n L_0x01f2:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.IMAGE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.IMAGE;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n L_0x0207:\n r33 = r2;\n r4 = r3;\n goto L_0x0046;\n L_0x020c:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.VIDEO;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.VIDEO;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0222:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.PUSH_TO_TALK;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.PUSH_TO_TALK;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0238:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.FILE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.OTHER;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x024e:\n if (r33 == 0) goto L_0x029c;\n L_0x0250:\n r0 = r34;\n r0 = r0.f4757a;\n r18 = r0;\n r19 = r33.m8082n();\n r20 = r33.m8069a();\n r21 = r33.m8079k();\n r22 = r33.m8073e();\n r23 = r33.m8078j();\n r24 = r33.m8077i();\n r26 = 0;\n r27 = r33.m8081m();\n r28 = r33.m8080l();\n r29 = r33.m8075g();\n r30 = r33.m8071c();\n r31 = r33.m8072d();\n r32 = r33.m8070b();\n r33 = r33.m8074f();\n r2 = mobi.mmdt.ott.provider.p170d.C1598c.m8100a(r18, r19, r20, r21, r22, r23, r24, r26, r27, r28, r29, r30, r31, r32, r33);\n r2 = r2.getLastPathSegment();\n r2 = java.lang.Long.parseLong(r2);\n r15 = java.lang.Long.valueOf(r2);\n L_0x029c:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n mobi.mmdt.ott.provider.p169c.C1583c.m7966a(r2, r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16);\n goto L_0x00f2;\n L_0x02c9:\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: mobi.mmdt.ott.logic.a.c.a.b.s.c():void\");\n }",
"static void method_2537() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static void method_2537() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public boolean mo9310a(java.lang.Exception r4) {\n /*\n r3 = this;\n java.lang.Object r0 = r3.f8650a\n monitor-enter(r0)\n boolean r1 = r3.f8651b // Catch:{ all -> 0x002c }\n r2 = 0\n if (r1 == 0) goto L_0x000a\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n return r2\n L_0x000a:\n r1 = 1\n r3.f8651b = r1 // Catch:{ all -> 0x002c }\n r3.f8654e = r4 // Catch:{ all -> 0x002c }\n r3.f8655f = r2 // Catch:{ all -> 0x002c }\n java.lang.Object r4 = r3.f8650a // Catch:{ all -> 0x002c }\n r4.notifyAll() // Catch:{ all -> 0x002c }\n r3.m11250m() // Catch:{ all -> 0x002c }\n boolean r4 = r3.f8655f // Catch:{ all -> 0x002c }\n if (r4 != 0) goto L_0x002a\n bolts.n$q r4 = m11249l() // Catch:{ all -> 0x002c }\n if (r4 == 0) goto L_0x002a\n bolts.p r4 = new bolts.p // Catch:{ all -> 0x002c }\n r4.<init>(r3) // Catch:{ all -> 0x002c }\n r3.f8656g = r4 // Catch:{ all -> 0x002c }\n L_0x002a:\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n return r1\n L_0x002c:\n r4 = move-exception\n monitor-exit(r0) // Catch:{ all -> 0x002c }\n throw r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: bolts.C2177n.mo9310a(java.lang.Exception):boolean\");\n }",
"static void method_6338() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void c() {\n /*\n r4 = this;\n com.shopee.app.data.store.o r0 = r4.f16997c\n boolean r0 = r0.c()\n r1 = 1\n r2 = 0\n if (r0 == 0) goto L_0x000c\n L_0x000a:\n r0 = 0\n goto L_0x0023\n L_0x000c:\n com.shopee.app.data.store.o r0 = r4.f16997c\n boolean r0 = r0.a()\n if (r0 != 0) goto L_0x001c\n com.shopee.app.data.store.o r0 = r4.f16997c\n int r0 = r0.b()\n r2 = r0\n goto L_0x000a\n L_0x001c:\n com.shopee.app.data.store.o r0 = r4.f16997c\n int r2 = r0.e()\n r0 = 1\n L_0x0023:\n boolean r3 = r4.f16998d\n if (r3 == 0) goto L_0x0032\n if (r0 == 0) goto L_0x003a\n com.shopee.app.network.d.c.d r0 = new com.shopee.app.network.d.c.d\n r0.<init>()\n r0.a(r2, r1)\n goto L_0x003a\n L_0x0032:\n com.shopee.app.network.d.c.d r1 = new com.shopee.app.network.d.c.d\n r1.<init>()\n r1.a(r2, r0)\n L_0x003a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.shopee.app.d.c.f.m.c():void\");\n }",
"static void method_1148() {\r\n // $FF: Couldn't be decompiled\r\n }",
"protected void method_2141() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private final com.google.android.p306h.p307a.p308a.C5685v m26927b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 8: goto L_0x000e;\n case 18: goto L_0x0043;\n case 24: goto L_0x0054;\n case 32: goto L_0x005f;\n case 42: goto L_0x006a;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0034 }\n switch(r2) {\n case 0: goto L_0x003c;\n case 1: goto L_0x003c;\n case 2: goto L_0x003c;\n case 3: goto L_0x003c;\n case 4: goto L_0x003c;\n case 5: goto L_0x003c;\n case 101: goto L_0x003c;\n case 102: goto L_0x003c;\n case 103: goto L_0x003c;\n case 104: goto L_0x003c;\n case 105: goto L_0x003c;\n case 106: goto L_0x003c;\n case 107: goto L_0x003c;\n case 108: goto L_0x003c;\n case 201: goto L_0x003c;\n case 202: goto L_0x003c;\n case 203: goto L_0x003c;\n case 204: goto L_0x003c;\n case 205: goto L_0x003c;\n case 206: goto L_0x003c;\n case 207: goto L_0x003c;\n case 208: goto L_0x003c;\n case 209: goto L_0x003c;\n case 301: goto L_0x003c;\n case 302: goto L_0x003c;\n case 303: goto L_0x003c;\n case 304: goto L_0x003c;\n case 305: goto L_0x003c;\n case 306: goto L_0x003c;\n case 307: goto L_0x003c;\n case 401: goto L_0x003c;\n case 402: goto L_0x003c;\n case 403: goto L_0x003c;\n case 404: goto L_0x003c;\n case 501: goto L_0x003c;\n case 502: goto L_0x003c;\n case 503: goto L_0x003c;\n case 504: goto L_0x003c;\n case 601: goto L_0x003c;\n case 602: goto L_0x003c;\n case 603: goto L_0x003c;\n case 604: goto L_0x003c;\n case 605: goto L_0x003c;\n case 606: goto L_0x003c;\n case 607: goto L_0x003c;\n case 608: goto L_0x003c;\n case 609: goto L_0x003c;\n case 610: goto L_0x003c;\n case 611: goto L_0x003c;\n case 612: goto L_0x003c;\n case 613: goto L_0x003c;\n case 614: goto L_0x003c;\n case 615: goto L_0x003c;\n case 616: goto L_0x003c;\n case 617: goto L_0x003c;\n case 618: goto L_0x003c;\n case 619: goto L_0x003c;\n case 620: goto L_0x003c;\n case 621: goto L_0x003c;\n case 622: goto L_0x003c;\n case 623: goto L_0x003c;\n case 624: goto L_0x003c;\n case 625: goto L_0x003c;\n case 626: goto L_0x003c;\n case 627: goto L_0x003c;\n case 628: goto L_0x003c;\n case 629: goto L_0x003c;\n case 630: goto L_0x003c;\n case 631: goto L_0x003c;\n case 632: goto L_0x003c;\n case 633: goto L_0x003c;\n case 634: goto L_0x003c;\n case 635: goto L_0x003c;\n case 636: goto L_0x003c;\n case 637: goto L_0x003c;\n case 638: goto L_0x003c;\n case 639: goto L_0x003c;\n case 640: goto L_0x003c;\n case 641: goto L_0x003c;\n case 701: goto L_0x003c;\n case 702: goto L_0x003c;\n case 703: goto L_0x003c;\n case 704: goto L_0x003c;\n case 705: goto L_0x003c;\n case 706: goto L_0x003c;\n case 707: goto L_0x003c;\n case 708: goto L_0x003c;\n case 709: goto L_0x003c;\n case 710: goto L_0x003c;\n case 711: goto L_0x003c;\n case 712: goto L_0x003c;\n case 713: goto L_0x003c;\n case 714: goto L_0x003c;\n case 715: goto L_0x003c;\n case 716: goto L_0x003c;\n case 717: goto L_0x003c;\n case 718: goto L_0x003c;\n case 719: goto L_0x003c;\n case 720: goto L_0x003c;\n case 721: goto L_0x003c;\n case 722: goto L_0x003c;\n case 801: goto L_0x003c;\n case 802: goto L_0x003c;\n case 803: goto L_0x003c;\n case 901: goto L_0x003c;\n case 902: goto L_0x003c;\n case 903: goto L_0x003c;\n case 904: goto L_0x003c;\n case 905: goto L_0x003c;\n case 906: goto L_0x003c;\n case 907: goto L_0x003c;\n case 908: goto L_0x003c;\n case 909: goto L_0x003c;\n case 910: goto L_0x003c;\n case 911: goto L_0x003c;\n case 912: goto L_0x003c;\n case 1001: goto L_0x003c;\n case 1002: goto L_0x003c;\n case 1003: goto L_0x003c;\n case 1004: goto L_0x003c;\n case 1005: goto L_0x003c;\n case 1006: goto L_0x003c;\n case 1101: goto L_0x003c;\n case 1102: goto L_0x003c;\n case 1201: goto L_0x003c;\n case 1301: goto L_0x003c;\n case 1302: goto L_0x003c;\n case 1303: goto L_0x003c;\n case 1304: goto L_0x003c;\n case 1305: goto L_0x003c;\n case 1306: goto L_0x003c;\n case 1307: goto L_0x003c;\n case 1308: goto L_0x003c;\n case 1309: goto L_0x003c;\n case 1310: goto L_0x003c;\n case 1311: goto L_0x003c;\n case 1312: goto L_0x003c;\n case 1313: goto L_0x003c;\n case 1314: goto L_0x003c;\n case 1315: goto L_0x003c;\n case 1316: goto L_0x003c;\n case 1317: goto L_0x003c;\n case 1318: goto L_0x003c;\n case 1319: goto L_0x003c;\n case 1320: goto L_0x003c;\n case 1321: goto L_0x003c;\n case 1322: goto L_0x003c;\n case 1323: goto L_0x003c;\n case 1324: goto L_0x003c;\n case 1325: goto L_0x003c;\n case 1326: goto L_0x003c;\n case 1327: goto L_0x003c;\n case 1328: goto L_0x003c;\n case 1329: goto L_0x003c;\n case 1330: goto L_0x003c;\n case 1331: goto L_0x003c;\n case 1332: goto L_0x003c;\n case 1333: goto L_0x003c;\n case 1334: goto L_0x003c;\n case 1335: goto L_0x003c;\n case 1336: goto L_0x003c;\n case 1337: goto L_0x003c;\n case 1338: goto L_0x003c;\n case 1339: goto L_0x003c;\n case 1340: goto L_0x003c;\n case 1341: goto L_0x003c;\n case 1342: goto L_0x003c;\n case 1343: goto L_0x003c;\n case 1344: goto L_0x003c;\n case 1345: goto L_0x003c;\n case 1346: goto L_0x003c;\n case 1347: goto L_0x003c;\n case 1401: goto L_0x003c;\n case 1402: goto L_0x003c;\n case 1403: goto L_0x003c;\n case 1404: goto L_0x003c;\n case 1405: goto L_0x003c;\n case 1406: goto L_0x003c;\n case 1407: goto L_0x003c;\n case 1408: goto L_0x003c;\n case 1409: goto L_0x003c;\n case 1410: goto L_0x003c;\n case 1411: goto L_0x003c;\n case 1412: goto L_0x003c;\n case 1413: goto L_0x003c;\n case 1414: goto L_0x003c;\n case 1415: goto L_0x003c;\n case 1416: goto L_0x003c;\n case 1417: goto L_0x003c;\n case 1418: goto L_0x003c;\n case 1419: goto L_0x003c;\n case 1420: goto L_0x003c;\n case 1421: goto L_0x003c;\n case 1422: goto L_0x003c;\n case 1423: goto L_0x003c;\n case 1424: goto L_0x003c;\n case 1425: goto L_0x003c;\n case 1426: goto L_0x003c;\n case 1427: goto L_0x003c;\n case 1601: goto L_0x003c;\n case 1602: goto L_0x003c;\n case 1603: goto L_0x003c;\n case 1604: goto L_0x003c;\n case 1605: goto L_0x003c;\n case 1606: goto L_0x003c;\n case 1607: goto L_0x003c;\n case 1608: goto L_0x003c;\n case 1609: goto L_0x003c;\n case 1610: goto L_0x003c;\n case 1611: goto L_0x003c;\n case 1612: goto L_0x003c;\n case 1613: goto L_0x003c;\n case 1614: goto L_0x003c;\n case 1615: goto L_0x003c;\n case 1616: goto L_0x003c;\n case 1617: goto L_0x003c;\n case 1618: goto L_0x003c;\n case 1619: goto L_0x003c;\n case 1620: goto L_0x003c;\n case 1621: goto L_0x003c;\n case 1622: goto L_0x003c;\n case 1623: goto L_0x003c;\n case 1624: goto L_0x003c;\n case 1625: goto L_0x003c;\n case 1626: goto L_0x003c;\n case 1627: goto L_0x003c;\n case 1628: goto L_0x003c;\n case 1629: goto L_0x003c;\n case 1630: goto L_0x003c;\n case 1631: goto L_0x003c;\n case 1632: goto L_0x003c;\n case 1633: goto L_0x003c;\n case 1634: goto L_0x003c;\n case 1635: goto L_0x003c;\n case 1636: goto L_0x003c;\n case 1637: goto L_0x003c;\n case 1638: goto L_0x003c;\n case 1639: goto L_0x003c;\n case 1640: goto L_0x003c;\n case 1641: goto L_0x003c;\n case 1642: goto L_0x003c;\n case 1643: goto L_0x003c;\n case 1644: goto L_0x003c;\n case 1645: goto L_0x003c;\n case 1646: goto L_0x003c;\n case 1647: goto L_0x003c;\n case 1648: goto L_0x003c;\n case 1649: goto L_0x003c;\n case 1650: goto L_0x003c;\n case 1651: goto L_0x003c;\n case 1652: goto L_0x003c;\n case 1653: goto L_0x003c;\n case 1654: goto L_0x003c;\n case 1655: goto L_0x003c;\n case 1656: goto L_0x003c;\n case 1657: goto L_0x003c;\n case 1658: goto L_0x003c;\n case 1659: goto L_0x003c;\n case 1660: goto L_0x003c;\n case 1801: goto L_0x003c;\n case 1802: goto L_0x003c;\n case 1803: goto L_0x003c;\n case 1804: goto L_0x003c;\n case 1805: goto L_0x003c;\n case 1806: goto L_0x003c;\n case 1807: goto L_0x003c;\n case 1808: goto L_0x003c;\n case 1809: goto L_0x003c;\n case 1810: goto L_0x003c;\n case 1811: goto L_0x003c;\n case 1812: goto L_0x003c;\n case 1813: goto L_0x003c;\n case 1814: goto L_0x003c;\n case 1815: goto L_0x003c;\n case 1816: goto L_0x003c;\n case 1817: goto L_0x003c;\n case 1901: goto L_0x003c;\n case 1902: goto L_0x003c;\n case 1903: goto L_0x003c;\n case 1904: goto L_0x003c;\n case 1905: goto L_0x003c;\n case 1906: goto L_0x003c;\n case 1907: goto L_0x003c;\n case 1908: goto L_0x003c;\n case 1909: goto L_0x003c;\n case 2001: goto L_0x003c;\n case 2101: goto L_0x003c;\n case 2102: goto L_0x003c;\n case 2103: goto L_0x003c;\n case 2104: goto L_0x003c;\n case 2105: goto L_0x003c;\n case 2106: goto L_0x003c;\n case 2107: goto L_0x003c;\n case 2108: goto L_0x003c;\n case 2109: goto L_0x003c;\n case 2110: goto L_0x003c;\n case 2111: goto L_0x003c;\n case 2112: goto L_0x003c;\n case 2113: goto L_0x003c;\n case 2114: goto L_0x003c;\n case 2115: goto L_0x003c;\n case 2116: goto L_0x003c;\n case 2117: goto L_0x003c;\n case 2118: goto L_0x003c;\n case 2119: goto L_0x003c;\n case 2120: goto L_0x003c;\n case 2121: goto L_0x003c;\n case 2122: goto L_0x003c;\n case 2123: goto L_0x003c;\n case 2124: goto L_0x003c;\n case 2201: goto L_0x003c;\n case 2202: goto L_0x003c;\n case 2203: goto L_0x003c;\n case 2204: goto L_0x003c;\n case 2205: goto L_0x003c;\n case 2206: goto L_0x003c;\n case 2207: goto L_0x003c;\n case 2208: goto L_0x003c;\n case 2209: goto L_0x003c;\n case 2210: goto L_0x003c;\n case 2211: goto L_0x003c;\n case 2212: goto L_0x003c;\n case 2213: goto L_0x003c;\n case 2214: goto L_0x003c;\n case 2215: goto L_0x003c;\n case 2301: goto L_0x003c;\n case 2302: goto L_0x003c;\n case 2303: goto L_0x003c;\n case 2304: goto L_0x003c;\n case 2401: goto L_0x003c;\n case 2402: goto L_0x003c;\n case 2501: goto L_0x003c;\n case 2502: goto L_0x003c;\n case 2503: goto L_0x003c;\n case 2504: goto L_0x003c;\n case 2505: goto L_0x003c;\n case 2506: goto L_0x003c;\n case 2507: goto L_0x003c;\n case 2508: goto L_0x003c;\n case 2509: goto L_0x003c;\n case 2510: goto L_0x003c;\n case 2511: goto L_0x003c;\n case 2512: goto L_0x003c;\n case 2513: goto L_0x003c;\n case 2514: goto L_0x003c;\n case 2515: goto L_0x003c;\n case 2516: goto L_0x003c;\n case 2517: goto L_0x003c;\n case 2518: goto L_0x003c;\n case 2519: goto L_0x003c;\n case 2601: goto L_0x003c;\n case 2602: goto L_0x003c;\n case 2701: goto L_0x003c;\n case 2702: goto L_0x003c;\n case 2703: goto L_0x003c;\n case 2704: goto L_0x003c;\n case 2705: goto L_0x003c;\n case 2706: goto L_0x003c;\n case 2707: goto L_0x003c;\n case 2801: goto L_0x003c;\n case 2802: goto L_0x003c;\n case 2803: goto L_0x003c;\n case 2804: goto L_0x003c;\n case 2805: goto L_0x003c;\n case 2806: goto L_0x003c;\n case 2807: goto L_0x003c;\n case 2808: goto L_0x003c;\n case 2809: goto L_0x003c;\n case 2810: goto L_0x003c;\n case 2811: goto L_0x003c;\n case 2812: goto L_0x003c;\n case 2813: goto L_0x003c;\n case 2814: goto L_0x003c;\n case 2815: goto L_0x003c;\n case 2816: goto L_0x003c;\n case 2817: goto L_0x003c;\n case 2818: goto L_0x003c;\n case 2819: goto L_0x003c;\n case 2820: goto L_0x003c;\n case 2821: goto L_0x003c;\n case 2822: goto L_0x003c;\n case 2823: goto L_0x003c;\n case 2824: goto L_0x003c;\n case 2825: goto L_0x003c;\n case 2826: goto L_0x003c;\n case 2901: goto L_0x003c;\n case 2902: goto L_0x003c;\n case 2903: goto L_0x003c;\n case 2904: goto L_0x003c;\n case 2905: goto L_0x003c;\n case 2906: goto L_0x003c;\n case 2907: goto L_0x003c;\n case 3001: goto L_0x003c;\n case 3002: goto L_0x003c;\n case 3003: goto L_0x003c;\n case 3004: goto L_0x003c;\n case 3005: goto L_0x003c;\n default: goto L_0x0019;\n };\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0019:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = 41;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0034 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r4 = \" is not a valid enum EventType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0034 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0034 }\n L_0x0034:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x003c:\n r2 = java.lang.Integer.valueOf(r2);\t Catch:{ IllegalArgumentException -> 0x0034 }\n r6.f28837a = r2;\t Catch:{ IllegalArgumentException -> 0x0034 }\n goto L_0x0000;\n L_0x0043:\n r0 = r6.f28838b;\n if (r0 != 0) goto L_0x004e;\n L_0x0047:\n r0 = new com.google.android.h.a.a.u;\n r0.<init>();\n r6.f28838b = r0;\n L_0x004e:\n r0 = r6.f28838b;\n r7.a(r0);\n goto L_0x0000;\n L_0x0054:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28839c = r0;\n goto L_0x0000;\n L_0x005f:\n r0 = r7.j();\n r0 = java.lang.Long.valueOf(r0);\n r6.f28840d = r0;\n goto L_0x0000;\n L_0x006a:\n r0 = r6.f28841e;\n if (r0 != 0) goto L_0x0075;\n L_0x006e:\n r0 = new com.google.android.h.a.a.o;\n r0.<init>();\n r6.f28841e = r0;\n L_0x0075:\n r0 = r6.f28841e;\n r7.a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.h.a.a.v.b(com.google.protobuf.nano.a):com.google.android.h.a.a.v\");\n }",
"static void method_28() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private final com.google.wireless.android.finsky.dfe.p515h.p516a.ae m35733b(com.google.protobuf.nano.C7213a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.m33550a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 18: goto L_0x001f;\n case 26: goto L_0x002c;\n case 34: goto L_0x0039;\n case 42: goto L_0x004a;\n case 50: goto L_0x0057;\n case 56: goto L_0x0064;\n case 64: goto L_0x00a3;\n case 72: goto L_0x00b1;\n case 82: goto L_0x00bf;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r6.f38026c;\n if (r0 != 0) goto L_0x0019;\n L_0x0012:\n r0 = new com.google.android.finsky.cv.a.bd;\n r0.<init>();\n r6.f38026c = r0;\n L_0x0019:\n r0 = r6.f38026c;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x001f:\n r0 = r7.m33564f();\n r6.f38027d = r0;\n r0 = r6.f38025b;\n r0 = r0 | 1;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x002c:\n r0 = r7.m33564f();\n r6.f38028e = r0;\n r0 = r6.f38025b;\n r0 = r0 | 2;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0039:\n r0 = r6.f38029f;\n if (r0 != 0) goto L_0x0044;\n L_0x003d:\n r0 = new com.google.android.finsky.cv.a.ax;\n r0.<init>();\n r6.f38029f = r0;\n L_0x0044:\n r0 = r6.f38029f;\n r7.m33552a(r0);\n goto L_0x0000;\n L_0x004a:\n r0 = r7.m33564f();\n r6.f38030g = r0;\n r0 = r6.f38025b;\n r0 = r0 | 4;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0057:\n r0 = r7.m33564f();\n r6.f38031h = r0;\n r0 = r6.f38025b;\n r0 = r0 | 8;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x0064:\n r1 = r6.f38025b;\n r1 = r1 | 16;\n r6.f38025b = r1;\n r1 = r7.m33573o();\n r2 = r7.m33567i();\t Catch:{ IllegalArgumentException -> 0x0090 }\n switch(r2) {\n case 0: goto L_0x0099;\n case 1: goto L_0x0099;\n case 2: goto L_0x0099;\n case 3: goto L_0x0099;\n case 4: goto L_0x0099;\n default: goto L_0x0075;\n };\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0075:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = 36;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r4 = \" is not a valid enum Type\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0090 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0090 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0090 }\n L_0x0090:\n r2 = move-exception;\n r7.m33562e(r1);\n r6.a(r7, r0);\n goto L_0x0000;\n L_0x0099:\n r6.f38032i = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r6.f38025b;\t Catch:{ IllegalArgumentException -> 0x0090 }\n r2 = r2 | 16;\n r6.f38025b = r2;\t Catch:{ IllegalArgumentException -> 0x0090 }\n goto L_0x0000;\n L_0x00a3:\n r0 = r7.m33563e();\n r6.f38033j = r0;\n r0 = r6.f38025b;\n r0 = r0 | 32;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00b1:\n r0 = r7.m33563e();\n r6.f38034k = r0;\n r0 = r6.f38025b;\n r0 = r0 | 64;\n r6.f38025b = r0;\n goto L_0x0000;\n L_0x00bf:\n r0 = r6.f38035l;\n if (r0 != 0) goto L_0x00ca;\n L_0x00c3:\n r0 = new com.google.android.finsky.cv.a.cv;\n r0.<init>();\n r6.f38035l = r0;\n L_0x00ca:\n r0 = r6.f38035l;\n r7.m33552a(r0);\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.h.a.ae.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.h.a.ae\");\n }",
"private boolean method_2253(class_1033 param1) {\r\n // $FF: Couldn't be decompiled\r\n }",
"@androidx.annotation.Nullable\n /* renamed from: j */\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final p005b.p096l.p097a.p151d.p152a.p154b.C3474b mo14822j(java.lang.String r9) {\n /*\n r8 = this;\n java.io.File r0 = new java.io.File\n java.io.File r1 = r8.mo14820g()\n r0.<init>(r1, r9)\n boolean r1 = r0.exists()\n r2 = 3\n r3 = 6\n r4 = 1\n r5 = 0\n r6 = 0\n if (r1 != 0) goto L_0x0022\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r4]\n r1[r5] = r9\n java.lang.String r9 = \"Pack not found with pack name: %s\"\n r0.mo14884b(r2, r9, r1)\n L_0x001f:\n r9 = r6\n goto L_0x0093\n L_0x0022:\n java.io.File r1 = new java.io.File\n b.l.a.d.a.b.o1 r7 = r8.f6567b\n int r7 = r7.mo14797a()\n java.lang.String r7 = java.lang.String.valueOf(r7)\n r1.<init>(r0, r7)\n boolean r0 = r1.exists()\n r7 = 2\n if (r0 != 0) goto L_0x0050\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r7]\n r1[r5] = r9\n b.l.a.d.a.b.o1 r9 = r8.f6567b\n int r9 = r9.mo14797a()\n java.lang.Integer r9 = java.lang.Integer.valueOf(r9)\n r1[r4] = r9\n java.lang.String r9 = \"Pack not found with pack name: %s app version: %s\"\n r0.mo14884b(r2, r9, r1)\n goto L_0x001f\n L_0x0050:\n java.io.File[] r0 = r1.listFiles()\n if (r0 == 0) goto L_0x007b\n int r1 = r0.length\n if (r1 != 0) goto L_0x005a\n goto L_0x007b\n L_0x005a:\n if (r1 <= r4) goto L_0x0074\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r7]\n r1[r5] = r9\n b.l.a.d.a.b.o1 r9 = r8.f6567b\n int r9 = r9.mo14797a()\n java.lang.Integer r9 = java.lang.Integer.valueOf(r9)\n r1[r4] = r9\n java.lang.String r9 = \"Multiple pack versions found for pack name: %s app version: %s\"\n r0.mo14884b(r3, r9, r1)\n goto L_0x001f\n L_0x0074:\n r9 = r0[r5]\n java.lang.String r9 = r9.getCanonicalPath()\n goto L_0x0093\n L_0x007b:\n b.l.a.d.a.e.f r0 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r7]\n r1[r5] = r9\n b.l.a.d.a.b.o1 r9 = r8.f6567b\n int r9 = r9.mo14797a()\n java.lang.Integer r9 = java.lang.Integer.valueOf(r9)\n r1[r4] = r9\n java.lang.String r9 = \"No pack version found for pack name: %s app version: %s\"\n r0.mo14884b(r2, r9, r1)\n goto L_0x001f\n L_0x0093:\n if (r9 != 0) goto L_0x0096\n return r6\n L_0x0096:\n java.io.File r0 = new java.io.File\n java.lang.String r1 = \"assets\"\n r0.<init>(r9, r1)\n boolean r1 = r0.isDirectory()\n if (r1 != 0) goto L_0x00af\n b.l.a.d.a.e.f r9 = f6563c\n java.lang.Object[] r1 = new java.lang.Object[r4]\n r1[r5] = r0\n java.lang.String r0 = \"Failed to find assets directory: %s\"\n r9.mo14884b(r3, r0, r1)\n return r6\n L_0x00af:\n java.lang.String r0 = r0.getCanonicalPath()\n b.l.a.d.a.b.w r1 = new b.l.a.d.a.b.w\n r1.<init>(r5, r9, r0)\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p005b.p096l.p097a.p151d.p152a.p154b.C3544t.mo14822j(java.lang.String):b.l.a.d.a.b.b\");\n }",
"static void method_7086() {\r\n // $FF: Couldn't be decompiled\r\n }",
"private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }",
"public void method_2113() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void method_2046() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static void method_2226() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public final void m15744a(com.p111d.p112a.p114b.C5301g r9) {\n /*\n r8 = this;\n r0 = r8.f17783i;\n r1 = r8.f17781g;\n r2 = 0;\n r3 = 1;\n if (r1 == 0) goto L_0x0010;\n L_0x0008:\n r4 = r0.m4038b();\n if (r4 == 0) goto L_0x0010;\n L_0x000e:\n r4 = r3;\n goto L_0x0011;\n L_0x0010:\n r4 = r2;\n L_0x0011:\n r5 = -1;\n L_0x0012:\n r5 = r5 + r3;\n r6 = 16;\n if (r5 < r6) goto L_0x0029;\n L_0x0017:\n r0 = r0.m4032a();\n if (r0 == 0) goto L_0x0148;\n L_0x001d:\n if (r1 == 0) goto L_0x0027;\n L_0x001f:\n r4 = r0.m4038b();\n if (r4 == 0) goto L_0x0027;\n L_0x0025:\n r4 = r3;\n goto L_0x0028;\n L_0x0027:\n r4 = r2;\n L_0x0028:\n r5 = r2;\n L_0x0029:\n r6 = r0.m4031a(r5);\n if (r6 == 0) goto L_0x0148;\n L_0x002f:\n if (r4 == 0) goto L_0x0043;\n L_0x0031:\n r7 = r0.m4039c(r5);\n if (r7 == 0) goto L_0x003a;\n L_0x0037:\n r9.writeObjectId(r7);\n L_0x003a:\n r7 = r0.m4040d(r5);\n if (r7 == 0) goto L_0x0043;\n L_0x0040:\n r9.writeTypeId(r7);\n L_0x0043:\n r7 = com.p111d.p112a.p121c.p138m.C6523u.C15401.f4807a;\n r6 = r6.ordinal();\n r6 = r7[r6];\n switch(r6) {\n case 1: goto L_0x0143;\n case 2: goto L_0x013e;\n case 3: goto L_0x0139;\n case 4: goto L_0x0134;\n case 5: goto L_0x011e;\n case 6: goto L_0x0108;\n case 7: goto L_0x00c5;\n case 8: goto L_0x0074;\n case 9: goto L_0x0070;\n case 10: goto L_0x006c;\n case 11: goto L_0x0068;\n case 12: goto L_0x0056;\n default: goto L_0x004e;\n };\n L_0x004e:\n r9 = new java.lang.RuntimeException;\n r0 = \"Internal error: should never end up through this code path\";\n r9.<init>(r0);\n throw r9;\n L_0x0056:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p121c.p138m.C5378q;\n if (r7 == 0) goto L_0x0064;\n L_0x005e:\n r6 = (com.p111d.p112a.p121c.p138m.C5378q) r6;\n r6.m11598a(r9);\n goto L_0x0012;\n L_0x0064:\n r9.writeObject(r6);\n goto L_0x0012;\n L_0x0068:\n r9.writeNull();\n goto L_0x0012;\n L_0x006c:\n r9.writeBoolean(r2);\n goto L_0x0012;\n L_0x0070:\n r9.writeBoolean(r3);\n goto L_0x0012;\n L_0x0074:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof java.lang.Double;\n if (r7 == 0) goto L_0x0086;\n L_0x007c:\n r6 = (java.lang.Double) r6;\n r6 = r6.doubleValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0086:\n r7 = r6 instanceof java.math.BigDecimal;\n if (r7 == 0) goto L_0x0090;\n L_0x008a:\n r6 = (java.math.BigDecimal) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0090:\n r7 = r6 instanceof java.lang.Float;\n if (r7 == 0) goto L_0x009f;\n L_0x0094:\n r6 = (java.lang.Float) r6;\n r6 = r6.floatValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x009f:\n if (r6 != 0) goto L_0x00a2;\n L_0x00a1:\n goto L_0x0068;\n L_0x00a2:\n r7 = r6 instanceof java.lang.String;\n if (r7 == 0) goto L_0x00ad;\n L_0x00a6:\n r6 = (java.lang.String) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00ad:\n r0 = new com.d.a.b.f;\n r1 = \"Unrecognized value type for VALUE_NUMBER_FLOAT: %s, can not serialize\";\n r3 = new java.lang.Object[r3];\n r4 = r6.getClass();\n r4 = r4.getName();\n r3[r2] = r4;\n r1 = java.lang.String.format(r1, r3);\n r0.<init>(r1, r9);\n throw r0;\n L_0x00c5:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof java.lang.Integer;\n if (r7 == 0) goto L_0x00d8;\n L_0x00cd:\n r6 = (java.lang.Integer) r6;\n r6 = r6.intValue();\n L_0x00d3:\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00d8:\n r7 = r6 instanceof java.math.BigInteger;\n if (r7 == 0) goto L_0x00e3;\n L_0x00dc:\n r6 = (java.math.BigInteger) r6;\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00e3:\n r7 = r6 instanceof java.lang.Long;\n if (r7 == 0) goto L_0x00f2;\n L_0x00e7:\n r6 = (java.lang.Long) r6;\n r6 = r6.longValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x00f2:\n r7 = r6 instanceof java.lang.Short;\n if (r7 == 0) goto L_0x0101;\n L_0x00f6:\n r6 = (java.lang.Short) r6;\n r6 = r6.shortValue();\n r9.writeNumber(r6);\n goto L_0x0012;\n L_0x0101:\n r6 = (java.lang.Number) r6;\n r6 = r6.intValue();\n goto L_0x00d3;\n L_0x0108:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p114b.C1382p;\n if (r7 == 0) goto L_0x0117;\n L_0x0110:\n r6 = (com.p111d.p112a.p114b.C1382p) r6;\n r9.writeString(r6);\n goto L_0x0012;\n L_0x0117:\n r6 = (java.lang.String) r6;\n r9.writeString(r6);\n goto L_0x0012;\n L_0x011e:\n r6 = r0.m4037b(r5);\n r7 = r6 instanceof com.p111d.p112a.p114b.C1382p;\n if (r7 == 0) goto L_0x012d;\n L_0x0126:\n r6 = (com.p111d.p112a.p114b.C1382p) r6;\n r9.writeFieldName(r6);\n goto L_0x0012;\n L_0x012d:\n r6 = (java.lang.String) r6;\n r9.writeFieldName(r6);\n goto L_0x0012;\n L_0x0134:\n r9.writeEndArray();\n goto L_0x0012;\n L_0x0139:\n r9.writeStartArray();\n goto L_0x0012;\n L_0x013e:\n r9.writeEndObject();\n goto L_0x0012;\n L_0x0143:\n r9.writeStartObject();\n goto L_0x0012;\n L_0x0148:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.d.a.c.m.u.a(com.d.a.b.g):void\");\n }",
"private final com.google.wireless.android.finsky.dfe.p505c.p506a.ec m35437b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 8: goto L_0x000f;\n case 16: goto L_0x004c;\n case 26: goto L_0x006f;\n case 34: goto L_0x007c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r2 = r7.f37533a;\n r2 = r2 | 1;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r3) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = 42;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n r5 = \" is not a valid enum ResultCode\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x0043:\n r7.f37534b = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x003b }\n r3 = r3 | 1;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0001;\n L_0x004c:\n r2 = r7.f37533a;\n r2 = r2 | 2;\n r7.f37533a = r2;\n r2 = r8.m33573o();\n r3 = r8.m33560d();\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = com.google.wireless.android.finsky.dfe.p505c.p506a.dp.m35391a(r3);\t Catch:{ IllegalArgumentException -> 0x0067 }\n r7.f37535c = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r7.f37533a;\t Catch:{ IllegalArgumentException -> 0x0067 }\n r3 = r3 | 2;\n r7.f37533a = r3;\t Catch:{ IllegalArgumentException -> 0x0067 }\n goto L_0x0001;\n L_0x0067:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x006f:\n r0 = r8.m33565g();\n r7.f37536d = r0;\n r0 = r7.f37533a;\n r0 = r0 | 4;\n r7.f37533a = r0;\n goto L_0x0001;\n L_0x007c:\n r0 = 34;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37537e;\n if (r0 != 0) goto L_0x00a8;\n L_0x0086:\n r0 = r1;\n L_0x0087:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p505c.p506a.ed[r2];\n if (r0 == 0) goto L_0x0091;\n L_0x008c:\n r3 = r7.f37537e;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x0091:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x00ac;\n L_0x0096:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x0091;\n L_0x00a8:\n r0 = r7.f37537e;\n r0 = r0.length;\n goto L_0x0087;\n L_0x00ac:\n r3 = new com.google.wireless.android.finsky.dfe.c.a.ed;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37537e = r2;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.c.a.ec.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.c.a.ec\");\n }",
"private final com.google.android.finsky.verifier.p259a.p260a.C4709m m21920b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x0015;\n case 26: goto L_0x0046;\n case 34: goto L_0x0053;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f24221c = r0;\n goto L_0x0000;\n L_0x0015:\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x003b }\n switch(r2) {\n case 0: goto L_0x0043;\n case 1: goto L_0x0020;\n case 2: goto L_0x0043;\n default: goto L_0x0020;\n };\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x0020:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = 44;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x003b }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n r4 = \" is not a valid enum ResourceType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x003b }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x003b }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x003b }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x003b }\n L_0x003b:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x0043:\n r6.f24222d = r2;\t Catch:{ IllegalArgumentException -> 0x003b }\n goto L_0x0000;\n L_0x0046:\n r0 = r7.g();\n r6.f24223e = r0;\n r0 = r6.f24220b;\n r0 = r0 | 1;\n r6.f24220b = r0;\n goto L_0x0000;\n L_0x0053:\n r0 = r7.f();\n r6.f24224f = r0;\n r0 = r6.f24220b;\n r0 = r0 | 2;\n r6.f24220b = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.finsky.verifier.a.a.m.b(com.google.protobuf.nano.a):com.google.android.finsky.verifier.a.a.m\");\n }",
"private final void asx() {\n /*\n r12 = this;\n r0 = r12.cFE;\n if (r0 == 0) goto L_0x0073;\n L_0x0004:\n r1 = r12.cxs;\n if (r1 == 0) goto L_0x0073;\n L_0x0008:\n r1 = r12.ayL;\n if (r1 != 0) goto L_0x000d;\n L_0x000c:\n goto L_0x0073;\n L_0x000d:\n r2 = 0;\n if (r1 == 0) goto L_0x0027;\n L_0x0010:\n r1 = r1.Km();\n if (r1 == 0) goto L_0x0027;\n L_0x0016:\n r1 = r1.aar();\n if (r1 == 0) goto L_0x0027;\n L_0x001c:\n r3 = r0.getName();\n r1 = r1.get(r3);\n r1 = (java.util.ArrayList) r1;\n goto L_0x0028;\n L_0x0027:\n r1 = r2;\n L_0x0028:\n if (r1 == 0) goto L_0x0051;\n L_0x002a:\n r1 = (java.lang.Iterable) r1;\n r1 = kotlin.collections.u.Z(r1);\n if (r1 == 0) goto L_0x0051;\n L_0x0032:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$1;\n r3.<init>(r12);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.b(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x003f:\n r3 = new com.iqoption.deposit.light.perform.DepositPerformLightFragment$setPresets$items$2;\n r3.<init>(r0);\n r3 = (kotlin.jvm.a.b) r3;\n r1 = kotlin.sequences.n.f(r1, r3);\n if (r1 == 0) goto L_0x0051;\n L_0x004c:\n r1 = kotlin.sequences.n.f(r1);\n goto L_0x0052;\n L_0x0051:\n r1 = r2;\n L_0x0052:\n r3 = r12.asr();\n if (r1 == 0) goto L_0x0059;\n L_0x0058:\n goto L_0x005d;\n L_0x0059:\n r1 = kotlin.collections.m.emptyList();\n L_0x005d:\n r4 = r12.bub;\n if (r4 == 0) goto L_0x006d;\n L_0x0061:\n r5 = 0;\n r6 = 0;\n r7 = 1;\n r8 = 0;\n r9 = 0;\n r10 = 19;\n r11 = 0;\n r2 = com.iqoption.core.util.e.a(r4, r5, r6, r7, r8, r9, r10, r11);\n L_0x006d:\n r3.c(r1, r2);\n r12.d(r0);\n L_0x0073:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.iqoption.deposit.light.perform.c.asx():void\");\n }",
"@Override\n public void a() {\n block25 : {\n block24 : {\n block22 : {\n var17_1 = a.a;\n var3_2 = this.c.i();\n var4_3 = var3_2.a().a();\n this.d = new w();\n this.e = new y.f.h.D(this.d);\n this.h = M.a(new Object[this.b.e()]);\n this.i = M.b(new Object[this.b.g()]);\n var5_4 = this.b.o();\n while (var5_4.f()) {\n var6_5 = var5_4.e();\n if (var17_1 == 0) {\n if (var6_5.c() <= this.l) {\n var7_6 = this.d.d();\n this.h.a(var6_5, var7_6);\n }\n var5_4.g();\n if (var17_1 == 0) continue;\n }\n break block22;\n }\n this.j = M.b(new Object[this.b.g()]);\n this.k = M.b(new Object[this.b.g()]);\n this.a(this.j, this.k);\n }\n var2_8 = this.b.o();\n block3 : do {\n v0 = var2_8.f();\n block4 : while (v0 != 0) {\n var5_4 = var2_8.e();\n if (var5_4.c() != 0) {\n var1_9 = var5_4.l();\n var6_5 = var1_9.a();\n var7_6 = (y.c.q)this.j.b(var6_5);\n var1_9.b();\n while (var1_9.f()) {\n var8_10 = var1_9.a();\n var9_11 = (y.c.q)this.j.b(var8_10);\n var10_12 = (y.c.q)this.k.b(var8_10);\n var11_13 = this.a((y.c.q)var7_6, (y.c.q)var9_11);\n v0 = var5_4.c();\n if (var17_1 != 0) continue block4;\n if (v0 > this.l) {\n this.h.a(var5_4, var11_13);\n }\n var7_6 = (y.c.q)this.j.b(var8_10);\n var12_14 /* !! */ = this.d.a((y.c.q)var9_11, (y.c.q)var10_12);\n this.i.a(var8_10, var12_14 /* !! */ );\n if (var8_10 == var6_5) break;\n var1_9.b();\n if (var17_1 == 0) continue;\n }\n }\n var2_8.g();\n if (var17_1 == 0) continue block3;\n }\n break block3;\n break;\n } while (true);\n var1_9 = this.b.p();\n while (var1_9.f()) {\n var5_4 = var1_9.a();\n v1 = this;\n if (var17_1 == 0) {\n block23 : {\n if (v1.c.n((y.c.d)var5_4)) {\n this.e.m((y.c.d)this.i.b(var5_4));\n if (var17_1 == 0) break block23;\n }\n this.e.e((y.c.d)this.i.b(var5_4));\n }\n var6_5 = this.c.h((y.c.d)var5_4);\n this.e.b((y.c.d)this.i.b(var5_4), (y.c.d)this.i.b(var6_5));\n var1_9.g();\n if (var17_1 == 0) continue;\n }\n break block24;\n }\n v1 = this;\n }\n var5_4 = v1.e.m();\n this.d.a(\"y.layout.orthogonal.general.NodeSplitter.NODE_FACES\", (y.c.c)var5_4);\n var6_5 = this.e.m();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", (y.c.c)var6_5);\n this.m = this.e.g().t();\n this.d.a(\"y.layout.orthogonal.ring.FixedSizeNodeSplitter#NODE_SIZE\", new c((r)var6_5, this.m));\n try {\n this.e.l();\n var7_6 = (y.c.d)this.i.b(var4_3);\n this.e.b(this.e.i((y.c.d)var7_6));\n var8_10 = this.e.h();\n while (var8_10.f()) {\n var5_4.a(var8_10.a(), false);\n var8_10.g();\n if (var17_1 == 0) {\n if (var17_1 == 0) continue;\n }\n break block25;\n }\n var8_10 = this.b.o();\n while (var8_10.f()) {\n var9_11 = var8_10.e();\n if (var17_1 != 0) break;\n if (var9_11.c() <= this.l) ** GOTO lbl-1000\n var10_12 = (y.c.d)this.h.b(var9_11);\n var11_13 = this.e.i((y.c.d)var10_12);\n this.h.a(var9_11, var11_13);\n var5_4.a((p)var11_13, true);\n var12_14 /* !! */ = (y.c.d)this.b.p((y.c.q)var9_11);\n var14_15 = this.b.q((y.c.q)var9_11);\n var16_16 = new Dimension((int)var12_14 /* !! */ , (int)var14_15);\n var6_5.a((p)var11_13, var16_16);\n if (var17_1 != 0) lbl-1000: // 2 sources:\n {\n var10_12 = this.b.r((y.c.q)var9_11);\n if (var10_12.a > 0.0 || var10_12.b > 0.0) {\n var11_13 = (y.c.q)this.h.b(var9_11);\n this.m.a(var11_13, this.b.r((y.c.q)var9_11));\n }\n }\n var8_10.g();\n if (var17_1 == 0) continue;\n break;\n }\n }\n catch (Exception var7_7) {\n System.err.println(\"Internal Error in Face calculation !\");\n var7_7.printStackTrace(System.err);\n }\n }\n var7_6 = this.e.h();\n block9 : do {\n if (var7_6.f() == false) return;\n var8_10 = (p)var7_6.d();\n if (var5_4.d(var8_10)) {\n var9_11 = var8_10.a();\n while (var9_11.f()) {\n var10_12 = var9_11.a();\n this.e.m(this.e.h((y.c.d)var10_12));\n this.e.e((y.c.d)var10_12);\n var9_11.g();\n if (var17_1 != 0) continue block9;\n if (var17_1 == 0) continue;\n }\n }\n var7_6.g();\n } while (var17_1 == 0);\n }",
"public int mo4452e() {\n /*\n r7 = this;\n int r0 = r7.f2518c\n r7.f2519d = r0\n r0 = 0\n r1 = 0\n r2 = 0\n L_0x0007:\n int r3 = r7.f2519d\n if (r3 <= 0) goto L_0x003b\n byte r3 = r7.mo4449a()\n r4 = -1\n if (r3 == 0) goto L_0x0034\n r5 = 1\n if (r3 == r5) goto L_0x002e\n r6 = 2\n if (r3 == r6) goto L_0x002e\n r6 = 9\n if (r3 == r6) goto L_0x0007\n switch(r3) {\n case 14: goto L_0x0028;\n case 15: goto L_0x0028;\n case 16: goto L_0x0025;\n case 17: goto L_0x0025;\n case 18: goto L_0x0022;\n default: goto L_0x001f;\n }\n L_0x001f:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0022:\n int r1 = r1 + 1\n goto L_0x0007\n L_0x0025:\n if (r2 != r1) goto L_0x002b\n return r5\n L_0x0028:\n if (r2 != r1) goto L_0x002b\n return r4\n L_0x002b:\n int r1 = r1 + -1\n goto L_0x0007\n L_0x002e:\n if (r1 != 0) goto L_0x0031\n return r5\n L_0x0031:\n if (r2 != 0) goto L_0x0007\n goto L_0x0039\n L_0x0034:\n if (r1 != 0) goto L_0x0037\n return r4\n L_0x0037:\n if (r2 != 0) goto L_0x0007\n L_0x0039:\n r2 = r1\n goto L_0x0007\n L_0x003b:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: androidx.core.text.BidiFormatter.C0510a.mo4452e():int\");\n }",
"private final void zzR(Object var1_1, zzha var2_2) {\n block94: {\n var3_3 = this;\n var4_4 = var1_1;\n var5_5 = var2_2;\n var6_6 = this.zzh;\n if (var6_6 != 0) break block94;\n var7_7 = this.zzc;\n var6_6 = ((int[])var7_7).length;\n var8_8 = zzja.zzb;\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n var11_11 = var9_9;\n var13_13 = 0;\n for (var12_12 = 0; var12_12 < var6_6; var12_12 += 3) {\n block95: {\n var14_14 = var3_3.zzA(var12_12);\n var15_15 = var3_3.zzc;\n var16_16 = var15_15[var12_12];\n var17_17 = zzja.zzC(var14_14);\n var18_18 = 17;\n var19_19 = 1;\n if (var17_17 <= var18_18) {\n var20_20 = var3_3.zzc;\n var21_21 = var12_12 + 2;\n var18_18 = var20_20[var21_21];\n if ((var21_21 = var18_18 & var9_9) != var11_11) {\n var22_22 = var21_21;\n var13_13 = var8_8.getInt(var4_4, var22_22);\n var11_11 = var21_21;\n }\n var18_18 >>>= 20;\n var18_18 = var19_19 << var18_18;\n } else {\n var18_18 = 0;\n var20_20 = null;\n }\n var24_23 = var14_14 &= var9_9;\n switch (var17_17) lbl-1000:\n // 56 sources\n\n {\n default: {\n var17_17 = 0;\n break block95;\n }\n case 68: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 67: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 66: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 65: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 64: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 63: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 62: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 61: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n ** GOTO lbl-1000\n }\n case 60: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n ** GOTO lbl-1000\n }\n case 59: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 58: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = (int)zzja.zzH(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n ** GOTO lbl-1000\n }\n case 57: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 56: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 55: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var9_9 = zzja.zzF(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n ** GOTO lbl-1000\n }\n case 54: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 53: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var24_23 = zzja.zzG(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n ** GOTO lbl-1000\n }\n case 52: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var10_10 = zzja.zzE(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n ** GOTO lbl-1000\n }\n case 51: {\n var14_14 = (int)var3_3.zzM(var4_4, var16_16, var12_12);\n if (var14_14 == 0) ** GOTO lbl-1000\n var28_26 = zzja.zzD(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n ** GOTO lbl-1000\n }\n case 50: {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var3_3.zzS(var5_5, var16_16, var26_24, var12_12);\n ** GOTO lbl-1000\n }\n case 49: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzaa(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 48: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzN(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 47: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 46: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 45: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 44: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 43: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 42: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzW(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 41: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 40: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 39: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 38: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 37: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 36: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 35: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, (boolean)var19_19);\n ** GOTO lbl-1000\n }\n case 34: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var16_16 = 0;\n var15_15 = null;\n zzjk.zzN(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 33: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzS(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 32: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzP(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 31: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzU(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 30: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzV(var14_14, (List)var26_24, var5_5, false);\n ** GOTO lbl290\n }\n case 29: {\n var16_16 = 0;\n var15_15 = null;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzR(var14_14, (List)var26_24, var5_5, false);\nlbl290:\n // 6 sources\n\n var17_17 = 0;\n break block95;\n }\n case 28: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzY(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 27: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n zzjk.zzZ(var14_14, (List)var26_24, var5_5, var27_25);\n ** GOTO lbl-1000\n }\n case 26: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzX(var14_14, (List)var26_24, var5_5);\n ** GOTO lbl-1000\n }\n case 25: {\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n var17_17 = 0;\n zzjk.zzW(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 24: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzT(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 23: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzO(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 22: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzQ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 21: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzM(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 20: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzL(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 19: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzK(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 18: {\n var17_17 = 0;\n var30_27 = var3_3.zzc;\n var14_14 = var30_27[var12_12];\n var26_24 = (List)var8_8.getObject(var4_4, var24_23);\n zzjk.zzJ(var14_14, (List)var26_24, var5_5, false);\n break block95;\n }\n case 17: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzs(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 16: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzq(var16_16, var24_23);\n }\n break block95;\n }\n case 15: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzp(var16_16, var9_9);\n }\n break block95;\n }\n case 14: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzd(var16_16, var24_23);\n }\n break block95;\n }\n case 13: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzb(var16_16, var9_9);\n }\n break block95;\n }\n case 12: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzg(var16_16, var9_9);\n }\n break block95;\n }\n case 11: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzo(var16_16, var9_9);\n }\n break block95;\n }\n case 10: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = (zzgs)var8_8.getObject(var4_4, var24_23);\n var5_5.zzn(var16_16, (zzgs)var26_24);\n }\n break block95;\n }\n case 9: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n var27_25 = var3_3.zzv(var12_12);\n var5_5.zzr(var16_16, var26_24, var27_25);\n }\n break block95;\n }\n case 8: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var26_24 = var8_8.getObject(var4_4, var24_23);\n zzja.zzT(var16_16, var26_24, var5_5);\n }\n break block95;\n }\n case 7: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = (int)zzkh.zzh(var4_4, var24_23);\n var5_5.zzl(var16_16, (boolean)var9_9);\n }\n break block95;\n }\n case 6: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzk(var16_16, var9_9);\n }\n break block95;\n }\n case 5: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzj(var16_16, var24_23);\n }\n break block95;\n }\n case 4: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var9_9 = var8_8.getInt(var4_4, var24_23);\n var5_5.zzi(var16_16, var9_9);\n }\n break block95;\n }\n case 3: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzh(var16_16, var24_23);\n }\n break block95;\n }\n case 2: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var24_23 = var8_8.getLong(var4_4, var24_23);\n var5_5.zzc(var16_16, var24_23);\n }\n break block95;\n }\n case 1: {\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var10_10 = zzkh.zzj(var4_4, var24_23);\n var5_5.zze(var16_16, var10_10);\n }\n break block95;\n }\n case 0: \n }\n var17_17 = 0;\n var14_14 = var13_13 & var18_18;\n if (var14_14 != 0) {\n var28_26 = zzkh.zzl(var4_4, var24_23);\n var5_5.zzf(var16_16, var28_26);\n }\n }\n var9_9 = 1048575;\n var10_10 = 1.469367E-39f;\n }\n var7_7 = var3_3.zzn;\n var4_4 = var7_7.zzd(var4_4);\n var7_7.zzi(var4_4, var5_5);\n return;\n }\n this.zzo.zzb(var1_1);\n throw null;\n }",
"private final void m710e() {\n /*\n r12 = this;\n akn r0 = r12.f531p\n akl r0 = r0.f601d\n if (r0 == 0) goto L_0x0155\n boolean r1 = r0.f580d\n r2 = -9223372036854775807(0x8000000000000001, double:-4.9E-324)\n if (r1 == 0) goto L_0x0017\n aws r1 = r0.f577a\n long r4 = r1.mo1486c()\n r8 = r4\n goto L_0x0019\n L_0x0017:\n r8 = r2\n L_0x0019:\n int r1 = (r8 > r2 ? 1 : (r8 == r2 ? 0 : -1))\n if (r1 != 0) goto L_0x0122\n ajf r1 = r12.f528m\n akn r2 = r12.f531p\n akl r2 = r2.f602e\n akx r3 = r1.f445c\n r4 = 0\n if (r3 == 0) goto L_0x008a\n boolean r3 = r3.mo486w()\n if (r3 != 0) goto L_0x008a\n akx r3 = r1.f445c\n boolean r3 = r3.mo485v()\n if (r3 == 0) goto L_0x0037\n goto L_0x0042\n L_0x0037:\n if (r0 != r2) goto L_0x008a\n akx r2 = r1.f445c\n boolean r2 = r2.mo359g()\n if (r2 == 0) goto L_0x0042\n goto L_0x008a\n L_0x0042:\n bkr r2 = r1.f446d\n long r2 = r2.mo379b()\n boolean r5 = r1.f447e\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n long r5 = r5.mo379b()\n int r7 = (r2 > r5 ? 1 : (r2 == r5 ? 0 : -1))\n if (r7 >= 0) goto L_0x005c\n blf r2 = r1.f443a\n r2.mo2109d()\n goto L_0x0096\n L_0x005c:\n r1.f447e = r4\n boolean r5 = r1.f448f\n if (r5 == 0) goto L_0x0068\n blf r5 = r1.f443a\n r5.mo2107a()\n L_0x0068:\n blf r5 = r1.f443a\n r5.mo2108a(r2)\n bkr r2 = r1.f446d\n akq r2 = r2.mo376Q()\n blf r3 = r1.f443a\n akq r3 = r3.f4280a\n boolean r3 = r2.equals(r3)\n if (r3 != 0) goto L_0x0096\n blf r3 = r1.f443a\n r3.mo378a(r2)\n aje r3 = r1.f444b\n ake r3 = (p000.ake) r3\n r3.m694a(r2, r4)\n goto L_0x0096\n L_0x008a:\n r2 = 1\n r1.f447e = r2\n boolean r2 = r1.f448f\n if (r2 == 0) goto L_0x0096\n blf r2 = r1.f443a\n r2.mo2107a()\n L_0x0096:\n long r1 = r1.mo379b()\n r12.f513D = r1\n long r0 = r0.mo440b(r1)\n akp r2 = r12.f533r\n long r2 = r2.f623m\n java.util.ArrayList r5 = r12.f530o\n boolean r5 = r5.isEmpty()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n awt r5 = r5.f612b\n boolean r5 = r5.mo1504a()\n if (r5 != 0) goto L_0x011d\n akp r5 = r12.f533r\n long r6 = r5.f613c\n int r8 = (r6 > r2 ? 1 : (r6 == r2 ? 0 : -1))\n if (r8 != 0) goto L_0x00c5\n boolean r6 = r12.f515F\n if (r6 == 0) goto L_0x00c5\n r6 = -1\n long r2 = r2 + r6\n L_0x00c5:\n r12.f515F = r4\n alh r4 = r5.f611a\n awt r5 = r5.f612b\n java.lang.Object r5 = r5.f2566a\n int r4 = r4.mo525a(r5)\n int r5 = r12.f514E\n r6 = 0\n if (r5 <= 0) goto L_0x00e1\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x00e1:\n L_0x00e2:\n r5 = r6\n L_0x00e3:\n if (r5 != 0) goto L_0x00e6\n goto L_0x0109\n L_0x00e6:\n int r5 = r5.f502a\n if (r4 >= 0) goto L_0x00eb\n L_0x00ea:\n goto L_0x00f4\n L_0x00eb:\n if (r4 != 0) goto L_0x0109\n r7 = 0\n int r5 = (r2 > r7 ? 1 : (r2 == r7 ? 0 : -1))\n if (r5 >= 0) goto L_0x0109\n goto L_0x00ea\n L_0x00f4:\n int r5 = r12.f514E\n int r5 = r5 + -1\n r12.f514E = r5\n if (r5 <= 0) goto L_0x0108\n java.util.ArrayList r7 = r12.f530o\n int r5 = r5 + -1\n java.lang.Object r5 = r7.get(r5)\n akb r5 = (p000.akb) r5\n goto L_0x00e3\n L_0x0108:\n goto L_0x00e2\n L_0x0109:\n int r2 = r12.f514E\n java.util.ArrayList r3 = r12.f530o\n int r3 = r3.size()\n if (r2 >= r3) goto L_0x011d\n java.util.ArrayList r2 = r12.f530o\n int r3 = r12.f514E\n java.lang.Object r2 = r2.get(r3)\n akb r2 = (p000.akb) r2\n L_0x011d:\n akp r2 = r12.f533r\n r2.f623m = r0\n goto L_0x0140\n L_0x0122:\n r12.m691a(r8)\n akp r0 = r12.f533r\n long r0 = r0.f623m\n int r2 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1))\n if (r2 == 0) goto L_0x0140\n akp r0 = r12.f533r\n awt r7 = r0.f612b\n long r10 = r0.f614d\n r6 = r12\n akp r0 = r6.m686a(r7, r8, r10)\n r12.f533r = r0\n akc r0 = r12.f529n\n r1 = 4\n r0.mo409b(r1)\n L_0x0140:\n akn r0 = r12.f531p\n akl r0 = r0.f603f\n akp r1 = r12.f533r\n long r2 = r0.mo442c()\n r1.f621k = r2\n akp r0 = r12.f533r\n long r1 = r12.m719n()\n r0.f622l = r1\n return\n L_0x0155:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000.ake.m710e():void\");\n }",
"private final boolean e() {\n /*\n r15 = this;\n r2 = 0\n r1 = 0\n dtd r0 = r15.m // Catch:{ all -> 0x008e }\n if (r0 != 0) goto L_0x000d\n dtd r0 = new dtd // Catch:{ all -> 0x008e }\n r0.<init>() // Catch:{ all -> 0x008e }\n r15.m = r0 // Catch:{ all -> 0x008e }\n L_0x000d:\n int r0 = r15.k // Catch:{ all -> 0x008e }\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x039e\n dvk r3 = r15.g // Catch:{ all -> 0x008e }\n if (r3 == 0) goto L_0x0356\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 == 0) goto L_0x0025\n int r3 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != r4) goto L_0x0032\n L_0x0025:\n r3 = 2097152(0x200000, float:2.938736E-39)\n int r3 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = new byte[r3] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r15.h = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r15.i = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0032:\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.length // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r4\n int r6 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r7 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r8 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r9 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n boolean r0 = r7.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x00ac\n r0 = 1\n L_0x0047:\n java.lang.String r3 = \"GzipInflatingBuffer is closed\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 0\n r0 = 1\n r5 = r3\n L_0x004f:\n if (r0 == 0) goto L_0x02ef\n int r3 = r6 - r5\n if (r3 <= 0) goto L_0x02ef\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.ordinal() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n switch(r0) {\n case 0: goto L_0x00ae;\n case 1: goto L_0x0148;\n case 2: goto L_0x0171;\n case 3: goto L_0x01d7;\n case 4: goto L_0x01fc;\n case 5: goto L_0x0221;\n case 6: goto L_0x0256;\n case 7: goto L_0x0289;\n case 8: goto L_0x02a2;\n case 9: goto L_0x02e9;\n default: goto L_0x005e;\n } // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x005e:\n java.lang.AssertionError r0 = new java.lang.AssertionError // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = java.lang.String.valueOf(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4.length() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r4 + 15\n java.lang.StringBuilder r5 = new java.lang.StringBuilder // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5.<init>(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r4 = \"Invalid state: \"\n java.lang.StringBuilder r4 = r5.append(r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.StringBuilder r3 = r4.append(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = r3.toString() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0087:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x008e:\n r0 = move-exception\n if (r2 <= 0) goto L_0x00ab\n dxe r3 = r15.a\n r3.a(r2)\n dxh r3 = r15.j\n dxh r4 = defpackage.dxh.BODY\n if (r3 != r4) goto L_0x00ab\n dvk r3 = r15.g\n if (r3 == 0) goto L_0x03c9\n dzo r2 = r15.d\n long r4 = (long) r1\n r2.d(r4)\n int r2 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n L_0x00ab:\n throw r0\n L_0x00ac:\n r0 = 0\n goto L_0x0047\n L_0x00ae:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x00ba\n r0 = 0\n goto L_0x004f\n L_0x00ba:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 35615(0x8b1f, float:4.9907E-41)\n if (r0 == r3) goto L_0x00d4\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Not in GZIP format\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00cd:\n r0 = move-exception\n java.lang.RuntimeException r3 = new java.lang.RuntimeException // Catch:{ all -> 0x008e }\n r3.<init>(r0) // Catch:{ all -> 0x008e }\n throw r3 // Catch:{ all -> 0x008e }\n L_0x00d4:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 8\n if (r0 == r3) goto L_0x00e6\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Unsupported compression method\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x00e6:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.j = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvl r4 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 6\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r10.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3 - r10\n if (r3 <= 0) goto L_0x03d9\n r0 = 6\n int r0 = java.lang.Math.min(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r10 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r10 = r10.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r11 = r11.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r10, r11, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = 6 - r0\n r3 = r0\n L_0x0118:\n if (r3 <= 0) goto L_0x013b\n r0 = 512(0x200, float:7.175E-43)\n byte[] r10 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x011f:\n if (r0 >= r3) goto L_0x013b\n int r11 = r3 - r0\n r12 = 512(0x200, float:7.175E-43)\n int r11 = java.lang.Math.min(r11, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r12 = r12.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.a(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r12 = r12.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r13 = 0\n r12.update(r10, r13, r11) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r11\n goto L_0x011f\n L_0x013b:\n dvk r0 = r4.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 6\n defpackage.dvk.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA_LEN // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0148:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 4\n r3 = 4\n if (r0 == r3) goto L_0x0156\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0156:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0162\n r0 = 0\n goto L_0x004f\n L_0x0162:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.k = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_EXTRA // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0171:\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 >= r3) goto L_0x017e\n r0 = 0\n goto L_0x004f\n L_0x017e:\n dvl r10 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r7.k // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x03d6\n int r0 = java.lang.Math.min(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r3 = r3.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r11 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r11 = r11.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r12 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r12 = r12.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.update(r11, r12, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r3 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.a(r3, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r4 - r0\n r3 = r0\n L_0x01a8:\n if (r3 <= 0) goto L_0x01cb\n r0 = 512(0x200, float:7.175E-43)\n byte[] r11 = new byte[r0] // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 0\n L_0x01af:\n if (r0 >= r3) goto L_0x01cb\n int r12 = r3 - r0\n r13 = 512(0x200, float:7.175E-43)\n int r12 = java.lang.Math.min(r12, r13) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r13 = r13.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.a(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r13 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.CRC32 r13 = r13.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r14 = 0\n r13.update(r11, r14, r12) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r12\n goto L_0x01af\n L_0x01cb:\n dvk r0 = r10.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n defpackage.dvk.b(r0, r4) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.HEADER_NAME // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01d7:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 8\n r3 = 8\n if (r0 != r3) goto L_0x01f5\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x01e1:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x01f3\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x01e1\n r0 = 1\n L_0x01ee:\n if (r0 != 0) goto L_0x01f5\n r0 = 0\n goto L_0x004f\n L_0x01f3:\n r0 = 0\n goto L_0x01ee\n L_0x01f5:\n dvm r0 = defpackage.dvm.HEADER_COMMENT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x01fc:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 16\n r3 = 16\n if (r0 != r3) goto L_0x021a\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0206:\n int r3 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 <= 0) goto L_0x0218\n int r3 = r0.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r3 != 0) goto L_0x0206\n r0 = 1\n L_0x0213:\n if (r0 != 0) goto L_0x021a\n r0 = 0\n goto L_0x004f\n L_0x0218:\n r0 = 0\n goto L_0x0213\n L_0x021a:\n dvm r0 = defpackage.dvm.HEADER_CRC // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0221:\n int r0 = r7.j // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = r0 & 2\n r3 = 2\n if (r0 != r3) goto L_0x024f\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 2\n if (r0 >= r3) goto L_0x0234\n r0 = 0\n goto L_0x004f\n L_0x0234:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n long r10 = r0.getValue() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = (int) r10 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 65535(0xffff, float:9.1834E-41)\n r0 = r0 & r3\n dvl r3 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r3.c() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == r3) goto L_0x024f\n java.util.zip.ZipException r0 = new java.util.zip.ZipException // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.lang.String r3 = \"Corrupt GZIP header\"\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n throw r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x024f:\n dvm r0 = defpackage.dvm.INITIALIZE_INFLATER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x0256:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x027e\n java.util.zip.Inflater r0 = new java.util.zip.Inflater // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 1\n r0.<init>(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.g = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x0262:\n java.util.zip.CRC32 r0 = r7.b // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 - r3\n if (r0 <= 0) goto L_0x0284\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n L_0x027b:\n r0 = 1\n goto L_0x004f\n L_0x027e:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.reset() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x0262\n L_0x0284:\n dvm r0 = defpackage.dvm.INFLATER_NEEDS_INPUT // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x027b\n L_0x0289:\n int r0 = r9 + r5\n int r0 = r7.a(r8, r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r5 + r0\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r4 = defpackage.dvm.TRAILER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r4) goto L_0x029e\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r5 = r3\n goto L_0x004f\n L_0x029e:\n r0 = 1\n r5 = r3\n goto L_0x004f\n L_0x02a2:\n java.util.zip.Inflater r0 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 == 0) goto L_0x02c7\n r0 = 1\n L_0x02a7:\n java.lang.String r3 = \"inflater is null\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r7.f // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x02c9\n r0 = 1\n L_0x02b3:\n java.lang.String r3 = \"inflaterInput has unconsumed bytes\"\n defpackage.cld.b(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r0 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 512(0x200, float:7.175E-43)\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != 0) goto L_0x02cb\n r0 = 0\n goto L_0x004f\n L_0x02c7:\n r0 = 0\n goto L_0x02a7\n L_0x02c9:\n r0 = 0\n goto L_0x02b3\n L_0x02cb:\n r3 = 0\n r7.e = r3 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.f = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dtd r3 = r7.a // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.a(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n java.util.zip.Inflater r3 = r7.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r4 = r7.d // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r10 = r7.e // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3.setInput(r4, r10, r0) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r0 = defpackage.dvm.INFLATING // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r7.h = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0 = 1\n goto L_0x004f\n L_0x02e9:\n boolean r0 = r7.a() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x004f\n L_0x02ef:\n if (r0 == 0) goto L_0x0301\n dvm r0 = r7.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvm r3 = defpackage.dvm.HEADER // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n if (r0 != r3) goto L_0x0334\n dvl r0 = r7.c // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0.b() // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r3 = 10\n if (r0 >= r3) goto L_0x0334\n L_0x0301:\n r0 = 1\n L_0x0302:\n r7.n = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.l // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.l = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r2 = r2 + r3\n dvk r0 = r15.g // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r3 = r0.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r4 = 0\n r0.m = r4 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r1 = r1 + r3\n if (r5 != 0) goto L_0x0342\n if (r2 <= 0) goto L_0x0332\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0332\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x0336\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0332:\n r0 = 0\n L_0x0333:\n return r0\n L_0x0334:\n r0 = 0\n goto L_0x0302\n L_0x0336:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0332\n L_0x0342:\n dtd r0 = r15.m // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n byte[] r3 = r15.h // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r4 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n dxv r3 = defpackage.dxw.a(r3, r4, r5) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n r0.a(r3) // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r15.i // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n int r0 = r0 + r5\n r15.i = r0 // Catch:{ IOException -> 0x0087, DataFormatException -> 0x00cd }\n goto L_0x000d\n L_0x0356:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n if (r3 != 0) goto L_0x0386\n if (r2 <= 0) goto L_0x0378\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x0378\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x037a\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x0378:\n r0 = 0\n goto L_0x0333\n L_0x037a:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x0378\n L_0x0386:\n dtd r3 = r15.n // Catch:{ all -> 0x008e }\n int r3 = r3.a // Catch:{ all -> 0x008e }\n int r0 = java.lang.Math.min(r0, r3) // Catch:{ all -> 0x008e }\n int r2 = r2 + r0\n dtd r3 = r15.m // Catch:{ all -> 0x008e }\n dtd r4 = r15.n // Catch:{ all -> 0x008e }\n dxv r0 = r4.a(r0) // Catch:{ all -> 0x008e }\n dtd r0 = (defpackage.dtd) r0 // Catch:{ all -> 0x008e }\n r3.a(r0) // Catch:{ all -> 0x008e }\n goto L_0x000d\n L_0x039e:\n if (r2 <= 0) goto L_0x03ba\n dxe r0 = r15.a\n r0.a(r2)\n dxh r0 = r15.j\n dxh r3 = defpackage.dxh.BODY\n if (r0 != r3) goto L_0x03ba\n dvk r0 = r15.g\n if (r0 == 0) goto L_0x03bd\n dzo r0 = r15.d\n long r2 = (long) r1\n r0.d(r2)\n int r0 = r15.r\n int r0 = r0 + r1\n r15.r = r0\n L_0x03ba:\n r0 = 1\n goto L_0x0333\n L_0x03bd:\n dzo r0 = r15.d\n long r4 = (long) r2\n r0.d(r4)\n int r0 = r15.r\n int r0 = r0 + r2\n r15.r = r0\n goto L_0x03ba\n L_0x03c9:\n dzo r1 = r15.d\n long r4 = (long) r2\n r1.d(r4)\n int r1 = r15.r\n int r1 = r1 + r2\n r15.r = r1\n goto L_0x00ab\n L_0x03d6:\n r3 = r4\n goto L_0x01a8\n L_0x03d9:\n r3 = r0\n goto L_0x0118\n */\n throw new UnsupportedOperationException(\"Method not decompiled: defpackage.dxd.e():boolean\");\n }",
"private void method_7082(class_1293 param1) {\r\n // $FF: Couldn't be decompiled\r\n }",
"private void m1654a(p000a.p001a.p002a.p003a.p022i.p024b.C0112x r7, p000a.p001a.p002a.p003a.p034n.C0157e r8) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/293907205.run(Unknown Source)\n*/\n /*\n r6 = this;\n r0 = r7.m322b();\n r7 = r7.m321a();\n r1 = 0;\n L_0x0009:\n r2 = \"http.request\";\n r8.mo160a(r2, r7);\n r1 = r1 + 1;\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x002f }\n r2 = r2.mo1932c();\t Catch:{ IOException -> 0x002f }\n if (r2 != 0) goto L_0x0020;\t Catch:{ IOException -> 0x002f }\n L_0x0018:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x002f }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x002f }\n r2.mo2023a(r0, r8, r3);\t Catch:{ IOException -> 0x002f }\n goto L_0x002b;\t Catch:{ IOException -> 0x002f }\n L_0x0020:\n r2 = r6.f1529q;\t Catch:{ IOException -> 0x002f }\n r3 = r6.f1528p;\t Catch:{ IOException -> 0x002f }\n r3 = p000a.p001a.p002a.p003a.p032l.C0150c.m428a(r3);\t Catch:{ IOException -> 0x002f }\n r2.mo1931b(r3);\t Catch:{ IOException -> 0x002f }\n L_0x002b:\n r6.m1660a(r0, r8);\t Catch:{ IOException -> 0x002f }\n return;\n L_0x002f:\n r2 = move-exception;\n r3 = r6.f1529q;\t Catch:{ IOException -> 0x0035 }\n r3.close();\t Catch:{ IOException -> 0x0035 }\n L_0x0035:\n r3 = r6.f1520h;\n r3 = r3.retryRequest(r2, r1, r8);\n if (r3 == 0) goto L_0x00a0;\n L_0x003d:\n r3 = r6.f1513a;\n r3 = r3.m270d();\n if (r3 == 0) goto L_0x0009;\n L_0x0045:\n r3 = r6.f1513a;\n r4 = new java.lang.StringBuilder;\n r4.<init>();\n r5 = \"I/O exception (\";\n r4.append(r5);\n r5 = r2.getClass();\n r5 = r5.getName();\n r4.append(r5);\n r5 = \") caught when connecting to \";\n r4.append(r5);\n r4.append(r0);\n r5 = \": \";\n r4.append(r5);\n r5 = r2.getMessage();\n r4.append(r5);\n r4 = r4.toString();\n r3.m269d(r4);\n r3 = r6.f1513a;\n r3 = r3.m262a();\n if (r3 == 0) goto L_0x0088;\n L_0x007f:\n r3 = r6.f1513a;\n r4 = r2.getMessage();\n r3.m261a(r4, r2);\n L_0x0088:\n r2 = r6.f1513a;\n r3 = new java.lang.StringBuilder;\n r3.<init>();\n r4 = \"Retrying connect to \";\n r3.append(r4);\n r3.append(r0);\n r3 = r3.toString();\n r2.m269d(r3);\n goto L_0x0009;\n L_0x00a0:\n throw r2;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.a.a.a.i.b.p.a(a.a.a.a.i.b.x, a.a.a.a.n.e):void\");\n }",
"public void a(com.xiaomi.push.jc r6) {\n /*\n r5 = this;\n r6.a()\n L_0x0003:\n com.xiaomi.push.iz r0 = r6.a()\n byte r1 = r0.a\n if (r1 != 0) goto L_0x0012\n r6.f()\n r5.a()\n return\n L_0x0012:\n short r1 = r0.f784a\n r2 = 11\n switch(r1) {\n case 1: goto L_0x00b6;\n case 2: goto L_0x00a3;\n case 3: goto L_0x0098;\n case 4: goto L_0x008d;\n case 5: goto L_0x0082;\n case 6: goto L_0x0019;\n case 7: goto L_0x0071;\n case 8: goto L_0x0066;\n case 9: goto L_0x0038;\n case 10: goto L_0x002c;\n case 11: goto L_0x0020;\n default: goto L_0x0019;\n }\n L_0x0019:\n byte r0 = r0.a\n com.xiaomi.push.jf.a(r6, r0)\n goto L_0x00c0\n L_0x0020:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f573g = r0\n goto L_0x00c0\n L_0x002c:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f572f = r0\n goto L_0x00c0\n L_0x0038:\n byte r1 = r0.a\n r2 = 13\n if (r1 != r2) goto L_0x0019\n com.xiaomi.push.jb r0 = r6.a()\n java.util.HashMap r1 = new java.util.HashMap\n int r2 = r0.f788a\n int r2 = r2 * 2\n r1.<init>(r2)\n r5.f567a = r1\n r1 = 0\n L_0x004e:\n int r2 = r0.f788a\n if (r1 >= r2) goto L_0x0062\n java.lang.String r2 = r6.a()\n java.lang.String r3 = r6.a()\n java.util.Map<java.lang.String, java.lang.String> r4 = r5.f567a\n r4.put(r2, r3)\n int r1 = r1 + 1\n goto L_0x004e\n L_0x0062:\n r6.h()\n goto L_0x00c0\n L_0x0066:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f571e = r0\n goto L_0x00c0\n L_0x0071:\n byte r1 = r0.a\n r2 = 10\n if (r1 != r2) goto L_0x0019\n long r0 = r6.a()\n r5.f563a = r0\n r0 = 1\n r5.a((boolean) r0)\n goto L_0x00c0\n L_0x0082:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f570d = r0\n goto L_0x00c0\n L_0x008d:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f569c = r0\n goto L_0x00c0\n L_0x0098:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f568b = r0\n goto L_0x00c0\n L_0x00a3:\n byte r1 = r0.a\n r2 = 12\n if (r1 != r2) goto L_0x0019\n com.xiaomi.push.hv r0 = new com.xiaomi.push.hv\n r0.<init>()\n r5.f564a = r0\n com.xiaomi.push.hv r0 = r5.f564a\n r0.a((com.xiaomi.push.jc) r6)\n goto L_0x00c0\n L_0x00b6:\n byte r1 = r0.a\n if (r1 != r2) goto L_0x0019\n java.lang.String r0 = r6.a()\n r5.f565a = r0\n L_0x00c0:\n r6.g()\n goto L_0x0003\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.xiaomi.push.hx.a(com.xiaomi.push.jc):void\");\n }",
"private static void m13381a(long r3, float r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = com.foursquare.internal.data.db.C1916a.getDatabase();\n r0.beginTransaction();\t Catch:{ Exception -> 0x001f }\n r1 = \"INSERT INTO battery_watcher (timestamp, level) VALUES (?, ?)\";\t Catch:{ Exception -> 0x001f }\n r1 = r0.compileStatement(r1);\t Catch:{ Exception -> 0x001f }\n r2 = 1;\t Catch:{ Exception -> 0x001f }\n r1.bindLong(r2, r3);\t Catch:{ Exception -> 0x001f }\n r3 = 2;\t Catch:{ Exception -> 0x001f }\n r4 = (double) r5;\t Catch:{ Exception -> 0x001f }\n r1.bindDouble(r3, r4);\t Catch:{ Exception -> 0x001f }\n r1.execute();\t Catch:{ Exception -> 0x001f }\n r0.setTransactionSuccessful();\t Catch:{ Exception -> 0x001f }\n goto L_0x0026;\n L_0x001d:\n r3 = move-exception;\n goto L_0x002a;\n L_0x001f:\n r3 = f10646a;\t Catch:{ all -> 0x001d }\n r4 = \"Issue adding location to battery history\";\t Catch:{ all -> 0x001d }\n com.foursquare.internal.util.FsLog.m6807d(r3, r4);\t Catch:{ all -> 0x001d }\n L_0x0026:\n r0.endTransaction();\n return;\n L_0x002a:\n r0.endTransaction();\n throw r3;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.e.a(long, float):void\");\n }",
"public void method_2250() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public final void a(com.tencent.mm.plugin.game.c.ai r12, java.lang.String r13, int r14, int r15) {\n /*\n r11 = this;\n if (r12 == 0) goto L_0x000a;\n L_0x0002:\n r0 = r12.nmz;\n r0 = com.tencent.mm.sdk.platformtools.bi.cC(r0);\n if (r0 == 0) goto L_0x0010;\n L_0x000a:\n r0 = 8;\n r11.setVisibility(r0);\n L_0x000f:\n return;\n L_0x0010:\n r11.mAppId = r13;\n r11.niV = r15;\n r0 = r12.nmz;\n r7 = r0.iterator();\n L_0x001a:\n r0 = r7.hasNext();\n if (r0 == 0) goto L_0x000f;\n L_0x0020:\n r0 = r7.next();\n r4 = r0;\n r4 = (com.tencent.mm.plugin.game.c.k) r4;\n if (r4 == 0) goto L_0x001a;\n L_0x0029:\n r5 = new com.tencent.mm.plugin.game.d.e$a$a;\n r5.<init>();\n r0 = r4.nlz;\n switch(r0) {\n case 1: goto L_0x004a;\n case 2: goto L_0x00e3;\n default: goto L_0x0033;\n };\n L_0x0033:\n r0 = 2;\n if (r14 != r0) goto L_0x001a;\n L_0x0036:\n r0 = r11.mContext;\n r1 = 10;\n r2 = 1002; // 0x3ea float:1.404E-42 double:4.95E-321;\n r3 = r4.nlw;\n r4 = r4.nlr;\n r6 = com.tencent.mm.plugin.game.model.ap.CD(r4);\n r4 = r13;\n r5 = r15;\n com.tencent.mm.plugin.game.model.ap.a(r0, r1, r2, r3, r4, r5, r6);\n goto L_0x001a;\n L_0x004a:\n r0 = r4.nlx;\n if (r0 == 0) goto L_0x001a;\n L_0x004e:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djD;\n r2 = 1;\n r6 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cxP;\n r0 = r6.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cxR;\n r1 = r6.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cxO;\n r2 = r6.findViewById(r2);\n r2 = (com.tencent.mm.plugin.game.widget.EllipsizingTextView) r2;\n r3 = 2;\n r2.setMaxLines(r3);\n r3 = com.tencent.mm.R.h.cxQ;\n r3 = r6.findViewById(r3);\n r3 = (android.widget.ImageView) r3;\n r8 = r11.mContext;\n r9 = r4.nlv;\n r10 = r0.getTextSize();\n r8 = com.tencent.mm.pluginsdk.ui.d.i.b(r8, r9, r10);\n r0.setText(r8);\n r0 = r11.mContext;\n r8 = r4.nlx;\n r8 = r8.fpg;\n r9 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r8, r9);\n r1.setText(r0);\n r0 = r11.mContext;\n r1 = r4.nlx;\n r1 = r1.nkL;\n r8 = r2.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r1, r8);\n r2.setText(r0);\n r0 = r4.nlx;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x00dd;\n L_0x00b9:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nlx;\n r1 = r1.nkM;\n r2 = r5.aSD();\n r0.a(r3, r1, r2);\n L_0x00c8:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nlx;\n r2 = r2.nkN;\n r3 = r4.nlr;\n r0.<init>(r1, r2, r3);\n r6.setTag(r0);\n r6.setOnClickListener(r11);\n goto L_0x0033;\n L_0x00dd:\n r0 = 8;\n r3.setVisibility(r0);\n goto L_0x00c8;\n L_0x00e3:\n r0 = r4.nly;\n if (r0 == 0) goto L_0x001a;\n L_0x00e7:\n r11.e(r11);\n r0 = r11.DF;\n r1 = com.tencent.mm.R.i.djE;\n r2 = 1;\n r3 = r0.inflate(r1, r11, r2);\n r0 = com.tencent.mm.R.h.cOG;\n r0 = r3.findViewById(r0);\n r0 = (android.widget.TextView) r0;\n r1 = com.tencent.mm.R.h.cOI;\n r1 = r3.findViewById(r1);\n r1 = (android.widget.TextView) r1;\n r2 = com.tencent.mm.R.h.cOH;\n r2 = r3.findViewById(r2);\n r2 = (android.widget.ImageView) r2;\n r6 = r11.mContext;\n r8 = r4.nlv;\n r9 = r0.getTextSize();\n r6 = com.tencent.mm.pluginsdk.ui.d.i.b(r6, r8, r9);\n r0.setText(r6);\n r0 = r11.mContext;\n r6 = r4.nly;\n r6 = r6.fpg;\n r8 = r1.getTextSize();\n r0 = com.tencent.mm.pluginsdk.ui.d.i.b(r0, r6, r8);\n r1.setText(r0);\n r0 = r4.nly;\n r0 = r0.nkM;\n r0 = com.tencent.mm.sdk.platformtools.bi.oN(r0);\n if (r0 != 0) goto L_0x016f;\n L_0x0135:\n r0 = r4.nly;\n r0 = r0.npS;\n r1 = 1;\n if (r0 != r1) goto L_0x0167;\n L_0x013c:\n r0 = 1;\n r5.nDa = r0;\n r0 = com.tencent.mm.R.g.bCF;\n r5.nDd = r0;\n L_0x0143:\n r0 = com.tencent.mm.plugin.game.d.e.aSC();\n r1 = r4.nly;\n r1 = r1.nkM;\n r5 = r5.aSD();\n r0.a(r2, r1, r5);\n L_0x0152:\n r0 = new com.tencent.mm.plugin.game.ui.f$a;\n r1 = r4.nlw;\n r2 = r4.nly;\n r2 = r2.nkN;\n r5 = r4.nlr;\n r0.<init>(r1, r2, r5);\n r3.setTag(r0);\n r3.setOnClickListener(r11);\n goto L_0x0033;\n L_0x0167:\n r0 = 1;\n r5.hFJ = r0;\n r0 = com.tencent.mm.R.g.bCE;\n r5.nDd = r0;\n goto L_0x0143;\n L_0x016f:\n r0 = 8;\n r2.setVisibility(r0);\n goto L_0x0152;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.game.ui.f.a(com.tencent.mm.plugin.game.c.ai, java.lang.String, int, int):void\");\n }",
"private void b044904490449щ0449щ() {\n /*\n r7 = this;\n r0 = new rrrrrr.ccrcrc;\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r2 = r7.bнн043Dннн;\n r2 = com.immersion.aws.analytics.ImmrAnalytics.b044C044C044C044Cьь(r2);\n r2 = r2.getFilesDir();\n r1 = r1.append(r2);\n r2 = java.io.File.separator;\n r1 = r1.append(r2);\n L_0x001b:\n r2 = 1;\n switch(r2) {\n case 0: goto L_0x001b;\n case 1: goto L_0x0024;\n default: goto L_0x001f;\n };\n L_0x001f:\n r2 = 0;\n switch(r2) {\n case 0: goto L_0x0024;\n case 1: goto L_0x001b;\n default: goto L_0x0023;\n };\n L_0x0023:\n goto L_0x001f;\n L_0x0024:\n r2 = \"3HC4C-01.txt\";\n r1 = r1.append(r2);\n r1 = r1.toString();\n r0.<init>(r1);\n r0.load();\n L_0x0034:\n r1 = r0.size();\n if (r1 <= 0) goto L_0x007a;\n L_0x003a:\n r1 = r0.peek();\n r2 = new rrrrrr.rcccrr;\n r2.<init>();\n r3 = r7.bнн043Dннн;\n r3 = com.immersion.aws.analytics.ImmrAnalytics.b044Cь044C044Cьь(r3);\n monitor-enter(r3);\n r4 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r4 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r4);\t Catch:{ all -> 0x0074 }\n r4 = r4.bЛ041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r5 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r5 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r5);\t Catch:{ all -> 0x0074 }\n r5 = r5.b041B041B041BЛ041BЛ;\t Catch:{ all -> 0x0074 }\n r6 = r7.bнн043Dннн;\t Catch:{ all -> 0x0074 }\n r6 = com.immersion.aws.analytics.ImmrAnalytics.bь044C044C044Cьь(r6);\t Catch:{ all -> 0x0074 }\n r6 = r6.bЛЛЛ041B041BЛ;\t Catch:{ all -> 0x0074 }\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n r1 = r2.sendHttpRequestFromCache(r4, r5, r6, r1);\n if (r1 == 0) goto L_0x0077;\n L_0x0069:\n if (r4 == 0) goto L_0x0077;\n L_0x006b:\n if (r5 == 0) goto L_0x0077;\n L_0x006d:\n r0.remove();\n r0.save();\n goto L_0x0034;\n L_0x0074:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x0074 }\n throw r0;\n L_0x0077:\n r0.save();\n L_0x007a:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rrrrrr.cccccr.b044904490449щ0449щ():void\");\n }",
"public void run() {\n /*\n r8 = this;\n r1 = com.umeng.commonsdk.proguard.b.b;\t Catch:{ Throwable -> 0x00c9 }\n monitor-enter(r1);\t Catch:{ Throwable -> 0x00c9 }\n r0 = r8.a;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x0009:\n r0 = r8.b;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x000d:\n r0 = com.umeng.commonsdk.proguard.b.a;\t Catch:{ all -> 0x00c6 }\n if (r0 != 0) goto L_0x00c4;\n L_0x0013:\n r0 = 1;\n com.umeng.commonsdk.proguard.b.a = r0;\t Catch:{ all -> 0x00c6 }\n r0 = \"walle-crash\";\n r2 = 1;\n r2 = new java.lang.Object[r2];\t Catch:{ all -> 0x00c6 }\n r3 = 0;\n r4 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c6 }\n r4.<init>();\t Catch:{ all -> 0x00c6 }\n r5 = \"report thread is \";\n r4 = r4.append(r5);\t Catch:{ all -> 0x00c6 }\n r5 = com.umeng.commonsdk.proguard.b.a;\t Catch:{ all -> 0x00c6 }\n r4 = r4.append(r5);\t Catch:{ all -> 0x00c6 }\n r4 = r4.toString();\t Catch:{ all -> 0x00c6 }\n r2[r3] = r4;\t Catch:{ all -> 0x00c6 }\n com.umeng.commonsdk.statistics.common.e.a(r0, r2);\t Catch:{ all -> 0x00c6 }\n r0 = r8.b;\t Catch:{ all -> 0x00c6 }\n r0 = com.umeng.commonsdk.proguard.c.a(r0);\t Catch:{ all -> 0x00c6 }\n r2 = android.text.TextUtils.isEmpty(r0);\t Catch:{ all -> 0x00c6 }\n if (r2 != 0) goto L_0x00c4;\n L_0x0045:\n r2 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c6 }\n r2.<init>();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r3 = r3.getFilesDir();\t Catch:{ all -> 0x00c6 }\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"/\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"stateless\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"/\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"umpx_internal\";\n r3 = r3.getBytes();\t Catch:{ all -> 0x00c6 }\n r4 = 0;\n r3 = android.util.Base64.encodeToString(r3, r4);\t Catch:{ all -> 0x00c6 }\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r2 = r2.toString();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r4 = 10;\n com.umeng.commonsdk.stateless.f.a(r3, r2, r4);\t Catch:{ all -> 0x00c6 }\n r2 = new com.umeng.commonsdk.stateless.UMSLEnvelopeBuild;\t Catch:{ all -> 0x00c6 }\n r2.<init>();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r3 = r2.buildSLBaseHeader(r3);\t Catch:{ all -> 0x00c6 }\n r4 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r4.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"content\";\n r4.put(r5, r0);\t Catch:{ JSONException -> 0x00cb }\n r0 = \"ts\";\n r6 = java.lang.System.currentTimeMillis();\t Catch:{ JSONException -> 0x00cb }\n r4.put(r0, r6);\t Catch:{ JSONException -> 0x00cb }\n r0 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r0.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"crash\";\n r0.put(r5, r4);\t Catch:{ JSONException -> 0x00cb }\n r4 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r4.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"tp\";\n r4.put(r5, r0);\t Catch:{ JSONException -> 0x00cb }\n r0 = r8.a;\t Catch:{ JSONException -> 0x00cb }\n r5 = \"umpx_internal\";\n r0 = r2.buildSLEnvelope(r0, r3, r4, r5);\t Catch:{ JSONException -> 0x00cb }\n if (r0 == 0) goto L_0x00c4;\n L_0x00bc:\n r2 = \"exception\";\n r0 = r0.has(r2);\t Catch:{ JSONException -> 0x00cb }\n if (r0 != 0) goto L_0x00c4;\n L_0x00c4:\n monitor-exit(r1);\t Catch:{ all -> 0x00c6 }\n L_0x00c5:\n return;\n L_0x00c6:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x00c6 }\n throw r0;\t Catch:{ Throwable -> 0x00c9 }\n L_0x00c9:\n r0 = move-exception;\n goto L_0x00c5;\n L_0x00cb:\n r0 = move-exception;\n goto L_0x00c4;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.umeng.commonsdk.proguard.bb.run():void\");\n }",
"private void m14047a(@javax.annotation.Nullable okhttp3.internal.p155a.C2918d.C2915a r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r0 = this;\n if (r1 == 0) goto L_0x0005;\n L_0x0002:\n r1.m14100c();\t Catch:{ IOException -> 0x0005 }\n L_0x0005:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: okhttp3.c.a(okhttp3.internal.a.d$a):void\");\n }",
"public static void m5820b(java.lang.String r3, java.lang.String r4, java.lang.String r5) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r0 = new com.crashlytics.android.answers.StartCheckoutEvent;\n r0.<init>();\n r1 = java.util.Locale.getDefault();\n r1 = java.util.Currency.getInstance(r1);\n r0.putCurrency(r1);\n r1 = 1;\n r0.putItemCount(r1);\n r1 = java.lang.Long.parseLong(r3);\t Catch:{ Exception -> 0x001f }\n r3 = java.math.BigDecimal.valueOf(r1);\t Catch:{ Exception -> 0x001f }\n r0.putTotalPrice(r3);\t Catch:{ Exception -> 0x001f }\n L_0x001f:\n r3 = \"type\";\n r0.putCustomAttribute(r3, r4);\n r3 = \"cta\";\n r0.putCustomAttribute(r3, r5);\n r3 = com.crashlytics.android.answers.Answers.getInstance();\n r3.logStartCheckout(r0);\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.cuvora.carinfo.helpers.d.b(java.lang.String, java.lang.String, java.lang.String):void\");\n }",
"public JBlock _finally() {\n // This method could not be decompiled.\n // \n // Original Bytecode:\n // \n // 0: iconst_0 \n // 1: nop \n // 2: nop \n // 3: nop \n // 4: aload_3 \n // 5: nop \n // 6: lconst_0 \n // 7: nop \n // 8: iaload \n // 9: nop \n // 10: ldc2_w \"Lcom/sun/codemodel/JFormatter;\"\n // 13: nop \n // 14: fload_0 /* this */\n // 15: nop \n // 16: nop \n // 17: nop \n // 18: lload_2 \n // 19: nop \n // 20: iconst_0 \n // 21: nop \n // 22: nop \n // LocalVariableTable:\n // Start Length Slot Name Signature\n // ----- ------ ---- ---- -----------------------------\n // 0 23 0 this Lcom/sun/codemodel/JTryBlock;\n // \n // The error that occurred was:\n // \n // java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number\n // at com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.execute(StackMappingVisitor.java:935)\n // at com.strobel.assembler.ir.StackMappingVisitor$InstructionAnalyzer.visit(StackMappingVisitor.java:398)\n // at com.strobel.decompiler.ast.AstBuilder.performStackAnalysis(AstBuilder.java:2030)\n // at com.strobel.decompiler.ast.AstBuilder.build(AstBuilder.java:108)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:210)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:99)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethodBody(AstBuilder.java:757)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethod(AstBuilder.java:655)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addTypeMembers(AstBuilder.java:532)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeCore(AstBuilder.java:499)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeNoCache(AstBuilder.java:141)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createType(AstBuilder.java:130)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addType(AstBuilder.java:105)\n // at com.strobel.decompiler.languages.java.JavaLanguage.buildAst(JavaLanguage.java:71)\n // at com.strobel.decompiler.languages.java.JavaLanguage.decompileType(JavaLanguage.java:59)\n // at com.strobel.decompiler.DecompilerDriver.decompileType(DecompilerDriver.java:317)\n // at com.strobel.decompiler.DecompilerDriver.decompileJar(DecompilerDriver.java:238)\n // at com.strobel.decompiler.DecompilerDriver.main(DecompilerDriver.java:123)\n // \n throw new IllegalStateException(\"An error occurred while decompiling this method.\");\n }",
"protected void method_2045(class_1045 param1) {\r\n // $FF: Couldn't be decompiled\r\n }",
"public int method_7084(String param1) {\r\n // $FF: Couldn't be decompiled\r\n }",
"static Object a(bu var0, y.c.d var1_1) {\n block4 : {\n var8_2 = fj.z;\n var2_3 = 0;\n var3_4 = false;\n var4_5 = var0.l(var1_1).j();\n while (var4_5.f()) {\n var5_6 = var4_5.a();\n var6_7 = var5_6.c();\n var7_8 = var5_6.d();\n v0 = Math.abs(var6_7.a() - var7_8.a()) DCMPG 1.0E-12;\n if (var8_2) break block4;\n if (v0 >= 0) ** GOTO lbl-1000\n var3_4 = true;\n if (var8_2) lbl-1000: // 2 sources:\n {\n if (Math.abs(var6_7.b() - var7_8.b()) >= 1.0E-12) return hV.a;\n var2_3 = 1;\n if (var8_2) {\n return hV.a;\n }\n }\n var4_5.g();\n if (!var8_2) continue;\n }\n v0 = var2_3;\n }\n if (v0 != 0 && var3_4) {\n v1 = hV.b;\n return v1;\n }\n v1 = hV.c;\n return v1;\n }",
"public void method_2197() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public static boolean a(android.content.Context r4, byte[] r5) {\n /*\n r1 = d;\n r0 = 0;\n L_0x0003:\n r2 = c();\t Catch:{ Exception -> 0x003a }\n if (r2 != 0) goto L_0x0010;\n L_0x0009:\n r2 = e;\t Catch:{ Exception -> 0x003a }\n r2.block();\t Catch:{ Exception -> 0x003a }\n if (r1 == 0) goto L_0x0003;\n L_0x0010:\n r1 = z;\t Catch:{ Exception -> 0x003a }\n r2 = 22;\n r1 = r1[r2];\t Catch:{ Exception -> 0x003a }\n com.whatsapp.util.Log.i(r1);\t Catch:{ Exception -> 0x003a }\n r1 = com.whatsapp.contact.o.NOTIFICATION_DELTA;\t Catch:{ Exception -> 0x003a }\n r0 = a(r4, r1, r5);\t Catch:{ Exception -> 0x003a }\n r1 = b();\t Catch:{ Exception -> 0x0038 }\n if (r1 != 0) goto L_0x002e;\n L_0x0025:\n r1 = z;\t Catch:{ Exception -> 0x0038 }\n r2 = 16;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0038 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0038 }\n L_0x002e:\n r1 = z;\n r2 = 18;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n L_0x0037:\n return r0;\n L_0x0038:\n r0 = move-exception;\n throw r0;\n L_0x003a:\n r1 = move-exception;\n r2 = z;\t Catch:{ all -> 0x005d }\n r3 = 20;\n r2 = r2[r3];\t Catch:{ all -> 0x005d }\n com.whatsapp.util.Log.b(r2, r1);\t Catch:{ all -> 0x005d }\n r1 = b();\n if (r1 != 0) goto L_0x0053;\n L_0x004a:\n r1 = z;\n r2 = 19;\n r1 = r1[r2];\n com.whatsapp.util.Log.e(r1);\n L_0x0053:\n r1 = z;\n r2 = 23;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n goto L_0x0037;\n L_0x005d:\n r0 = move-exception;\n r1 = b();\t Catch:{ Exception -> 0x0077 }\n if (r1 != 0) goto L_0x006d;\n L_0x0064:\n r1 = z;\t Catch:{ Exception -> 0x0077 }\n r2 = 21;\n r1 = r1[r2];\t Catch:{ Exception -> 0x0077 }\n com.whatsapp.util.Log.e(r1);\t Catch:{ Exception -> 0x0077 }\n L_0x006d:\n r1 = z;\n r2 = 17;\n r1 = r1[r2];\n com.whatsapp.util.Log.i(r1);\n throw r0;\n L_0x0077:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.contact.i.a(android.content.Context, byte[]):boolean\");\n }",
"public final synchronized com.google.android.m4b.maps.bu.C4910a m21843a(java.lang.String r10) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r9 = this;\n monitor-enter(r9);\n r0 = r9.f17909e;\t Catch:{ all -> 0x0056 }\n r1 = 0;\n if (r0 != 0) goto L_0x0008;\n L_0x0006:\n monitor-exit(r9);\n return r1;\n L_0x0008:\n r0 = r9.f17907c;\t Catch:{ all -> 0x0056 }\n r2 = com.google.android.m4b.maps.az.C4733b.m21060a(r10);\t Catch:{ all -> 0x0056 }\n r0 = r0.m21933a(r2, r1);\t Catch:{ all -> 0x0056 }\n if (r0 == 0) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0014:\n r2 = r0.length;\t Catch:{ all -> 0x0056 }\n r3 = 9;\t Catch:{ all -> 0x0056 }\n if (r2 <= r3) goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0019:\n r2 = 0;\t Catch:{ all -> 0x0056 }\n r2 = r0[r2];\t Catch:{ all -> 0x0056 }\n r4 = 1;\t Catch:{ all -> 0x0056 }\n if (r2 == r4) goto L_0x0020;\t Catch:{ all -> 0x0056 }\n L_0x001f:\n goto L_0x0054;\t Catch:{ all -> 0x0056 }\n L_0x0020:\n r5 = com.google.android.m4b.maps.bs.C4891e.m21914c(r0, r4);\t Catch:{ all -> 0x0056 }\n r2 = new com.google.android.m4b.maps.ar.a;\t Catch:{ all -> 0x0056 }\n r7 = com.google.android.m4b.maps.de.C5350x.f20104b;\t Catch:{ all -> 0x0056 }\n r2.<init>(r7);\t Catch:{ all -> 0x0056 }\n r7 = new java.io.ByteArrayInputStream;\t Catch:{ IOException -> 0x0052 }\n r8 = r0.length;\t Catch:{ IOException -> 0x0052 }\n r8 = r8 - r3;\t Catch:{ IOException -> 0x0052 }\n r7.<init>(r0, r3, r8);\t Catch:{ IOException -> 0x0052 }\n r2.m20818a(r7);\t Catch:{ IOException -> 0x0052 }\n r0 = 2;\n r0 = r2.m20843h(r0);\t Catch:{ all -> 0x0056 }\n r10 = r10.equals(r0);\t Catch:{ all -> 0x0056 }\n if (r10 != 0) goto L_0x0042;\n L_0x0040:\n monitor-exit(r9);\n return r1;\n L_0x0042:\n r10 = new com.google.android.m4b.maps.bu.a;\t Catch:{ all -> 0x0056 }\n r10.<init>();\t Catch:{ all -> 0x0056 }\n r10.m22018a(r4);\t Catch:{ all -> 0x0056 }\n r10.m22020a(r2);\t Catch:{ all -> 0x0056 }\n r10.m22016a(r5);\t Catch:{ all -> 0x0056 }\n monitor-exit(r9);\n return r10;\n L_0x0052:\n monitor-exit(r9);\n return r1;\n L_0x0054:\n monitor-exit(r9);\n return r1;\n L_0x0056:\n r10 = move-exception;\n monitor-exit(r9);\n throw r10;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.m4b.maps.bs.b.a(java.lang.String):com.google.android.m4b.maps.bu.a\");\n }",
"private final com.google.android.play.p179a.p352a.C6210u m28673b(com.google.protobuf.nano.a r7) {\n /*\n r6 = this;\n L_0x0000:\n r0 = r7.a();\n switch(r0) {\n case 0: goto L_0x000d;\n case 10: goto L_0x000e;\n case 16: goto L_0x001b;\n case 26: goto L_0x0058;\n case 34: goto L_0x0065;\n case 42: goto L_0x0072;\n default: goto L_0x0007;\n };\n L_0x0007:\n r0 = super.m4918a(r7, r0);\n if (r0 != 0) goto L_0x0000;\n L_0x000d:\n return r6;\n L_0x000e:\n r0 = r7.f();\n r6.f31049b = r0;\n r0 = r6.f31048a;\n r0 = r0 | 1;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x001b:\n r1 = r6.f31048a;\n r1 = r1 | 2;\n r6.f31048a = r1;\n r1 = r7.o();\n r2 = r7.i();\t Catch:{ IllegalArgumentException -> 0x0047 }\n switch(r2) {\n case 0: goto L_0x004f;\n case 1: goto L_0x004f;\n case 2: goto L_0x004f;\n case 3: goto L_0x004f;\n case 4: goto L_0x004f;\n case 5: goto L_0x004f;\n case 6: goto L_0x004f;\n default: goto L_0x002c;\n };\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x002c:\n r3 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = 38;\n r5 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r5.<init>(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r5.append(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r4 = \" is not a valid enum OsType\";\n r2 = r2.append(r4);\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2.toString();\t Catch:{ IllegalArgumentException -> 0x0047 }\n r3.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0047 }\n throw r3;\t Catch:{ IllegalArgumentException -> 0x0047 }\n L_0x0047:\n r2 = move-exception;\n r7.e(r1);\n r6.m4918a(r7, r0);\n goto L_0x0000;\n L_0x004f:\n r6.f31050c = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r6.f31048a;\t Catch:{ IllegalArgumentException -> 0x0047 }\n r2 = r2 | 2;\n r6.f31048a = r2;\t Catch:{ IllegalArgumentException -> 0x0047 }\n goto L_0x0000;\n L_0x0058:\n r0 = r7.f();\n r6.f31051d = r0;\n r0 = r6.f31048a;\n r0 = r0 | 4;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0065:\n r0 = r7.f();\n r6.f31052e = r0;\n r0 = r6.f31048a;\n r0 = r0 | 8;\n r6.f31048a = r0;\n goto L_0x0000;\n L_0x0072:\n r0 = r7.f();\n r6.f31053f = r0;\n r0 = r6.f31048a;\n r0 = r0 | 16;\n r6.f31048a = r0;\n goto L_0x0000;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.play.a.a.u.b(com.google.protobuf.nano.a):com.google.android.play.a.a.u\");\n }",
"private void a(com.bytedance.crash.nativecrash.c r6, java.lang.String r7, boolean r8) {\n /*\n r5 = this;\n r0 = 0\n boolean r1 = r6.c() // Catch:{ Throwable -> 0x009a }\n if (r1 != 0) goto L_0x0008\n return\n L_0x0008:\n com.bytedance.crash.e.d r8 = a((com.bytedance.crash.nativecrash.c) r6, (boolean) r8) // Catch:{ Throwable -> 0x009a }\n if (r8 == 0) goto L_0x0099\n org.json.JSONObject r1 = r8.f19424b // Catch:{ Throwable -> 0x009a }\n if (r1 == 0) goto L_0x0099\n java.io.File r1 = r6.f19496a // Catch:{ Throwable -> 0x009a }\n java.lang.String r2 = \".npth\"\n java.io.File r1 = com.bytedance.crash.i.h.a(r1, r2) // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.db.a r2 = com.bytedance.crash.db.a.a() // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = r1.getAbsolutePath() // Catch:{ Throwable -> 0x009a }\n boolean r2 = r2.a((java.lang.String) r3) // Catch:{ Throwable -> 0x009a }\n if (r2 != 0) goto L_0x0096\n org.json.JSONObject r2 = r8.f19424b // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = \"upload_scene\"\n java.lang.String r4 = \"launch_scan\"\n r2.put(r3, r4) // Catch:{ Throwable -> 0x009a }\n if (r7 == 0) goto L_0x0038\n java.lang.String r3 = \"crash_uuid\"\n r2.put(r3, r7) // Catch:{ Throwable -> 0x009a }\n L_0x0038:\n com.bytedance.crash.d r7 = com.bytedance.crash.d.NATIVE // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = com.bytedance.crash.c.a.f19382f // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.a r7 = com.bytedance.crash.event.b.a((com.bytedance.crash.d) r7, (java.lang.String) r3, (org.json.JSONObject) r2) // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r7) // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.a r7 = r7.clone() // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = com.bytedance.crash.c.a.g // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.a r7 = r7.eventType(r3) // Catch:{ Throwable -> 0x009a }\n java.lang.String r0 = r8.f19423a // Catch:{ Throwable -> 0x0093 }\n java.lang.String r2 = r2.toString() // Catch:{ Throwable -> 0x0093 }\n java.lang.String r8 = r8.f19425c // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.upload.h r8 = com.bytedance.crash.upload.b.a((java.lang.String) r0, (java.lang.String) r2, (java.lang.String) r8) // Catch:{ Throwable -> 0x0093 }\n boolean r0 = r8.a() // Catch:{ Throwable -> 0x0093 }\n if (r0 == 0) goto L_0x0083\n boolean r6 = r6.e() // Catch:{ Throwable -> 0x0093 }\n if (r6 != 0) goto L_0x0074\n com.bytedance.crash.db.a r6 = com.bytedance.crash.db.a.a() // Catch:{ Throwable -> 0x0093 }\n java.lang.String r0 = r1.getAbsolutePath() // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.db.a.a r0 = com.bytedance.crash.db.a.a.a(r0) // Catch:{ Throwable -> 0x0093 }\n r6.a((com.bytedance.crash.db.a.a) r0) // Catch:{ Throwable -> 0x0093 }\n L_0x0074:\n r6 = 0\n com.bytedance.crash.event.a r6 = r7.state(r6) // Catch:{ Throwable -> 0x0093 }\n org.json.JSONObject r8 = r8.f19589c // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.a r6 = r6.errorInfo((org.json.JSONObject) r8) // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r6) // Catch:{ Throwable -> 0x0093 }\n goto L_0x0099\n L_0x0083:\n int r6 = r8.f19587a // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.a r6 = r7.state(r6) // Catch:{ Throwable -> 0x0093 }\n java.lang.String r8 = r8.f19588b // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.a r6 = r6.errorInfo((java.lang.String) r8) // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r6) // Catch:{ Throwable -> 0x0093 }\n goto L_0x00aa\n L_0x0093:\n r6 = move-exception\n r0 = r7\n goto L_0x009b\n L_0x0096:\n r6.e() // Catch:{ Throwable -> 0x009a }\n L_0x0099:\n return\n L_0x009a:\n r6 = move-exception\n L_0x009b:\n if (r0 == 0) goto L_0x00aa\n r7 = 211(0xd3, float:2.96E-43)\n com.bytedance.crash.event.a r7 = r0.state(r7)\n com.bytedance.crash.event.a r6 = r7.errorInfo((java.lang.Throwable) r6)\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r6)\n L_0x00aa:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.crash.runtime.d.a(com.bytedance.crash.nativecrash.c, java.lang.String, boolean):void\");\n }",
"@org.jetbrains.annotations.NotNull\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public static /* synthetic */ com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection copy$default(com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection r4, com.bitcoin.mwallet.core.models.slp.Slp r5, java.util.List<kotlin.ULong> r6, com.bitcoin.bitcoink.p008tx.Satoshis r7, com.bitcoin.bitcoink.p008tx.Satoshis r8, java.util.List<com.bitcoin.mwallet.core.models.p009tx.utxo.Utxo> r9, com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection.Error r10, int r11, java.lang.Object r12) {\n /*\n r12 = r11 & 1\n if (r12 == 0) goto L_0x0006\n com.bitcoin.mwallet.core.models.slp.Slp r5 = r4.token\n L_0x0006:\n r12 = r11 & 2\n if (r12 == 0) goto L_0x000c\n java.util.List<kotlin.ULong> r6 = r4.quantities\n L_0x000c:\n r12 = r6\n r6 = r11 & 4\n if (r6 == 0) goto L_0x0013\n com.bitcoin.bitcoink.tx.Satoshis r7 = r4.fee\n L_0x0013:\n r0 = r7\n r6 = r11 & 8\n if (r6 == 0) goto L_0x001a\n com.bitcoin.bitcoink.tx.Satoshis r8 = r4.change\n L_0x001a:\n r1 = r8\n r6 = r11 & 16\n if (r6 == 0) goto L_0x0021\n java.util.List<com.bitcoin.mwallet.core.models.tx.utxo.Utxo> r9 = r4.utxos\n L_0x0021:\n r2 = r9\n r6 = r11 & 32\n if (r6 == 0) goto L_0x0028\n com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection$Error r10 = r4.error\n L_0x0028:\n r3 = r10\n r6 = r4\n r7 = r5\n r8 = r12\n r9 = r0\n r10 = r1\n r11 = r2\n r12 = r3\n com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection r4 = r6.copy(r7, r8, r9, r10, r11, r12)\n return r4\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bitcoin.mwallet.core.models.p009tx.slputxo.SlpUtxoSelection.copy$default(com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection, com.bitcoin.mwallet.core.models.slp.Slp, java.util.List, com.bitcoin.bitcoink.tx.Satoshis, com.bitcoin.bitcoink.tx.Satoshis, java.util.List, com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection$Error, int, java.lang.Object):com.bitcoin.mwallet.core.models.tx.slputxo.SlpUtxoSelection\");\n }",
"private boolean a(java.lang.String r2, java.lang.String r3) {\n /*\n r1 = this;\n r0 = r1.i(r3);\t Catch:{ RuntimeException -> 0x001c }\n if (r0 != 0) goto L_0x0024;\n L_0x0006:\n if (r2 == 0) goto L_0x001a;\n L_0x0008:\n r0 = r2.length();\t Catch:{ RuntimeException -> 0x0020 }\n if (r0 == 0) goto L_0x001a;\n L_0x000e:\n r0 = g;\t Catch:{ RuntimeException -> 0x0022 }\n r0 = r0.matcher(r2);\t Catch:{ RuntimeException -> 0x0022 }\n r0 = r0.lookingAt();\t Catch:{ RuntimeException -> 0x0022 }\n if (r0 != 0) goto L_0x0024;\n L_0x001a:\n r0 = 0;\n L_0x001b:\n return r0;\n L_0x001c:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x001e }\n L_0x001e:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x0020 }\n L_0x0020:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x0022 }\n L_0x0022:\n r0 = move-exception;\n throw r0;\n L_0x0024:\n r0 = 1;\n goto L_0x001b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.e2.a(java.lang.String, java.lang.String):boolean\");\n }",
"public final void mo56977b() {\n /*\n r2 = this;\n com.ss.android.ugc.aweme.common.e r0 = r2.f67572c\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.i r0 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28951i) r0\n if (r0 == 0) goto L_0x001a\n com.ss.android.ugc.aweme.common.a r1 = r2.f67571b\n com.ss.android.ugc.aweme.feed.ui.masklayer2.a.d r1 = (com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28944d) r1\n if (r1 == 0) goto L_0x0014\n java.lang.Object r1 = r1.getData()\n java.lang.String r1 = (java.lang.String) r1\n if (r1 != 0) goto L_0x0016\n L_0x0014:\n java.lang.String r1 = \"\"\n L_0x0016:\n r0.mo74240a(r1)\n return\n L_0x001a:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.p280ss.android.ugc.aweme.feed.p1238ui.masklayer2.p1239a.C28946e.mo56977b():void\");\n }",
"public boolean mo42073c(p195e.p196a.p447u0.C12314c r3) {\n /*\n r2 = this;\n java.lang.String r0 = \"Disposable item is null\"\n p195e.p196a.p199x0.p451b.C12390b.m55563a(r3, r0)\n boolean r0 = r2.f35500b\n r1 = 0\n if (r0 == 0) goto L_0x000b\n return r1\n L_0x000b:\n monitor-enter(r2)\n boolean r0 = r2.f35500b // Catch:{ all -> 0x0022 }\n if (r0 == 0) goto L_0x0012\n monitor-exit(r2) // Catch:{ all -> 0x0022 }\n return r1\n L_0x0012:\n java.util.List<e.a.u0.c> r0 = r2.f35499a // Catch:{ all -> 0x0022 }\n if (r0 == 0) goto L_0x0020\n boolean r3 = r0.remove(r3) // Catch:{ all -> 0x0022 }\n if (r3 != 0) goto L_0x001d\n goto L_0x0020\n L_0x001d:\n monitor-exit(r2) // Catch:{ all -> 0x0022 }\n r3 = 1\n return r3\n L_0x0020:\n monitor-exit(r2) // Catch:{ all -> 0x0022 }\n return r1\n L_0x0022:\n r3 = move-exception\n monitor-exit(r2) // Catch:{ all -> 0x0022 }\n throw r3\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p195e.p196a.p199x0.p450a.C12349f.mo42073c(e.a.u0.c):boolean\");\n }",
"protected void method_2246(class_1045 param1) {\r\n // $FF: Couldn't be decompiled\r\n }",
"final com.google.bV a(java.util.Map r14) {\n /*\n r13_this = this;\n r6 = f;\n if (r14 == 0) goto L_0x013c;\n L_0x0004:\n r0 = com.google.fm.TRY_HARDER;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x013c;\n L_0x000c:\n r0 = 1;\n r2 = r0;\n L_0x000e:\n if (r14 == 0) goto L_0x0140;\n L_0x0010:\n r0 = com.google.fm.PURE_BARCODE;\n r0 = r14.containsKey(r0);\n if (r0 == 0) goto L_0x0140;\n L_0x0018:\n r0 = 1;\n L_0x0019:\n r1 = r13.b;\n r7 = r1.f();\n r1 = r13.b;\n r8 = r1.b();\n r1 = r7 * 3;\n r1 = r1 / 228;\n r3 = 3;\n if (r1 < r3) goto L_0x002e;\n L_0x002c:\n if (r2 == 0) goto L_0x002f;\n L_0x002e:\n r1 = 3;\n L_0x002f:\n r2 = 0;\n r3 = 5;\n r9 = new int[r3];\n r4 = r1 + -1;\n r5 = r1;\n L_0x0036:\n if (r4 >= r7) goto L_0x0127;\n L_0x0038:\n if (r2 != 0) goto L_0x0127;\n L_0x003a:\n r1 = 0;\n r3 = 0;\n r9[r1] = r3;\n r1 = 1;\n r3 = 0;\n r9[r1] = r3;\n r1 = 2;\n r3 = 0;\n r9[r1] = r3;\n r1 = 3;\n r3 = 0;\n r9[r1] = r3;\n r1 = 4;\n r3 = 0;\n r9[r1] = r3;\n r1 = 0;\n r3 = 0;\n L_0x0050:\n if (r3 >= r8) goto L_0x010d;\n L_0x0052:\n r10 = r13.b;\n r10 = r10.a(r3, r4);\n if (r10 == 0) goto L_0x0069;\n L_0x005a:\n r10 = r1 & 1;\n r11 = 1;\n if (r10 != r11) goto L_0x0061;\n L_0x005f:\n r1 = r1 + 1;\n L_0x0061:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0069:\n r10 = r1 & 1;\n if (r10 != 0) goto L_0x0103;\n L_0x006d:\n r10 = 4;\n if (r1 != r10) goto L_0x00f9;\n L_0x0070:\n r1 = a(r9);\n if (r1 == 0) goto L_0x015f;\n L_0x0076:\n r1 = r13.a(r9, r4, r3, r0);\n if (r1 == 0) goto L_0x0159;\n L_0x007c:\n r5 = 2;\n r1 = r13.a;\n if (r1 == 0) goto L_0x0156;\n L_0x0081:\n r1 = r13.b();\n if (r6 == 0) goto L_0x00c2;\n L_0x0087:\n r2 = r13.c();\n r10 = 2;\n r10 = r9[r10];\n if (r2 <= r10) goto L_0x0152;\n L_0x0090:\n r3 = 2;\n r3 = r9[r3];\n r2 = r2 - r3;\n r2 = r2 - r5;\n r3 = r4 + r2;\n r2 = r8 + -1;\n L_0x0099:\n if (r6 == 0) goto L_0x014e;\n L_0x009b:\n r4 = r5;\n r12 = r3;\n r3 = r1;\n r1 = r2;\n r2 = r12;\n L_0x00a0:\n r5 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r5] = r10;\n r5 = 3;\n r10 = 1;\n r9[r5] = r10;\n r5 = 4;\n r10 = 0;\n r9[r5] = r10;\n r5 = 3;\n if (r6 == 0) goto L_0x0147;\n L_0x00bd:\n r5 = r4;\n r4 = r2;\n r12 = r3;\n r3 = r1;\n r1 = r12;\n L_0x00c2:\n r2 = 0;\n r10 = 0;\n r11 = 0;\n r9[r10] = r11;\n r10 = 1;\n r11 = 0;\n r9[r10] = r11;\n r10 = 2;\n r11 = 0;\n r9[r10] = r11;\n r10 = 3;\n r11 = 0;\n r9[r10] = r11;\n r10 = 4;\n r11 = 0;\n r9[r10] = r11;\n if (r6 == 0) goto L_0x0143;\n L_0x00d9:\n r2 = 0;\n r10 = 2;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 1;\n r10 = 3;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 2;\n r10 = 4;\n r10 = r9[r10];\n r9[r2] = r10;\n r2 = 3;\n r10 = 1;\n r9[r2] = r10;\n r2 = 4;\n r10 = 0;\n r9[r2] = r10;\n r2 = 3;\n if (r6 == 0) goto L_0x0143;\n L_0x00f6:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n L_0x00f9:\n r1 = r1 + 1;\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n if (r6 == 0) goto L_0x0109;\n L_0x0103:\n r10 = r9[r1];\n r10 = r10 + 1;\n r9[r1] = r10;\n L_0x0109:\n r3 = r3 + 1;\n if (r6 == 0) goto L_0x0050;\n L_0x010d:\n r1 = a(r9);\n if (r1 == 0) goto L_0x0124;\n L_0x0113:\n r1 = r13.a(r9, r4, r8, r0);\n if (r1 == 0) goto L_0x0124;\n L_0x0119:\n r1 = 0;\n r5 = r9[r1];\n r1 = r13.a;\n if (r1 == 0) goto L_0x0124;\n L_0x0120:\n r2 = r13.b();\n L_0x0124:\n r4 = r4 + r5;\n if (r6 == 0) goto L_0x0036;\n L_0x0127:\n r0 = r13.a();\n com.google.bm.a(r0);\n r1 = new com.google.bV;\n r1.<init>(r0);\n r0 = com.google.gC.a;\n if (r0 == 0) goto L_0x013b;\n L_0x0137:\n r0 = r6 + 1;\n f = r0;\n L_0x013b:\n return r1;\n L_0x013c:\n r0 = 0;\n r2 = r0;\n goto L_0x000e;\n L_0x0140:\n r0 = 0;\n goto L_0x0019;\n L_0x0143:\n r12 = r2;\n r2 = r1;\n r1 = r12;\n goto L_0x0109;\n L_0x0147:\n r12 = r1;\n r1 = r5;\n r5 = r4;\n r4 = r2;\n r2 = r3;\n r3 = r12;\n goto L_0x0109;\n L_0x014e:\n r4 = r3;\n r3 = r2;\n goto L_0x00c2;\n L_0x0152:\n r2 = r3;\n r3 = r4;\n goto L_0x0099;\n L_0x0156:\n r1 = r2;\n goto L_0x0087;\n L_0x0159:\n r1 = r3;\n r3 = r2;\n r2 = r4;\n r4 = r5;\n goto L_0x00a0;\n L_0x015f:\n r1 = r2;\n goto L_0x00d9;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.bj.a(java.util.Map):com.google.bV\");\n }",
"private static void m13385d() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/79094208.run(Unknown Source)\n*/\n /*\n r0 = java.lang.System.currentTimeMillis();\t Catch:{ Exception -> 0x0024 }\n r2 = java.util.concurrent.TimeUnit.DAYS;\t Catch:{ Exception -> 0x0024 }\n r3 = 1;\t Catch:{ Exception -> 0x0024 }\n r2 = r2.toMillis(r3);\t Catch:{ Exception -> 0x0024 }\n r4 = 0;\t Catch:{ Exception -> 0x0024 }\n r4 = r0 - r2;\t Catch:{ Exception -> 0x0024 }\n r0 = com.foursquare.internal.data.db.C1916a.getDatabase();\t Catch:{ Exception -> 0x0024 }\n r1 = \"battery_watcher\";\t Catch:{ Exception -> 0x0024 }\n r2 = \"timestamp < ?\";\t Catch:{ Exception -> 0x0024 }\n r3 = 1;\t Catch:{ Exception -> 0x0024 }\n r3 = new java.lang.String[r3];\t Catch:{ Exception -> 0x0024 }\n r6 = 0;\t Catch:{ Exception -> 0x0024 }\n r4 = java.lang.String.valueOf(r4);\t Catch:{ Exception -> 0x0024 }\n r3[r6] = r4;\t Catch:{ Exception -> 0x0024 }\n r0.delete(r1, r2, r3);\t Catch:{ Exception -> 0x0024 }\n L_0x0024:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.foursquare.pilgrim.e.d():void\");\n }",
"public void state(final JFormatter f) {\n // This method could not be decompiled.\n // \n // Could not show original bytecode, likely due to the same error.\n // \n // The error that occurred was:\n // \n // com.strobel.assembler.metadata.MethodBodyParseException: An error occurred while parsing the bytecode of method 'com/sun/codemodel/JTryBlock.state:(Lcom/sun/codemodel/JFormatter;)V'.\n // at com.strobel.assembler.metadata.MethodReader.readBody(MethodReader.java:65)\n // at com.strobel.assembler.metadata.MethodDefinition.tryLoadBody(MethodDefinition.java:722)\n // at com.strobel.assembler.metadata.MethodDefinition.getBody(MethodDefinition.java:83)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:202)\n // at com.strobel.decompiler.languages.java.ast.AstMethodBodyBuilder.createMethodBody(AstMethodBodyBuilder.java:99)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethodBody(AstBuilder.java:757)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createMethod(AstBuilder.java:655)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addTypeMembers(AstBuilder.java:532)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeCore(AstBuilder.java:499)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createTypeNoCache(AstBuilder.java:141)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.createType(AstBuilder.java:130)\n // at com.strobel.decompiler.languages.java.ast.AstBuilder.addType(AstBuilder.java:105)\n // at com.strobel.decompiler.languages.java.JavaLanguage.buildAst(JavaLanguage.java:71)\n // at com.strobel.decompiler.languages.java.JavaLanguage.decompileType(JavaLanguage.java:59)\n // at com.strobel.decompiler.DecompilerDriver.decompileType(DecompilerDriver.java:317)\n // at com.strobel.decompiler.DecompilerDriver.decompileJar(DecompilerDriver.java:238)\n // at com.strobel.decompiler.DecompilerDriver.main(DecompilerDriver.java:123)\n // Caused by: java.lang.ArrayIndexOutOfBoundsException: -1\n // at java.util.ArrayList.elementData(Unknown Source)\n // at java.util.ArrayList.get(Unknown Source)\n // at com.strobel.assembler.ir.ConstantPool.get(ConstantPool.java:80)\n // at com.strobel.assembler.metadata.ClassFileReader$Scope.lookupConstant(ClassFileReader.java:1313)\n // at com.strobel.assembler.metadata.MethodReader.readBodyCore(MethodReader.java:286)\n // at com.strobel.assembler.metadata.MethodReader.readBody(MethodReader.java:62)\n // ... 16 more\n // \n throw new IllegalStateException(\"An error occurred while decompiling this method.\");\n }",
"public final synchronized void d() {\n /*\n r10 = this;\n monitor-enter(r10)\n android.content.Context r0 = r10.f // Catch:{ all -> 0x0053 }\n r1 = 0\n if (r0 != 0) goto L_0x0008\n r0 = 0\n goto L_0x000e\n L_0x0008:\n android.content.Context r0 = r10.f // Catch:{ all -> 0x0053 }\n int r0 = com.google.ads.interactivemedia.v3.internal.vf.a(r0) // Catch:{ all -> 0x0053 }\n L_0x000e:\n int r2 = r10.n // Catch:{ all -> 0x0053 }\n if (r2 != r0) goto L_0x0014\n monitor-exit(r10)\n return\n L_0x0014:\n r10.n = r0 // Catch:{ all -> 0x0053 }\n r2 = 1\n if (r0 == r2) goto L_0x0051\n if (r0 == 0) goto L_0x0051\n r2 = 8\n if (r0 != r2) goto L_0x0020\n goto L_0x0051\n L_0x0020:\n long r2 = r10.a(r0) // Catch:{ all -> 0x0053 }\n r10.q = r2 // Catch:{ all -> 0x0053 }\n com.google.ads.interactivemedia.v3.internal.ua r0 = r10.j // Catch:{ all -> 0x0053 }\n long r2 = r0.a() // Catch:{ all -> 0x0053 }\n int r0 = r10.k // Catch:{ all -> 0x0053 }\n if (r0 <= 0) goto L_0x0037\n long r0 = r10.l // Catch:{ all -> 0x0053 }\n long r0 = r2 - r0\n int r1 = (int) r0 // Catch:{ all -> 0x0053 }\n r5 = r1\n goto L_0x0038\n L_0x0037:\n r5 = 0\n L_0x0038:\n long r6 = r10.m // Catch:{ all -> 0x0053 }\n long r8 = r10.q // Catch:{ all -> 0x0053 }\n r4 = r10\n r4.a(r5, r6, r8) // Catch:{ all -> 0x0053 }\n r10.l = r2 // Catch:{ all -> 0x0053 }\n r0 = 0\n r10.m = r0 // Catch:{ all -> 0x0053 }\n r10.p = r0 // Catch:{ all -> 0x0053 }\n r10.o = r0 // Catch:{ all -> 0x0053 }\n com.google.ads.interactivemedia.v3.internal.ux r0 = r10.i // Catch:{ all -> 0x0053 }\n r0.a() // Catch:{ all -> 0x0053 }\n monitor-exit(r10)\n return\n L_0x0051:\n monitor-exit(r10)\n return\n L_0x0053:\n r0 = move-exception\n monitor-exit(r10)\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.ads.interactivemedia.v3.internal.ss.d():void\");\n }",
"public boolean method_2088(class_689 param1) {\r\n // $FF: Couldn't be decompiled\r\n }",
"private void c() {\n /*\n r14 = this;\n r12 = android.os.SystemClock.elapsedRealtime();\n r8 = r14.d();\n r0 = r14.t;\n if (r0 == 0) goto L_0x007a;\n L_0x000c:\n r0 = 1;\n r7 = r0;\n L_0x000e:\n r0 = r14.r;\n r0 = r0.a();\n if (r0 != 0) goto L_0x0018;\n L_0x0016:\n if (r7 == 0) goto L_0x007d;\n L_0x0018:\n r0 = 1;\n r10 = r0;\n L_0x001a:\n if (r10 != 0) goto L_0x0095;\n L_0x001c:\n r0 = r14.d;\n r0 = r0.b;\n if (r0 != 0) goto L_0x0028;\n L_0x0022:\n r0 = -1;\n r0 = (r8 > r0 ? 1 : (r8 == r0 ? 0 : -1));\n if (r0 != 0) goto L_0x0032;\n L_0x0028:\n r0 = r14.p;\n r0 = r12 - r0;\n r2 = 2000; // 0x7d0 float:2.803E-42 double:9.88E-321;\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 <= 0) goto L_0x0095;\n L_0x0032:\n r14.p = r12;\n r0 = r14.d;\n r1 = r14.f;\n r1 = r1.size();\n r0.a = r1;\n r0 = r14.c;\n r1 = r14.f;\n r2 = r14.o;\n r4 = r14.m;\n r6 = r14.d;\n r0.getChunkOperation(r1, r2, r4, r6);\n r0 = r14.d;\n r0 = r0.a;\n r0 = r14.a(r0);\n r1 = r14.d;\n r1 = r1.b;\n if (r1 != 0) goto L_0x0080;\n L_0x0059:\n r4 = -1;\n L_0x005b:\n r0 = r14.b;\n r2 = r14.m;\n r1 = r14;\n r6 = r10;\n r0 = r0.update(r1, r2, r4, r6);\n if (r7 == 0) goto L_0x0087;\n L_0x0067:\n r0 = r14.v;\n r0 = r12 - r0;\n r2 = r14.u;\n r2 = (long) r2;\n r2 = r14.c(r2);\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 < 0) goto L_0x0079;\n L_0x0076:\n r14.e();\n L_0x0079:\n return;\n L_0x007a:\n r0 = 0;\n r7 = r0;\n goto L_0x000e;\n L_0x007d:\n r0 = 0;\n r10 = r0;\n goto L_0x001a;\n L_0x0080:\n if (r0 == 0) goto L_0x0095;\n L_0x0082:\n r4 = r14.d();\n goto L_0x005b;\n L_0x0087:\n r1 = r14.r;\n r1 = r1.a();\n if (r1 != 0) goto L_0x0079;\n L_0x008f:\n if (r0 == 0) goto L_0x0079;\n L_0x0091:\n r14.f();\n goto L_0x0079;\n L_0x0095:\n r4 = r8;\n goto L_0x005b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer.chunk.ChunkSampleSource.c():void\");\n }",
"public final synchronized void e(a.c.a.c.c r5, boolean r6) {\n /*\n r4 = this;\n monitor-enter(r4)\n monitor-enter(r4) // Catch:{ all -> 0x00a9 }\n java.util.ArrayList<a.c.a.c.c> r0 = r4.f15b // Catch:{ all -> 0x00a6 }\n r1 = 1\n r2 = 0\n if (r0 != 0) goto L_0x0009\n goto L_0x001e\n L_0x0009:\n java.util.ArrayList<a.c.a.c.c> r0 = r4.f16c // Catch:{ all -> 0x00a6 }\n int r0 = r0.size() // Catch:{ all -> 0x00a6 }\n java.util.ArrayList<a.c.a.c.c> r3 = r4.f17d // Catch:{ all -> 0x00a6 }\n int r3 = r3.size() // Catch:{ all -> 0x00a6 }\n int r3 = r3 + r0\n java.util.ArrayList<a.c.a.c.c> r0 = r4.f15b // Catch:{ all -> 0x00a6 }\n int r0 = r0.size() // Catch:{ all -> 0x00a6 }\n if (r3 != r0) goto L_0x0020\n L_0x001e:\n r0 = 1\n goto L_0x0021\n L_0x0020:\n r0 = 0\n L_0x0021:\n r3 = 0\n if (r0 == 0) goto L_0x0055\n a.c.a.c.h r5 = r4.f14a // Catch:{ all -> 0x00a6 }\n if (r5 == 0) goto L_0x00a3\n java.util.ArrayList<a.c.a.c.c> r5 = r4.f17d // Catch:{ all -> 0x00a6 }\n int r5 = r5.size() // Catch:{ all -> 0x00a6 }\n if (r5 != 0) goto L_0x0040\n a.c.a.c.h r5 = r4.f14a // Catch:{ all -> 0x00a6 }\n com.cuatroochenta.miniland.downloader.FileDownloaderService r5 = (com.cuatroochenta.miniland.downloader.FileDownloaderService) r5 // Catch:{ all -> 0x00a6 }\n if (r5 == 0) goto L_0x003f\n java.lang.String r6 = \"downloadFinished\"\n a.c.a.f.e.b(r6) // Catch:{ all -> 0x00a6 }\n r5.b(r1) // Catch:{ all -> 0x00a6 }\n goto L_0x00a3\n L_0x003f:\n throw r3 // Catch:{ all -> 0x00a6 }\n L_0x0040:\n a.c.a.c.h r5 = r4.f14a // Catch:{ all -> 0x00a6 }\n java.util.ArrayList<a.c.a.c.c> r6 = r4.f17d // Catch:{ all -> 0x00a6 }\n r6.size() // Catch:{ all -> 0x00a6 }\n com.cuatroochenta.miniland.downloader.FileDownloaderService r5 = (com.cuatroochenta.miniland.downloader.FileDownloaderService) r5 // Catch:{ all -> 0x00a6 }\n if (r5 == 0) goto L_0x0054\n java.lang.String r6 = \"downloadFinishedWithErrors\"\n a.c.a.f.e.b(r6) // Catch:{ all -> 0x00a6 }\n r5.b(r2) // Catch:{ all -> 0x00a6 }\n goto L_0x00a3\n L_0x0054:\n throw r3 // Catch:{ all -> 0x00a6 }\n L_0x0055:\n a.c.a.c.h r0 = r4.f14a // Catch:{ all -> 0x00a6 }\n if (r0 == 0) goto L_0x00a3\n if (r6 == 0) goto L_0x0085\n a.c.a.c.h r6 = r4.f14a // Catch:{ all -> 0x00a6 }\n com.cuatroochenta.miniland.downloader.FileDownloaderService r6 = (com.cuatroochenta.miniland.downloader.FileDownloaderService) r6 // Catch:{ all -> 0x00a6 }\n if (r6 == 0) goto L_0x0084\n java.lang.StringBuilder r6 = new java.lang.StringBuilder // Catch:{ all -> 0x00a6 }\n r6.<init>() // Catch:{ all -> 0x00a6 }\n java.lang.String r0 = \"downloadItemSuccess: \"\n r6.append(r0) // Catch:{ all -> 0x00a6 }\n java.lang.String r5 = r5.f9a // Catch:{ all -> 0x00a6 }\n r6.append(r5) // Catch:{ all -> 0x00a6 }\n java.lang.String r5 = r6.toString() // Catch:{ all -> 0x00a6 }\n a.c.a.f.e.b(r5) // Catch:{ all -> 0x00a6 }\n a.c.a.c.h r5 = r4.f14a // Catch:{ all -> 0x00a6 }\n java.util.ArrayList<a.c.a.c.c> r6 = r4.f16c // Catch:{ all -> 0x00a6 }\n r6.size() // Catch:{ all -> 0x00a6 }\n com.cuatroochenta.miniland.downloader.FileDownloaderService r5 = (com.cuatroochenta.miniland.downloader.FileDownloaderService) r5 // Catch:{ all -> 0x00a6 }\n if (r5 == 0) goto L_0x0083\n goto L_0x00a3\n L_0x0083:\n throw r3 // Catch:{ all -> 0x00a6 }\n L_0x0084:\n throw r3 // Catch:{ all -> 0x00a6 }\n L_0x0085:\n a.c.a.c.h r6 = r4.f14a // Catch:{ all -> 0x00a6 }\n com.cuatroochenta.miniland.downloader.FileDownloaderService r6 = (com.cuatroochenta.miniland.downloader.FileDownloaderService) r6 // Catch:{ all -> 0x00a6 }\n if (r6 == 0) goto L_0x00a2\n java.lang.StringBuilder r6 = new java.lang.StringBuilder // Catch:{ all -> 0x00a6 }\n r6.<init>() // Catch:{ all -> 0x00a6 }\n java.lang.String r0 = \"downloadItemError: \"\n r6.append(r0) // Catch:{ all -> 0x00a6 }\n java.lang.String r5 = r5.f9a // Catch:{ all -> 0x00a6 }\n r6.append(r5) // Catch:{ all -> 0x00a6 }\n java.lang.String r5 = r6.toString() // Catch:{ all -> 0x00a6 }\n a.c.a.f.e.b(r5) // Catch:{ all -> 0x00a6 }\n goto L_0x00a3\n L_0x00a2:\n throw r3 // Catch:{ all -> 0x00a6 }\n L_0x00a3:\n monitor-exit(r4) // Catch:{ all -> 0x00a6 }\n monitor-exit(r4)\n return\n L_0x00a6:\n r5 = move-exception\n monitor-exit(r4) // Catch:{ all -> 0x00a6 }\n throw r5 // Catch:{ all -> 0x00a9 }\n L_0x00a9:\n r5 = move-exception\n monitor-exit(r4)\n throw r5\n */\n throw new UnsupportedOperationException(\"Method not decompiled: a.c.a.c.e.e(a.c.a.c.c, boolean):void\");\n }",
"private final java.util.Map<java.lang.String, java.lang.String> m11967c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r7 = this;\n r0 = new java.util.HashMap;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r0.<init>();\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r1 = r7.f10169c;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r2 = r7.f10170d;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r3 = f10168i;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r4 = 0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r5 = 0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r6 = 0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r1 = r1.query(r2, r3, r4, r5, r6);\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n if (r1 == 0) goto L_0x0031;\n L_0x0014:\n r2 = r1.moveToNext();\t Catch:{ all -> 0x002c }\n if (r2 == 0) goto L_0x0028;\t Catch:{ all -> 0x002c }\n L_0x001a:\n r2 = 0;\t Catch:{ all -> 0x002c }\n r2 = r1.getString(r2);\t Catch:{ all -> 0x002c }\n r3 = 1;\t Catch:{ all -> 0x002c }\n r3 = r1.getString(r3);\t Catch:{ all -> 0x002c }\n r0.put(r2, r3);\t Catch:{ all -> 0x002c }\n goto L_0x0014;\n L_0x0028:\n r1.close();\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n goto L_0x0031;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n L_0x002c:\n r0 = move-exception;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n r1.close();\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n throw r0;\t Catch:{ SecurityException -> 0x0032, SecurityException -> 0x0032 }\n L_0x0031:\n return r0;\n L_0x0032:\n r0 = \"ConfigurationContentLoader\";\n r1 = \"PhenotypeFlag unable to load ContentProvider, using default values\";\n android.util.Log.e(r0, r1);\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.measurement.zzsi.c():java.util.Map<java.lang.String, java.lang.String>\");\n }",
"protected final /* synthetic */ java.lang.Object run() {\n /*\n r4 = this;\n r0 = 1;\n r1 = 0;\n r2 = com.tencent.mm.plugin.appbrand.b.c.this;\n r2 = r2.chu();\n r3 = com.tencent.mm.plugin.appbrand.b.c.this;\n r3 = r3.iKh;\n if (r2 != r3) goto L_0x0022;\n L_0x000e:\n r2 = com.tencent.mm.plugin.appbrand.b.c.this;\n r2 = r2.iKh;\n r2 = r2.iKy;\n r2 = r2 & 1;\n if (r2 <= 0) goto L_0x0020;\n L_0x0018:\n r2 = r0;\n L_0x0019:\n if (r2 == 0) goto L_0x0022;\n L_0x001b:\n r0 = java.lang.Boolean.valueOf(r0);\n return r0;\n L_0x0020:\n r2 = r1;\n goto L_0x0019;\n L_0x0022:\n r0 = r1;\n goto L_0x001b;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.mm.plugin.appbrand.b.c.5.run():java.lang.Object\");\n }",
"@android.support.annotation.RequiresApi(api = 23)\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final synchronized void c(int r11) {\n /*\n r10 = this;\n monitor-enter(r10)\n r8 = 1\n java.lang.Object[] r1 = new java.lang.Object[r8] // Catch:{ all -> 0x004b }\n java.lang.Integer r2 = java.lang.Integer.valueOf(r11) // Catch:{ all -> 0x004b }\n r9 = 0\n r1[r9] = r2 // Catch:{ all -> 0x004b }\n com.meituan.robust.ChangeQuickRedirect r3 = f29525a // Catch:{ all -> 0x004b }\n r4 = 0\n r5 = 16805(0x41a5, float:2.3549E-41)\n java.lang.Class[] r6 = new java.lang.Class[r8] // Catch:{ all -> 0x004b }\n java.lang.Class r2 = java.lang.Integer.TYPE // Catch:{ all -> 0x004b }\n r6[r9] = r2 // Catch:{ all -> 0x004b }\n java.lang.Class r7 = java.lang.Void.TYPE // Catch:{ all -> 0x004b }\n r2 = r10\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7) // Catch:{ all -> 0x004b }\n if (r1 == 0) goto L_0x003a\n java.lang.Object[] r1 = new java.lang.Object[r8] // Catch:{ all -> 0x004b }\n java.lang.Integer r0 = java.lang.Integer.valueOf(r11) // Catch:{ all -> 0x004b }\n r1[r9] = r0 // Catch:{ all -> 0x004b }\n com.meituan.robust.ChangeQuickRedirect r3 = f29525a // Catch:{ all -> 0x004b }\n r4 = 0\n r5 = 16805(0x41a5, float:2.3549E-41)\n java.lang.Class[] r6 = new java.lang.Class[r8] // Catch:{ all -> 0x004b }\n java.lang.Class r0 = java.lang.Integer.TYPE // Catch:{ all -> 0x004b }\n r6[r9] = r0 // Catch:{ all -> 0x004b }\n java.lang.Class r7 = java.lang.Void.TYPE // Catch:{ all -> 0x004b }\n r2 = r10\n com.meituan.robust.PatchProxy.accessDispatch(r1, r2, r3, r4, r5, r6, r7) // Catch:{ all -> 0x004b }\n monitor-exit(r10)\n return\n L_0x003a:\n com.ss.android.medialib.camera.IESCameraInterface r1 = r10.f29527c // Catch:{ all -> 0x004b }\n boolean r1 = r1 instanceof com.ss.android.medialib.camera.IESHwCamera // Catch:{ all -> 0x004b }\n if (r1 == 0) goto L_0x0049\n com.ss.android.medialib.camera.IESCameraInterface r1 = r10.f29527c // Catch:{ all -> 0x004b }\n com.ss.android.medialib.camera.IESHwCamera r1 = (com.ss.android.medialib.camera.IESHwCamera) r1 // Catch:{ all -> 0x004b }\n r1.c((int) r11) // Catch:{ all -> 0x004b }\n r10.o = r11 // Catch:{ all -> 0x004b }\n L_0x0049:\n monitor-exit(r10)\n return\n L_0x004b:\n r0 = move-exception\n monitor-exit(r10)\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.medialib.camera.g.c(int):void\");\n }",
"public com.google.cX a(com.google.cM r5) {\n /*\n r4 = this;\n r0 = 0;\n r1 = com.google.bA.b;\n r2 = com.google.cM.k();\n if (r5 != r2) goto L_0x000a;\n L_0x0009:\n return r4;\n L_0x000a:\n r2 = r4.h;\n if (r2 != 0) goto L_0x003f;\n L_0x000e:\n r2 = com.google.cM.a(r5);\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x0079;\n L_0x0018:\n r2 = r4.g;\n r2 = r2.isEmpty();\n if (r2 == 0) goto L_0x002e;\n L_0x0020:\n r2 = com.google.cM.a(r5);\n r4.g = r2;\n r2 = r4.f;\n r2 = r2 & -2;\n r4.f = r2;\n if (r1 == 0) goto L_0x003a;\n L_0x002e:\n r4.j();\n r2 = r4.g;\n r3 = com.google.cM.a(r5);\n r2.addAll(r3);\n L_0x003a:\n r4.g();\n if (r1 == 0) goto L_0x0079;\n L_0x003f:\n r2 = com.google.cM.a(r5);\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x0079;\n L_0x0049:\n r2 = r4.h;\n r2 = r2.i();\n if (r2 == 0) goto L_0x0070;\n L_0x0051:\n r2 = r4.h;\n r2.b();\n r4.h = r0;\n r2 = com.google.cM.a(r5);\n r4.g = r2;\n r2 = r4.f;\n r2 = r2 & -2;\n r4.f = r2;\n r2 = com.google.bL.d;\n if (r2 == 0) goto L_0x006c;\n L_0x0068:\n r0 = r4.b();\n L_0x006c:\n r4.h = r0;\n if (r1 == 0) goto L_0x0079;\n L_0x0070:\n r0 = r4.h;\n r1 = com.google.cM.a(r5);\n r0.a(r1);\n L_0x0079:\n r4.a(r5);\n r0 = r5.getUnknownFields();\n r4.a(r0);\n goto L_0x0009;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.cX.a(com.google.cM):com.google.cX\");\n }",
"public final void run() {\n /*\n r10 = this;\n r8 = 2;\n r7 = 1;\n r6 = 0;\n r2 = com.uc.apollo.media.impl.O.UNKNOWN;\n r1 = 0;\n r0 = r10.e;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r3 = r10.f;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r0 = com.uc.apollo.media.b.c.a(r0, r3);\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n if (r0 == 0) goto L_0x004b;\n L_0x0010:\n r2 = com.uc.apollo.media.impl.O.M3U8;\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n r1 = r0.c();\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n if (r1 == 0) goto L_0x00db;\n L_0x0018:\n r1 = com.uc.apollo.media.impl.O.M3U8_LIVE;\t Catch:{ d -> 0x00cf, Throwable -> 0x0090 }\n L_0x001a:\n r2 = r10.h;\t Catch:{ d -> 0x00d5, Throwable -> 0x0090 }\n if (r2 == 0) goto L_0x0022;\n L_0x001e:\n r2 = 1;\n r0.a(r2);\t Catch:{ d -> 0x00d5, Throwable -> 0x0090 }\n L_0x0022:\n r2 = com.uc.apollo.media.impl.O.UNKNOWN;\n if (r1 == r2) goto L_0x0030;\n L_0x0026:\n r2 = new java.lang.StringBuilder;\n r3 = \"content type is \";\n r2.<init>(r3);\n r2.append(r1);\n L_0x0030:\n r2 = r10.g;\n if (r2 == 0) goto L_0x004a;\n L_0x0034:\n r2 = c;\n r3 = r10.d;\n r4 = 3;\n r4 = new java.lang.Object[r4];\n r5 = r10.g;\n r4[r6] = r5;\n r4[r7] = r1;\n r4[r8] = r0;\n r0 = r2.obtainMessage(r8, r3, r6, r4);\n r0.sendToTarget();\n L_0x004a:\n return;\n L_0x004b:\n r0 = com.uc.apollo.media.impl.O.PARSE_FAILURE;\t Catch:{ d -> 0x0051, Throwable -> 0x0090 }\n r9 = r1;\n r1 = r0;\n r0 = r9;\n goto L_0x0022;\n L_0x0051:\n r0 = move-exception;\n r9 = r0;\n r0 = r2;\n r2 = r9;\n L_0x0055:\n r3 = r2.a();\n if (r3 == 0) goto L_0x007e;\n L_0x005b:\n r4 = r3.length;\n r5 = 8;\n if (r4 < r5) goto L_0x007e;\n L_0x0060:\n r4 = 4;\n r4 = r3[r4];\n r5 = 102; // 0x66 float:1.43E-43 double:5.04E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x0067:\n r4 = 5;\n r4 = r3[r4];\n r5 = 116; // 0x74 float:1.63E-43 double:5.73E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x006e:\n r4 = 6;\n r4 = r3[r4];\n r5 = 121; // 0x79 float:1.7E-43 double:6.0E-322;\n if (r4 == r5) goto L_0x007c;\n L_0x0075:\n r4 = 7;\n r3 = r3[r4];\n r4 = 112; // 0x70 float:1.57E-43 double:5.53E-322;\n if (r3 != r4) goto L_0x007e;\n L_0x007c:\n r0 = com.uc.apollo.media.impl.O.MP4;\n L_0x007e:\n r3 = com.uc.apollo.media.impl.O.UNKNOWN;\n if (r0 != r3) goto L_0x008c;\n L_0x0082:\n r3 = new java.lang.StringBuilder;\n r4 = \"parse failure, msg: \";\n r3.<init>(r4);\n r3.append(r2);\n L_0x008c:\n r9 = r1;\n r1 = r0;\n r0 = r9;\n goto L_0x0022;\n L_0x0090:\n r0 = move-exception;\n r1 = com.uc.apollo.media.impl.O.PARSE_FAILURE;\n r1 = a;\n r2 = new java.lang.StringBuilder;\n r3 = \"parse failure: \";\n r2.<init>(r3);\n r2 = r2.append(r0);\n r2 = r2.toString();\n android.util.Log.w(r1, r2);\n r1 = r10.g;\n if (r1 == 0) goto L_0x004a;\n L_0x00ab:\n r1 = c;\n r2 = r10.d;\n r3 = new java.lang.Object[r8];\n r4 = r10.g;\n r3[r6] = r4;\n r4 = new java.lang.StringBuilder;\n r5 = \"parse failure: \";\n r4.<init>(r5);\n r0 = r4.append(r0);\n r0 = r0.toString();\n r3[r7] = r0;\n r0 = r1.obtainMessage(r7, r2, r6, r3);\n r0.sendToTarget();\n goto L_0x004a;\n L_0x00cf:\n r1 = move-exception;\n r9 = r1;\n r1 = r0;\n r0 = r2;\n r2 = r9;\n goto L_0x0055;\n L_0x00d5:\n r2 = move-exception;\n r9 = r0;\n r0 = r1;\n r1 = r9;\n goto L_0x0055;\n L_0x00db:\n r1 = r2;\n goto L_0x001a;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.uc.apollo.media.impl.f.run():void\");\n }",
"@android.support.annotation.RequiresApi(api = 23)\n /* Code decompiled incorrectly, please refer to instructions dump. */\n public final synchronized void b(boolean r11) {\n /*\n r10 = this;\n monitor-enter(r10)\n r8 = 1\n java.lang.Object[] r1 = new java.lang.Object[r8] // Catch:{ all -> 0x004b }\n java.lang.Byte r2 = java.lang.Byte.valueOf(r11) // Catch:{ all -> 0x004b }\n r9 = 0\n r1[r9] = r2 // Catch:{ all -> 0x004b }\n com.meituan.robust.ChangeQuickRedirect r3 = f29525a // Catch:{ all -> 0x004b }\n r4 = 0\n r5 = 16804(0x41a4, float:2.3547E-41)\n java.lang.Class[] r6 = new java.lang.Class[r8] // Catch:{ all -> 0x004b }\n java.lang.Class r2 = java.lang.Boolean.TYPE // Catch:{ all -> 0x004b }\n r6[r9] = r2 // Catch:{ all -> 0x004b }\n java.lang.Class r7 = java.lang.Void.TYPE // Catch:{ all -> 0x004b }\n r2 = r10\n boolean r1 = com.meituan.robust.PatchProxy.isSupport(r1, r2, r3, r4, r5, r6, r7) // Catch:{ all -> 0x004b }\n if (r1 == 0) goto L_0x003a\n java.lang.Object[] r1 = new java.lang.Object[r8] // Catch:{ all -> 0x004b }\n java.lang.Byte r0 = java.lang.Byte.valueOf(r11) // Catch:{ all -> 0x004b }\n r1[r9] = r0 // Catch:{ all -> 0x004b }\n com.meituan.robust.ChangeQuickRedirect r3 = f29525a // Catch:{ all -> 0x004b }\n r4 = 0\n r5 = 16804(0x41a4, float:2.3547E-41)\n java.lang.Class[] r6 = new java.lang.Class[r8] // Catch:{ all -> 0x004b }\n java.lang.Class r0 = java.lang.Boolean.TYPE // Catch:{ all -> 0x004b }\n r6[r9] = r0 // Catch:{ all -> 0x004b }\n java.lang.Class r7 = java.lang.Void.TYPE // Catch:{ all -> 0x004b }\n r2 = r10\n com.meituan.robust.PatchProxy.accessDispatch(r1, r2, r3, r4, r5, r6, r7) // Catch:{ all -> 0x004b }\n monitor-exit(r10)\n return\n L_0x003a:\n com.ss.android.medialib.camera.IESCameraInterface r1 = r10.f29527c // Catch:{ all -> 0x004b }\n boolean r1 = r1 instanceof com.ss.android.medialib.camera.IESHwCamera // Catch:{ all -> 0x004b }\n if (r1 == 0) goto L_0x0049\n com.ss.android.medialib.camera.IESCameraInterface r1 = r10.f29527c // Catch:{ all -> 0x004b }\n com.ss.android.medialib.camera.IESHwCamera r1 = (com.ss.android.medialib.camera.IESHwCamera) r1 // Catch:{ all -> 0x004b }\n r1.c((boolean) r11) // Catch:{ all -> 0x004b }\n r10.n = r11 // Catch:{ all -> 0x004b }\n L_0x0049:\n monitor-exit(r10)\n return\n L_0x004b:\n r0 = move-exception\n monitor-exit(r10)\n throw r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.ss.android.medialib.camera.g.b(boolean):void\");\n }",
"private void a(java.lang.String r11, java.lang.String r12, boolean r13, boolean r14, com.google.ae r15) {\n /*\n r10 = this;\n r9 = 48;\n r8 = 2;\n r6 = F;\n if (r11 != 0) goto L_0x0017;\n L_0x0007:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x0015 }\n r1 = com.google.dk.NOT_A_NUMBER;\t Catch:{ ao -> 0x0015 }\n r2 = J;\t Catch:{ ao -> 0x0015 }\n r3 = 47;\n r2 = r2[r3];\t Catch:{ ao -> 0x0015 }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x0015 }\n throw r0;\t Catch:{ ao -> 0x0015 }\n L_0x0015:\n r0 = move-exception;\n throw r0;\n L_0x0017:\n r0 = r11.length();\t Catch:{ ao -> 0x002d }\n r1 = 250; // 0xfa float:3.5E-43 double:1.235E-321;\n if (r0 <= r1) goto L_0x002f;\n L_0x001f:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x002d }\n r1 = com.google.dk.TOO_LONG;\t Catch:{ ao -> 0x002d }\n r2 = J;\t Catch:{ ao -> 0x002d }\n r3 = 41;\n r2 = r2[r3];\t Catch:{ ao -> 0x002d }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x002d }\n throw r0;\t Catch:{ ao -> 0x002d }\n L_0x002d:\n r0 = move-exception;\n throw r0;\n L_0x002f:\n r7 = new java.lang.StringBuilder;\n r7.<init>();\n r10.a(r11, r7);\t Catch:{ ao -> 0x004f }\n r0 = r7.toString();\t Catch:{ ao -> 0x004f }\n r0 = b(r0);\t Catch:{ ao -> 0x004f }\n if (r0 != 0) goto L_0x0051;\n L_0x0041:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x004f }\n r1 = com.google.dk.NOT_A_NUMBER;\t Catch:{ ao -> 0x004f }\n r2 = J;\t Catch:{ ao -> 0x004f }\n r3 = 48;\n r2 = r2[r3];\t Catch:{ ao -> 0x004f }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x004f }\n throw r0;\t Catch:{ ao -> 0x004f }\n L_0x004f:\n r0 = move-exception;\n throw r0;\n L_0x0051:\n if (r14 == 0) goto L_0x006f;\n L_0x0053:\n r0 = r7.toString();\t Catch:{ ao -> 0x006d }\n r0 = r10.a(r0, r12);\t Catch:{ ao -> 0x006d }\n if (r0 != 0) goto L_0x006f;\n L_0x005d:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x006b }\n r1 = com.google.dk.INVALID_COUNTRY_CODE;\t Catch:{ ao -> 0x006b }\n r2 = J;\t Catch:{ ao -> 0x006b }\n r3 = 46;\n r2 = r2[r3];\t Catch:{ ao -> 0x006b }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x006b }\n throw r0;\t Catch:{ ao -> 0x006b }\n L_0x006b:\n r0 = move-exception;\n throw r0;\n L_0x006d:\n r0 = move-exception;\n throw r0;\t Catch:{ ao -> 0x006b }\n L_0x006f:\n if (r13 == 0) goto L_0x0074;\n L_0x0071:\n r15.b(r11);\t Catch:{ ao -> 0x00d3 }\n L_0x0074:\n r0 = r10.b(r7);\n r1 = r0.length();\t Catch:{ ao -> 0x00d5 }\n if (r1 <= 0) goto L_0x0081;\n L_0x007e:\n r15.a(r0);\t Catch:{ ao -> 0x00d5 }\n L_0x0081:\n r2 = r10.e(r12);\n r3 = new java.lang.StringBuilder;\n r3.<init>();\n r1 = r7.toString();\t Catch:{ ao -> 0x00d7 }\n r0 = r10;\n r4 = r13;\n r5 = r15;\n r0 = r0.a(r1, r2, r3, r4, r5);\t Catch:{ ao -> 0x00d7 }\n L_0x0095:\n if (r0 == 0) goto L_0x0182;\n L_0x0097:\n r1 = r10.b(r0);\n r4 = r1.equals(r12);\n if (r4 != 0) goto L_0x017f;\n L_0x00a1:\n r0 = r10.a(r0, r1);\n L_0x00a5:\n if (r6 == 0) goto L_0x00bd;\n L_0x00a7:\n a(r7);\t Catch:{ ao -> 0x0121 }\n r3.append(r7);\t Catch:{ ao -> 0x0121 }\n if (r12 == 0) goto L_0x00b8;\n L_0x00af:\n r1 = r0.L();\n r15.a(r1);\t Catch:{ ao -> 0x0123 }\n if (r6 == 0) goto L_0x00bd;\n L_0x00b8:\n if (r13 == 0) goto L_0x00bd;\n L_0x00ba:\n r15.l();\t Catch:{ ao -> 0x0125 }\n L_0x00bd:\n r1 = r3.length();\t Catch:{ ao -> 0x00d1 }\n if (r1 >= r8) goto L_0x0127;\n L_0x00c3:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x00d1 }\n r1 = com.google.dk.TOO_SHORT_NSN;\t Catch:{ ao -> 0x00d1 }\n r2 = J;\t Catch:{ ao -> 0x00d1 }\n r3 = 44;\n r2 = r2[r3];\t Catch:{ ao -> 0x00d1 }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x00d1 }\n throw r0;\t Catch:{ ao -> 0x00d1 }\n L_0x00d1:\n r0 = move-exception;\n throw r0;\n L_0x00d3:\n r0 = move-exception;\n throw r0;\n L_0x00d5:\n r0 = move-exception;\n throw r0;\n L_0x00d7:\n r0 = move-exception;\n r1 = g;\n r4 = r7.toString();\n r1 = r1.matcher(r4);\n r4 = r0.a();\t Catch:{ ao -> 0x0111 }\n r5 = com.google.dk.INVALID_COUNTRY_CODE;\t Catch:{ ao -> 0x0111 }\n if (r4 != r5) goto L_0x0113;\n L_0x00ea:\n r4 = r1.lookingAt();\t Catch:{ ao -> 0x0111 }\n if (r4 == 0) goto L_0x0113;\n L_0x00f0:\n r0 = r1.end();\n r1 = r7.substring(r0);\n r0 = r10;\n r4 = r13;\n r5 = r15;\n r0 = r0.a(r1, r2, r3, r4, r5);\n if (r0 != 0) goto L_0x0095;\n L_0x0101:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x010f }\n r1 = com.google.dk.INVALID_COUNTRY_CODE;\t Catch:{ ao -> 0x010f }\n r2 = J;\t Catch:{ ao -> 0x010f }\n r3 = 43;\n r2 = r2[r3];\t Catch:{ ao -> 0x010f }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x010f }\n throw r0;\t Catch:{ ao -> 0x010f }\n L_0x010f:\n r0 = move-exception;\n throw r0;\n L_0x0111:\n r0 = move-exception;\n throw r0;\n L_0x0113:\n r1 = new com.google.ao;\n r2 = r0.a();\n r0 = r0.getMessage();\n r1.<init>(r2, r0);\n throw r1;\n L_0x0121:\n r0 = move-exception;\n throw r0;\n L_0x0123:\n r0 = move-exception;\n throw r0;\t Catch:{ ao -> 0x0125 }\n L_0x0125:\n r0 = move-exception;\n throw r0;\n L_0x0127:\n if (r0 == 0) goto L_0x013a;\n L_0x0129:\n r1 = new java.lang.StringBuilder;\n r1.<init>();\n r10.a(r3, r0, r1);\t Catch:{ ao -> 0x0150 }\n if (r13 == 0) goto L_0x013a;\n L_0x0133:\n r0 = r1.toString();\t Catch:{ ao -> 0x0150 }\n r15.c(r0);\t Catch:{ ao -> 0x0150 }\n L_0x013a:\n r0 = r3.length();\n if (r0 >= r8) goto L_0x0152;\n L_0x0140:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x014e }\n r1 = com.google.dk.TOO_SHORT_NSN;\t Catch:{ ao -> 0x014e }\n r2 = J;\t Catch:{ ao -> 0x014e }\n r3 = 42;\n r2 = r2[r3];\t Catch:{ ao -> 0x014e }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x014e }\n throw r0;\t Catch:{ ao -> 0x014e }\n L_0x014e:\n r0 = move-exception;\n throw r0;\n L_0x0150:\n r0 = move-exception;\n throw r0;\n L_0x0152:\n r1 = 16;\n if (r0 <= r1) goto L_0x0166;\n L_0x0156:\n r0 = new com.google.ao;\t Catch:{ ao -> 0x0164 }\n r1 = com.google.dk.TOO_LONG;\t Catch:{ ao -> 0x0164 }\n r2 = J;\t Catch:{ ao -> 0x0164 }\n r3 = 45;\n r2 = r2[r3];\t Catch:{ ao -> 0x0164 }\n r0.<init>(r1, r2);\t Catch:{ ao -> 0x0164 }\n throw r0;\t Catch:{ ao -> 0x0164 }\n L_0x0164:\n r0 = move-exception;\n throw r0;\n L_0x0166:\n r0 = 0;\n r0 = r3.charAt(r0);\t Catch:{ ao -> 0x017d }\n if (r0 != r9) goto L_0x0171;\n L_0x016d:\n r0 = 1;\n r15.a(r0);\t Catch:{ ao -> 0x017d }\n L_0x0171:\n r0 = r3.toString();\n r0 = java.lang.Long.parseLong(r0);\n r15.a(r0);\n return;\n L_0x017d:\n r0 = move-exception;\n throw r0;\n L_0x017f:\n r0 = r2;\n goto L_0x00a5;\n L_0x0182:\n r0 = r2;\n goto L_0x00a7;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.e2.a(java.lang.String, java.lang.String, boolean, boolean, com.google.ae):void\");\n }",
"public synchronized void m6495a(int r6, int r7) throws fr.pcsoft.wdjava.geo.C0918i {\n /* JADX: method processing error */\n/*\nError: jadx.core.utils.exceptions.JadxRuntimeException: Exception block dominator not found, method:fr.pcsoft.wdjava.geo.a.b.a(int, int):void. bs: [B:13:0x001d, B:18:0x0027, B:23:0x0031, B:28:0x003a, B:44:0x005d, B:55:0x006c, B:64:0x0079]\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:86)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/70807318.run(Unknown Source)\n*/\n /*\n r5 = this;\n r4 = 2;\n r1 = 0;\n r0 = 1;\n monitor-enter(r5);\n r5.m6487e();\t Catch:{ all -> 0x0053 }\n switch(r6) {\n case 2: goto L_0x0089;\n case 3: goto L_0x000a;\n case 4: goto L_0x0013;\n default: goto L_0x000a;\n };\t Catch:{ all -> 0x0053 }\n L_0x000a:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 3;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n L_0x0011:\n monitor-exit(r5);\n return;\n L_0x0013:\n r3 = new android.location.Criteria;\t Catch:{ all -> 0x0053 }\n r3.<init>();\t Catch:{ all -> 0x0053 }\n r2 = r7 & 2;\n if (r2 != r4) goto L_0x0058;\n L_0x001c:\n r2 = 1;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0056 }\n L_0x0020:\n r2 = r7 & 128;\n r4 = 128; // 0x80 float:1.794E-43 double:6.32E-322;\n if (r2 != r4) goto L_0x0065;\n L_0x0026:\n r2 = 3;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0063 }\n L_0x002a:\n r2 = r7 & 8;\n r4 = 8;\n if (r2 != r4) goto L_0x007f;\n L_0x0030:\n r2 = r0;\n L_0x0031:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0081 }\n r2 = r7 & 4;\n r4 = 4;\n if (r2 != r4) goto L_0x0083;\n L_0x0039:\n r2 = r0;\n L_0x003a:\n r3.setAltitudeRequired(r2);\t Catch:{ i -> 0x0085 }\n r2 = r7 & 16;\n r4 = 16;\n if (r2 != r4) goto L_0x0087;\n L_0x0043:\n r3.setAltitudeRequired(r0);\t Catch:{ all -> 0x0053 }\n r0 = 0;\t Catch:{ all -> 0x0053 }\n r0 = r5.m6485a(r0);\t Catch:{ all -> 0x0053 }\n r1 = 1;\t Catch:{ all -> 0x0053 }\n r0 = r0.getBestProvider(r3, r1);\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n L_0x0053:\n r0 = move-exception;\n monitor-exit(r5);\n throw r0;\n L_0x0056:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0058:\n r2 = r7 & 1;\n if (r2 != r0) goto L_0x0020;\n L_0x005c:\n r2 = 2;\n r3.setAccuracy(r2);\t Catch:{ i -> 0x0061 }\n goto L_0x0020;\n L_0x0061:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0063:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0065:\n r2 = r7 & 64;\n r4 = 64;\n if (r2 != r4) goto L_0x0072;\n L_0x006b:\n r2 = 2;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x0070 }\n goto L_0x002a;\n L_0x0070:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0072:\n r2 = r7 & 32;\n r4 = 32;\n if (r2 != r4) goto L_0x002a;\n L_0x0078:\n r2 = 1;\n r3.setPowerRequirement(r2);\t Catch:{ i -> 0x007d }\n goto L_0x002a;\n L_0x007d:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x007f:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0031;\t Catch:{ all -> 0x0053 }\n L_0x0081:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0083:\n r2 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x003a;\t Catch:{ all -> 0x0053 }\n L_0x0085:\n r0 = move-exception;\t Catch:{ all -> 0x0053 }\n throw r0;\t Catch:{ all -> 0x0053 }\n L_0x0087:\n r0 = r1;\t Catch:{ all -> 0x0053 }\n goto L_0x0043;\t Catch:{ all -> 0x0053 }\n L_0x0089:\n r0 = f2486z;\t Catch:{ all -> 0x0053 }\n r1 = 2;\t Catch:{ all -> 0x0053 }\n r0 = r0[r1];\t Catch:{ all -> 0x0053 }\n r5.f2488b = r0;\t Catch:{ all -> 0x0053 }\n goto L_0x0011;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: fr.pcsoft.wdjava.geo.a.b.a(int, int):void\");\n }",
"public java.lang.Object mo13025a(boolean r18, kotlin.coroutines.Continuation<? super kotlin.Unit> r19) {\n /*\n r17 = this;\n r0 = r17\n r1 = r19\n boolean r2 = r1 instanceof p008c.p009a.p024e.p026b.C0963b.C0971h\n if (r2 == 0) goto L_0x0017\n r2 = r1\n c.a.e.b.b$h r2 = (p008c.p009a.p024e.p026b.C0963b.C0971h) r2\n int r3 = r2.f1092b\n r4 = -2147483648(0xffffffff80000000, float:-0.0)\n r5 = r3 & r4\n if (r5 == 0) goto L_0x0017\n int r3 = r3 - r4\n r2.f1092b = r3\n goto L_0x001c\n L_0x0017:\n c.a.e.b.b$h r2 = new c.a.e.b.b$h\n r2.<init>(r0, r1)\n L_0x001c:\n java.lang.Object r1 = r2.f1091a\n java.lang.Object r9 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()\n int r3 = r2.f1092b\n r10 = 4\n r11 = 3\n r4 = 1\n r5 = 2\n if (r3 == 0) goto L_0x00a4\n if (r3 == r4) goto L_0x0093\n if (r3 == r5) goto L_0x0072\n if (r3 == r11) goto L_0x0053\n if (r3 != r10) goto L_0x004b\n java.lang.Object r3 = r2.f1098h\n java.util.List r3 = (java.util.List) r3\n java.lang.Object r3 = r2.f1097g\n java.util.Map r3 = (java.util.Map) r3\n java.lang.Object r3 = r2.f1096f\n org.mobileid.requester.web_service.Response r3 = (org.mobileid.requester.web_service.Response) r3\n java.lang.Object r3 = r2.f1095e\n java.lang.String r3 = (java.lang.String) r3\n java.lang.Object r2 = r2.f1094d\n c.a.e.b.b r2 = (p008c.p009a.p024e.p026b.C0963b) r2\n kotlin.ResultKt.throwOnFailure(r1)\n goto L_0x01c5\n L_0x004b:\n java.lang.IllegalStateException r1 = new java.lang.IllegalStateException\n java.lang.String r2 = \"call to 'resume' before 'invoke' with coroutine\"\n r1.<init>(r2)\n throw r1\n L_0x0053:\n java.lang.Object r3 = r2.f1098h\n java.util.List r3 = (java.util.List) r3\n java.lang.Object r4 = r2.f1097g\n java.util.Map r4 = (java.util.Map) r4\n java.lang.Object r5 = r2.f1096f\n org.mobileid.requester.web_service.Response r5 = (org.mobileid.requester.web_service.Response) r5\n java.lang.Object r6 = r2.f1095e\n java.lang.String r6 = (java.lang.String) r6\n boolean r7 = r2.f1099i\n java.lang.Object r8 = r2.f1094d\n c.a.e.b.b r8 = (p008c.p009a.p024e.p026b.C0963b) r8\n kotlin.ResultKt.throwOnFailure(r1)\n r13 = r5\n r14 = r6\n r6 = r3\n r3 = r8\n goto L_0x01ad\n L_0x0072:\n java.lang.Object r3 = r2.f1098h\n java.util.List r3 = (java.util.List) r3\n java.lang.Object r4 = r2.f1097g\n java.util.Map r4 = (java.util.Map) r4\n java.lang.Object r5 = r2.f1096f\n org.mobileid.requester.web_service.Response r5 = (org.mobileid.requester.web_service.Response) r5\n java.lang.Object r6 = r2.f1095e\n java.lang.String r6 = (java.lang.String) r6\n boolean r7 = r2.f1099i\n java.lang.Object r8 = r2.f1094d\n c.a.e.b.b r8 = (p008c.p009a.p024e.p026b.C0963b) r8\n kotlin.ResultKt.throwOnFailure(r1)\n r1 = r3\n r15 = r4\n r13 = r5\n r14 = r6\n r12 = r8\n r8 = r7\n goto L_0x018c\n L_0x0093:\n java.lang.Object r3 = r2.f1095e\n java.lang.String r3 = (java.lang.String) r3\n boolean r4 = r2.f1099i\n java.lang.Object r6 = r2.f1094d\n c.a.e.b.b r6 = (p008c.p009a.p024e.p026b.C0963b) r6\n kotlin.ResultKt.throwOnFailure(r1)\n r13 = r3\n r14 = r4\n r12 = r6\n goto L_0x00c5\n L_0x00a4:\n kotlin.ResultKt.throwOnFailure(r1)\n c.a.e.c.a r1 = r0.f1032c\n java.lang.String r3 = r1.mo13035a()\n if (r3 == 0) goto L_0x01cc\n org.mobileid.time_key.web_service.TimeKeyWebService r1 = r0.f1031b\n r2.f1094d = r0\n r6 = r18\n r2.f1099i = r6\n r2.f1095e = r3\n r2.f1092b = r4\n java.lang.Object r1 = r1.synchronizeKeys(r3, r2)\n if (r1 != r9) goto L_0x00c2\n return r9\n L_0x00c2:\n r12 = r0\n r13 = r3\n r14 = r6\n L_0x00c5:\n org.mobileid.requester.web_service.Response r1 = (org.mobileid.requester.web_service.Response) r1\n org.mobileid.requester.web_service.Error r3 = r1.getError()\n if (r3 == 0) goto L_0x00d0\n kotlin.Unit r1 = kotlin.Unit.INSTANCE\n return r1\n L_0x00d0:\n java.lang.Object r3 = r1.getResult()\n java.util.Map r3 = (java.util.Map) r3\n r4 = 0\n if (r12 == 0) goto L_0x01cb\n if (r3 == 0) goto L_0x010e\n java.util.LinkedHashMap r6 = new java.util.LinkedHashMap\n r6.<init>()\n java.util.Set r3 = r3.entrySet()\n java.util.Iterator r3 = r3.iterator()\n L_0x00e8:\n boolean r7 = r3.hasNext()\n if (r7 == 0) goto L_0x010f\n java.lang.Object r7 = r3.next()\n java.util.Map$Entry r7 = (java.util.Map.Entry) r7\n org.mobileid.access.key.TimeKey$Companion r8 = org.mobileid.access.key.TimeKey.Companion\n java.lang.Object r15 = r7.getKey()\n java.lang.String r15 = (java.lang.String) r15\n boolean r8 = r8.isTimeKeyPrefix(r15)\n if (r8 == 0) goto L_0x00e8\n java.lang.Object r8 = r7.getKey()\n java.lang.Object r7 = r7.getValue()\n r6.put(r8, r7)\n goto L_0x00e8\n L_0x010e:\n r6 = r4\n L_0x010f:\n boolean r3 = r6 instanceof java.util.Map\n if (r3 != 0) goto L_0x0115\n r15 = r4\n goto L_0x0116\n L_0x0115:\n r15 = r6\n L_0x0116:\n if (r15 == 0) goto L_0x01c8\n c.a.a.c$a r3 = p008c.p009a.p010a.C0837c.f761k\n android.content.Context r6 = r12.f1030a\n java.util.List r3 = p008c.p009a.p010a.C0837c.C0838a.m367a((p008c.p009a.p010a.C0837c.C0838a) r3, (android.content.Context) r6, (org.mobileid.access.key_sort.Sort) r4, (int) r5)\n java.util.ArrayList r4 = new java.util.ArrayList\n r4.<init>()\n java.util.Iterator r3 = r3.iterator()\n L_0x0129:\n boolean r6 = r3.hasNext()\n if (r6 == 0) goto L_0x0146\n java.lang.Object r6 = r3.next()\n r7 = r6\n org.mobileid.access.key.Key r7 = (org.mobileid.access.key.Key) r7\n org.mobileid.access.key.TimeKey$Companion r8 = org.mobileid.access.key.TimeKey.Companion\n java.lang.String r7 = r7.getName()\n boolean r7 = r8.isStorageTimeKeyId(r7)\n if (r7 == 0) goto L_0x0129\n r4.add(r6)\n goto L_0x0129\n L_0x0146:\n java.util.ArrayList r8 = new java.util.ArrayList\n r3 = 10\n int r3 = kotlin.collections.CollectionsKt.collectionSizeOrDefault(r4, r3)\n r8.<init>(r3)\n java.util.Iterator r3 = r4.iterator()\n L_0x0155:\n boolean r4 = r3.hasNext()\n if (r4 == 0) goto L_0x0169\n java.lang.Object r4 = r3.next()\n org.mobileid.access.key.Key r4 = (org.mobileid.access.key.Key) r4\n java.lang.String r4 = r4.getId()\n r8.add(r4)\n goto L_0x0155\n L_0x0169:\n r2.f1094d = r12\n r2.f1099i = r14\n r2.f1095e = r13\n r2.f1096f = r1\n r2.f1097g = r15\n r2.f1098h = r8\n r2.f1092b = r5\n java.lang.String r5 = \"DEACTIVATED\"\n r3 = r12\n r4 = r15\n r6 = r8\n r7 = r14\n r16 = r8\n r8 = r2\n java.lang.Object r3 = r3.mo13032b(r4, r5, r6, r7, r8)\n if (r3 != r9) goto L_0x0187\n return r9\n L_0x0187:\n r8 = r14\n r14 = r13\n r13 = r1\n r1 = r16\n L_0x018c:\n r2.f1094d = r12\n r2.f1099i = r8\n r2.f1095e = r14\n r2.f1096f = r13\n r2.f1097g = r15\n r2.f1098h = r1\n r2.f1092b = r11\n java.lang.String r5 = \"FROZEN\"\n r3 = r12\n r4 = r15\n r6 = r1\n r7 = r8\n r11 = r8\n r8 = r2\n java.lang.Object r3 = r3.mo13032b(r4, r5, r6, r7, r8)\n if (r3 != r9) goto L_0x01a9\n return r9\n L_0x01a9:\n r6 = r1\n r7 = r11\n r3 = r12\n r4 = r15\n L_0x01ad:\n r2.f1094d = r3\n r2.f1099i = r7\n r2.f1095e = r14\n r2.f1096f = r13\n r2.f1097g = r4\n r2.f1098h = r6\n r2.f1092b = r10\n java.lang.String r5 = \"FROZEN\"\n r8 = r2\n java.lang.Object r1 = r3.mo13028a(r4, r5, r6, r7, r8)\n if (r1 != r9) goto L_0x01c5\n return r9\n L_0x01c5:\n kotlin.Unit r1 = kotlin.Unit.INSTANCE\n return r1\n L_0x01c8:\n kotlin.Unit r1 = kotlin.Unit.INSTANCE\n return r1\n L_0x01cb:\n throw r4\n L_0x01cc:\n kotlin.Unit r1 = kotlin.Unit.INSTANCE\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p008c.p009a.p024e.p026b.C0963b.mo13025a(boolean, kotlin.coroutines.Continuation):java.lang.Object\");\n }",
"private boolean method_4323(class_1343 var1) {\r\n int var3 = class_1715.method_9561(var1.field_6909);\r\n String[] var10000 = class_752.method_4253();\r\n int var4 = class_1715.method_9561(var1.field_6910);\r\n String[] var2 = var10000;\r\n int var5 = class_1715.method_9561(var1.field_6911);\r\n int var6 = class_1715.method_9561(var1.field_6912);\r\n int var7 = class_1715.method_9561(var1.field_6913);\r\n int var8 = class_1715.method_9561(var1.field_6914);\r\n byte var9 = 0;\r\n byte var10 = 0;\r\n int var11 = var3;\r\n\r\n int var20;\r\n label109:\r\n while(true) {\r\n var20 = var11;\r\n\r\n label106:\r\n while(var20 <= var6) {\r\n var20 = var4;\r\n if(var2 == null) {\r\n break label109;\r\n }\r\n\r\n int var12 = var4;\r\n\r\n while(var12 <= var7) {\r\n var20 = var5;\r\n if(var2 == null) {\r\n continue label106;\r\n }\r\n\r\n int var13 = var5;\r\n\r\n while(true) {\r\n if(var13 <= var8) {\r\n aji var14 = this.field_2990.getBlock(var11, var12, var13);\r\n if(var2 == null) {\r\n break;\r\n }\r\n\r\n if(var2 != null) {\r\n if(var14.method_2424() != awt.field_4170) {\r\n label92: {\r\n byte var24;\r\n label91: {\r\n label117: {\r\n aji var21 = var14;\r\n aji var10001 = class_1192.field_6076;\r\n if(var2 != null) {\r\n if(var14 == class_1192.field_6076) {\r\n break label117;\r\n }\r\n\r\n var21 = var14;\r\n var10001 = class_1192.field_6145;\r\n }\r\n\r\n if(var2 != null) {\r\n if(var21 == var10001) {\r\n break label117;\r\n }\r\n\r\n var21 = var14;\r\n var10001 = class_1192.field_6032;\r\n }\r\n\r\n if(var21 != var10001) {\r\n class_1038 var23 = this.field_2990.method_2196();\r\n String[] var17 = field_3418;\r\n var24 = var23.method_5878(\"mobGriefing\");\r\n if(var2 == null) {\r\n break label91;\r\n }\r\n\r\n if(var24 != 0) {\r\n var24 = this.field_2990.method_2056(var11, var12, var13);\r\n if(var2 != null) {\r\n label71: {\r\n if(var24 == 0) {\r\n var24 = var10;\r\n if(var2 == null) {\r\n break label71;\r\n }\r\n\r\n if(var10 == 0) {\r\n var24 = 0;\r\n break label71;\r\n }\r\n }\r\n\r\n var24 = 1;\r\n }\r\n }\r\n\r\n var10 = var24;\r\n if(var2 != null) {\r\n break label92;\r\n }\r\n }\r\n }\r\n }\r\n\r\n var24 = 1;\r\n }\r\n\r\n var9 = var24;\r\n }\r\n }\r\n\r\n ++var13;\r\n }\r\n\r\n if(var2 != null) {\r\n continue;\r\n }\r\n }\r\n\r\n ++var12;\r\n break;\r\n }\r\n\r\n if(var2 == null) {\r\n break;\r\n }\r\n }\r\n\r\n ++var11;\r\n if(var2 != null) {\r\n continue label109;\r\n }\r\n break;\r\n }\r\n\r\n var20 = var10;\r\n break;\r\n }\r\n\r\n if(var2 != null) {\r\n if(var20 != 0) {\r\n double var18 = var1.field_6909 + (var1.field_6912 - var1.field_6909) * (double)this.field_3028.nextFloat();\r\n double var19 = var1.field_6910 + (var1.field_6913 - var1.field_6910) * (double)this.field_3028.nextFloat();\r\n double var15 = var1.field_6911 + (var1.field_6914 - var1.field_6911) * (double)this.field_3028.nextFloat();\r\n String[] var22 = field_3418;\r\n this.field_2990.method_2087(\"largeexplode\", var18, var19, var15, 0.0D, 0.0D, 0.0D);\r\n }\r\n\r\n var20 = var9;\r\n }\r\n\r\n return (boolean)var20;\r\n }",
"public void method_2111(int param1, int param2, int param3, aji param4, int param5, int param6) {\r\n // $FF: Couldn't be decompiled\r\n }",
"public java.lang.Object mo13022a(java.lang.String r18, kotlin.coroutines.Continuation<? super java.lang.Boolean> r19) {\n /*\n r17 = this;\n r0 = r17\n r1 = r19\n boolean r2 = r1 instanceof p008c.p009a.p024e.p026b.C0963b.C0970g\n if (r2 == 0) goto L_0x0017\n r2 = r1\n c.a.e.b.b$g r2 = (p008c.p009a.p024e.p026b.C0963b.C0970g) r2\n int r3 = r2.f1086b\n r4 = -2147483648(0xffffffff80000000, float:-0.0)\n r5 = r3 & r4\n if (r5 == 0) goto L_0x0017\n int r3 = r3 - r4\n r2.f1086b = r3\n goto L_0x001c\n L_0x0017:\n c.a.e.b.b$g r2 = new c.a.e.b.b$g\n r2.<init>(r0, r1)\n L_0x001c:\n java.lang.Object r1 = r2.f1085a\n java.lang.Object r3 = kotlin.coroutines.intrinsics.IntrinsicsKt.getCOROUTINE_SUSPENDED()\n int r4 = r2.f1086b\n r5 = 0\n r6 = 2\n r7 = 1\n if (r4 == 0) goto L_0x0051\n if (r4 == r7) goto L_0x0045\n if (r4 != r6) goto L_0x003d\n java.lang.Object r3 = r2.f1090f\n java.lang.String r3 = (java.lang.String) r3\n java.lang.Object r3 = r2.f1089e\n java.lang.String r3 = (java.lang.String) r3\n java.lang.Object r2 = r2.f1088d\n c.a.e.b.b r2 = (p008c.p009a.p024e.p026b.C0963b) r2\n kotlin.ResultKt.throwOnFailure(r1)\n goto L_0x00a1\n L_0x003d:\n java.lang.IllegalStateException r1 = new java.lang.IllegalStateException\n java.lang.String r2 = \"call to 'resume' before 'invoke' with coroutine\"\n r1.<init>(r2)\n throw r1\n L_0x0045:\n java.lang.Object r4 = r2.f1089e\n java.lang.String r4 = (java.lang.String) r4\n java.lang.Object r8 = r2.f1088d\n c.a.e.b.b r8 = (p008c.p009a.p024e.p026b.C0963b) r8\n kotlin.ResultKt.throwOnFailure(r1)\n goto L_0x0066\n L_0x0051:\n kotlin.ResultKt.throwOnFailure(r1)\n c.a.e.c.a r1 = r0.f1032c\n r2.f1088d = r0\n r4 = r18\n r2.f1089e = r4\n r2.f1086b = r7\n java.lang.Object r1 = r1.mo13034a(r2)\n if (r1 != r3) goto L_0x0065\n return r3\n L_0x0065:\n r8 = r0\n L_0x0066:\n c.a.e.c.a r1 = r8.f1032c\n java.lang.String r1 = r1.mo13035a()\n if (r1 == 0) goto L_0x00b7\n org.mobileid.time_key.web_service.TimeKeyWebService r15 = r8.f1031b\n org.mobileid.time_key.web_service.ActionOnKeyBody r14 = new org.mobileid.time_key.web_service.ActionOnKeyBody\n java.util.Locale r9 = java.util.Locale.getDefault()\n java.lang.String r10 = \"Locale.getDefault()\"\n kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r9, r10)\n if (r4 == 0) goto L_0x00af\n java.lang.String r10 = r4.toUpperCase(r9)\n java.lang.String r9 = \"(this as java.lang.String).toUpperCase(locale)\"\n kotlin.jvm.internal.Intrinsics.checkNotNullExpressionValue(r10, r9)\n r12 = 0\n r13 = 4\n r16 = 0\n r9 = r14\n r11 = r1\n r7 = r14\n r14 = r16\n r9.<init>(r10, r11, r12, r13, r14)\n r2.f1088d = r8\n r2.f1089e = r4\n r2.f1090f = r1\n r2.f1086b = r6\n java.lang.Object r1 = r15.activateKey(r7, r2)\n if (r1 != r3) goto L_0x00a1\n return r3\n L_0x00a1:\n org.mobileid.requester.web_service.Response r1 = (org.mobileid.requester.web_service.Response) r1\n java.lang.Object r1 = r1.getResult()\n if (r1 == 0) goto L_0x00aa\n r5 = 1\n L_0x00aa:\n java.lang.Boolean r1 = kotlin.coroutines.jvm.internal.Boxing.boxBoolean(r5)\n return r1\n L_0x00af:\n java.lang.NullPointerException r1 = new java.lang.NullPointerException\n java.lang.String r2 = \"null cannot be cast to non-null type java.lang.String\"\n r1.<init>(r2)\n throw r1\n L_0x00b7:\n java.lang.Boolean r1 = kotlin.coroutines.jvm.internal.Boxing.boxBoolean(r5)\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p008c.p009a.p024e.p026b.C0963b.mo13022a(java.lang.String, kotlin.coroutines.Continuation):java.lang.Object\");\n }",
"private final com.google.wireless.android.finsky.dfe.p513g.p514a.C7467r m35669b(com.google.protobuf.nano.C7213a r8) {\n /*\n r7 = this;\n r1 = 0;\n L_0x0001:\n r0 = r8.m33550a();\n switch(r0) {\n case 0: goto L_0x000e;\n case 10: goto L_0x000f;\n case 18: goto L_0x001c;\n case 26: goto L_0x0029;\n case 34: goto L_0x003c;\n case 42: goto L_0x0050;\n case 50: goto L_0x0064;\n case 82: goto L_0x0078;\n case 98: goto L_0x008e;\n case 138: goto L_0x00a4;\n case 146: goto L_0x00b9;\n case 152: goto L_0x00c7;\n case 162: goto L_0x0106;\n case 170: goto L_0x011c;\n case 178: goto L_0x012e;\n case 184: goto L_0x0143;\n case 192: goto L_0x0151;\n case 218: goto L_0x015f;\n case 226: goto L_0x0171;\n case 234: goto L_0x0187;\n case 258: goto L_0x019d;\n case 266: goto L_0x01b3;\n case 274: goto L_0x01c8;\n case 290: goto L_0x01de;\n case 298: goto L_0x021e;\n case 306: goto L_0x022c;\n default: goto L_0x0008;\n };\n L_0x0008:\n r0 = super.a(r8, r0);\n if (r0 != 0) goto L_0x0001;\n L_0x000e:\n return r7;\n L_0x000f:\n r0 = r8.m33564f();\n r7.f37912d = r0;\n r0 = r7.f37911c;\n r0 = r0 | 1;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x001c:\n r0 = r8.m33564f();\n r7.f37914f = r0;\n r0 = r7.f37911c;\n r0 = r0 | 4;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x0029:\n r0 = r7.f37916h;\n if (r0 != 0) goto L_0x0034;\n L_0x002d:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.c;\n r0.<init>();\n r7.f37916h = r0;\n L_0x0034:\n r0 = r7.f37916h;\n r8.m33552a(r0);\n r7.f37910a = r1;\n goto L_0x0001;\n L_0x003c:\n r0 = r7.f37917i;\n if (r0 != 0) goto L_0x0047;\n L_0x0040:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.z;\n r0.<init>();\n r7.f37917i = r0;\n L_0x0047:\n r0 = r7.f37917i;\n r8.m33552a(r0);\n r0 = 1;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0050:\n r0 = r7.f37919k;\n if (r0 != 0) goto L_0x005b;\n L_0x0054:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.f;\n r0.<init>();\n r7.f37919k = r0;\n L_0x005b:\n r0 = r7.f37919k;\n r8.m33552a(r0);\n r0 = 3;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0064:\n r0 = r7.f37922n;\n if (r0 != 0) goto L_0x006f;\n L_0x0068:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.o;\n r0.<init>();\n r7.f37922n = r0;\n L_0x006f:\n r0 = r7.f37922n;\n r8.m33552a(r0);\n r0 = 6;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0078:\n r0 = r7.f37924p;\n if (r0 != 0) goto L_0x0083;\n L_0x007c:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.d;\n r0.<init>();\n r7.f37924p = r0;\n L_0x0083:\n r0 = r7.f37924p;\n r8.m33552a(r0);\n r0 = 8;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x008e:\n r0 = r7.f37926r;\n if (r0 != 0) goto L_0x0099;\n L_0x0092:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.n;\n r0.<init>();\n r7.f37926r = r0;\n L_0x0099:\n r0 = r7.f37926r;\n r8.m33552a(r0);\n r0 = 10;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x00a4:\n r0 = r7.f37923o;\n if (r0 != 0) goto L_0x00af;\n L_0x00a8:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.q;\n r0.<init>();\n r7.f37923o = r0;\n L_0x00af:\n r0 = r7.f37923o;\n r8.m33552a(r0);\n r0 = 7;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x00b9:\n r0 = r8.m33565g();\n r7.f37931w = r0;\n r0 = r7.f37911c;\n r0 = r0 | 16;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x00c7:\n r2 = r7.f37911c;\n r2 = r2 | 2;\n r7.f37911c = r2;\n r2 = r8.m33573o();\n r3 = r8.m33567i();\t Catch:{ IllegalArgumentException -> 0x00f3 }\n switch(r3) {\n case 0: goto L_0x00fc;\n case 101: goto L_0x00fc;\n case 102: goto L_0x00fc;\n case 103: goto L_0x00fc;\n case 105: goto L_0x00fc;\n case 106: goto L_0x00fc;\n case 107: goto L_0x00fc;\n case 108: goto L_0x00fc;\n case 109: goto L_0x00fc;\n case 111: goto L_0x00fc;\n case 112: goto L_0x00fc;\n case 113: goto L_0x00fc;\n case 114: goto L_0x00fc;\n case 115: goto L_0x00fc;\n case 116: goto L_0x00fc;\n case 117: goto L_0x00fc;\n case 118: goto L_0x00fc;\n case 119: goto L_0x00fc;\n case 120: goto L_0x00fc;\n case 201: goto L_0x00fc;\n case 202: goto L_0x00fc;\n case 203: goto L_0x00fc;\n case 204: goto L_0x00fc;\n case 205: goto L_0x00fc;\n case 206: goto L_0x00fc;\n case 207: goto L_0x00fc;\n case 209: goto L_0x00fc;\n case 210: goto L_0x00fc;\n case 211: goto L_0x00fc;\n case 212: goto L_0x00fc;\n case 213: goto L_0x00fc;\n case 214: goto L_0x00fc;\n case 215: goto L_0x00fc;\n case 217: goto L_0x00fc;\n case 218: goto L_0x00fc;\n case 219: goto L_0x00fc;\n case 220: goto L_0x00fc;\n case 221: goto L_0x00fc;\n case 222: goto L_0x00fc;\n case 223: goto L_0x00fc;\n case 224: goto L_0x00fc;\n case 301: goto L_0x00fc;\n case 302: goto L_0x00fc;\n case 304: goto L_0x00fc;\n case 305: goto L_0x00fc;\n case 307: goto L_0x00fc;\n case 309: goto L_0x00fc;\n case 310: goto L_0x00fc;\n case 311: goto L_0x00fc;\n case 312: goto L_0x00fc;\n case 313: goto L_0x00fc;\n case 314: goto L_0x00fc;\n case 316: goto L_0x00fc;\n case 317: goto L_0x00fc;\n case 318: goto L_0x00fc;\n case 319: goto L_0x00fc;\n case 320: goto L_0x00fc;\n case 321: goto L_0x00fc;\n case 322: goto L_0x00fc;\n case 323: goto L_0x00fc;\n case 324: goto L_0x00fc;\n case 325: goto L_0x00fc;\n case 326: goto L_0x00fc;\n case 327: goto L_0x00fc;\n case 328: goto L_0x00fc;\n case 401: goto L_0x00fc;\n case 402: goto L_0x00fc;\n case 403: goto L_0x00fc;\n case 404: goto L_0x00fc;\n case 405: goto L_0x00fc;\n case 406: goto L_0x00fc;\n case 407: goto L_0x00fc;\n case 408: goto L_0x00fc;\n case 409: goto L_0x00fc;\n case 410: goto L_0x00fc;\n case 411: goto L_0x00fc;\n case 412: goto L_0x00fc;\n case 501: goto L_0x00fc;\n case 502: goto L_0x00fc;\n case 503: goto L_0x00fc;\n case 504: goto L_0x00fc;\n case 505: goto L_0x00fc;\n case 506: goto L_0x00fc;\n case 507: goto L_0x00fc;\n case 508: goto L_0x00fc;\n case 509: goto L_0x00fc;\n case 510: goto L_0x00fc;\n case 511: goto L_0x00fc;\n case 512: goto L_0x00fc;\n case 513: goto L_0x00fc;\n case 514: goto L_0x00fc;\n case 515: goto L_0x00fc;\n case 601: goto L_0x00fc;\n case 701: goto L_0x00fc;\n case 702: goto L_0x00fc;\n case 703: goto L_0x00fc;\n case 704: goto L_0x00fc;\n case 705: goto L_0x00fc;\n case 706: goto L_0x00fc;\n case 707: goto L_0x00fc;\n case 708: goto L_0x00fc;\n case 709: goto L_0x00fc;\n case 710: goto L_0x00fc;\n case 711: goto L_0x00fc;\n case 801: goto L_0x00fc;\n case 802: goto L_0x00fc;\n case 803: goto L_0x00fc;\n case 804: goto L_0x00fc;\n case 805: goto L_0x00fc;\n case 806: goto L_0x00fc;\n case 807: goto L_0x00fc;\n case 808: goto L_0x00fc;\n case 809: goto L_0x00fc;\n case 810: goto L_0x00fc;\n case 811: goto L_0x00fc;\n case 812: goto L_0x00fc;\n case 901: goto L_0x00fc;\n case 902: goto L_0x00fc;\n case 903: goto L_0x00fc;\n case 904: goto L_0x00fc;\n case 905: goto L_0x00fc;\n case 906: goto L_0x00fc;\n case 907: goto L_0x00fc;\n case 908: goto L_0x00fc;\n case 909: goto L_0x00fc;\n case 910: goto L_0x00fc;\n case 911: goto L_0x00fc;\n case 912: goto L_0x00fc;\n case 913: goto L_0x00fc;\n case 914: goto L_0x00fc;\n case 915: goto L_0x00fc;\n case 916: goto L_0x00fc;\n case 1001: goto L_0x00fc;\n case 1002: goto L_0x00fc;\n default: goto L_0x00d8;\n };\t Catch:{ IllegalArgumentException -> 0x00f3 }\n L_0x00d8:\n r4 = new java.lang.IllegalArgumentException;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r5 = 44;\n r6 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r6.<init>(r5);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r6.append(r3);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r5 = \" is not a valid enum RelationType\";\n r3 = r3.append(r5);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r3.toString();\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r4.<init>(r3);\t Catch:{ IllegalArgumentException -> 0x00f3 }\n throw r4;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n L_0x00f3:\n r3 = move-exception;\n r8.m33562e(r2);\n r7.a(r8, r0);\n goto L_0x0001;\n L_0x00fc:\n r7.f37913e = r3;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r7.f37911c;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n r3 = r3 | 2;\n r7.f37911c = r3;\t Catch:{ IllegalArgumentException -> 0x00f3 }\n goto L_0x0001;\n L_0x0106:\n r0 = r7.f37927s;\n if (r0 != 0) goto L_0x0111;\n L_0x010a:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.m;\n r0.<init>();\n r7.f37927s = r0;\n L_0x0111:\n r0 = r7.f37927s;\n r8.m33552a(r0);\n r0 = 11;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x011c:\n r0 = r7.f37932x;\n if (r0 != 0) goto L_0x0127;\n L_0x0120:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.ag;\n r0.<init>();\n r7.f37932x = r0;\n L_0x0127:\n r0 = r7.f37932x;\n r8.m33552a(r0);\n goto L_0x0001;\n L_0x012e:\n r0 = r7.f37920l;\n if (r0 != 0) goto L_0x0139;\n L_0x0132:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.t;\n r0.<init>();\n r7.f37920l = r0;\n L_0x0139:\n r0 = r7.f37920l;\n r8.m33552a(r0);\n r0 = 4;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0143:\n r0 = r8.m33560d();\n r7.f37933y = r0;\n r0 = r7.f37911c;\n r0 = r0 | 32;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x0151:\n r0 = r8.m33560d();\n r7.f37934z = r0;\n r0 = r7.f37911c;\n r0 = r0 | 64;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x015f:\n r0 = r7.f37908A;\n if (r0 != 0) goto L_0x016a;\n L_0x0163:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.k;\n r0.<init>();\n r7.f37908A = r0;\n L_0x016a:\n r0 = r7.f37908A;\n r8.m33552a(r0);\n goto L_0x0001;\n L_0x0171:\n r0 = r7.f37929u;\n if (r0 != 0) goto L_0x017c;\n L_0x0175:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.y;\n r0.<init>();\n r7.f37929u = r0;\n L_0x017c:\n r0 = r7.f37929u;\n r8.m33552a(r0);\n r0 = 13;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x0187:\n r0 = r7.f37928t;\n if (r0 != 0) goto L_0x0192;\n L_0x018b:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.b;\n r0.<init>();\n r7.f37928t = r0;\n L_0x0192:\n r0 = r7.f37928t;\n r8.m33552a(r0);\n r0 = 12;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x019d:\n r0 = r7.f37925q;\n if (r0 != 0) goto L_0x01a8;\n L_0x01a1:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.e;\n r0.<init>();\n r7.f37925q = r0;\n L_0x01a8:\n r0 = r7.f37925q;\n r8.m33552a(r0);\n r0 = 9;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01b3:\n r0 = r7.f37921m;\n if (r0 != 0) goto L_0x01be;\n L_0x01b7:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.h;\n r0.<init>();\n r7.f37921m = r0;\n L_0x01be:\n r0 = r7.f37921m;\n r8.m33552a(r0);\n r0 = 5;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01c8:\n r0 = r7.f37930v;\n if (r0 != 0) goto L_0x01d3;\n L_0x01cc:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.x;\n r0.<init>();\n r7.f37930v = r0;\n L_0x01d3:\n r0 = r7.f37930v;\n r8.m33552a(r0);\n r0 = 14;\n r7.f37910a = r0;\n goto L_0x0001;\n L_0x01de:\n r0 = 290; // 0x122 float:4.06E-43 double:1.433E-321;\n r2 = com.google.protobuf.nano.C7222l.m33624a(r8, r0);\n r0 = r7.f37909B;\n if (r0 != 0) goto L_0x020a;\n L_0x01e8:\n r0 = r1;\n L_0x01e9:\n r2 = r2 + r0;\n r2 = new com.google.wireless.android.finsky.dfe.p513g.p514a.C7468s[r2];\n if (r0 == 0) goto L_0x01f3;\n L_0x01ee:\n r3 = r7.f37909B;\n java.lang.System.arraycopy(r3, r1, r2, r1, r0);\n L_0x01f3:\n r3 = r2.length;\n r3 = r3 + -1;\n if (r0 >= r3) goto L_0x020e;\n L_0x01f8:\n r3 = new com.google.wireless.android.finsky.dfe.g.a.s;\n r3.<init>();\n r2[r0] = r3;\n r3 = r2[r0];\n r8.m33552a(r3);\n r8.m33550a();\n r0 = r0 + 1;\n goto L_0x01f3;\n L_0x020a:\n r0 = r7.f37909B;\n r0 = r0.length;\n goto L_0x01e9;\n L_0x020e:\n r3 = new com.google.wireless.android.finsky.dfe.g.a.s;\n r3.<init>();\n r2[r0] = r3;\n r0 = r2[r0];\n r8.m33552a(r0);\n r7.f37909B = r2;\n goto L_0x0001;\n L_0x021e:\n r0 = r8.m33564f();\n r7.f37915g = r0;\n r0 = r7.f37911c;\n r0 = r0 | 8;\n r7.f37911c = r0;\n goto L_0x0001;\n L_0x022c:\n r0 = r7.f37918j;\n if (r0 != 0) goto L_0x0237;\n L_0x0230:\n r0 = new com.google.wireless.android.finsky.dfe.g.a.w;\n r0.<init>();\n r7.f37918j = r0;\n L_0x0237:\n r0 = r7.f37918j;\n r8.m33552a(r0);\n r0 = 2;\n r7.f37910a = r0;\n goto L_0x0001;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.wireless.android.finsky.dfe.g.a.r.b(com.google.protobuf.nano.a):com.google.wireless.android.finsky.dfe.g.a.r\");\n }",
"public final synchronized java.lang.String m90f(java.lang.String r5) {\n /*\n r4 = this;\n r1 = 1;\n r0 = 0;\n monitor-enter(r4);\n if (r5 == 0) goto L_0x002c;\n L_0x0005:\n r2 = r5.trim();\t Catch:{ all -> 0x0037 }\n r2 = r2.length();\t Catch:{ all -> 0x0037 }\n if (r2 <= 0) goto L_0x002c;\n L_0x000f:\n if (r0 == 0) goto L_0x002e;\n L_0x0011:\n r0 = \"key should not be empty %s\";\n r1 = 1;\n r1 = new java.lang.Object[r1];\t Catch:{ all -> 0x0037 }\n r2 = 0;\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0037 }\n r3.<init>();\t Catch:{ all -> 0x0037 }\n r3 = r3.append(r5);\t Catch:{ all -> 0x0037 }\n r3 = r3.toString();\t Catch:{ all -> 0x0037 }\n r1[r2] = r3;\t Catch:{ all -> 0x0037 }\n com.tencent.bugly.legu.proguard.C0073w.m524d(r0, r1);\t Catch:{ all -> 0x0037 }\n r0 = 0;\n L_0x002a:\n monitor-exit(r4);\n return r0;\n L_0x002c:\n r0 = r1;\n goto L_0x000f;\n L_0x002e:\n r0 = r4.f112Y;\t Catch:{ all -> 0x0037 }\n r0 = r0.remove(r5);\t Catch:{ all -> 0x0037 }\n r0 = (java.lang.String) r0;\t Catch:{ all -> 0x0037 }\n goto L_0x002a;\n L_0x0037:\n r0 = move-exception;\n monitor-exit(r4);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.bugly.legu.crashreport.common.info.a.f(java.lang.String):java.lang.String\");\n }",
"public org.a9 a() {\n /*\n r4 = this;\n r1 = 0;\n r0 = r4.c;\n if (r0 != 0) goto L_0x0040;\n L_0x0005:\n monitor-enter(r4);\n r0 = r4.c;\t Catch:{ all -> 0x0043 }\n if (r0 != 0) goto L_0x003f;\n L_0x000a:\n r2 = r4.e;\t Catch:{ IllegalArgumentException -> 0x0041 }\n if (r2 != 0) goto L_0x003f;\n L_0x000e:\n r0 = r4.b;\t Catch:{ all -> 0x0043 }\n r2 = z;\t Catch:{ all -> 0x0043 }\n r3 = 8;\n r2 = r2[r3];\t Catch:{ all -> 0x0043 }\n r3 = 0;\n r0 = r0.getSharedPreferences(r2, r3);\t Catch:{ all -> 0x0043 }\n r2 = z;\t Catch:{ all -> 0x0043 }\n r3 = 6;\n r2 = r2[r3];\t Catch:{ all -> 0x0043 }\n r3 = \"\";\n r0 = r0.getString(r2, r3);\t Catch:{ all -> 0x0043 }\n r2 = android.text.TextUtils.isEmpty(r0);\t Catch:{ IllegalArgumentException -> 0x0046 }\n if (r2 == 0) goto L_0x0053;\n L_0x002d:\n r2 = r1;\n L_0x002e:\n if (r2 == 0) goto L_0x0039;\n L_0x0030:\n r0 = new org.a9;\t Catch:{ IllegalArgumentException -> 0x0048 }\n r0.<init>(r2);\t Catch:{ IllegalArgumentException -> 0x0048 }\n r2 = com.whatsapp.DialogToastActivity.f;\t Catch:{ IllegalArgumentException -> 0x0048 }\n if (r2 == 0) goto L_0x003a;\n L_0x0039:\n r0 = r1;\n L_0x003a:\n r4.c = r0;\t Catch:{ all -> 0x0043 }\n r1 = 1;\n r4.e = r1;\t Catch:{ all -> 0x0043 }\n L_0x003f:\n monitor-exit(r4);\t Catch:{ all -> 0x0043 }\n L_0x0040:\n return r0;\n L_0x0041:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0043 }\n L_0x0043:\n r0 = move-exception;\n monitor-exit(r4);\t Catch:{ all -> 0x0043 }\n throw r0;\n L_0x0046:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0048 }\n L_0x0048:\n r0 = move-exception;\n r2 = z;\t Catch:{ all -> 0x0043 }\n r3 = 7;\n r2 = r2[r3];\t Catch:{ all -> 0x0043 }\n com.whatsapp.util.Log.c(r2, r0);\t Catch:{ all -> 0x0043 }\n r0 = r1;\n goto L_0x003a;\n L_0x0053:\n r2 = 3;\n r0 = android.backport.util.Base64.decode(r0, r2);\t Catch:{ IllegalArgumentException -> 0x0048 }\n r2 = r0;\n goto L_0x002e;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.l9.a():org.a9\");\n }",
"public static int m22557b(java.lang.String r1) {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.searchTryCatchDominators(ProcessTryCatchRegions.java:75)\n\tat jadx.core.dex.visitors.regions.ProcessTryCatchRegions.process(ProcessTryCatchRegions.java:45)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.postProcessRegions(RegionMakerVisitor.java:63)\n\tat jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:58)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:31)\n\tat jadx.core.dex.visitors.DepthTraversal.visit(DepthTraversal.java:17)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:34)\n\tat jadx.core.ProcessClass.processDependencies(ProcessClass.java:56)\n\tat jadx.core.ProcessClass.process(ProcessClass.java:39)\n\tat jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:282)\n\tat jadx.api.JavaClass.decompile(JavaClass.java:62)\n\tat jadx.api.JadxDecompiler.lambda$appendSourcesSave$0(JadxDecompiler.java:200)\n\tat jadx.api.JadxDecompiler$$Lambda$8/509891820.run(Unknown Source)\n*/\n /*\n r0 = com.google.android.gms.internal.measurement.dr.m11788a(r1);\t Catch:{ zzyn -> 0x0005 }\n goto L_0x000c;\n L_0x0005:\n r0 = com.google.android.gms.internal.measurement.zzvo.f10281a;\n r1 = r1.getBytes(r0);\n r0 = r1.length;\n L_0x000c:\n r1 = m22576g(r0);\n r1 = r1 + r0;\n return r1;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.internal.measurement.zzut.b(java.lang.String):int\");\n }",
"public final void mo3867w(p000.C0544go r30, java.lang.Boolean r31) {\n /*\n r29 = this;\n r1 = r30\n r2 = r29\n ko r0 = r2.f3511b\n r0.getClass()\n r3 = 28\n boolean r4 = p000.C0728kh.m2305u()\n int r5 = r30.ordinal()\n r6 = 16\n r7 = 0\n if (r5 == r6) goto L_0x008b\n r6 = 24\n if (r5 == r6) goto L_0x0085\n r6 = 41\n if (r5 == r6) goto L_0x0077\n r6 = 46\n if (r5 == r6) goto L_0x008b\n r6 = 51\n if (r5 == r6) goto L_0x0068\n r6 = 56\n if (r5 == r6) goto L_0x008b\n if (r5 == r3) goto L_0x008b\n r6 = 29\n if (r5 == r6) goto L_0x0068\n switch(r5) {\n case 3: goto L_0x0039;\n case 4: goto L_0x0039;\n case 5: goto L_0x0068;\n case 6: goto L_0x0068;\n case 7: goto L_0x0068;\n case 8: goto L_0x0068;\n case 9: goto L_0x0068;\n case 10: goto L_0x0068;\n default: goto L_0x0035;\n }\n L_0x0035:\n switch(r5) {\n case 34: goto L_0x005a;\n case 35: goto L_0x0068;\n case 36: goto L_0x0039;\n default: goto L_0x0038;\n }\n L_0x0038:\n goto L_0x0071\n L_0x0039:\n iu$a r5 = p000.C0697ju.f2936d\n android.content.Context r6 = r0.f3021b\n boolean r5 = r5.mo3309a(r6, r7)\n if (r5 == 0) goto L_0x0049\n r4 = -22585916347564(0xffffeb754e7aab54, double:NaN)\n goto L_0x0099\n L_0x0049:\n if (r4 == 0) goto L_0x0054\n fo r4 = p000.C0489fo.WIRED_HEADPHONE\n java.lang.String r4 = p000.C0432eo.m1607b(r4)\n if (r4 == 0) goto L_0x0054\n goto L_0x009d\n L_0x0054:\n r4 = -22663225758892(0xffffeb634e7aab54, double:NaN)\n goto L_0x0099\n L_0x005a:\n if (r4 == 0) goto L_0x0062\n r4 = -22667520726188(0xffffeb624e7aab54, double:NaN)\n goto L_0x0099\n L_0x0062:\n r4 = -22697585497260(0xffffeb5b4e7aab54, double:NaN)\n goto L_0x0099\n L_0x0068:\n fo r4 = p000.C0489fo.BLUETOOTH\n java.lang.String r4 = p000.C0432eo.m1607b(r4)\n if (r4 == 0) goto L_0x0071\n goto L_0x009d\n L_0x0071:\n r4 = -22762010006700(0xffffeb4c4e7aab54, double:NaN)\n goto L_0x0099\n L_0x0077:\n if (r4 == 0) goto L_0x007f\n r4 = -22701880464556(0xffffeb5a4e7aab54, double:NaN)\n goto L_0x0099\n L_0x007f:\n r4 = -22723355301036(0xffffeb554e7aab54, double:NaN)\n goto L_0x0099\n L_0x0085:\n r4 = -22727650268332(0xffffeb544e7aab54, double:NaN)\n goto L_0x0099\n L_0x008b:\n fo r4 = p000.C0489fo.USB\n java.lang.String r4 = p000.C0432eo.m1607b(r4)\n if (r4 == 0) goto L_0x0094\n goto L_0x009d\n L_0x0094:\n r4 = -22512901903532(0xffffeb864e7aab54, double:NaN)\n L_0x0099:\n java.lang.String r4 = p000.C0200av.m970a(r4)\n L_0x009d:\n boolean r5 = r4.isEmpty()\n if (r5 == 0) goto L_0x00d8\n boolean r5 = r30.mo2961a()\n if (r5 != 0) goto L_0x00d8\n r3 = -26107789530284(0xffffe8414e7aab54, double:NaN)\n java.lang.String r0 = p000.C0200av.m970a(r3)\n java.lang.StringBuilder r3 = new java.lang.StringBuilder\n r3.<init>()\n r4 = -26137854301356(0xffffe83a4e7aab54, double:NaN)\n java.lang.String r4 = p000.C0200av.m970a(r4)\n r3.append(r4)\n int r1 = r30.ordinal()\n r3.append(r1)\n r4 = -26206573778092(0xffffe82a4e7aab54, double:NaN)\n java.lang.String r1 = p000.C0200av.m970a(r4)\n r3.append(r1)\n goto L_0x02ec\n L_0x00d8:\n int r5 = android.os.Build.VERSION.SDK_INT\n r6 = 4\n r8 = 3\n r9 = -26726264820908(0xffffe7b14e7aab54, double:NaN)\n r11 = 2\n r16 = -27125696779436(0xffffe7544e7aab54, double:NaN)\n r18 = -27061272269996(0xffffe7634e7aab54, double:NaN)\n r14 = 1\n if (r5 >= r3) goto L_0x01b8\n boolean r0 = r31.booleanValue()\n java.lang.String r3 = r1.f2410c\n go r5 = p000.C0544go.f2374g\n if (r1 == r5) goto L_0x0104\n go r5 = p000.C0544go.f2376h\n if (r1 == r5) goto L_0x0104\n go r5 = p000.C0544go.f2352N\n if (r1 != r5) goto L_0x0102\n goto L_0x0104\n L_0x0102:\n r5 = 0\n goto L_0x0105\n L_0x0104:\n r5 = 1\n L_0x0105:\n if (r5 == 0) goto L_0x0110\n r20 = -25996120380588(0xffffe85b4e7aab54, double:NaN)\n java.lang.String r3 = p000.C0200av.m970a(r20)\n L_0x0110:\n java.lang.reflect.Method r5 = p000.C0735ko.f3016e // Catch:{ Exception -> 0x0158 }\n java.lang.Class[] r5 = r5.getParameterTypes() // Catch:{ Exception -> 0x0158 }\n int r5 = r5.length // Catch:{ Exception -> 0x0158 }\n if (r5 != r6) goto L_0x0136\n java.lang.reflect.Method r5 = p000.C0735ko.f3016e // Catch:{ Exception -> 0x0158 }\n java.lang.Class<?> r15 = p000.C0735ko.f3015d // Catch:{ Exception -> 0x0158 }\n java.lang.Object[] r6 = new java.lang.Object[r6] // Catch:{ Exception -> 0x0158 }\n int r12 = r1.f2409b // Catch:{ Exception -> 0x0158 }\n java.lang.Integer r12 = java.lang.Integer.valueOf(r12) // Catch:{ Exception -> 0x0158 }\n r6[r7] = r12 // Catch:{ Exception -> 0x0158 }\n java.lang.Integer r0 = java.lang.Integer.valueOf(r0) // Catch:{ Exception -> 0x0158 }\n r6[r14] = r0 // Catch:{ Exception -> 0x0158 }\n r6[r11] = r4 // Catch:{ Exception -> 0x0158 }\n r6[r8] = r3 // Catch:{ Exception -> 0x0158 }\n java.lang.Object r0 = r5.invoke(r15, r6) // Catch:{ Exception -> 0x0158 }\n goto L_0x0150\n L_0x0136:\n java.lang.reflect.Method r3 = p000.C0735ko.f3016e // Catch:{ Exception -> 0x0158 }\n java.lang.Class<?> r5 = p000.C0735ko.f3015d // Catch:{ Exception -> 0x0158 }\n java.lang.Object[] r6 = new java.lang.Object[r8] // Catch:{ Exception -> 0x0158 }\n int r8 = r1.f2409b // Catch:{ Exception -> 0x0158 }\n java.lang.Integer r8 = java.lang.Integer.valueOf(r8) // Catch:{ Exception -> 0x0158 }\n r6[r7] = r8 // Catch:{ Exception -> 0x0158 }\n java.lang.Integer r0 = java.lang.Integer.valueOf(r0) // Catch:{ Exception -> 0x0158 }\n r6[r14] = r0 // Catch:{ Exception -> 0x0158 }\n r6[r11] = r4 // Catch:{ Exception -> 0x0158 }\n java.lang.Object r0 = r3.invoke(r5, r6) // Catch:{ Exception -> 0x0158 }\n L_0x0150:\n java.lang.Integer r0 = (java.lang.Integer) r0 // Catch:{ Exception -> 0x0158 }\n int r7 = r0.intValue() // Catch:{ Exception -> 0x0158 }\n goto L_0x02a3\n L_0x0158:\n r0 = move-exception\n r5 = -26077724759212(0xffffe8484e7aab54, double:NaN)\n java.lang.String r3 = p000.C0200av.m970a(r5)\n java.lang.String r12 = p000.C0200av.m970a(r9)\n java.lang.StringBuilder r10 = p000.C0279ch.m1106c(r3)\n r8 = -26756329591980(0xffffe7aa4e7aab54, double:NaN)\n r13 = -26919538349228(0xffffe7844e7aab54, double:NaN)\n r11 = r0\n java.lang.String r3 = p000.C0279ch.m1104a(r8, r10, r11, r12, r13)\n r5 = -26949603120300(0xffffe77d4e7aab54, double:NaN)\n java.lang.String r3 = p000.C0279ch.m1118o(r0, r3, r5)\n r5 = -26979667891372(0xffffe7764e7aab54, double:NaN)\n java.lang.Throwable r3 = p000.C0279ch.m1107d(r5, r3, r0)\n if (r3 == 0) goto L_0x01a3\n java.lang.String r16 = p000.C0200av.m970a(r18)\n java.lang.StringBuilder r14 = new java.lang.StringBuilder\n r14.<init>()\n r5 = -27091337041068(0xffffe75c4e7aab54, double:NaN)\n r12 = r5\n r15 = r3\n r17 = r3\n p000.C0279ch.m1115l(r12, r14, r15, r16, r17)\n goto L_0x01b3\n L_0x01a3:\n java.lang.String r3 = p000.C0200av.m970a(r16)\n r5 = -27155761550508(0xffffe74d4e7aab54, double:NaN)\n java.lang.String r5 = p000.C0200av.m970a(r5)\n p000.C0550gu.m1819a(r3, r5)\n L_0x01b3:\n p000.C0550gu.m1821c(r0)\n goto L_0x02a1\n L_0x01b8:\n android.media.AudioManager r3 = r0.f3020a\n if (r3 != 0) goto L_0x01d4\n r5 = -24411277448364(0xffffe9cc4e7aab54, double:NaN)\n java.lang.String r0 = p000.C0200av.m970a(r5)\n r5 = -24441342219436(0xffffe9c54e7aab54, double:NaN)\n java.lang.String r3 = p000.C0200av.m970a(r5)\n p000.C0550gu.m1819a(r0, r3)\n r7 = 1\n goto L_0x02a3\n L_0x01d4:\n java.lang.String r3 = r1.f2410c\n int r5 = r30.ordinal()\n if (r5 == r14) goto L_0x01e4\n if (r5 == r11) goto L_0x01e4\n r12 = 34\n if (r5 == r12) goto L_0x01e4\n r5 = 1\n goto L_0x01e5\n L_0x01e4:\n r5 = 0\n L_0x01e5:\n if (r5 == 0) goto L_0x01f0\n r12 = -24518651630764(0xffffe9b34e7aab54, double:NaN)\n java.lang.String r3 = p000.C0200av.m970a(r12)\n L_0x01f0:\n java.lang.reflect.Method r5 = p000.C0735ko.f3017f // Catch:{ all -> 0x0242 }\n java.lang.Class[] r5 = r5.getParameterTypes() // Catch:{ all -> 0x0242 }\n int r5 = r5.length // Catch:{ all -> 0x0242 }\n if (r5 != r8) goto L_0x021d\n java.lang.reflect.Method r5 = p000.C0735ko.f3017f // Catch:{ all -> 0x0242 }\n android.media.AudioManager r0 = r0.f3020a // Catch:{ all -> 0x0242 }\n java.lang.Object[] r6 = new java.lang.Object[r8] // Catch:{ all -> 0x0242 }\n int r8 = r1.f2409b // Catch:{ all -> 0x0242 }\n java.lang.Integer r8 = java.lang.Integer.valueOf(r8) // Catch:{ all -> 0x0242 }\n r6[r7] = r8 // Catch:{ all -> 0x0242 }\n boolean r8 = r31.booleanValue() // Catch:{ all -> 0x0242 }\n if (r8 == 0) goto L_0x020f\n r8 = 1\n goto L_0x0210\n L_0x020f:\n r8 = 0\n L_0x0210:\n java.lang.Integer r8 = java.lang.Integer.valueOf(r8) // Catch:{ all -> 0x0242 }\n r6[r14] = r8 // Catch:{ all -> 0x0242 }\n r6[r11] = r3 // Catch:{ all -> 0x0242 }\n r5.invoke(r0, r6) // Catch:{ all -> 0x0242 }\n goto L_0x02a3\n L_0x021d:\n java.lang.reflect.Method r5 = p000.C0735ko.f3017f // Catch:{ all -> 0x0242 }\n android.media.AudioManager r0 = r0.f3020a // Catch:{ all -> 0x0242 }\n java.lang.Object[] r6 = new java.lang.Object[r6] // Catch:{ all -> 0x0242 }\n int r12 = r1.f2409b // Catch:{ all -> 0x0242 }\n java.lang.Integer r12 = java.lang.Integer.valueOf(r12) // Catch:{ all -> 0x0242 }\n r6[r7] = r12 // Catch:{ all -> 0x0242 }\n boolean r12 = r31.booleanValue() // Catch:{ all -> 0x0242 }\n if (r12 == 0) goto L_0x0233\n r12 = 1\n goto L_0x0234\n L_0x0233:\n r12 = 0\n L_0x0234:\n java.lang.Integer r12 = java.lang.Integer.valueOf(r12) // Catch:{ all -> 0x0242 }\n r6[r14] = r12 // Catch:{ all -> 0x0242 }\n r6[r11] = r4 // Catch:{ all -> 0x0242 }\n r6[r8] = r3 // Catch:{ all -> 0x0242 }\n r5.invoke(r0, r6) // Catch:{ all -> 0x0242 }\n goto L_0x02a3\n L_0x0242:\n r0 = move-exception\n r5 = -24600256009388(0xffffe9a04e7aab54, double:NaN)\n java.lang.String r3 = p000.C0200av.m970a(r5)\n java.lang.String r26 = p000.C0200av.m970a(r9)\n java.lang.StringBuilder r24 = p000.C0279ch.m1106c(r3)\n r22 = -26756329591980(0xffffe7aa4e7aab54, double:NaN)\n r27 = -26919538349228(0xffffe7844e7aab54, double:NaN)\n r25 = r0\n java.lang.String r3 = p000.C0279ch.m1105b(r22, r24, r25, r26, r27)\n r5 = -26949603120300(0xffffe77d4e7aab54, double:NaN)\n java.lang.String r3 = p000.C0279ch.m1123t(r0, r3, r5)\n r5 = -26979667891372(0xffffe7764e7aab54, double:NaN)\n java.lang.Throwable r3 = p000.C0279ch.m1108e(r5, r3, r0)\n if (r3 == 0) goto L_0x028e\n java.lang.String r16 = p000.C0200av.m970a(r18)\n java.lang.StringBuilder r14 = new java.lang.StringBuilder\n r14.<init>()\n r5 = -27091337041068(0xffffe75c4e7aab54, double:NaN)\n r12 = r5\n r15 = r3\n r17 = r3\n p000.C0279ch.m1115l(r12, r14, r15, r16, r17)\n goto L_0x029e\n L_0x028e:\n java.lang.String r3 = p000.C0200av.m970a(r16)\n r5 = -27155761550508(0xffffe74d4e7aab54, double:NaN)\n java.lang.String r5 = p000.C0200av.m970a(r5)\n p000.C0550gu.m1819a(r3, r5)\n L_0x029e:\n p000.C0550gu.m1821c(r0)\n L_0x02a1:\n r7 = -999(0xfffffffffffffc19, float:NaN)\n L_0x02a3:\n r5 = -26322537895084(0xffffe80f4e7aab54, double:NaN)\n java.lang.String r0 = p000.C0200av.m970a(r5)\n java.lang.StringBuilder r3 = new java.lang.StringBuilder\n r3.<init>()\n r5 = -26352602666156(0xffffe8084e7aab54, double:NaN)\n java.lang.String r5 = p000.C0200av.m970a(r5)\n r3.append(r5)\n int r1 = r30.ordinal()\n r3.append(r1)\n r5 = -26374077502636(0xffffe8034e7aab54, double:NaN)\n java.lang.String r1 = p000.C0200av.m970a(r5)\n r3.append(r1)\n r1 = r31\n r3.append(r1)\n r5 = -26386962404524(0xffffe8004e7aab54, double:NaN)\n java.lang.String r1 = p000.C0200av.m970a(r5)\n r3.append(r1)\n r3.append(r4)\n r4 = -26412732208300(0xffffe7fa4e7aab54, double:NaN)\n p000.C0279ch.m1111h(r4, r3, r7)\n L_0x02ec:\n java.lang.String r1 = r3.toString()\n p000.C0550gu.m1820b(r0, r1)\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p000.C0936oo.mo3867w(go, java.lang.Boolean):void\");\n }",
"private void f(java.lang.String r8) {\n /*\n r7 = this;\n r6 = 1;\n r2 = F;\n r7.y = r8;\n r0 = r7.m;\n r0 = r0.entrySet();\n r3 = r0.iterator();\n L_0x000f:\n r0 = r3.hasNext();\n if (r0 == 0) goto L_0x004a;\n L_0x0015:\n r0 = r3.next();\n r0 = (java.util.Map.Entry) r0;\n r1 = r0.getValue();\n r1 = (java.util.List) r1;\n r4 = r1.size();\t Catch:{ RuntimeException -> 0x0077 }\n if (r4 != r6) goto L_0x0043;\n L_0x0027:\n r4 = J;\t Catch:{ RuntimeException -> 0x0079 }\n r5 = 28;\n r4 = r4[r5];\t Catch:{ RuntimeException -> 0x0079 }\n r5 = 0;\n r5 = r1.get(r5);\t Catch:{ RuntimeException -> 0x0079 }\n r4 = r4.equals(r5);\t Catch:{ RuntimeException -> 0x0079 }\n if (r4 == 0) goto L_0x0043;\n L_0x0038:\n r4 = r7.e;\t Catch:{ RuntimeException -> 0x007b }\n r0 = r0.getKey();\t Catch:{ RuntimeException -> 0x007b }\n r4.add(r0);\t Catch:{ RuntimeException -> 0x007b }\n if (r2 == 0) goto L_0x0048;\n L_0x0043:\n r0 = r7.x;\t Catch:{ RuntimeException -> 0x007b }\n r0.addAll(r1);\t Catch:{ RuntimeException -> 0x007b }\n L_0x0048:\n if (r2 == 0) goto L_0x000f;\n L_0x004a:\n r0 = r7.x;\t Catch:{ RuntimeException -> 0x007d }\n r1 = J;\t Catch:{ RuntimeException -> 0x007d }\n r2 = 29;\n r1 = r1[r2];\t Catch:{ RuntimeException -> 0x007d }\n r0 = r0.remove(r1);\t Catch:{ RuntimeException -> 0x007d }\n if (r0 == 0) goto L_0x0065;\n L_0x0058:\n r0 = B;\t Catch:{ RuntimeException -> 0x007d }\n r1 = java.util.logging.Level.WARNING;\t Catch:{ RuntimeException -> 0x007d }\n r2 = J;\t Catch:{ RuntimeException -> 0x007d }\n r3 = 30;\n r2 = r2[r3];\t Catch:{ RuntimeException -> 0x007d }\n r0.log(r1, r2);\t Catch:{ RuntimeException -> 0x007d }\n L_0x0065:\n r1 = r7.G;\n r0 = r7.m;\n r2 = java.lang.Integer.valueOf(r6);\n r0 = r0.get(r2);\n r0 = (java.util.Collection) r0;\n r1.addAll(r0);\n return;\n L_0x0077:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x0079 }\n L_0x0079:\n r0 = move-exception;\n throw r0;\t Catch:{ RuntimeException -> 0x007b }\n L_0x007b:\n r0 = move-exception;\n throw r0;\n L_0x007d:\n r0 = move-exception;\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.e2.f(java.lang.String):void\");\n }",
"public void m2108c() {\n /*\n r3 = this;\n r0 = \"Calling this from your main thread can lead to deadlock\";\n com.google.android.gms.common.internal.C1305x.m6628c(r0);\n monitor-enter(r3);\n r0 = r3.f1274g;\t Catch:{ all -> 0x002a }\n if (r0 == 0) goto L_0x000e;\n L_0x000a:\n r0 = r3.f1268a;\t Catch:{ all -> 0x002a }\n if (r0 != 0) goto L_0x0010;\n L_0x000e:\n monitor-exit(r3);\t Catch:{ all -> 0x002a }\n L_0x000f:\n return;\n L_0x0010:\n r0 = r3.f1270c;\t Catch:{ IllegalArgumentException -> 0x002d }\n if (r0 == 0) goto L_0x001f;\n L_0x0014:\n r0 = com.google.android.gms.common.stats.C1530b.m6956a();\t Catch:{ IllegalArgumentException -> 0x002d }\n r1 = r3.f1274g;\t Catch:{ IllegalArgumentException -> 0x002d }\n r2 = r3.f1268a;\t Catch:{ IllegalArgumentException -> 0x002d }\n r0.m6963a(r1, r2);\t Catch:{ IllegalArgumentException -> 0x002d }\n L_0x001f:\n r0 = 0;\n r3.f1270c = r0;\t Catch:{ all -> 0x002a }\n r0 = 0;\n r3.f1269b = r0;\t Catch:{ all -> 0x002a }\n r0 = 0;\n r3.f1268a = r0;\t Catch:{ all -> 0x002a }\n monitor-exit(r3);\t Catch:{ all -> 0x002a }\n goto L_0x000f;\n L_0x002a:\n r0 = move-exception;\n monitor-exit(r3);\t Catch:{ all -> 0x002a }\n throw r0;\n L_0x002d:\n r0 = move-exception;\n r1 = \"AdvertisingIdClient\";\n r2 = \"AdvertisingIdClient unbindService failed.\";\n android.util.Log.i(r1, r2, r0);\t Catch:{ all -> 0x002a }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.gms.ads.c.a.c():void\");\n }",
"private synchronized void a(com.whatsapp.util.x r11, boolean r12) {\n /*\n r10 = this;\n r0 = 0;\n monitor-enter(r10);\n r2 = com.whatsapp.util.Log.h;\t Catch:{ all -> 0x0016 }\n r3 = com.whatsapp.util.x.a(r11);\t Catch:{ all -> 0x0016 }\n r1 = com.whatsapp.util.bl.b(r3);\t Catch:{ IllegalArgumentException -> 0x0014 }\n if (r1 == r11) goto L_0x0019;\n L_0x000e:\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0014 }\n r0.<init>();\t Catch:{ IllegalArgumentException -> 0x0014 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0014 }\n L_0x0014:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0016:\n r0 = move-exception;\n monitor-exit(r10);\n throw r0;\n L_0x0019:\n if (r12 == 0) goto L_0x0058;\n L_0x001b:\n r1 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x0052 }\n if (r1 != 0) goto L_0x0058;\n L_0x0021:\n r1 = r0;\n L_0x0022:\n r4 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r1 >= r4) goto L_0x0058;\n L_0x0026:\n r4 = r3.b(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = r4.exists();\t Catch:{ IllegalArgumentException -> 0x0050 }\n if (r4 != 0) goto L_0x0054;\n L_0x0030:\n r11.b();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0 = new java.lang.IllegalStateException;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2.<init>();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r3 = z;\t Catch:{ IllegalArgumentException -> 0x0050 }\n r4 = 24;\n r3 = r3[r4];\t Catch:{ IllegalArgumentException -> 0x0050 }\n r2 = r2.append(r3);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r2.append(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x0050 }\n r0.<init>(r1);\t Catch:{ IllegalArgumentException -> 0x0050 }\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0050 }\n L_0x0050:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0052:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0054:\n r1 = r1 + 1;\n if (r2 == 0) goto L_0x0022;\n L_0x0058:\n r1 = r10.b;\t Catch:{ all -> 0x0016 }\n if (r0 >= r1) goto L_0x008f;\n L_0x005c:\n r1 = r3.b(r0);\t Catch:{ all -> 0x0016 }\n if (r12 == 0) goto L_0x0088;\n L_0x0062:\n r4 = r1.exists();\t Catch:{ IllegalArgumentException -> 0x0126 }\n if (r4 == 0) goto L_0x008b;\n L_0x0068:\n r4 = r3.a(r0);\t Catch:{ all -> 0x0016 }\n r1.renameTo(r4);\t Catch:{ all -> 0x0016 }\n r5 = com.whatsapp.util.bl.e(r3);\t Catch:{ all -> 0x0016 }\n r6 = r5[r0];\t Catch:{ all -> 0x0016 }\n r4 = r4.length();\t Catch:{ all -> 0x0016 }\n r8 = com.whatsapp.util.bl.e(r3);\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8[r0] = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r8 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0128 }\n r6 = r8 - r6;\n r4 = r4 + r6;\n r10.i = r4;\t Catch:{ IllegalArgumentException -> 0x0128 }\n if (r2 == 0) goto L_0x008b;\n L_0x0088:\n a(r1);\t Catch:{ IllegalArgumentException -> 0x0128 }\n L_0x008b:\n r0 = r0 + 1;\n if (r2 == 0) goto L_0x0058;\n L_0x008f:\n r0 = r10.e;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 + 1;\n r10.e = r0;\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = 0;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = com.whatsapp.util.bl.d(r3);\t Catch:{ IllegalArgumentException -> 0x012a }\n r0 = r0 | r12;\n if (r0 == 0) goto L_0x00e0;\n L_0x00a0:\n r0 = 1;\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012c }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012c }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = z;\t Catch:{ IllegalArgumentException -> 0x012c }\n r5 = 26;\n r4 = r4[r5];\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = r3.a();\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r4 = 10;\n r1 = r1.append(r4);\t Catch:{ IllegalArgumentException -> 0x012c }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012c }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012c }\n if (r12 == 0) goto L_0x010f;\n L_0x00d4:\n r0 = r10.n;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 1;\n r4 = r4 + r0;\n r10.n = r4;\t Catch:{ IllegalArgumentException -> 0x012e }\n com.whatsapp.util.bl.a(r3, r0);\t Catch:{ IllegalArgumentException -> 0x012e }\n if (r2 == 0) goto L_0x010f;\n L_0x00e0:\n r0 = r10.k;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.remove(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n r0 = r10.m;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = new java.lang.StringBuilder;\t Catch:{ IllegalArgumentException -> 0x012e }\n r1.<init>();\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = z;\t Catch:{ IllegalArgumentException -> 0x012e }\n r4 = 25;\n r2 = r2[r4];\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = com.whatsapp.util.bl.a(r3);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r2 = 10;\n r1 = r1.append(r2);\t Catch:{ IllegalArgumentException -> 0x012e }\n r1 = r1.toString();\t Catch:{ IllegalArgumentException -> 0x012e }\n r0.write(r1);\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x010f:\n r0 = r10.i;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r2 = r10.c;\t Catch:{ IllegalArgumentException -> 0x0130 }\n r0 = (r0 > r2 ? 1 : (r0 == r2 ? 0 : -1));\n if (r0 > 0) goto L_0x011d;\n L_0x0117:\n r0 = r10.f();\t Catch:{ IllegalArgumentException -> 0x0132 }\n if (r0 == 0) goto L_0x0124;\n L_0x011d:\n r0 = r10.d;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r1 = r10.j;\t Catch:{ IllegalArgumentException -> 0x0132 }\n r0.submit(r1);\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0124:\n monitor-exit(r10);\n return;\n L_0x0126:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0128:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x012a:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012c }\n L_0x012c:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x012e }\n L_0x012e:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n L_0x0130:\n r0 = move-exception;\n throw r0;\t Catch:{ IllegalArgumentException -> 0x0132 }\n L_0x0132:\n r0 = move-exception;\n throw r0;\t Catch:{ all -> 0x0016 }\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.whatsapp.util.b6.a(com.whatsapp.util.x, boolean):void\");\n }",
"private static boolean m20205b(java.lang.Throwable r3) {\n /*\n r0 = r3\n L_0x0001:\n if (r0 == 0) goto L_0x0015\n boolean r1 = r0 instanceof com.google.android.exoplayer2.upstream.DataSourceException\n if (r1 == 0) goto L_0x0010\n r1 = r0\n com.google.android.exoplayer2.upstream.DataSourceException r1 = (com.google.android.exoplayer2.upstream.DataSourceException) r1\n int r1 = r1.f18593a\n if (r1 != 0) goto L_0x0010\n r2 = 1\n return r2\n L_0x0010:\n java.lang.Throwable r0 = r0.getCause()\n goto L_0x0001\n L_0x0015:\n r1 = 0\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.android.exoplayer2.upstream.cache.C8465b.m20205b(java.io.IOException):boolean\");\n }",
"public final synchronized java.lang.String m92g(java.lang.String r5) {\n /*\n r4 = this;\n r1 = 1;\n r0 = 0;\n monitor-enter(r4);\n if (r5 == 0) goto L_0x002c;\n L_0x0005:\n r2 = r5.trim();\t Catch:{ all -> 0x0037 }\n r2 = r2.length();\t Catch:{ all -> 0x0037 }\n if (r2 <= 0) goto L_0x002c;\n L_0x000f:\n if (r0 == 0) goto L_0x002e;\n L_0x0011:\n r0 = \"key should not be empty %s\";\n r1 = 1;\n r1 = new java.lang.Object[r1];\t Catch:{ all -> 0x0037 }\n r2 = 0;\n r3 = new java.lang.StringBuilder;\t Catch:{ all -> 0x0037 }\n r3.<init>();\t Catch:{ all -> 0x0037 }\n r3 = r3.append(r5);\t Catch:{ all -> 0x0037 }\n r3 = r3.toString();\t Catch:{ all -> 0x0037 }\n r1[r2] = r3;\t Catch:{ all -> 0x0037 }\n com.tencent.bugly.legu.proguard.C0073w.m524d(r0, r1);\t Catch:{ all -> 0x0037 }\n r0 = 0;\n L_0x002a:\n monitor-exit(r4);\n return r0;\n L_0x002c:\n r0 = r1;\n goto L_0x000f;\n L_0x002e:\n r0 = r4.f112Y;\t Catch:{ all -> 0x0037 }\n r0 = r0.get(r5);\t Catch:{ all -> 0x0037 }\n r0 = (java.lang.String) r0;\t Catch:{ all -> 0x0037 }\n goto L_0x002a;\n L_0x0037:\n r0 = move-exception;\n monitor-exit(r4);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.bugly.legu.crashreport.common.info.a.g(java.lang.String):java.lang.String\");\n }"
]
| [
"0.725923",
"0.6919775",
"0.6866674",
"0.6858273",
"0.68576294",
"0.67997897",
"0.67968315",
"0.6753581",
"0.67484426",
"0.673936",
"0.67238533",
"0.67112154",
"0.6687235",
"0.66871464",
"0.6681592",
"0.6677226",
"0.6639545",
"0.663455",
"0.66312516",
"0.6588702",
"0.6580577",
"0.65734756",
"0.6551666",
"0.6551666",
"0.6550623",
"0.6544035",
"0.65307176",
"0.6506675",
"0.6500569",
"0.6496675",
"0.64925086",
"0.6472775",
"0.6461227",
"0.6458996",
"0.64267063",
"0.64179134",
"0.64079964",
"0.640464",
"0.6394503",
"0.6369975",
"0.6367519",
"0.63528985",
"0.6350736",
"0.63335264",
"0.6325704",
"0.6323709",
"0.63172424",
"0.63105375",
"0.6286563",
"0.6285122",
"0.6277849",
"0.6277676",
"0.62510884",
"0.62385833",
"0.6231802",
"0.620436",
"0.61904335",
"0.6179639",
"0.6169423",
"0.6164276",
"0.6161442",
"0.6161001",
"0.61524606",
"0.6142374",
"0.6137007",
"0.6126847",
"0.6125965",
"0.6124978",
"0.61197394",
"0.61183655",
"0.6115185",
"0.6112848",
"0.60944104",
"0.6090822",
"0.60825896",
"0.60819495",
"0.60676235",
"0.6065559",
"0.6060674",
"0.60365975",
"0.60336787",
"0.60280967",
"0.6026268",
"0.60159945",
"0.60108155",
"0.60086954",
"0.6008579",
"0.6002321",
"0.59970385",
"0.5994782",
"0.5994246",
"0.59901065",
"0.5977815",
"0.5969307",
"0.59643143",
"0.5960484",
"0.5954912",
"0.59423906",
"0.5932399",
"0.59267116",
"0.5919822"
]
| 0.0 | -1 |
/ renamed from: a | private void m14716a(int[] iArr, C3072b1 b1Var, int i) {
int i2 = b1Var.f10973d;
int i3 = this.f10966u;
int i4 = i2 / i3;
int i5 = b1Var.f10971b / i3;
int i6 = b1Var.f10972c / i3;
int i7 = b1Var.f10970a / i3;
int i8 = this.f10968w;
int i9 = (i5 * i8) + i7;
int i10 = (i4 * i8) + i9;
while (i9 < i10) {
int i11 = i9 + i6;
for (int i12 = i9; i12 < i11; i12++) {
iArr[i12] = i;
}
i9 += this.f10968w;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
]
| 0.0 | -1 |
/ renamed from: a | private int m14712a(int i, int i2, int i3) {
int i4 = 0;
int i5 = 0;
int i6 = 0;
int i7 = 0;
int i8 = 0;
for (int i9 = i; i9 < this.f10966u + i; i9++) {
byte[] bArr = this.f10957l;
if (i9 >= bArr.length || i9 >= i2) {
break;
}
int i10 = this.f10946a[bArr[i9] & 255];
if (i10 != 0) {
i4 += (i10 >> 24) & 255;
i5 += (i10 >> 16) & 255;
i6 += (i10 >> 8) & 255;
i7 += i10 & 255;
i8++;
}
}
int i11 = i + i3;
for (int i12 = i11; i12 < this.f10966u + i11; i12++) {
byte[] bArr2 = this.f10957l;
if (i12 >= bArr2.length || i12 >= i2) {
break;
}
int i13 = this.f10946a[bArr2[i12] & 255];
if (i13 != 0) {
i4 += (i13 >> 24) & 255;
i5 += (i13 >> 16) & 255;
i6 += (i13 >> 8) & 255;
i7 += i13 & 255;
i8++;
}
}
if (i8 == 0) {
return 0;
}
return ((i4 / i8) << 24) | ((i5 / i8) << 16) | ((i6 / i8) << 8) | (i7 / i8);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }",
"public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }",
"interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}",
"interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }",
"interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }",
"public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}",
"public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }",
"public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }",
"public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}",
"public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }",
"@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}",
"public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }",
"interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }",
"public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }",
"public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }",
"public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }",
"private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }",
"public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }",
"public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}",
"public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}",
"public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }",
"public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }",
"public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }",
"public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }",
"public void a() {\n ((a) this.a).a();\n }",
"public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }",
"public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}",
"public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}",
"public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }",
"@Override\r\n\tpublic void a() {\n\t\t\r\n\t}",
"public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}",
"public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}",
"public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}",
"public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}",
"interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}",
"public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}",
"public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}",
"public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }",
"@Override\n\tpublic void a() {\n\t\t\n\t}",
"public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}",
"void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}",
"public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }",
"interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }",
"public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}",
"public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }",
"public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}",
"public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}",
"public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }",
"public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}",
"public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}",
"public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}",
"public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}",
"public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }",
"public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}",
"public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}",
"public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}",
"public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }",
"public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}",
"public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }",
"public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}",
"public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}",
"public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}",
"public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}",
"public void acionou(int a){\n\t\t\tb=a;\n\t\t}",
"public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}",
"public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }",
"public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}",
"public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }",
"public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }",
"public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }",
"public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }",
"public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }",
"public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}",
"public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}",
"public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }",
"public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }",
"public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }",
"public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}",
"protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }",
"public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }",
"public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }",
"public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }",
"public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }",
"public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}",
"public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }",
"public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }",
"public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}",
"public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}",
"public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}",
"public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }",
"public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }",
"interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }",
"public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}",
"public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }",
"private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }",
"interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}",
"public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }",
"public b[] a() {\n/* 95 */ return this.a;\n/* */ }",
"interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }"
]
| [
"0.62497115",
"0.6242887",
"0.61394435",
"0.61176854",
"0.6114027",
"0.60893",
"0.6046901",
"0.6024682",
"0.60201293",
"0.5975212",
"0.59482527",
"0.59121317",
"0.5883635",
"0.587841",
"0.58703005",
"0.5868436",
"0.5864884",
"0.5857492",
"0.58306104",
"0.5827752",
"0.58272064",
"0.5794689",
"0.57890314",
"0.57838726",
"0.5775679",
"0.57694733",
"0.5769128",
"0.57526815",
"0.56907034",
"0.5677874",
"0.5670547",
"0.56666386",
"0.56592244",
"0.5658682",
"0.56574154",
"0.5654324",
"0.5644676",
"0.56399715",
"0.5638734",
"0.5630582",
"0.56183887",
"0.5615435",
"0.56069666",
"0.5605207",
"0.56005067",
"0.559501",
"0.55910283",
"0.5590222",
"0.55736613",
"0.5556682",
"0.5554544",
"0.5550076",
"0.55493855",
"0.55446684",
"0.5538079",
"0.5529058",
"0.5528109",
"0.552641",
"0.5525864",
"0.552186",
"0.5519972",
"0.5509587",
"0.5507195",
"0.54881203",
"0.5485328",
"0.54826045",
"0.5482066",
"0.5481586",
"0.5479751",
"0.54776895",
"0.54671466",
"0.5463307",
"0.54505056",
"0.54436916",
"0.5440517",
"0.5439747",
"0.5431944",
"0.5422869",
"0.54217863",
"0.5417556",
"0.5403905",
"0.5400223",
"0.53998446",
"0.5394735",
"0.5388649",
"0.5388258",
"0.5374842",
"0.5368887",
"0.53591394",
"0.5357029",
"0.5355688",
"0.535506",
"0.5355034",
"0.53494394",
"0.5341044",
"0.5326166",
"0.53236824",
"0.53199095",
"0.53177035",
"0.53112453",
"0.5298229"
]
| 0.0 | -1 |
This method is dedicated to serializing the UserList object and saves to disk using the Serializable interface | public static void save(Context context,User user){
try
{
FileOutputStream fileOutputStream = context.openFileOutput("UserData.dat", Context.MODE_PRIVATE);
ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);
objectOutputStream.writeObject(user);
objectOutputStream.close();
fileOutputStream.close();
}
catch(IOException ex) {
System.out.println("IOException is caught");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void save(){\n\t\t\n\t\ttry {\n\t\t\t\t \n\t\t\t// Open Streams\n\t\t\tFileOutputStream outFile = new FileOutputStream(\"user.ser\");\n\t\t\tObjectOutputStream outObj = new ObjectOutputStream(outFile);\n\t\t\t\t \n\t\t\t// Serializing the head will save the whole list\n\t\t\toutObj.writeObject(this.head);\n\t\t\t\t \n\t\t\t// Close Streams \n\t\t\toutObj.close();\n\t\t\toutFile.close();\n\t\t}\n\n\t\tcatch(Exception e) {\n\t\t\tSystem.out.println(\"Error saving\");\n\t\t}\n\t\t\t\n\t}",
"public static void serializeUsers(ListOfAllUsers list) throws FileNotFoundException, IOException {\n\t\tObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(userFile));\n\t\toos.writeObject(list);\n\t\toos.close();\n\t\t//System.out.println(\"Serialized.\");\n\t}",
"@SuppressWarnings(\"rawtypes\")\r\n\tpublic void writeSerializedObject(List list) {\r\n\t\tFileOutputStream fos = null;\r\n\t\tObjectOutputStream out = null;\r\n\t\ttry {\r\n\t\t\tfos = new FileOutputStream(System.getProperty(\"user.dir\") + \"\\\\Databases\\\\students.dat\");\r\n\t\t\tout = new ObjectOutputStream(fos);\r\n\t\t\tout.writeObject(list);\r\n\t\t\tout.close();\r\n\t\t} catch (IOException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t}",
"public static void writeUserFile(List<User> List) {\n\t\ttry {\n\t\t\tObjectOutputStream writeFile = new ObjectOutputStream(new FileOutputStream(userFile));\n\t\t\twriteFile.writeObject(List);\n\t\t\twriteFile.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public static void exportUserList() throws IOException {\r\n\t\tObjectOutputStream out = new ObjectOutputStream(\r\n\t\t\t\tnew BufferedOutputStream(\r\n\t\t\t\t\t\tnew FileOutputStream(\"userList.dat\")));\r\n\t\tout.writeObject(userList);\r\n\t\tout.close();\r\n\t}",
"public void writeUsers() {\n try {\n FileOutputStream fileOut = new FileOutputStream(\"temp/users.ser\");\n ObjectOutputStream out = new ObjectOutputStream(fileOut);\n out.writeObject(users);\n out.close();\n fileOut.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }",
"public void writeToEmployeeListFile()\r\n {\r\n\ttry(ObjectOutputStream toEmployeeListFile = \r\n new ObjectOutputStream(new FileOutputStream(\"listfiles/employeelist.dta\")))\r\n\t{\r\n toEmployeeListFile.writeObject(employeeList);\r\n employeeList.saveStaticEmpRunNr(toEmployeeListFile);\r\n\t}\r\n\tcatch(NotSerializableException nse)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Ansatt objektene er ikke \"\r\n + \"serialiserbare.\\nIngen registrering på fil!\"\r\n + nse.getMessage(), \"Feilmelding\", \r\n JOptionPane.ERROR_MESSAGE);\r\n\t}\r\n\tcatch(IOException ioe)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Det oppsto en feil ved skriving \"\r\n + \"til fil.\\n\" + ioe.getMessage());\r\n\t}\r\n }",
"public void saveListToFile() {\r\n\t\ttry {\r\n\t\t\tObjectOutputStream oos = null;\r\n\t\t\ttry {\r\n\t\t\t\toos = new ObjectOutputStream(new FileOutputStream(FTP_LIST_FILE));\r\n\t\t\t\toos.writeObject(FTPList.self);\r\n\t\t\t\toos.flush();\r\n\t\t\t} finally {\r\n\t\t\t\toos.close();\r\n\t\t\t}\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public static void writeData(List<User> users) {\n FileOutputStream fos = null;\n ObjectOutputStream oos = null;\n try {\n fos = new FileOutputStream(USER_SAVE_FILE_NAME, false);\n oos = new ObjectOutputStream(fos);\n oos.writeObject(users);\n oos.close();\n fos.close();\n } catch (IOException ioe) {\n ioe.printStackTrace();\n } finally {\n if (fos != null && oos != null) {\n try {\n oos.close();\n fos.close();\n } catch (Exception ex) {\n Logger.getLogger(Utilities.UserDataIO.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else {\n\n }\n }\n }",
"public static void ser(ArrayList<Task> taskList) {\n try {\n FileOutputStream fileOut = new FileOutputStream(\"taskList.ser\"); // create a space for serializing the ArrayList object\n ObjectOutputStream out = new ObjectOutputStream(fileOut); // object for serializing the ArrayList object\n out.writeObject(taskList); // writing/serializing the ArrayList object (has all the user's task variables)\n out.close(); // closing the serializing object\n fileOut.close(); // closing the serialized file\n System.out.println(\"Tasks saved.\"); // printing that the save was successful\n } catch (IOException ioe) { \n System.err.println(\"Java IO Exception: \" + ioe);\n }\n }",
"public void createUser(List<User> list) {\n\n Gson gson = new Gson();\n FileService writerService = new FileService();\n for (User user : list) {\n String userData = gson.toJson(user);\n writerService.writeToUserData(userData);\n }\n\n }",
"public static void save(List<User> pdApp) throws IOException {\n ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(storeDir + File.separator + storeFile));\n oos.writeObject(pdApp);\n oos.close();\n }",
"public static void writeApp(ObservableList<User> myUsers) throws IOException{\n \tFileOutputStream fos = new FileOutputStream(storeFile);\n\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\n\t\tfor(User x : myUsers) {\n\t\t\toos.writeObject(x.toString());\n\t\t}\n\t}",
"public void SerialiseList() throws IOException {\n ObjectOutputStream oStream = null;\n\n try {\n oStream = new ObjectOutputStream(new FileOutputStream(\"Warehouses\" + \".dat\"));\n oStream.writeObject(Wlist);\n System.out.println(\"File saved\");\n } catch (Exception e) {\n System.out.println(e.getMessage());\n } finally {\n oStream.close();\n }\n try {\n oStream = new ObjectOutputStream(new FileOutputStream(\"Stores\" + \".dat\"));\n oStream.writeObject(Slist);\n System.out.println(\"File saved\");\n } catch (Exception e) {\n System.out.println(e.getMessage());\n } finally {\n oStream.close();\n }\n try {\n oStream = new ObjectOutputStream(new FileOutputStream(\"WarehouseAdminList\" + \".dat\"));\n oStream.writeObject(WAlist);\n System.out.println(\"File saved\");\n } catch (Exception e) {\n System.out.println(e.getMessage());\n } finally {\n oStream.close();\n }\n try {\n oStream = new ObjectOutputStream(new FileOutputStream(\"StoreAdminList\" + \".dat\"));\n oStream.writeObject(SAlist);\n System.out.println(\"File saved\");\n } catch (Exception e) {\n System.out.println(e.getMessage());\n } finally {\n oStream.close();\n }\n }",
"private void saveInFile() {\n try {\n FileOutputStream fos = openFileOutput(FILENAME, Context.MODE_PRIVATE);\n\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos));\n\n Gson gson = new Gson();\n Log.d(\"PersonList\", personList.toString());\n gson.toJson(personList, out);\n out.flush();\n\n fos.close();\n\n } catch (FileNotFoundException e){\n throw new RuntimeException();\n } catch (IOException e){\n e.printStackTrace();\n }\n\n }",
"@Override\r\n\t\t\tpublic void serializar() {\n\r\n\t\t\t}",
"public void save() {\n\t\tFileOutputStream fos;\n\t\ttry {\n\t\t\tfos = new FileOutputStream(\"studentData.dat\");\n\n\t\t\tObjectOutputStream oos;\n\t\t\ttry {\n\t\t\t\toos = new ObjectOutputStream(fos);\n\n\t\t\t\toos.writeObject(studentList);\n\t\t\t\toos.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.println(\"File is finished writing to the hard drive\");\n\t}",
"public void saveData() {\n try {\n JsonWriter jw = new JsonWriter(openFileOutput(DATA_FILE, Context.MODE_PRIVATE));\n jw.write(user);\n jw.close();\n } catch(Exception e) {\n Log.i(\"Exception :\", e.toString());\n }\n }",
"private void saveIds(ArrayList<String> idList) {\n\n\t\ttry {\n\t\t\tFileOutputStream fileOutputStream = context.openFileOutput(\n\t\t\t\t\tSAVE_FILE, Context.MODE_PRIVATE);\n\t\t\tOutputStreamWriter outputStreamWriter = new OutputStreamWriter(\n\t\t\t\t\tfileOutputStream);\n\t\t\tGsonBuilder builder = new GsonBuilder();\n\t\t\tGson gson = builder.create();\n\t\t\tgson.toJson(idList, outputStreamWriter); // Serialize to Json\n\t\t\toutputStreamWriter.flush();\n\t\t\toutputStreamWriter.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void serialize() {\n\t\t\n\t}",
"@Override\n public void updateUserJson() {\n synchronized (lockUpdateUserJson) {\n try (PrintWriter printer = new PrintWriter(\"Database/Users.json\")) {\n ArrayList<User> userAsArray = new ArrayList<>();\n for (Map.Entry<String, User> entry : mapOfRegisteredUsersByUsername.entrySet()) {\n userAsArray.add(entry.getValue());\n }\n GsonBuilder gsonBuilder = new GsonBuilder();\n gsonBuilder.setLongSerializationPolicy(LongSerializationPolicy.STRING);\n Gson writer = gsonBuilder.create();\n JsonObject jsonObject = new JsonObject();\n jsonObject.add(\"users\", writer.toJsonTree(userAsArray));\n printer.print(jsonObject);\n } catch (IOException ex) {\n }\n }\n }",
"public void writeToBookingListFile()\r\n {\r\n\ttry(ObjectOutputStream toBookingListFile = \r\n new ObjectOutputStream(new FileOutputStream(\"listfiles/bookinglist.dta\")))\r\n\t{\r\n toBookingListFile.writeObject(bookingList);\r\n bookingList.saveStaticBookingRunNr(toBookingListFile);\r\n\t}\r\n\tcatch(NotSerializableException nse)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Booking objektene er ikke \"\r\n + \"serialiserbare.\\nIngen registrering på fil!\"\r\n + nse.getMessage(), \"Feilmelding\", \r\n JOptionPane.ERROR_MESSAGE);\r\n\t}\r\n\tcatch(IOException ioe)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Det oppsto en feil ved skriving \"\r\n + \"til fil.\\n\" + ioe.getMessage());\r\n\t}\r\n }",
"public void dumpUsers() {\r\n\t\tuserList.removeAll(userList);\r\n\t\ttry {\r\n\t\t\texportUserList();\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void save(List<User> entity) {\n\t\t\n\t}",
"public void writeToHotelRoomListFile()\r\n {\r\n\ttry(ObjectOutputStream toHotelRoomListFile = \r\n new ObjectOutputStream(new FileOutputStream(\"listfiles/hotelroomlist.dta\")))\r\n\t{\r\n toHotelRoomListFile.writeObject(hotelRoomList);\r\n hotelRoomList.saveStaticPrice(toHotelRoomListFile);\r\n\t}\r\n\tcatch(NotSerializableException nse)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Hotelrom objektene er ikke \"\r\n + \"serialiserbare.\\nIngen registrering på fil!\"\r\n + nse.getMessage(), \"Feilmelding\", \r\n JOptionPane.ERROR_MESSAGE);\r\n\t}\r\n\tcatch(IOException ioe)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Det oppsto en feil ved skriving \"\r\n + \"til fil.\\n\" + ioe.getMessage());\r\n\t}\r\n }",
"public static void serialize(String filePath) throws IOException {\n if (filePath == null) {\n throw new IllegalArgumentException(\"Filepath cannot be null\");\n }\n\n List<Object> toSave = new ArrayList<>();\n toSave.add(models);\n if (userData != null) {\n toSave.add(userData);\n }\n\n try {\n FileOutputStream fos = new FileOutputStream(filePath, false);\n ObjectOutputStream out = new ObjectOutputStream(fos);\n out.writeObject(toSave);\n\n out.flush();\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"@Override\r\n\tpublic void serializar() {\n\r\n\t}",
"@Override\r\n\tpublic void writeUsers(UserClass user, ArrayList<UserClass> array,\r\n\t\t\tString address) {\n\t\t\r\n\t}",
"private void saveToStorage() {\n FileOutputStream fos = null;\n try {\n fos = context.openFileOutput(\"GeoFences\", Context.MODE_PRIVATE);\n ObjectOutputStream oos = new ObjectOutputStream(fos);\n oos.writeObject(currentList);\n oos.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"@Override\n\t\tpublic String serialize(List<Person> list) throws Exception {\n\t\t\tXmlSerializer serializer = Xml.newSerializer();\n\t\t\tStringWriter writer = new StringWriter();\n\t\t\tserializer.setOutput(writer);\n\t\t\tserializer.startDocument(\"UTF-8\", true);\n\t\t\tserializer.startTag(\"\", \"persons\");\n\t\t\tfor (Person p : list) {\n\t\t\t\tserializer.startTag(\"\", \"person\");\n\t\t\t\tserializer.attribute(\"\", \"id\", String.valueOf(p.getId()));\n\t\t\t\tserializer.startTag(\"\", \"name\");\n\t\t\t\tserializer.text(p.getName());\n\t\t\t\tserializer.endTag(\"\", \"name\");\n\t\t\t\tserializer.startTag(\"\", \"age\");\n\t\t\t\tserializer.text(String.valueOf(p.getAge()));\n\t\t\t\tserializer.endTag(\"\", \"age\");\n\t\t\t\tserializer.endTag(\"\", \"person\");\n\t\t\t}\n\t\t\tserializer.endTag(\"\", \"persons\");\n\t\t\tserializer.endDocument();\n\t\t\treturn writer.toString();\n\t\t}",
"public void serialize() {\n FileOutputStream fileOutput = null;\n ObjectOutputStream outStream = null;\n // attempts to write the object to a file\n try {\n clearFile();\n fileOutput = new FileOutputStream(data);\n outStream = new ObjectOutputStream(fileOutput);\n outStream.writeObject(this);\n } catch (Exception e) {\n } finally {\n try {\n if (outStream != null)\n outStream.close();\n } catch (Exception e) {\n }\n }\n }",
"public void save(Context context){\n\t\tFileOutputStream fos;\n\t\ttry {\n\t\t\tfos = context.openFileOutput(\"state.bin\", Context.MODE_PRIVATE);\n\t\t\tObjectOutputStream os = new ObjectOutputStream(fos);\n\t\t\tos.writeObject(this.list);\n\t\t\tos.close();\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t}",
"private void saveListData(Object o) {\n\t\ttry {\n\t\t\tif (o == null)\n\t\t\t\treturn;\n\t\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(baos);\n\t\t\toos.writeObject(o);\n\t\t\tSharedPreferences mySharedPreferences = mContext.getSharedPreferences(\n\t\t\t\t\t\"base64\", Activity.MODE_PRIVATE);\n\t\t\tString productBase64 = new String(Base64.encodeBase64(baos\n\t\t\t\t\t.toByteArray()));\n\t\t\tSharedPreferences.Editor editor = mySharedPreferences.edit();\n\t\t\t// 将编码后的字符串写到base64.xml文件中\n\t\t\teditor.putString(DATA_COLLECTED, productBase64);\n\t\t\teditor.commit();\n\t\t\tLog.i(\"saveListData:\",\" success\" + productBase64);\n\t\t} catch (Exception e) {\n\n\t\t}\n\t}",
"void saveSklepToFile(String fileName) throws Exception {\r\n\t\tObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(fileName));\r\n\t\tout.writeObject(listOfAccounts);\r\n\t\tout.close();\r\n\t}",
"public void storeData() {\n try {\n ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(\"DB/Guest.ser\"));\n out.writeInt(guestList.size());\n out.writeInt(Guest.getMaxID());\n for (Guest guest : guestList)\n out.writeObject(guest);\n //System.out.printf(\"GuestController: %,d Entries Saved.\\n\", guestList.size());\n out.close();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n }",
"private void writeObject ( ObjectOutputStream out ) throws IOException {\n ObjectOutputStream.PutField fields = out.putFields();\n fields.put(\"_user\", _user);\n out.writeFields();\n }",
"@Override\n\t\tpublic String serialize(List<Person> list) throws Exception {\n\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory\n\t\t\t\t\t.newInstance();\n\t\t\tDocumentBuilder builder = factory.newDocumentBuilder();\n\t\t\tDocument doc = builder.newDocument();\n\t\t\tElement rootElement = doc.createElement(\"persons\");\n\t\t\tfor (Person p : list) {\n\t\t\t\tElement personElement = doc.createElement(\"person\");\n\t\t\t\tpersonElement.setAttribute(\"id\", String.valueOf(p.getId()));\n\t\t\t\tElement nameElement = doc.createElement(\"name\");\n\t\t\t\tnameElement.setTextContent(p.getName());\n\t\t\t\tpersonElement.appendChild(nameElement);\n\t\t\t\tElement ageElement = doc.createElement(\"age\");\n\t\t\t\tageElement.setTextContent(String.valueOf(p.getAge()));\n\t\t\t\tpersonElement.appendChild(ageElement);\n\t\t\t\trootElement.appendChild(personElement);\n\t\t\t}\n\t\t\tdoc.appendChild(rootElement);\n\t\t\tTransformerFactory transFactory = TransformerFactory.newInstance();\n\t\t\tTransformer transformer = transFactory.newTransformer();\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"UTF-8\");\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\n\t\t\ttransformer\n\t\t\t\t\t.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \"no\");\n\t\t\tStringWriter writer = new StringWriter();\n\t\t\tSource source = new DOMSource(doc);\n\t\t\tResult result = new StreamResult(writer);\n\t\t\ttransformer.transform(source, result);\n\t\t\treturn writer.toString();\n\t\t}",
"public void saveUsers() {\n\t\ttry {\n\t\t\t\n\t\t\tFile xmlFile = new File(\"Users.xml\");\n\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder builder = factory.newDocumentBuilder();\n\t\t\tDocument document = builder.parse(xmlFile);\n\t\t\tElement users = document.getDocumentElement();\n\t\t\t\n\t\t\tArrayList<Student> u = ManageUsers.getActiveList();\n\t\t\tfor (int i = 0; i < u.size(); i++) {\n\t\t\t\t// Grab the info for a specific student\n\t\t\t\tStudent s = u.get(i);\n\t\t\t\tString fName = s.getFirstName();\n\t\t\t\tString lName = s.getLastName();\n\t\t\t\tint ucid = s.getUcid();\n\t\t\t\tint currentBorrowing = s.getCurrentBorrowing();\n\t\t\t\tboolean isActive = true;\n\t\t\t String username = s.getUsername();\n\t\t\t String password = s.getPassword();\n\t\t\t boolean isLibrarian = s.getIsLibrarian();\n\t\t\t \n\t\t\t Element student = document.createElement(\"student\");\n\t\t\t \n\t\t\t // Make a new element <student>\n\t\t\t // Add the element to the xml as a child of <Users>\n\t\t\t // Add the above fields (fName, etc.) as child nodes to the new student node\n\t\t\t}\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Something went wrong with writing to the xml\");\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"public static ArrayList<User> readData() {\n ArrayList<User> users = new ArrayList<>();\n ObjectInputStream in = null;\n try {\n in = new ObjectInputStream(new FileInputStream(USER_SAVE_FILE_NAME));\n users = (ArrayList<User>) in.readObject();\n in.close();\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n if (in == null) {\n return users;\n } else {\n try {\n in.close();\n } catch (Exception ex) {\n Logger.getLogger(Utilities.UserDataIO.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n\n return users;\n }",
"public void load(){\n\t\n\t\ttry {\n\t\t\t\n\t\t\t// Open Streams\n\t\t\tFileInputStream inFile = new FileInputStream(\"user.ser\");\n\t\t\tObjectInputStream objIn = new ObjectInputStream(inFile);\n\t\t\t\n\t\t\t// Load the existing UserList at the head\n\t\t\tthis.head = (User)objIn.readObject();\n\t\t\t\n\t\t\t// Close Streams\n\t\t\tobjIn.close();\n\t\t\tinFile.close();\n\t\t}\n\n\t\tcatch(Exception d) {\n\t\t System.out.println(\"Error loading\");\n\t\t}\n\n\t}",
"private void saveMemberList () {\r\n\t\tStringBuffer\tmembers\t\t= new StringBuffer();\r\n\t\tboolean\t\t\taddSplit\t= false;\r\n\t\t\r\n\t\tfor (String member : this.members) {\r\n\t\t\tif (addSplit)\r\n\t\t\t\tmembers.append(splitMember);\r\n\t\t\tmembers.append(member);\r\n\t\t\taddSplit = true;\r\n\t\t}\r\n\t\t\r\n\t\tstorage.setString(namedStringMembers, members.toString());\r\n\t}",
"public static void writeUsers(ArrayList<User> userList, \r\n String filename) throws IOException {\r\n File file = new File(filename);\r\n PrintWriter out = new PrintWriter(\r\n new FileWriter(file, false));\r\n for (User user: userList) {\r\n out.println(user); \r\n }\r\n out.close();\r\n }",
"private void saveListToFile() {\n try {\n PrintStream out = new PrintStream(\n openFileOutput(LIST_FILENAME, MODE_PRIVATE)\n );\n\n for (int i = 0; i < listArr.size(); i++) {\n out.println(listArr.get(i));\n }\n\n out.close();\n\n } catch (IOException ioe) {\n Log.e(\"saveListToFile\", ioe.toString());\n }\n }",
"public void writeToConferenceRoomListFile()\r\n {\r\n\ttry(ObjectOutputStream toConferenceRoomListFile = \r\n new ObjectOutputStream(new FileOutputStream(\"listfiles/conferenceroomlist.dta\")))\r\n\t{\r\n toConferenceRoomListFile.writeObject(conferenceRoomList);\r\n conferenceRoomList.saveStaticPrice(toConferenceRoomListFile);\r\n\t}\r\n\tcatch(NotSerializableException nse)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Konferanserom objektene er ikke \"\r\n + \"serialiserbare.\\nIngen registrering på fil!\"\r\n + nse.getMessage(), \"Feilmelding\", \r\n JOptionPane.ERROR_MESSAGE);\r\n\t}\r\n\tcatch(IOException ioe)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Det oppsto en feil ved skriving \"\r\n + \"til fil.\\n\" + ioe.getMessage());\r\n\t}\r\n }",
"private void saveClubList() {\n SharedPreferences sharedPreferences = getSharedPreferences(\"Shared Preferences\", MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n Gson gson = new Gson();\n String json = gson.toJson(clubList);\n editor.putString(\"Club List\", json);\n editor.apply();\n }",
"public void writeToServiceFile()\r\n {\r\n\ttry(ObjectOutputStream toServiceFile = \r\n new ObjectOutputStream(new FileOutputStream(\"listfiles/servicelist.dta\")))\r\n\t{\r\n toServiceFile.writeObject(serviceList);\r\n\t}\r\n\tcatch(NotSerializableException nse)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Service objektene er ikke \"\r\n + \"serialiserbare.\\nIngen registrering på fil!\"\r\n + nse.getMessage(), \"Feilmelding\", \r\n JOptionPane.ERROR_MESSAGE);\r\n\t}\r\n\tcatch(IOException ioe)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Det oppsto en feil ved skriving \"\r\n + \"til fil.\\n\" + ioe.getMessage());\r\n\t}\r\n }",
"public void save(List<T> data) {\n\t\ttry {\n\t\t\tFile file = new File(getFileLocation());\n\t\t\tif (!file.getParentFile().exists()) {\n\t\t\t\tfile.getParentFile().mkdirs();\n\t\t\t}\n\t\t\tFileWriter fw = new FileWriter(getFileLocation());\n\t\t\tBufferedWriter bw = new BufferedWriter(fw);\n\t\t\tbw.write(gson.toJson(data));\n\t\t\tbw.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\t\tpublic String serialize(List<Person> list) throws Exception {\n\t\t\tSAXTransformerFactory factory = (SAXTransformerFactory) TransformerFactory\n\t\t\t\t\t.newInstance();\n\t\t\tTransformerHandler handler = factory.newTransformerHandler();\n\t\t\tTransformer transformer = handler.getTransformer();\n\t\t\ttransformer.setOutputProperty(OutputKeys.ENCODING, \"UTF-8\");\n\t\t\ttransformer.setOutputProperty(OutputKeys.INDENT, \"yes\");\n\t\t\ttransformer\n\t\t\t\t\t.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, \"no\");\n\t\t\tStringWriter writer = new StringWriter();\n\t\t\tResult result = new StreamResult(writer);\n\t\t\thandler.setResult(result);\n\t\t\tString uri = \"\";\n\t\t\tString localName = \"\";\n\t\t\thandler.startDocument();\n\t\t\thandler.startElement(uri, localName, \"persons\", null);\n\t\t\tAttributesImpl attrs = new AttributesImpl();\n\t\t\tchar[] ch = null;\n\t\t\tfor (Person p : list) {\n\t\t\t\tattrs.clear();\n\t\t\t\tattrs.addAttribute(uri, localName, \"id\", \"string\",\n\t\t\t\t\t\tString.valueOf(p.getId()));\n\t\t\t\thandler.startElement(uri, localName, \"person\", attrs);\n\t\t\t\thandler.startElement(uri, localName, \"name\", null);\n\t\t\t\tch = p.getName().toCharArray();\n\t\t\t\thandler.characters(ch, 0, ch.length);\n\t\t\t\thandler.endElement(uri, localName, \"name\");\n\t\t\t\thandler.startElement(uri, localName, \"age\", null);\n\t\t\t\tch = String.valueOf(p.getAge()).toCharArray();\n\t\t\t\thandler.characters(ch, 0, ch.length);\n\t\t\t\thandler.endElement(uri, localName, \"age\");\n\t\t\t\thandler.endElement(uri, localName, \"person\");\n\t\t\t}\n\t\t\thandler.endElement(uri, localName, \"persons\");\n\t\t\thandler.endDocument();\n\t\t\treturn writer.toString();\n\t\t}",
"private void writeListIdEmployee() {\n\t\ttry\n\t\t{\n\t\t\tObjectOutputStream out = new ObjectOutputStream(socket.getOutputStream());\n\t\t\tout.writeObject(controller.GetListIdEmployee());\n\t\t\tout.flush();\n\t\t\tout.close();\n\t\t}\n\t\tcatch (IOException e) \n\t\t{\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void StoreUsers(ArrayList<User> usersList) {\r\n\t\ttry {\r\n\t\t\tfw = new FileWriter(\".\\\\data\\\\users.txt\"); // writes data into\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// \\\\data\\\\books.txt\r\n\t\t\tbw = new BufferedWriter(fw);\r\n\r\n\t\t\tfor (int i = 0; i < usersList.size(); i++) { // for loop will run\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// till\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the size of the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// array\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// list usersList\r\n\t\t\t\tString content = \"\"; // Content is declared as String\r\n\t\t\t\tUser user = usersList.get(i); // Gets content of the array list\r\n\t\t\t\tcontent += user.getId() + \"::\"; // Gets ID of the Member and\r\n\t\t\t\t\t\t\t\t\t\t\t\t// adds ::\r\n\t\t\t\tcontent += user.getName() + \"::\"; // Gets Name of the Member and\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t// adds ::\r\n\t\t\t\tcontent += user.getNumBooksBorrowed() + \"::\"; // Gets Number of\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Books\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Borrowed of\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the Member\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// and adds ::\r\n\t\t\t\tcontent += user.getPhone() + \"::\"; // Gets Phone Number of the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t// Member and adds ::\r\n\t\t\t\tcontent += user.getreturndate() + \"\\n\"; // Gets Return Date of\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the Member\r\n\r\n\t\t\t\tbw.write(content); // writes the content of the Members in the\r\n\t\t\t\t\t\t\t\t\t// text file\r\n\r\n\t\t\t}\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Complete storing all users!\", \"Store Users\",\r\n\t\t\t\t\tJOptionPane.PLAIN_MESSAGE); // confirms with a message that\r\n\t\t\t\t\t\t\t\t\t\t\t\t// the Members are stored\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t} finally {\r\n\t\t\ttry {\r\n\t\t\t\tif (bw != null)\r\n\t\t\t\t\tbw.close();\r\n\t\t\t\tif (fw != null)\r\n\t\t\t\t\tfw.close();\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void saveUsers() {\n FileWriter fileWriter = null;\n PrintWriter printWriter = null;\n try {\n fileWriter = new FileWriter(pathData);\n printWriter = new PrintWriter(fileWriter);\n if (users != null) {\n \n for (Map.Entry m : users.entrySet()) {\n printWriter.println(m.getKey() + spChar + m.getValue() + \"\\n\");\n }\n }\n printWriter.close();\n } catch (IOException e) {\n }\n }",
"public void saveToDoList() {\n try {\n jsonWriter.open();\n jsonWriter.write(toDoList);\n jsonWriter.close();\n\n System.out.println(\"Saved \" + toDoList.getName() + \" to \" + JSON_STORE);\n } catch (FileNotFoundException e) {\n System.out.println(\"Unable to write to file: \" + JSON_STORE);\n }\n }",
"private void saveJSON(String myList, String saveFile, ArrayList<JSONObject> arr) {\n SharedPreferences sharedPreferences = getSharedPreferences(saveFile, MODE_PRIVATE);\n SharedPreferences.Editor prefEditor = sharedPreferences.edit();\n Gson gson = new Gson();\n String typeList = gson.toJson(arr);\n prefEditor.putString( myList, typeList );\n System.out.println(\"saveJSON myList = \" + myList);\n prefEditor.apply();\n }",
"public static void serialize(PhotoAlbumManager userdata) throws IOException {\n\t\tObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(storeDir + File.separator + storeFile));\n\t\toos.writeObject(userdata);\n\t\toos.close();\n\t}",
"@Override\n protected void onSaveInstanceState(@NonNull Bundle outState) {\n super.onSaveInstanceState(outState);\n outState.putSerializable(\"datos\", (ArrayList<Institucion>) mDatos);\n }",
"private void saveToFileData() {//Context context) {\n try {\n FileOutputStream fileOutputStream = openFileOutput(fileNameData, Context.MODE_PRIVATE);\n ObjectOutputStream objectOutputStream = new ObjectOutputStream(fileOutputStream);\n objectOutputStream.writeObject(Data.userData);\n objectOutputStream.close();\n fileOutputStream.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"@Override\r\n\tprotected final void objectDataMapping() throws BillingSystemException{\r\n\t\tString[][] data=getDataAsArray(USER_DATA_FILE);\r\n\t\tif(validateData(data,\"Authorised User\",COL_LENGTH)){\r\n\t\tList<User> listUser=new ArrayList<User>();\r\n\t\t\r\n\t\tfor(int i=0;i<data.length;i++){\r\n\t \t\r\n\t \tUser usr=new User();\r\n\t \t\t\r\n\t \tusr.setUsername(data[i][0]);\r\n\t \tusr.setPassword(data[i][1]);\r\n\t \tusr.setRole(getRoleByCode(data[i][2]));\r\n\t \t\r\n\t \tlistUser.add(usr);\t\r\n\t }\r\n\r\n\t\t\r\n\t\tthis.listUser=listUser;\r\n\t\t}\r\n\t}",
"private LinkedList<User> GetUserList() throws FileNotFoundException, IOException, ClassNotFoundException{\r\n File Users = new File(\"DataBase/Users/UsersDataBase.obj\");\r\n Users.createNewFile();\r\n try{\r\n FileInputStream InputFile = new FileInputStream(Users);\r\n ObjectInputStream InputObject = new ObjectInputStream(InputFile);\r\n\r\n LinkedList <User> UserList = (LinkedList <User>) InputObject.readObject();\r\n\r\n InputFile.close();\r\n InputObject.close();\r\n\r\n return UserList;\r\n }\r\n catch (EOFException e){\r\n return null; \r\n } \r\n }",
"private void saveTuple(ArrayList<Tuple> tupleList) {\n\n\t\ttry {\n\t\t\tFileOutputStream fileOutputStream = context.openFileOutput(\n\t\t\t\t\tSAVE_FILE, Context.MODE_PRIVATE);\n\t\t\tOutputStreamWriter outputStreamWriter = new OutputStreamWriter(\n\t\t\t\t\tfileOutputStream);\n\t\t\tGsonBuilder builder = new GsonBuilder();\n\t\t\tGson gson = builder.create();\n\t\t\tgson.toJson(tupleList, outputStreamWriter); // Serialize to Json\n\t\t\toutputStreamWriter.flush();\n\t\t\toutputStreamWriter.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public void setUserList(CopyOnWriteArrayList<User> userList) {\r\n\t\tBootstrap.userList = userList;\r\n\t}",
"public void writeIDs() {\n try {\n FileOutputStream fileOut = new FileOutputStream(\"temp/ids.ser\");\n ObjectOutputStream out = new ObjectOutputStream(fileOut);\n out.writeObject(ids);\n out.close();\n fileOut.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }",
"private void saveQuestions(ArrayList<Question> list) {\n\n\t\ttry {\n\t\t\tFileOutputStream fileOutputStream = context.openFileOutput(\n\t\t\t\t\tSAVE_FILE, Context.MODE_PRIVATE);\n\t\t\tOutputStreamWriter outputStreamWriter = new OutputStreamWriter(\n\t\t\t\t\tfileOutputStream);\n\t\t\tGsonBuilder builder = new GsonBuilder();\n\n\t\t\t// Gson does not serialize/deserialize dates with milisecond\n\t\t\t// precision unless specified\n\t\t\tGson gson = builder.setDateFormat(\"yyyy-MM-dd HH:mm:ss.SSS\")\n\t\t\t\t\t.create();\n\t\t\tbuilder.serializeNulls(); // Show fields with null values\n\t\t\tgson.toJson(list, outputStreamWriter); // Serialize to Json\n\t\t\toutputStreamWriter.flush();\n\t\t\toutputStreamWriter.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n public void writeToParcel(Parcel dest, int flags) {\n dest.writeList(listData);\n }",
"public void save () {\r\n\t\tlog.debug(\"TunnelList:save()\");\r\n\t\tlog.info(\"Saving to file\");\r\n\t\tFileTunnel.saveTunnels(this);\r\n\t}",
"public static void writeUser(String file, User user) {\r\n try (ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(file + \".ser\"))) {\r\n out.writeObject(user);\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }",
"@Override\n\tprotected ListEntity readList(Serializable seri) {\n\t\treturn (VipStudentList)seri;\n\t}",
"public void saveAsSerialization() {\n try(ObjectOutputStream os = new ObjectOutputStream(new FileOutputStream(new File(\"saves/data.dat\")))){\n os.writeObject(this);\n } catch (FileNotFoundException e){\n System.out.println(\"Could not create file: \" + e.getMessage());\n } catch (IOException e){\n System.out.println(\"IO exception occurred: \" + e.getMessage());\n }\n\n }",
"@Override\n protected void onSaveInstanceState(Bundle outState) {\n //ALWAYS CALL THE SUPER METHOD - To be nice!\n super.onSaveInstanceState(outState);\n Log.d(TAG, \"onSaveInstanceState\");\n\t\t/* Here we put code now to save the state */\n outState.putParcelableArrayList(\"savedList\",bag);\n\n }",
"protected void saveUserAccounts(List<UserInfo> userList) throws RepositoryException {\n RepositoryFileManager fileManager = repositoryManager.getFileManager();\n boolean success = false;\n fileManager.startChangeSet();\n\n try {\n File usersFile = new File( fileManager.getRepositoryLocation(), REPOSITORY_USERS_FILE );\n RepositoryUsers repoUsers = new RepositoryUsers();\n Marshaller marshaller = jaxbContext.createMarshaller();\n\n repoUsers.getUser().addAll( userList );\n fileManager.addToChangeSet( usersFile );\n\n marshaller.setProperty( Marshaller.JAXB_FORMATTED_OUTPUT, true );\n marshaller.setProperty( \"com.sun.xml.bind.namespacePrefixMapper\", new NamespacePrefixMapper() {\n public String getPreferredPrefix(String namespaceUri, String suggestion, boolean requirePrefix) {\n return REPOSITORY_EXT_NAMESPACE.equals( namespaceUri ) ? \"r\" : suggestion;\n }\n\n @Override\n public String[] getPreDeclaredNamespaceUris() {\n return new String[] {REPOSITORY_EXT_NAMESPACE};\n }\n } );\n marshaller.setSchema( validationSchema );\n marshaller.marshal( objectFactory.createRepositoryUsers( repoUsers ), usersFile );\n\n fileManager.commitChangeSet();\n userFileLastModified = -1;\n success = true;\n\n } catch (JAXBException e) {\n throw new RepositoryException( \"Error committing user updates to file system.\", e );\n\n } finally {\n try {\n if (!success) {\n fileManager.rollbackChangeSet();\n }\n } catch (Exception e) {\n // Ignore error and continue\n }\n }\n }",
"public static String convertUserListToNameList(List<User> userList) {\n\t\tString result = \"\";\n\t\tObjectMapper mapper = new ObjectMapper();\n\t\tmapper.disable(MapperFeature.DEFAULT_VIEW_INCLUSION);\n\t\ttry {\n\t\t\tresult = mapper.writerWithView(Views.Public.class)\n\t\t\t\t\t\t .writeValueAsString(userList);\n\t\t} catch (JsonProcessingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn result;\n\n\t}",
"public static void save() {\n\t\t// Save each user \n\t\t// and list of directories \n\t\t// and files in each directory\n\t\tArrayList<String> usernames = getRegisteredUserNames();\n\t\tUtils.FileUtils.write(\n\t\t\t\tusernames, \n\t\t\t\tGlobal.Constants.LIST_OF_USERS\n\t\t\t\t);\t\n\t\tfor (User user:Global.Variables.registeredUsers) {\n\t\t\tUtils.FileUtils.write(\n\t\t\t\tuser.getDirectoryNames(), \n\t\t\t\tGlobal.Constants.DIRECTORY_LOCATION + user.getName()\n\t\t\t\t);\n\t\t\tsave(user);\n\t\t}\n\t}",
"public static synchronized void save() {\n\n String team_fil = config.Server.serverdata_file_location + \"/teams.ser\";\n String team_backup = config.Server.serverdata_file_location + \"/teams\";\n\n Calendar dato = new GregorianCalendar();\n\n team_backup += dato.get(Calendar.YEAR) + \"-\" + dato.get(Calendar.DAY_OF_MONTH) + \"-\" + dato.get(Calendar.MONTH) + \"-\";\n team_backup += dato.get(Calendar.HOUR) + \"-\" + dato.get(Calendar.MINUTE) + \".ser\";\n\n admin.logging.globalserverMsg(\"Saving team data to file.\");\n\n try {\n FileOutputStream fil = new FileOutputStream(team_fil);\n FileOutputStream fil_backup = new FileOutputStream(team_backup);\n\n //Skriv til teams.txt\n ObjectOutputStream out = new ObjectOutputStream(fil);\n out.writeObject(team_list);\n out.flush();\n out.close();\n fil.close();\n\n //Skriv til backup fil.\n out = new ObjectOutputStream(fil_backup);\n out.writeObject(team_list);\n out.flush();\n out.close();\n fil.close();\n } catch (Exception e) {\n e.printStackTrace();\n admin.logging.globalserverMsg(\"Error saving team data to file.\");\n }\n }",
"private void createUserList() {\n\t\tif (!userList.isEmpty() && !listUsers.isSelectionEmpty()) {\n\t\t\tlistUsers.clearSelection();\n\t\t}\t\t\n\t\tif (!archivedUserList.isEmpty() && !listArchivedUsers.isSelectionEmpty()) {\n\t\t\tlistArchivedUsers.clearSelection();\n\t\t}\t\t\n\t\tarchivedUserList.clear();\n\t\tuserList.clear();\n\t\tArrayList<User> users = jdbc.get_users();\n\t\tfor (int i = 0; i < users.size(); i++) {\n\t\t\tif (users.get(i).active()) {\n\t\t\t\tuserList.addElement(String.format(\"%s, %s [%s]\", users.get(i).get_lastname(), users.get(i).get_firstname(), users.get(i).get_username()));\n\t\t\t} else {\n\t\t\t\tarchivedUserList.addElement(String.format(\"%s, %s [%s]\", users.get(i).get_lastname(), users.get(i).get_firstname(), users.get(i).get_username()));\n\t\t\t}\t\t\n\t\t}\n\t}",
"public void writeToRestaurantFile()\r\n {\r\n\ttry(ObjectOutputStream toRestaurantFile = \r\n new ObjectOutputStream(new FileOutputStream(\"listfiles/restaurant.dta\")))\r\n\t{\r\n toRestaurantFile.writeObject(restaurant);\r\n\t}\r\n\tcatch(NotSerializableException nse)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Restaurant objektene er ikke \"\r\n + \"serialiserbare.\\nIngen registrering på fil!\"\r\n + nse.getMessage(), \"Feilmelding\", \r\n JOptionPane.ERROR_MESSAGE);\r\n\t}\r\n\tcatch(IOException ioe)\r\n\t{\r\n JOptionPane.showMessageDialog(null, \"Det oppsto en feil ved skriving \"\r\n + \"til fil.\\n\" + ioe.getMessage());\r\n\t}\r\n }",
"public void guardar(Usuario u) throws Exception{\r\n //paso1 generar el archivo a guardarse\r\n File f=new File(\"archivaldo.raton\");\r\n if(f.exists()) usuarios= buscarTodos();\r\n //indicar que se va a guardar\r\n FileOutputStream fos=new FileOutputStream(f);\r\n \r\n //generar el objeto que nos va a ayudar a guardar el arraylist de usuarios\r\n ObjectOutputStream oos=new ObjectOutputStream(fos);\r\n //ahora si a guardar el objeto\r\n usuarios.add(u);\r\n oos.writeObject(usuarios);\r\n }",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic CopyOnWriteArrayList<User> importUserList() throws IOException, ClassNotFoundException, FileNotFoundException {\r\n\t\tObjectInputStream in;\r\n\t\tCopyOnWriteArrayList<User> tmpUserList = new CopyOnWriteArrayList<User>();\r\n\t\tin= new ObjectInputStream(\r\n\t\t\t\tnew BufferedInputStream(\r\n\t\t\t\t\t\tnew FileInputStream(\"userList.dat\")));\r\n\t\ttmpUserList= (CopyOnWriteArrayList<User>)in.readObject();\r\n\t\tin.close();\r\n\t\treturn tmpUserList;\r\n\t}",
"public boolean writeUsers(ArrayList<User> userList)\n {\n if (userList == null)\n return false;\n \n /** Open file **/\n TextFileWriter writer = new TextFileWriter(userFileName);\n if (writer.open() == false)\n return false;\n \n writer.writeLine(userList.size() + \"\\n\"); /** Write number of user **/\n \n /** Write each user **/\n for (User user : userList)\n {\n writer.writeLine(tagUser[0] + \" \" + user.getUsername() + \"\\n\");\n writer.writeLine(tagUser[1] + \" \" + user.getPassword() + \"\\n\");\n writer.writeLine(tagUser[2] + \" \" + user.getName() + \"\\n\");\n writer.writeLine(tagUser[3] + \" \" + DateUtils.dateToStr(user.getBirth()) + \"\\n\");\n writer.writeLine(tagUser[4] + \" \" + user.getAddress() + \"\\n\");\n writer.writeLine(tagUser[5] + \" \" + user.getEmail() + \"\\n\");\n writer.writeLine(tagUser[6] + \" \" + user.getBalance() + \"\\n\");\n }\n writer.close();\n return true;\n }",
"public void serialize(String s, LinkedList<Map> maplist){\n\n\t\ttry {\n\t\t\tFileOutputStream fileOut = new FileOutputStream(s + \".ser\");\n\t\t\tObjectOutputStream out = new ObjectOutputStream(fileOut);\n\t\t\tout.writeObject(maplist);\n\t\t\tout.close();\n\t\t\tfileOut.close();\n\t\t\tSystem.out.println(\"Serialized data is saved in \" + s + \".ser\");\n\t\t} catch(IOException i){\n\t\t\ti.printStackTrace();\n\t\t}\n\t}",
"private void saveInFile() {\n try {\n FileOutputStream fos = openFileOutput(FILENAME,\n Context.MODE_PRIVATE);//goes stream based on filename\n BufferedWriter out = new BufferedWriter(new OutputStreamWriter(fos)); //create buffer writer\n Gson gson = new Gson();\n gson.toJson(countbookList, out);//convert java object to json string & save in output\n out.flush();\n fos.close();\n } catch (FileNotFoundException e) {\n throw new RuntimeException();\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"public void saveData(){\n SerializableManager.saveSerializable(this,user,\"userInfo.data\");\n SerializableManager.saveSerializable(this,todayCollectedID,\"todayCollectedCoinID.data\");\n SerializableManager.saveSerializable(this,CollectedCoins,\"collectedCoin.data\");\n uploadUserData uploadUserData = new uploadUserData(this);\n uploadUserData.execute(this.Uid);\n System.out.println(Uid);\n\n }",
"public void writeFile(List<Stock>listStock) throws IOException\n {\n \t //StockImplement implement=new StockImplement();\n \t \n \t mapper.defaultPrettyPrintingWriter().writeValue(file, listStock);\n \t// mapper.writeValue(file, listStock);\n\t\t\n \t \n }",
"public void Serializar(){\n try {\n FileOutputStream archivo = new FileOutputStream(\"SerializacionEdificios\");\n ObjectOutputStream salida = new ObjectOutputStream(archivo);\n salida.writeObject(edificios);\n archivo = new FileOutputStream(\"SerializacionEstudiantes\");\n salida = new ObjectOutputStream(archivo);\n salida.writeObject(estudiantes);\n archivo = new FileOutputStream(\"SerializacionProfesores\");\n salida = new ObjectOutputStream(archivo);\n salida.writeObject(profesores);\n archivo = new FileOutputStream(\"SerializacionAdministradores\");\n salida = new ObjectOutputStream(archivo);\n salida.writeObject(administradores);\n salida.close();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"private void saveList() throws Exception {\n JournalEntries.saveList(JournalList,ReconcileCur.ReconcileNum);\n }",
"public List<Reservation> saveToFile() {\n\t\treturn rList;\n\t}",
"abstract void toBinary(BinaryPropertyListWriter out) throws IOException;",
"@Override\n\tpublic void write(List<? extends User> usersManal) throws Exception {\n\t\t\n\t\t System.out.println(\"new thread before\"+Thread.currentThread().getName() + \" \"+Thread.activeCount() +\" \"+Thread.currentThread().getPriority());\n\t\t userRepository.saveAll(usersManal);\n//\t}\n\t\n System.out.println(\"Data Saved for Users: \" + usersManal.toString());\n System.out.println(\"new thread after\"+Thread.currentThread().getName() + \" \"+Thread.activeCount() +\" \"+Thread.currentThread().getPriority());\n \n //userRepository.save(users);\n}",
"void saveData() throws SerializerException;",
"public static void serialisation(ArrayList<Personne> listePersonne, String path) {\n\t\tPersonnes pers = new Personnes();\n\t\tpers.setListPersonne(listePersonne);\n\n\t\t// create JAXB context and instantiate marshaller\n\t\tJAXBContext context = null;\n\t\ttry {\n\t\t\tcontext = JAXBContext.newInstance(Personnes.class);\n\t\t} catch (JAXBException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\tMarshaller m = null;\n\t\ttry {\n\t\t\tm = context.createMarshaller();\n\t\t} catch (JAXBException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttry {\n\t\t\tm.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);\n\t\t} catch (PropertyException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Write to File\n\t\ttry {\n\t\t\tm.marshal(pers, new File(path + \"personne.xml\"));\n\t\t} catch (JAXBException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private static void LessonSerialization() {\n PersonDAO personDAO = new PersonDAOImpl();\n Person person = personDAO.getPersonById(1);\n\n // serialize to a text file\n try {\n FileOutputStream fileOut = new FileOutputStream(\"./newfile.txt\");\n ObjectOutputStream out = new ObjectOutputStream(fileOut);\n out.writeObject(person);\n out.close();\n fileOut.close();\n System.out.println(\"Person Object serialized and written to file: newfile.txt\");\n System.out.println(\"Serialized Object: \" + person.ToString());\n } catch(IOException ioEx) {\n System.out.println(ioEx);\n }\n }",
"public void saveArrayList(ArrayList<String> list, String key) {\n SharedPreferences preferences = getSharedPreferences(\"itemlist\", Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = preferences.edit();\n Gson gson = new Gson();\n String json = gson.toJson(list);\n editor.putString(key, json);\n editor.apply();\n }",
"@Override\n protected void onSaveInstanceState(Bundle outState) {\n super.onSaveInstanceState(outState);\n\n // set variables\n Friend friend;\n ArrayList<String> new_names = new ArrayList<>();\n int n = friends.size();\n\n // iterate over friends and store if Friend object is not standard\n for (int i = 0; i < n; i++) {\n friend = friends.get(i);\n if (!friend.getStandard()) {\n outState.putSerializable(friend.getName(), friend);\n new_names.add(friend.getName());\n }\n }\n\n // store names of non-standard Friend objects in bundle\n outState.putStringArrayList(\"new_names\", new_names);\n }",
"private static void saveStudentsList(List<Student> students, File file) throws IOException {\n saveStudentsList(students, new FileOutputStream(file));\n }",
"public ArrayList<User> getArrayList(){\n return userlist;\n }",
"private void writeObject(ObjectOutputStream oos) throws IOException {\n oos.defaultWriteObject();\n /*if(serializeEverything) {\n //The cast to Serializable is necessary to avoid Sonar bug issues because List does not implement Serializable but all implementations of List (such as ArrayList) in effect implements Serializable\n //oos.writeObject((Serializable)cardPower);\n oos.writeObject((Serializable)weapons);\n oos.writeInt(points);\n }\n serializeEverything = false;*/\n }",
"public void DesSerializar() throws FileNotFoundException {\n try {\n FileInputStream archivo = new FileInputStream(\"SerializacionEdificios\");\n ObjectInputStream entrada = new ObjectInputStream(archivo);\n ArrayList<Edificio> edificiosDes = (ArrayList<Edificio>) entrada.readObject();\n archivo = new FileInputStream(\"SerializacionEstudiantes\");\n entrada = new ObjectInputStream(archivo);\n ArrayList<Estudiante> estudiantesDes = (ArrayList<Estudiante>) entrada.readObject();\n archivo = new FileInputStream(\"SerializacionProfesores\");\n entrada = new ObjectInputStream(archivo);\n ArrayList<Profesor> profesoresDes = (ArrayList<Profesor>) entrada.readObject();\n archivo = new FileInputStream(\"SerializacionAdministradores\");\n entrada = new ObjectInputStream(archivo);\n ArrayList<Administrador> administradoresDes = (ArrayList<Administrador>) entrada.readObject();\n edificios = edificiosDes;\n estudiantes = estudiantesDes;\n profesores = profesoresDes;\n administradores = administradoresDes;\n entrada.close();\n }\n catch (IOException e){\n e.printStackTrace();\n }\n catch (ClassNotFoundException e){\n e.printStackTrace();\n }\n\n\n }",
"public void Save(){\n\t SharedPreferences prefs = getActivity().getSharedPreferences(MainActivity.SHARED_PREFS_FILE, Context.MODE_PRIVATE);\n\t Editor editor = prefs.edit();\n\t try {\n\t editor.putString(MainActivity.STOCK_LIST_TAG, ObjectSerializer.serialize(list));\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t editor.putFloat(\"balance\", (float) balance);\n\t editor.commit();\n\t}",
"private void WriteDataToDataBase(SubForum CreatedSubForum) throws IOException, ClassNotFoundException{ \r\n LinkedList <SubForum> SubForumList = new LinkedList();\r\n //Check if there are more user´s in the file\r\n try{\r\n FileInputStream InputFile = new FileInputStream(\"DataBase/Forum/ForumDataBase.obj\");\r\n ObjectInputStream InputObject = new ObjectInputStream(InputFile);\r\n SubForumList = (LinkedList <SubForum>) InputObject.readObject();\r\n InputFile.close();\r\n InputObject.close();\r\n SubForumList.add(CreatedSubForum); \r\n }\r\n \r\n //If not this is the first user\r\n catch (Exception FileNotFoundException){\r\n SubForumList.add(CreatedSubForum);\r\n }\r\n \r\n //Then rewrite the list with the new user \r\n FileOutputStream OutputFile = new FileOutputStream(\"DataBase/Forum/ForumDataBase.obj\");\r\n ObjectOutputStream OutputObject = new ObjectOutputStream(OutputFile);\r\n OutputObject.writeObject(SubForumList); \r\n \r\n OutputFile.close();\r\n OutputObject.close(); \r\n }",
"private void save() {\n if (mCacheFile.exists()) {\n mCacheFile.delete();\n }\n\n try (JsonWriter writer = new JsonWriter(new BufferedWriter(new FileWriter(mCacheFile)))) {\n writer.beginObject();\n writer.name(PRINTER_LIST_NAMES.get(0));\n writer.beginArray();\n for (DiscoveredPrinter printer : mSavedPrinters) {\n printer.write(writer);\n }\n writer.endArray();\n writer.endObject();\n } catch (NullPointerException | IOException e) {\n Log.w(TAG, \"Error while storing to \" + mCacheFile, e);\n }\n }",
"public void save() {\n super.storageSave(listPedidosAssistencia.toArray());\n }",
"@Override\r\n\tpublic String saveBatch(String userInfo, String saveJsonList)\r\n\t\t\t {\n\t\treturn null;\r\n\t}"
]
| [
"0.8066399",
"0.7756494",
"0.7512721",
"0.72457254",
"0.722218",
"0.7155219",
"0.68036926",
"0.6793798",
"0.67778146",
"0.65937227",
"0.6416708",
"0.63572764",
"0.635588",
"0.6287161",
"0.62759554",
"0.6219447",
"0.6207661",
"0.6204816",
"0.61925495",
"0.6177943",
"0.6162447",
"0.6148246",
"0.6136346",
"0.61337197",
"0.6130291",
"0.60886264",
"0.60858345",
"0.6079559",
"0.6074613",
"0.6053368",
"0.6043329",
"0.60387015",
"0.60214543",
"0.5979591",
"0.59766465",
"0.59720445",
"0.5971265",
"0.5969656",
"0.5958581",
"0.5943212",
"0.593019",
"0.5923969",
"0.5902044",
"0.5894781",
"0.5891349",
"0.5891066",
"0.58882725",
"0.5879259",
"0.5849637",
"0.58367765",
"0.5834928",
"0.580103",
"0.5763185",
"0.5754415",
"0.57520187",
"0.5740831",
"0.5738654",
"0.57375115",
"0.5719064",
"0.57110065",
"0.570977",
"0.5699684",
"0.5697647",
"0.56685865",
"0.56631005",
"0.56615174",
"0.5656531",
"0.5638892",
"0.5637669",
"0.56372863",
"0.5632279",
"0.56267655",
"0.5613706",
"0.561111",
"0.5603291",
"0.5599219",
"0.55862963",
"0.5582912",
"0.5579898",
"0.5577232",
"0.55568755",
"0.5550766",
"0.554575",
"0.55432534",
"0.553904",
"0.5531025",
"0.5528282",
"0.5527881",
"0.5517571",
"0.5504732",
"0.54988587",
"0.5495509",
"0.5485302",
"0.54779625",
"0.5474547",
"0.54629093",
"0.5461183",
"0.5441888",
"0.5433338",
"0.54194254"
]
| 0.56549376 | 67 |
Responsible for deserializing data stored in disk and create a UserList object consisting of all the users. | public static User load(Context context){
User user = null;
try {
File file = new File(context.getFilesDir(),"UserData.dat");
if(!file.exists()) {
file.createNewFile();
}
FileInputStream FIS = context.openFileInput("UserData.dat");
if(FIS.available()==0){
user = new User("phone");
return user;
}
ObjectInputStream objectInputStream = new ObjectInputStream(FIS);
user = (User) objectInputStream.readObject();
objectInputStream.close();
FIS.close();
}
catch(Exception e) {
e.printStackTrace();
//System.out.println("There was an error deserializing the data");
}
return user;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void readUserListFromFile() {\n\t\tJSONParser parser = new JSONParser();\n\n\t\ttry (Reader reader = new FileReader(\"users.json\")) {\n\n\t\t\tJSONArray userListJSON = (JSONArray) parser.parse(reader);\n\n\t\t\tfor (int i = 0 ; i < userListJSON.size(); i++) {\n\t\t\t\tJSONObject user = (JSONObject) userListJSON.get(i);\n\t\t\t\tString name = (String) user.get(\"name\");\n\t\t\t\tString surname = (String) user.get(\"surname\");\n\t\t\t\tString username = (String) user.get(\"username\");\n\t\t\t\tString password = (String) user.get(\"password\");\n\t\t\t\tString account = (String) user.get(\"account\");\n\n\t\t\t\tif(account.equals(\"employee\")) {\n\t\t\t\t\tMain.userList.add(new Employee(username, name, surname, password));\n\t\t\t\t} else {\n\t\t\t\t\tMain.userList.add(new Customer(username, name, surname, password));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ParseException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private static ArrayList<User> loadInitialData(){\n\t\tArrayList<User> users = new ArrayList<User>();\n\t\t// From the users list get all the user names\n\t\tfor (String username:Utils.FileUtils.getFileLines(Global.Constants.LIST_OF_USERS)){ // refers \"users\" file\n\t\t\tArrayList<Directory> directories = new ArrayList<Directory>();\n\t\t\t// For a user name, read the names of directories registered\n\t\t\t// Note: All directory names are provided in the file bearing user name\n\t\t\tif (Utils.FileUtils.exists(Global.Constants.DIRECTORY_LOCATION + username)) { // refers to a specific user file \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t // that has directories\n\t\t\t\tfor (String dir:Utils.FileUtils.getFileLines(Global.Constants.DIRECTORY_LOCATION + username)) {\n\t\t\t\t\tArrayList<String> documents = new ArrayList<String>();\n\t\t\t\t\t// For each directory, read names of files saved\n\t\t\t\t\t// Note: All file names are provided in the file bearing username$dirname\n\t\t\t\t\tif (Utils.FileUtils.exists(Global.Constants.DIRECTORY_LOCATION, username + \"$\" + dir)) {\n\t\t\t\t\t\tfor (String doc:Utils.FileUtils.getFileLines(Global.Constants.DIRECTORY_LOCATION + username + \"$\" + dir)) {\n\t\t\t\t\t\t\tdocuments.add(doc);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdirectories.add(new Directory(dir, documents));\n\t\t\t\t}\n\t\t\t}\n\t\t\tusers.add(new User(username, directories));\n\t\t}\n\t\treturn users;\n\t}",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic CopyOnWriteArrayList<User> importUserList() throws IOException, ClassNotFoundException, FileNotFoundException {\r\n\t\tObjectInputStream in;\r\n\t\tCopyOnWriteArrayList<User> tmpUserList = new CopyOnWriteArrayList<User>();\r\n\t\tin= new ObjectInputStream(\r\n\t\t\t\tnew BufferedInputStream(\r\n\t\t\t\t\t\tnew FileInputStream(\"userList.dat\")));\r\n\t\ttmpUserList= (CopyOnWriteArrayList<User>)in.readObject();\r\n\t\tin.close();\r\n\t\treturn tmpUserList;\r\n\t}",
"private LinkedList<User> GetUserList() throws FileNotFoundException, IOException, ClassNotFoundException{\r\n File Users = new File(\"DataBase/Users/UsersDataBase.obj\");\r\n Users.createNewFile();\r\n try{\r\n FileInputStream InputFile = new FileInputStream(Users);\r\n ObjectInputStream InputObject = new ObjectInputStream(InputFile);\r\n\r\n LinkedList <User> UserList = (LinkedList <User>) InputObject.readObject();\r\n\r\n InputFile.close();\r\n InputObject.close();\r\n\r\n return UserList;\r\n }\r\n catch (EOFException e){\r\n return null; \r\n } \r\n }",
"public static ArrayList<User> readData() {\n ArrayList<User> users = new ArrayList<>();\n ObjectInputStream in = null;\n try {\n in = new ObjectInputStream(new FileInputStream(USER_SAVE_FILE_NAME));\n users = (ArrayList<User>) in.readObject();\n in.close();\n } catch (Exception e) {\n System.out.println(e.getMessage());\n }\n if (in == null) {\n return users;\n } else {\n try {\n in.close();\n } catch (Exception ex) {\n Logger.getLogger(Utilities.UserDataIO.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n\n return users;\n }",
"private ArrayList<User> loadUsers(InputStream is) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(is));\r\n\t\tStringBuilder jsonFileContent = new StringBuilder();\r\n\t\t//read line by line from file\r\n\t\tString nextLine = null;\r\n\t\twhile ((nextLine = br.readLine()) != null){\r\n\t\t\tjsonFileContent.append(nextLine);\r\n\t\t}\r\n\r\n\t\tGson gson = new Gson();\r\n\t\t//this is a require type definition by the Gson utility so Gson will \r\n\t\t//understand what kind of object representation should the json file match\r\n\t\tType type = new TypeToken<ArrayList<User>>(){}.getType();\r\n\t\tArrayList<User> users = gson.fromJson(jsonFileContent.toString(), type);\r\n\t\t//close\r\n\t\tbr.close();\t\r\n\t\treturn users;\r\n\t}",
"public void load(){\n\t\n\t\ttry {\n\t\t\t\n\t\t\t// Open Streams\n\t\t\tFileInputStream inFile = new FileInputStream(\"user.ser\");\n\t\t\tObjectInputStream objIn = new ObjectInputStream(inFile);\n\t\t\t\n\t\t\t// Load the existing UserList at the head\n\t\t\tthis.head = (User)objIn.readObject();\n\t\t\t\n\t\t\t// Close Streams\n\t\t\tobjIn.close();\n\t\t\tinFile.close();\n\t\t}\n\n\t\tcatch(Exception d) {\n\t\t System.out.println(\"Error loading\");\n\t\t}\n\n\t}",
"private UserDao() {\n\t\tusersList = new HashMap<String, User>();\n\t\tusersDetails = JsonFilehandling.read();\n\t\tfor (JSONObject obj : usersDetails) {\n\t\t\tusersList.put(obj.get(\"id\").toString(), new User(obj.get(\"id\").toString(),obj.get(\"name\").toString(), obj.get(\"profession\").toString()));\n\t\t}\n\t}",
"public void readUserFile (){\n try {\n FileReader reader = new FileReader(fileName);\n BufferedReader bufferedReader = new BufferedReader(reader);\n String line;\n while ((line = bufferedReader.readLine()) != null) {\n Scanner s = new Scanner(line); //use of a scanner to parse the line and assign its tokens to different variables\n//each line corresponds to the values of a User object\n while(s.hasNext()){\n String usrname = s.next();\n String pass = s.next();\n User u = new User(usrname,pass);\n userlist.add(u);//added to the list\n }\n \n }\n reader.close();\n \n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"public List<User> getUsers() {\n try (ObjectInputStream inputStream = new ObjectInputStream(new FileInputStream(PATH))) {\n\n return (List<User>) inputStream.readObject();\n\n } catch (Exception e) {\n System.out.println(\"Ошибка при чтений файла или файла не существует! get user\");\n }\n\n return new ArrayList<>();\n }",
"@Override\r\n\tprotected final void objectDataMapping() throws BillingSystemException{\r\n\t\tString[][] data=getDataAsArray(USER_DATA_FILE);\r\n\t\tif(validateData(data,\"Authorised User\",COL_LENGTH)){\r\n\t\tList<User> listUser=new ArrayList<User>();\r\n\t\t\r\n\t\tfor(int i=0;i<data.length;i++){\r\n\t \t\r\n\t \tUser usr=new User();\r\n\t \t\t\r\n\t \tusr.setUsername(data[i][0]);\r\n\t \tusr.setPassword(data[i][1]);\r\n\t \tusr.setRole(getRoleByCode(data[i][2]));\r\n\t \t\r\n\t \tlistUser.add(usr);\t\r\n\t }\r\n\r\n\t\t\r\n\t\tthis.listUser=listUser;\r\n\t\t}\r\n\t}",
"private Collection<User> loadUsers(InputStream is) throws IOException{\r\n\t\t\r\n\t\t//wrap input stream with a buffered reader to allow reading the file line by line\r\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(is));\r\n\t\tStringBuilder jsonFileContent = new StringBuilder();\r\n\t\t//read line by line from file\r\n\t\tString nextLine = null;\r\n\t\twhile ((nextLine = br.readLine()) != null){\r\n\t\t\tjsonFileContent.append(nextLine);\r\n\t\t}\r\n\r\n\t\tGson gson = new Gson();\r\n\t\t//this is a require type definition by the Gson utility so Gson will \r\n\t\t//understand what kind of object representation should the json file match\r\n\t\tType type = new TypeToken<Collection<User>>(){}.getType();\r\n\t\tCollection<User> users = gson.fromJson(jsonFileContent.toString(), type);\r\n\t\t//close\r\n\t\tbr.close();\t\r\n\t\treturn users;\r\n\r\n\t}",
"public static Superuser load() throws IOException, ClassNotFoundException {\n\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(storeDir + File.separator + storeFile));\n\t\tSuperuser userList = (Superuser) ois.readObject();\n\t\tois.close();\n\t\treturn userList;\n\t\t\n\t}",
"public void readUsers() {\n try {\n FileInputStream fileIn = new FileInputStream(\"temp/users.ser\");\n ObjectInputStream in = new ObjectInputStream(fileIn);\n users = (HashMap<String, User>) in.readObject();\n in.close();\n fileIn.close();\n } catch (IOException e) {\n users = new HashMap<>();\n } catch (ClassNotFoundException c) {\n System.out.println(\"Class HashMap not found\");\n c.printStackTrace();\n return;\n }\n\n }",
"@SuppressWarnings(\"unchecked\")\n\tpublic static void readUserFile() {\n\t\ttry {\n\t\t\tObjectInputStream readFile = new ObjectInputStream(new FileInputStream(userFile));\n\t\t\tVerify.userList = (ArrayList<User>) readFile.readObject();\n\t\t\treadFile.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//add contents of file to separate lists\n\t\tfor (int i=0; i<Verify.userList.size(); i++) {\n\t\t\tVerify.userIds.add(Verify.userList.get(i).getUserId());\n\t\t\tVerify.usernames.add(Verify.userList.get(i).getUsername());\n\t\t\tif (Verify.userList.get(i).getAccounts() != null) {\n\t\t\t\tVerify.accountList.addAll(Verify.userList.get(i).getAccounts());\n\t\t\t}\n\t\t\tif (Verify.userList.get(i).getRequests() != null) {\n\t\t\t\tVerify.requestList.addAll(Verify.userList.get(i).getRequests());\t\n\t\t\t}\n\t\t}\n\t\tfor (Account account: Verify.accountList) {\n\t\t\tVerify.accountIds.add(account.getAccountId());\n\t\t}\n\t}",
"public static DSUsers getUsersFromFile() {\n\t\ttry {\n\t\t\treturn gson.fromJson(new FileReader(USERS_FILE), DSUsers.class);\n\t\t} catch (JsonSyntaxException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (JsonIOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}",
"public ArrayList<User> getUsers(){\n\t\tArrayList<User> users = new ArrayList<User>();\n\t\tcreateFile(usersFile);\n\t\ttry {\n\t\t\tString[] data;\n\t\t\treader = new BufferedReader(new FileReader(usersFile));\n\n\t\t\tString strLine;\n\t\t\twhile((strLine = getLine()) != null){\n\t\t\t\tdata = strLine.split(\",\");\n\n\t\t\t\tUser user = new User(data[0], data[1],data[2],data[3]);\n\t\t\t\tusers.add(user);\n\n\t\t\t}\n\t\n\t\t}catch (IOException e){\n\t\t\t//TODO auto generated catch block\n\t\t\tSystem.err.println(e);\n\t\t}\n\n\t\treturn users;\n\t}",
"public ArrayList<User> readUsers()\n {\n String dataLines[]; /* Data read from line */\n boolean bNotNull = true; /* Indicate line null error */\n int count = 0; /* No. of user */\n ArrayList<User> userList = new ArrayList<User>();\n \n /* Open file. If cannot open, return null; */\n TextFileReader reader = new TextFileReader(userFileName);\n if (reader.open() == false)\n return null;\n \n /* Read number of data */\n String line;\n line = reader.readLine();\n try\n {\n count = Integer.parseInt(line);\n }\n catch (Exception e)\n {\n return null;\n }\n \n /* Loop get user and add user to list */\n int numTag = tagUser.length;\n for (int i = 0; i < count && bNotNull; i++)\n {\n dataLines = new String[numTag];\n /* Loop read follow number of tag */\n for (int j = 0; j < numTag && bNotNull; j++)\n {\n dataLines[j] = reader.readLine();\n if (dataLines[j] == null)\n bNotNull = false;\n }\n User user = parseUser(dataLines);\n if (user != null) /* If data is correct, add to user list */\n userList.add(user);\n }\n reader.close();\n return userList;\n }",
"private void loadData() {\n FileInputStream fis;\n\n try {\n fis = openFileInput(DATA_FILE);\n user = (User) new JsonReader(fis).readObject();\n fis.close();\n } catch(Exception e) {\n Log.i(\"Exception :\", e.toString());\n }\n }",
"private List<User> createUserList() {\n for (int i = 1; i<=5; i++) {\n User u = new User();\n u.setId(i);\n u.setEmail(\"user\"+i+\"@mail.com\");\n u.setPassword(\"pwd\"+i);\n userList.add(u);\n }\n return userList;\n }",
"public void createUser(List<User> list) {\n\n Gson gson = new Gson();\n FileService writerService = new FileService();\n for (User user : list) {\n String userData = gson.toJson(user);\n writerService.writeToUserData(userData);\n }\n\n }",
"public void populateUserListFromDatabase() {\n\t\tList<com.expensetracker.model.User> modelUserList = null;\n\t\tLogger.logMessage(\"UserManager.populateUserListFromDatabase() : Populating user list cache..\");\n\t\ttry {\n\t\t\tmodelUserList = Service.getService().getUserList();\n\t\t\tList<User> list = ConvertUtil.modelToPojo(modelUserList);\n\t\t\tif (list != null) {\n\t\t\t\tuserList.addAll(list);\n\t\t\t\tpopulateUserMap(list);\n\t\t\t} else {\n\t\t\t\tLogger.logMessage(\"UserManager.populateUserListFromDatabase() : No data received from database for populating userlist cache\");\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tLogger.logMessage(\"UserManager.populateUserListFromDatabase() : Error in getting list of users from database for populating userlist cache \"\n\t\t\t\t\t+ e);\n\t\t}\n\t}",
"public static ArrayList<User> readUsers(String filename) throws IOException {\r\n ArrayList<User> users = new ArrayList<User>();\r\n try {\r\n BufferedReader in = new BufferedReader(\r\n new FileReader(filename));\r\n String line = in.readLine();\r\n while (line != null) {\r\n StringTokenizer t = new StringTokenizer(line, \"|\");\r\n String emailAddress = t.nextToken();\r\n String firstName = t.nextToken();\r\n String lastName = t.nextToken();\r\n User user = new User(firstName, lastName, emailAddress);\r\n users.add(user);\r\n line = in.readLine();\r\n }\r\n in.close();\r\n return users;\r\n } catch (FileNotFoundException e) {\r\n return new ArrayList<User>();\r\n }\r\n }",
"public static void serializeUsers(ListOfAllUsers list) throws FileNotFoundException, IOException {\n\t\tObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(userFile));\n\t\toos.writeObject(list);\n\t\toos.close();\n\t\t//System.out.println(\"Serialized.\");\n\t}",
"public void adminLoad() {\n try {\n File file = new File(adminPath);\n Scanner scanner = new Scanner(file);\n while (scanner.hasNextLine()){\n String data = scanner.nextLine();\n String[]userData = data.split(separator);\n AdminAccounts adminAccounts = new AdminAccounts();\n adminAccounts.setUsername(userData[0]);\n adminAccounts.setPassword(userData[1]);\n users.add(adminAccounts);\n }\n\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }",
"@Override\r\n public List<UserDTO> read() throws Exception, UnexpectedInputException, ParseException, NonTransientResourceException {\r\n\t// TODO Auto-generated method stub\r\n\treturn null;\r\n }",
"public UserList(){\n\t\tthis.head = new User();\n\t\tthis.tail = this.head;\n\n\t}",
"@Override\n\tpublic List<User> get() {\n\t\tList<User> result = new ArrayList<>();\n\t\tfor (String key : userlist.keySet()) {\n\t\t\tUser user = userlist.get(key);\n\t\t\tint dni = user.getDni();\n\t\t\tString name = user.getName();\n\t\t\tString secondName = user.getSecondName();\n\t\t\tString username = user.getUser();\n\t\t\tString pass = user.getPass();\n\t\t\tresult.add(new User(dni, name, secondName, username, pass));\n\t\t}\n\t\treturn result;\n\t}",
"List<User> loadAll();",
"public void load(String fileName) throws IOException{\n\t\tFileInputStream fileIn=null;\n\t try {\n\t\t\tfileIn = new FileInputStream(fileName);\n\t\t\tArrayList<User1> userList; // = new ArrayList<User1>();\n\t\t\tObjectMapper mapper = new ObjectMapper();\n\t\t\t// Tramite la funzione readValue riottengo la lista degli utenti a partire dalla stringa con codifica JSON\n\t\t\t//userList = mapper.readValue(fileIn, new TypeReference<ArrayList<User1>>());\n\t\t\tUser1[] array = mapper.readValue(fileIn, User1[].class);\n\t\t\tuserList=new ArrayList<>(Arrays.asList(array));\n\t\t\tfor(User1 userWrapped : userList) // Per ogni utente nella lista, riottengo l'oggetto User, andando a ripopolare il Realm (ripristino)\n\t\t\t{\n\t\t\t\tUser user = new User(userWrapped.getIdentifier(), userWrapped.getSecret());\n\t\t\t\trealm.getUsers().add(user); // Aggiungo l'utente alla lista\n\t\t\t}\n\t\t\tfileIn.close();\n\t\t} catch (IOException e){\n\t\t\tif(fileIn!=null)fileIn.close();\n\t \tthrow e;\n\t\t}\n\n\t}",
"public List<User> listUsers() throws IOException, ClassNotFoundException {\n\t\treturn list(User.class);\n\t}",
"public static void loadArrayList() throws IOException\n\t{\n\t\tString usersXPFile = \"UsersXP.txt\";\n\t\t\n\t\tFile file = new File(usersXPFile);\n\t\t\n\t\tScanner fileReader;\n\t\t\n\t\tif(file.exists())\n\t\t{\n\t\t\tfileReader = new Scanner(file);\n\t\t\twhile(fileReader.hasNext())\n\t\t\t\tuserDetail1.add(userData.addNewuser(fileReader.nextLine().trim()));\n\t\t\tfileReader.close();\n\t\t}\n\t\telse overwriteFile(usersXPFile, \"\");\n\t\t\n\t\t\n\t}",
"public static void exportUserList() throws IOException {\r\n\t\tObjectOutputStream out = new ObjectOutputStream(\r\n\t\t\t\tnew BufferedOutputStream(\r\n\t\t\t\t\t\tnew FileOutputStream(\"userList.dat\")));\r\n\t\tout.writeObject(userList);\r\n\t\tout.close();\r\n\t}",
"@SuppressWarnings(\"unchecked\")\n private Map<String, String> getUsers() {\n try {\n return (HashMap<String, String>) FileUtil.getInstance().readObjectFromFile(openFileInput(\"users.ser\"));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n return new HashMap<>();\n }",
"public List<User> getUserList()\r\n\t{\r\n\t//\tGet the user list\r\n\t//\r\n\t\treturn identificationService.loadUserList();\r\n\t}",
"static void loadUser() {\n\t\tScanner inputStream = null; // create object variable\n\n\t\ttry { // create Scanner object & assign to variable\n\t\t\tinputStream = new Scanner(new File(\"user.txt\"));\n\t\t\tinputStream.useDelimiter(\",\");\n\t\t} catch (FileNotFoundException e) {\n\t\t\tSystem.out.println(\"No User Infomation was Loaded\");\n\t\t\t// System.exit(0);\n\t\t\treturn;\n\t\t}\n\n\t\ttry {\n\t\t\twhile (inputStream.hasNext()) {\n\n\t\t\t\tString instanceOf = inputStream.next();\n\n\t\t\t\tString readUserName = inputStream.next();\n\t\t\t\tString readPassword = inputStream.next();\n\t\t\t\tString readEmployeeNumber = inputStream.next();\n\t\t\t\tString readName = inputStream.next();\n\t\t\t\tString readPhone = inputStream.next();\n\t\t\t\tString readEmail = inputStream.next();\n\t\t\t\tif (instanceOf.contains(\"*AD*\")) {\n\t\t\t\t\tAdmin a1 = new Admin(readUserName, readPassword, readEmployeeNumber, readName, readPhone,\n\t\t\t\t\t\t\treadEmail);\n\t\t\t\t\tuserInfoArray.add(a1);\n\t\t\t\t\t//System.out.println(\"Read an Admin User: \" + ((User) a1).getUserName() + \" \" + a1.getPassword() + \" \"+ a1.getEmployeeNum());\n\t\t\t\t} else if (instanceOf.contains(\"*CC*\")) {\n\t\t\t\t\tCourseCoordinator a1 = new CourseCoordinator(readUserName, readPassword, readEmployeeNumber,\n\t\t\t\t\t\t\treadName, readPhone, readEmail);\n\t\t\t\t\tuserInfoArray.add(a1);\n\t\t\t\t\t//System.out.println(\"Read an CC User: \" + ((User) a1).getUserName() + \" \" + a1.getPassword() + \" \"+ a1.getEmployeeNum());\n\t\t\t\t} else if (instanceOf.contains(\"*AP*\")) {\n\t\t\t\t\tApproval a1 = new Approval(readUserName, readPassword, readEmployeeNumber, readName, readPhone,\n\t\t\t\t\t\t\treadEmail);\n\t\t\t\t\tuserInfoArray.add(a1);\n\t\t\t\t\t//System.out.println(\"Read an Approval User: \" + ((User) a1).getUserName() + \" \" + a1.getPassword()+ \" \" + a1.getEmployeeNum());\n\t\t\t\t} else if (instanceOf.contains(\"*CA*\")) {\n\t\t\t\t\tCasual a1 = new Casual(readUserName, readPassword, readEmployeeNumber, readName, readPhone,\n\t\t\t\t\t\t\treadEmail);\n\t\t\t\t\ta1.setHrly_rate(inputStream.nextInt());\n\t\t\t\t\tuserInfoArray.add(a1);\n\t\t\t\t\t//System.out.println(\"Read an Casual User: \" + ((User) a1).getUserName() + \" \" + a1.getPassword()+ \" \" + a1.getEmployeeNum());\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (IllegalStateException e) {\n\t\t\tSystem.err.println(\"Could not read from the file\");\n\t\t} catch (InputMismatchException e) {\n\t\t\tSystem.err.println(\"Something wrong happened while reading the file\");\n\t\t}\n\t\tinputStream.close();\n\t}",
"public static List<User> getUserFromJson(String filename){\n \tString s = readJsonFile(filename);\n \tList<User> users = JSONObject.parseArray(s, User.class);\n \treturn users;\n }",
"public List<User> loadUsers() throws PersistentDataStoreException {\n\n List<User> users = new ArrayList<>();\n\n // Retrieve all users from the datastore.\n Query query = new Query(\"chat-users\");\n PreparedQuery results = datastore.prepare(query);\n\n for (Entity entity : results.asIterable()) {\n try {\n UUID uuid = UUID.fromString((String) entity.getProperty(\"uuid\"));\n String userName = (String) entity.getProperty(\"username\");\n String password = (String) entity.getProperty(\"password\");\n Instant creationTime = Instant.parse((String) entity.getProperty(\"creation_time\"));\n // Note that any users created prior to this point will not be\n // blocked, because\n // this fails open.\n boolean blocked = Boolean.parseBoolean((String) entity.getProperty(\"blocked\"));\n\n User user = new User(uuid, userName, password, creationTime, blocked);\n users.add(user);\n } catch (Exception e) {\n // In a production environment, errors should be very rare.\n // Errors which may\n // occur include network errors, Datastore service errors,\n // authorization errors,\n // database entity definition mismatches, or service mismatches.\n throw new PersistentDataStoreException(e);\n }\n }\n\n return users;\n }",
"public static ObservableList<User> readApp() throws IOException, ClassNotFoundException{\n \t//create the file if it doesn't exist\n \tFile temp = new File(\"photoData/users.dat\");\n \ttemp.createNewFile();\n \t\n \tObservableList<User> gapp = FXCollections.observableArrayList();\n \tObjectInputStream ois = null;\n \ttry{\n \t\tois = new ObjectInputStream(new FileInputStream(storeFile));\n \t} catch(EOFException e) {\n\t\t\treturn gapp;\n\t\t}\n \t\n \t//read the .dat file and populate the obsList (list of users)\n \twhile(true) {\n \t\ttry {\n \t\t\tgapp.add(new User((String)ois.readObject()));\n \t\t} catch (EOFException e) {\n \t\t\treturn gapp;\n \t\t}\n \t}\n }",
"private ArrayList<BookOfUser> loadBooksOfUser(InputStream is) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(is));\r\n\t\tStringBuilder jsonFileContent = new StringBuilder();\r\n\t\t//read line by line from file\r\n\t\tString nextLine = null;\r\n\t\twhile ((nextLine = br.readLine()) != null){\r\n\t\t\tjsonFileContent.append(nextLine);\r\n\t\t}\r\n\r\n\t\tGson gson = new Gson();\r\n\t\t//this is a require type definition by the Gson utility so Gson will \r\n\t\t//understand what kind of object representation should the json file match\r\n\t\tType type = new TypeToken<ArrayList<BookOfUser>>(){}.getType();\r\n\t\tArrayList<BookOfUser> bookOfUser = gson.fromJson(jsonFileContent.toString(), type);\r\n\t\t//close\r\n\t\tbr.close();\t\r\n\t\treturn bookOfUser;\r\n\t}",
"public static ListOfUsers readUsersFromFile(String filePath, SocialNetwork r) throws FileNotFoundException {\n Scanner scan = new Scanner(new File(filePath));\n ListOfUsers instance = r.getListOfUsers();\n Map<String, User> userMap = new LinkedHashMap<>();\n String nickName = \"\";\n String email = \"\";\n List<City> cities = new LinkedList();\n Map<User, Set<String>> friendsMap = new HashMap<>();\n Set<String> friends = new HashSet();\n Map<User, Set<User>> finalmap = new HashMap<>();\n while (scan.hasNext()) {\n \n friends = new HashSet();\n String firstLine = scan.next();\n String secondLine = scan.next();\n String[] splitFirstLine = firstLine.split(\",\");\n nickName = splitFirstLine[0];\n email = splitFirstLine[1];\n cities = getCitiesFromString(firstLine, r);\n friends = getFriendsFromString(secondLine, r);\n Object[] aux = cities.toArray();\n City currentCity = (City) aux[0];\n\n User newUser = new User(nickName, email, currentCity.getCityName(), cities, 0);\n \n for (City c : newUser.getCitiesVisited()) {\n newUser.setVisitPoints(newUser.getVisitPoints() + c.getNumberOfPointsAwarded());\n }\n \n friendsMap.put(newUser, friends);\n userMap.put(newUser.getNickname(), newUser);\n \n }\n instance.setUserMap(userMap);\n for (User u :userMap.values()) {\n for (User u2 :friendsMap.keySet()) \n {\n if(u.equals(u2)){\n for (String friend : friendsMap.get(u2)) {\n instance.addFriend(u.getNickname(),friend);\n }\n \n }\n }\n }\n// for (User u : friendsMap.keySet()) {\n// \n// Set<User> aux=new HashSet<>();\n//\n// finalmap.put(u, aux);\n// \n// }\n return instance;\n\n }",
"@Override\r\n\tpublic ArrayList<UserClass> readUsers(String address) {\n\t\treturn null;\r\n\t}",
"protected void getUserList() {\n\t\tmyDatabaseHandler db = new myDatabaseHandler();\n\t\tStatement statement = db.getStatement();\n\t\t// db.createUserTable(statement);\n\t\tuserList = new ArrayList();\n\t\tsearchedUserList = new ArrayList();\n\t\tsearchedUserList = db.getUserList(statement);\n\t\tuserList = db.getUserList(statement);\n\t\tusers.removeAllElements();\n\t\tfor (User u : userList) {\n\t\t\tusers.addElement(u.getName());\n\t\t}\n\t}",
"private ArrayList<BookLikedByUser> loadBooksLikedByUser(InputStream is) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(is));\r\n\t\tStringBuilder jsonFileContent = new StringBuilder();\r\n\t\t//read line by line from file\r\n\t\tString nextLine = null;\r\n\t\twhile ((nextLine = br.readLine()) != null){\r\n\t\t\tjsonFileContent.append(nextLine);\r\n\t\t}\r\n\r\n\t\tGson gson = new Gson();\r\n\t\t//this is a require type definition by the Gson utility so Gson will \r\n\t\t//understand what kind of object representation should the json file match\r\n\t\tType type = new TypeToken<ArrayList<BookLikedByUser>>(){}.getType();\r\n\t\tArrayList<BookLikedByUser> bookLikedByUser = gson.fromJson(jsonFileContent.toString(), type);\r\n\t\t//close\r\n\t\tbr.close();\t\r\n\t\treturn bookLikedByUser;\r\n\t}",
"public UserList()\n\t\t{\n\t\t\tusers = new ArrayList<User>();\n\t\t}",
"public ArrayList<User> loadUserCatalogue() \r\n\t{ \r\n\t\t\r\n\t\tfile = new File(\"resources/mediaproject.properties\");\r\n\t\tProperties prop = new Properties();\r\n\t\tFileInputStream input = null;\r\n\t\t\r\n\t\t\r\n\t\ttry \r\n\t\t{\r\n\t\t \r\n\t\t input = new FileInputStream(file);\r\n\t\t prop.load(input); //loads the stream to the property class\r\n\t\t}\r\n\t\tcatch (FileNotFoundException fnf)\r\n\t\t{\r\n\t\t\tfnf.printStackTrace();\r\n\t\t}\r\n\t\tcatch (IOException ioe)\r\n\t\t{\r\n\t\t\tioe.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\ttry {\r\n\t\t\tinput.close();\r\n\t\t} catch (IOException io) {\r\n\t\t\tio.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\tthis.userTable = prop.getProperty(\"userCatalogueTable\");\r\n\t\tthis.file = new File(this.userTable);\r\n\t\t\r\n\t\tif(!(this.file.exists()))\r\n\t\t{\r\n\t\t\tthis.uList = new ArrayList<User>();\r\n\t\t\tObjectOutputStream oos;\r\n\t\t\ttry{\r\n\t\t\t\toos = new ObjectOutputStream(new FileOutputStream(this.file));\r\n\t\t\t\toos.writeObject(this.uList);\r\n\t\t\t\toos.flush();\r\n\t\t\t\toos.close();\r\n\t\t\t}\r\n\t\t\tcatch (FileNotFoundException fnf)\r\n\t\t\t{\r\n\t\t\t\tfnf.printStackTrace();\r\n\t\t\t}\r\n\t\t\tcatch(IOException ioe)\r\n\t\t\t{\r\n\t\t\t\tioe.printStackTrace();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\ttry {\r\n\t\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(this.file));\r\n\t\t\tthis.uList = (ArrayList<User>) ois.readObject();\r\n\t\t\tois.close();\r\n\t\t}\r\n\t\tcatch (ClassNotFoundException cnf)\r\n\t\t{\r\n\t\t\tcnf.printStackTrace();\r\n\t\t}\r\n\t\tcatch (FileNotFoundException fnf)\r\n\t\t{\r\n\t\t\tfnf.printStackTrace();\r\n\t\t}\r\n\t\tcatch (IOException io)\r\n\t\t{\r\n\t\t\tio.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\treturn this.uList;\r\n\t\t\r\n\t}",
"java.util.List<com.heroiclabs.nakama.api.User> \n getUsersList();",
"public List<User> getUserList();",
"public ArrayList<User> getUserList () {\n return (ArrayList<User>)Users.clone();\n \n }",
"private List<User> readFromFile() {\n\n List<String> lines = new ArrayList<>();\n List<User> contactList = new ArrayList<>();\n Map<String, PhoneNumber> phoneNumbersNewUser = new HashMap<>();\n\n try (BufferedReader in = new BufferedReader(new FileReader(contactsFile))) {\n String line;\n while ((line = in.readLine()) != null) {\n lines.add(line);\n }\n\n } catch (IOException ex) {\n System.out.println(\"File not found \\n\" + ex);\n ;\n }\n\n for (String line : lines) {\n String[] userProperties = line.split(\"\\\\|\");\n\n int id = Integer.parseInt(userProperties[0]);\n String fName = userProperties[1];\n String lName = userProperties[2];\n String email = userProperties[3];\n int age = Integer.parseInt(userProperties[4]);\n String[] phones = userProperties[5].split(\"\\\\,\");\n String[] homePhone = phones[0].split(\"\\\\_\");\n String[] mobilePhone = phones[1].split(\"\\\\_\");\n String[] workPhone = phones[2].split(\"\\\\_\");\n phoneNumbersNewUser.put(homePhone[0], new PhoneNumber(homePhone[1], homePhone[2]));\n phoneNumbersNewUser.put(mobilePhone[0], new PhoneNumber(mobilePhone[1], mobilePhone[2]));\n phoneNumbersNewUser.put(workPhone[0], new PhoneNumber(workPhone[1], workPhone[2]));\n String[] homeAdress = userProperties[6].split(\"\\\\,\");\n Address homeAdressNewUser = new Address(homeAdress[0], Integer.parseInt(homeAdress[1]), Integer.parseInt(homeAdress[2]),\n homeAdress[3], homeAdress[4], homeAdress[5], homeAdress[6]);\n String title = userProperties[7];\n String[] companyProperties = userProperties[8].split(\"\\\\_\");\n String[] companyAddress = companyProperties[1].split(\"\\\\,\");\n Address companyAddressNewUser = new Address(companyAddress[0], Integer.parseInt(companyAddress[1]),\n Integer.parseInt(companyAddress[2]), companyAddress[3], companyAddress[4], companyAddress[5],\n companyAddress[6]);\n String companyName = companyProperties[0];\n Company companyNewUser = new Company(companyName, companyAddressNewUser);\n boolean isFav = Boolean.parseBoolean(userProperties[9]);\n User user = new User(id, fName, lName, email, age, phoneNumbersNewUser, homeAdressNewUser, title, companyNewUser, isFav);\n contactList.add(user);\n }\n\n\n return contactList;\n }",
"public UserDirectory() {\n\t\tusers = new LinkedAbstractList<User>(100);\n\t}",
"private static void initUsers() {\n\t\tusers = new ArrayList<User>();\n\n\t\tusers.add(new User(\"Majo\", \"abc\", true));\n\t\tusers.add(new User(\"Alvaro\", \"def\", false));\n\t\tusers.add(new User(\"Luis\", \"ghi\", true));\n\t\tusers.add(new User(\"David\", \"jkl\", false));\n\t\tusers.add(new User(\"Juan\", \"mno\", true));\n\t\tusers.add(new User(\"Javi\", \"pqr\", false));\n\t}",
"private void createUserList() {\n\t\tif (!userList.isEmpty() && !listUsers.isSelectionEmpty()) {\n\t\t\tlistUsers.clearSelection();\n\t\t}\t\t\n\t\tif (!archivedUserList.isEmpty() && !listArchivedUsers.isSelectionEmpty()) {\n\t\t\tlistArchivedUsers.clearSelection();\n\t\t}\t\t\n\t\tarchivedUserList.clear();\n\t\tuserList.clear();\n\t\tArrayList<User> users = jdbc.get_users();\n\t\tfor (int i = 0; i < users.size(); i++) {\n\t\t\tif (users.get(i).active()) {\n\t\t\t\tuserList.addElement(String.format(\"%s, %s [%s]\", users.get(i).get_lastname(), users.get(i).get_firstname(), users.get(i).get_username()));\n\t\t\t} else {\n\t\t\t\tarchivedUserList.addElement(String.format(\"%s, %s [%s]\", users.get(i).get_lastname(), users.get(i).get_firstname(), users.get(i).get_username()));\n\t\t\t}\t\t\n\t\t}\n\t}",
"private void loadUsers() throws IOException {\n File accounts = new File(\"accounts.txt\");\n if (!accounts.exists()) {\n accounts.createNewFile();\n }\n\n FileInputStream fileInputStream = new FileInputStream(accounts);\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(fileInputStream));\n\n for (String line = bufferedReader.readLine(); line != null; line = bufferedReader.readLine()) {\n String[] pair = line.split(\":\");\n userAccounts.put(pair[0], pair[1]);\n }\n }",
"private void loadUserList()\n\t{\n\t\tfinal ProgressDialog dia = ProgressDialog.show(this, null,\n\t\t\t\tgetString(R.string.alert_loading));\n\t\tParseUser.getQuery().whereNotEqualTo(\"username\", user.getUsername())\n\t\t\t\t.findInBackground(new FindCallback<ParseUser>() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void done(List<ParseUser> li, ParseException e) {\n\t\t\t\t\t\tdia.dismiss();\n\t\t\t\t\t\tif (li != null) {\n\t\t\t\t\t\t\tif (li.size() == 0)\n\t\t\t\t\t\t\t\tToast.makeText(UserList.this,\n\t\t\t\t\t\t\t\t\t\tR.string.msg_no_user_found,\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\n\t\t\t\t\t\t\tuList = new ArrayList<ParseUser>(li);\n\t\t\t\t\t\t\tListView list = (ListView) findViewById(R.id.list);\n\t\t\t\t\t\t\tlist.setAdapter(new UserAdapter());\n\t\t\t\t\t\t\tlist.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t\t\t\t\t\t@Override\n\t\t\t\t\t\t\t\tpublic void onItemClick(AdapterView<?> arg0,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tView arg1, int pos, long arg3) {\n\t\t\t\t\t\t\t\t\tstartActivity(new Intent(UserList.this,\n\t\t\t\t\t\t\t\t\t\t\tChat.class).putExtra(\n\t\t\t\t\t\t\t\t\t\t\tConst.EXTRA_DATA, uList.get(pos)\n\t\t\t\t\t\t\t\t\t\t\t\t\t.getUsername()));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tUtils.showDialog(\n\t\t\t\t\t\t\t\t\tUserList.this,\n\t\t\t\t\t\t\t\t\tgetString(R.string.err_users) + \" \"\n\t\t\t\t\t\t\t\t\t\t\t+ e.getMessage());\n\t\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t}",
"public static void initializeUserList() {\r\n\t\tUser newUser1 = new User(1, \"Elijah Hickey\", \"snhuEhick\", \"4255\", \"Admin\");\r\n\t\tuserList.add(newUser1);\r\n\t\t\r\n\t\tUser newUser2 = new User(2, \"Bob Ross\", \"HappyClouds\", \"200\", \"Employee\");\r\n\t\tuserList.add(newUser2);\r\n\t\t\r\n\t\tUser newUser3 = new User(3, \"Jane Doe\", \"unknown person\", \"0\", \"Intern\");\r\n\t\tuserList.add(newUser3);\r\n\t}",
"public void newUserDirectory() {\n\t\tusers = new LinkedAbstractList<User>(100);\n\t}",
"public Users() {\r\n this.user = new ArrayList<>();\r\n }",
"List<User> getUsers();",
"List<User> getUsers();",
"java.util.List<com.rpg.framework.database.Protocol.User> \n getUsersList();",
"java.util.List<com.rpg.framework.database.Protocol.User> \n getUsersList();",
"public void userListStart() {\n\t\tfor (int i = 0; i < userServices.getAllUsers().length; i++) {\n\t\t\tuserList.add(userServices.getAllUsers()[i]);\n\t\t}\n\t}",
"public void initUsers() {\n User user1 = new User(\"Alicja\", \"Grzyb\", \"111111\", \"grzyb\");\n User user2 = new User(\"Krzysztof\", \"Kowalski\", \"222222\", \"kowalski\");\n User user3 = new User(\"Karolina\", \"Nowak\", \"333333\", \"nowak\");\n User user4 = new User(\"Zbigniew\", \"Stonoga \", \"444444\", \"stonoga\");\n User user5 = new User(\"Olek\", \"Michnik\", \"555555\", \"michnik\");\n users.add(user1);\n users.add(user2);\n users.add(user3);\n users.add(user4);\n users.add(user5);\n }",
"public List<UserData> list() {\n\t\treturn userDAO.list();\r\n\t}",
"@Override\n\tpublic List<User> getList() {\n\t\treturn Lists.newArrayList(userRepository.findAll());\n\t}",
"public void writeUsers() {\n try {\n FileOutputStream fileOut = new FileOutputStream(\"temp/users.ser\");\n ObjectOutputStream out = new ObjectOutputStream(fileOut);\n out.writeObject(users);\n out.close();\n fileOut.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n }",
"private void readFileToUser(String fileName){\r\n\t\tString line = null;\r\n\t\ttry {\r\n\t\t\t// FileReader reads text files in the default encoding.\r\n\t\t\tFileReader fileReader = \r\n\t\t\t\t\tnew FileReader(fileName);\r\n\r\n\t\t\t// Always wrap FileReader in BufferedReader.\r\n\t\t\tBufferedReader bufferedReader = \r\n\t\t\t\t\tnew BufferedReader(fileReader);\r\n\r\n\t\t\twhile((line = bufferedReader.readLine()) != null) {\r\n\t\t\t\tString[] split = line.split(\",\", 3);\r\n\t\t\t\tString username = split[0];\r\n\t\t\t\tString password = split[1];\r\n\t\t\t\tString user = split[2];\r\n\t\t\t\tusers.add(new User(username,password,user));\r\n\r\n\t\t\t} \r\n\t\t\tbufferedReader.close(); \r\n\t\t}\r\n\t\tcatch(FileNotFoundException ex) {\r\n\t\t\tSystem.out.println(\"Unable to open file '\" + fileName + \"'\"); \r\n\t\t}\r\n\t\tcatch(IOException ex) {\r\n\t\t\tSystem.out.println(\"Error reading file '\" + fileName + \"'\"); \r\n\t\t}\r\n\t}",
"public static void writeUserFile(List<User> List) {\n\t\ttry {\n\t\t\tObjectOutputStream writeFile = new ObjectOutputStream(new FileOutputStream(userFile));\n\t\t\twriteFile.writeObject(List);\n\t\t\twriteFile.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public List<Users> getUserList(){\n\t\tList<Users> users = (List<Users>) this.userDao.findAll();\n\t\treturn users;\n\t}",
"@POST(\"/ListUsers\")\n\tCollection<User> listUsers();",
"private void populateUserList() {\n UserAdapter userAdapter = new UserAdapter(this, users.toArray((Map<String, String>[]) new Map[users.size()]));\n lstUsers.setAdapter(userAdapter);\n }",
"@Override\n\tpublic Collection<Users> read() {\n\t\treturn userDAO.readAll();\n\t}",
"public List<TestUser> getAllUsers(){\n\t\tSystem.out.println(\"getting list of users..\");\n\t\tList<TestUser> user=new ArrayList<TestUser>();\n\t\tuserRepositary.findAll().forEach(user::add);\n\t\t//System.out.println(\"data: \"+userRepositary.FindById(\"ff80818163731aea0163731b190c0000\"));\n\t\treturn user;\n\t}",
"public List<User> list();",
"public List<User> getUsers();",
"private void loadUserData() {\n\t\tuserData = new UserData();\n }",
"private void getUserList() {\n // GET ENTRIES FROM DB AND TURN THEM INTO LIST \n DefaultListModel listModel = new DefaultListModel();\n Iterator itr = DBHandler.getListOfObjects(\"FROM DBUser ORDER BY xname\");\n while (itr.hasNext()) {\n DBUser user = (DBUser) itr.next();\n listModel.addElement(user.getUserLogin());\n }\n // SET THIS LIST FOR INDEX OF ENTRIES\n userList.setModel(listModel);\n }",
"public static List<User> getUsersList(){\n\t\tWSResponse response = null;\n\t\tList<User> resultList = new ArrayList<User>();\n\t\ttry{\n\t\tPromise<WSResponse> result = WS.url(Utils.getApiUrl()+Urls.GET_USERS_URL)\n\t\t\t\t\t\t\t\t\t\t.setContentType(Urls.CONTENT_TYPE_JSON)\n\t\t\t\t\t\t\t\t\t\t.get();\n\t\tresponse = result.get(10000);\n\t\tGson gson = new Gson();\n\t\tUser[] users = gson.fromJson(response.getBody(), User[].class);\n\t\tfor(int i=0; i<users.length; i++){\n\t\t\tresultList.add(users[i]);\n\t\t}\n\t\t} catch(Exception exception){\n\t\t\tController.flash(Messages.ERROR, Messages.CANT_LOAD_USERS + exception);\n\t\t}\n\t\treturn resultList;\n\t}",
"public ObservableList<String> getListUser()\n {\n ObservableList<String> list = null;\n pw.println(9);\n try\n {\n ArrayList<String> s = (ArrayList<String>) ois.readObject();\n list = FXCollections.observableArrayList(s);\n\n }\n catch (IOException | ClassNotFoundException e)\n {\n System.out.println(e.getMessage());\n }\n return list;\n }",
"public List createUserList()\r\n{\r\n\tUser madhu=new User(\"[email protected]\", \"madhu\");\r\n\tUser krishna=new User(\"[email protected]\", \"krishna\");\t\r\n\r\n\tList listOfUsers = new ArrayList();\r\n\tlistOfUsers.add(madhu);\r\n\tlistOfUsers.add(krshna);\r\n\treturn listOfUsers;\r\n}",
"List<KingdomUser> getUsers();",
"public Map<Integer, List<String>> getUsers() {\n\t\tMap<Integer, List<String>> userMap = new HashMap<Integer, List<String>>();\n\t\tList<String> userData = new ArrayList<String>();\n\t\t\n\t\t// Step 1: read the data.csv file\n\t\t// STep 2: fill out the userMap and userData\n\t\t// userID is the key, everything else is userData\n\t\t\n\t\treturn userMap;\n\t}",
"public static void getXMLUserList() {\n\t\t// Make some local arrays to use below\n\t\tArrayList<Student> activeList = new ArrayList<Student>();\n\t\tArrayList<Student> archiveList = new ArrayList<Student>();\n\t\ttry {\n\t\t\tFile xmlFile = new File(\"Users.xml\");\n\t\t\tDocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder builder = factory.newDocumentBuilder();\n\t\t\tDocument users = builder.parse(xmlFile);\n\t\t\t\n\t\t NodeList studentNodes = users.getElementsByTagName(\"student\");\n\t\t for(int i = 0; i < studentNodes.getLength(); i++) { // Go through each student node\n\t\t \t\n\t\t Node studentNode = studentNodes.item(i);\n\t\t if(studentNode.getNodeType() == Node.ELEMENT_NODE) {\n\t\t Element studentEl = (Element) studentNode;\n\t\t // Get the student's info (and convert types when necessary)\n\t\t String fn = studentEl.getElementsByTagName(\"firstName\").item(0).getTextContent();\n\t\t String ln = studentEl.getElementsByTagName(\"lastName\").item(0).getTextContent();\n\t\t String id = studentEl.getElementsByTagName(\"ucid\").item(0).getTextContent();\n\t\t int ucid = Integer.parseInt(id);\n\t\t String cB = studentEl.getElementsByTagName(\"currentBorrowing\").item(0).getTextContent();\n\t\t int cb = Integer.parseInt(cB);\n\t\t String iA = studentEl.getElementsByTagName(\"isActive\").item(0).getTextContent();\n\t\t boolean ia = Boolean.parseBoolean(iA);\n\t\t String username = studentEl.getElementsByTagName(\"username\").item(0).getTextContent();\n\t\t String pW = studentEl.getElementsByTagName(\"password\").item(0).getTextContent();\n\t\t String iL = studentEl.getElementsByTagName(\"isLibrarian\").item(0).getTextContent();\n\t\t boolean isLib = Boolean.parseBoolean(iL);\n\t\t \n\t\t // And then create all a new instance of Student with the info\n\t\t\t Student newStudent = new Student(fn, ln, ucid, cb, ia, username, pW, isLib);\n\t\t\t // Put the newly created student in the right list\n\t\t\t if(ia) {\n\t\t\t \tactiveList.add(newStudent);\n\t\t\t } else {\n\t\t\t \tarchiveList.add(newStudent);\n\t\t\t }\n\t\t }\n\t\t }\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Something went wrong with the Users.xml parsing\");\n\t\t\tSystem.out.println(e);\n\t\t}\n\t\t// Store our arrays so they are accessible elsewhere\n\t\tManageUsers.setActiveList(activeList);\n\t\tManageUsers.setArchiveList(archiveList);\n\t}",
"public List<User> getUserList() {\n\t\treturn userList;\n\t}",
"List<String> loadAllUserNames();",
"public List<User> listUsers(String userName);",
"@Override\n\tpublic List<User> getUserList() {\n\t\treturn userDao.getList();\n\t}",
"public static List<User> createUserList() {\r\n\t\tList<User> users = new ArrayList<User>();\r\n\t\t\r\n\t\tusers.add(createUser(1, \"Isha\", \"Khandelwal\", \"[email protected]\", \"ishaa\", \"ThinkHR\"));\r\n\t\tusers.add(createUser(2, \"Sharmila\", \"Tagore\", \"[email protected]\", \"stagore\", \"ASI\"));\r\n\t\tusers.add(createUser(3, \"Surabhi\", \"Bhawsar\", \"[email protected]\", \"sbhawsar\", \"Pepcus\"));\r\n\t\tusers.add(createUser(4, \"Shubham\", \"Solanki\", \"[email protected]\", \"ssolanki\", \"Pepcus\"));\r\n\t\tusers.add(createUser(5, \"Ajay\", \"Jain\", \"[email protected]\", \"ajain\", \"TCS\"));\r\n\t\tusers.add(createUser(6, \"Sandeep\", \"Vishwakarma\", \"[email protected]\", \"svishwakarma\", \"CIS\"));\r\n\t\tusers.add(createUser(7, \"Sushil\", \"Mahajan\", \"[email protected]\", \"smahajan\", \"ASI\"));\r\n\t\tusers.add(createUser(8, \"Sumedha\", \"Wani\", \"[email protected]\", \"swani\", \"InfoBeans\"));\r\n\t\tusers.add(createUser(9, \"Mohit\", \"Jain\", \"[email protected]\", \"mjain\", \"Pepcus\"));\r\n\t\tusers.add(createUser(10, \"Avi\", \"Jain\", \"[email protected]\", \"ajain\", \"Pepcus\"));\r\n\t\t\r\n\t\treturn users;\r\n\t}",
"@SuppressWarnings(\"unchecked\") //suppressing the warning for casting the object as a list.\n\tpublic void start(Stage mainStage) throws IOException, ClassNotFoundException {\n\t\t//load list of users from file.\n\t\tList<User> users = new ArrayList<>();\n\t\t\n\t\t//if file exists, set serialized data\n\t\ttry {\n\t\t\tObjectInputStream ois = new ObjectInputStream(new FileInputStream(\"data\" + File.separator + \"users.dat\"));\n\t\t\tusers = (List<User>) ois.readObject();\n\t\t\tUserState.setAllUsers(users);\n\t\t\tois.close();\n\t\t}catch(Exception e) {\n\t\t\t//do nothing;\n\t\t}\n\t\t\n\t\t//if stock doesn't exist, add it. In case the serialized file gets deleted.\n\t\tif(UserState.getAllUsers().isEmpty()) {\n\t\t\tUser stock = new User(\"stock\");\n\t\t\tAlbum album = new Album(\"Animals\");\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/angryCat.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/fox.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/lion.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/tigerPlays.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/animals/zebras.jpg\")));\n\t\t\tstock.addAlbum(album);\n\n\t\t\talbum = new Album(\"Flowers\");\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/flowers/prettyFlower.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/flowers/rainbowFlowers.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/flowers/sunflower.jpg\")));\n\t\t\tstock.addAlbum(album);\n\t\t\t\n\t\t\talbum = new Album(\"Landscapes\");\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/lake.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/mountain.jpg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/pier.jpeg\")));\n\t\t\talbum.addPhoto(new Photo (new File(\"resources/stock/landscapes/waterfall.jpeg\")));\n\t\t\tstock.addAlbum(album);\n\t\t\t\n\t\t\tUserState.getAllUsers().add(stock);\n\t\t}\n\t\t\n\t}",
"public ArrayList<UserDataBean> list() {\n/* 80 */ String firstname = \"\";\n/* 81 */ String lastname = \"\";\n/* 82 */ String email = \"\";\n/* */ \n/* 84 */ Connection conn = null;\n/* 85 */ PreparedStatement pstmt = null;\n/* 86 */ ResultSet rs = null;\n/* */ \n/* 88 */ ArrayList<UserDataBean> list = new ArrayList<UserDataBean>();\n/* 89 */ String sql = \"select * from members\";\n/* */ \n/* */ try {\n/* 92 */ conn = getConn();\n/* 93 */ System.out.println(\"db접속 성공\");\n/* 94 */ pstmt = conn.prepareStatement(sql);\n/* 95 */ rs = pstmt.executeQuery();\n/* */ \n/* 97 */ while (rs.next()) {\n/* 98 */ UserDataBean user = new UserDataBean(firstname, lastname, email);\n/* */ \n/* 100 */ user.setFirstname(rs.getString(\"firstname\"));\n/* 101 */ user.setLastname(rs.getString(\"lastname\"));\n/* 102 */ user.setEmail(rs.getString(\"email\"));\n/* */ \n/* 104 */ list.add(user);\n/* */ }\n/* */ \n/* 107 */ } catch (Exception e) {\n/* 108 */ e.printStackTrace();\n/* */ } finally {\n/* 110 */ closeDB();\n/* */ } \n/* */ \n/* 113 */ return list;\n/* */ }",
"public List<Utilizator> listUsers();",
"public static void datafile() throws IOException {\n // Create avro records\n User user1 = new User();\n user1.setName(\"Alyssa\");\n user1.setFavoriteNumber(256);\n User user2 = new User(\"Ben\", 7, \"red\");\n User user3 = User.newBuilder()\n .setName(\"Charlie\")\n .setFavoriteColor(\"blue\")\n .setFavoriteNumber(null)\n .build();\n\n File file = new File(\"/tmp/users.avro\");\n\n // Serialize user1, user2 and user3 to disk\n DatumWriter<User> userDatumWriter = new SpecificDatumWriter<>(User.class);\n DataFileWriter<User> dataFileWriter = new DataFileWriter<>(userDatumWriter);\n dataFileWriter.create(user1.getSchema(), new File(\"/tmp/users.avro\"));\n dataFileWriter.append(user1);\n dataFileWriter.append(user2);\n dataFileWriter.append(user3);\n dataFileWriter.close();\n\n // Deserialize Users from disk\n DatumReader<User> userDatumReader = new SpecificDatumReader<>(User.class);\n DataFileReader<User> dataFileReader = new DataFileReader<>(file, userDatumReader);\n User user = null;\n while (dataFileReader.hasNext()) {\n // Reuse user object by passing it to next(). This saves us from\n // allocating and garbage collecting many objects for files with\n // many items.\n user = dataFileReader.next(user);\n System.out.println(user);\n }\n }",
"private void readUsers(String filter) {\n Filter userFilter = Filter.createORFilter(\n Filter.createSubAnyFilter(\"cn\", filter),\n Filter.createSubAnyFilter(\"sn\", filter),\n Filter.createSubAnyFilter(\"givenname\", filter)\n );\n\n SearchResult searchResult = OpenLDAP.searchUser(userFilter);\n for (int i = 0; i < searchResult.getEntryCount(); i++) {\n SearchResultEntry entry = searchResult.getSearchEntries().get(i);\n User user = new User();\n user.setDistinguishedName(entry.getDN());\n user.setUsername(entry.getAttributeValue(\"cn\"));\n user.setFirstname(entry.getAttributeValue(\"givenname\"));\n user.setLastname(entry.getAttributeValue(\"sn\"));\n user.setEmail(entry.getAttributeValue(\"mail\"));\n user.setMobile(entry.getAttributeValue(\"mobile\"));\n getUsers().put(user.getUsername(), user);\n }\n }",
"public UserList list();",
"public void loadAllUsers(String filename) throws Exception {\r\n BufferedReader br = new BufferedReader(new FileReader(filename));\r\n String name;\r\n try {\r\n while ((name = br.readLine()) != null)\r\n addUser(name);\r\n } catch (Exception e) {\r\n throw new Exception(\"Error: File not Readable\");\r\n }\r\n }",
"public static User LoadUser(String username) {\n //if user is open it will just return it\n for (User user: openUsers)\n if (user.getUsername().equals(username))\n return user;\n File dir = FileHandler.loadFile(\"users.directory\");\n\n if (dir != null) {\n try {\n File userFile = new File(dir.getPath() + \"/\" + username + \"/user.data\");\n if (!userFile.exists())\n return null;\n Reader reader = new FileReader(userFile.getPath());\n User user = GsonHandler.getGson().fromJson(reader, User.class);\n reader.close();\n openUsers.add(user);\n return user;\n } catch (IOException fileNotFoundException) {\n fileNotFoundException.printStackTrace();\n logger.error(\"couldn't load User\" + username + \" File!\");\n }\n }\n else {\n logger.fatal(\"users Dir doesnt exist!\");\n }\n return null;\n }",
"public List<PojoUser> getUsers() {\n\t\tList<PojoUser> pojoUsers = new ArrayList<PojoUser>();\n\t\tfor (User u : repo.getUsers()) {\n\t\t\t\n\t\t\tPojoUser pojo = new PojoUser();\n\t\t\tpojo.setFullName(u.getFullName());\n\t\t\tpojo.setMail(u.getEmail());\n\t\t\t\n\t\t\tpojoUsers.add(pojo);\n\t\t}\n\t\treturn pojoUsers;\n\t}",
"private void loadUser() {\n File dataFile = new File(getFilesDir().getPath() + \"/\" + DATA_FILE);\n\n if(dataFile.exists()) {\n loadData();\n } else { // First time CigCount is launched\n user = new User();\n }\n }",
"public List<UserDTO> getUsers();"
]
| [
"0.76664186",
"0.75237554",
"0.7388337",
"0.7294838",
"0.7288218",
"0.7252645",
"0.7203383",
"0.7086292",
"0.7068771",
"0.70085245",
"0.7003454",
"0.700181",
"0.6964725",
"0.69618386",
"0.69314283",
"0.68810654",
"0.68680495",
"0.6858074",
"0.6807721",
"0.65864104",
"0.6561291",
"0.6532351",
"0.65215546",
"0.6495732",
"0.6486685",
"0.6480871",
"0.6474376",
"0.6470023",
"0.6458064",
"0.6430141",
"0.64198005",
"0.6410208",
"0.6407054",
"0.64067906",
"0.64006346",
"0.6378452",
"0.63756704",
"0.6371528",
"0.6356969",
"0.6352767",
"0.63343894",
"0.6332393",
"0.63317126",
"0.6310666",
"0.62864697",
"0.62737286",
"0.62662894",
"0.62574357",
"0.6251779",
"0.62451845",
"0.6232628",
"0.6205021",
"0.6193206",
"0.6187771",
"0.61840886",
"0.61774224",
"0.6177063",
"0.61615473",
"0.6147857",
"0.6147857",
"0.61309236",
"0.6130265",
"0.6126772",
"0.61069417",
"0.61047316",
"0.6093557",
"0.60900754",
"0.6075602",
"0.60726184",
"0.6065381",
"0.6052981",
"0.6037289",
"0.6033062",
"0.6032458",
"0.6030674",
"0.603026",
"0.60291517",
"0.6026253",
"0.6010754",
"0.5984885",
"0.5983597",
"0.59790325",
"0.597211",
"0.59709346",
"0.5968205",
"0.59635985",
"0.59613574",
"0.59607255",
"0.5960627",
"0.5936553",
"0.59243554",
"0.5917974",
"0.5908782",
"0.58962417",
"0.5889254",
"0.58863443",
"0.5881379",
"0.5879223",
"0.5877738",
"0.5856966"
]
| 0.5857039 | 99 |
Creates the underlying database table. | public static void createTable(SQLiteDatabase db, boolean ifNotExists) {
String constraint = ifNotExists ? "IF NOT EXISTS " : "";
db.execSQL("CREATE TABLE " + constraint + "'BLACK_LIST' (" + //
"'USER_ID' TEXT PRIMARY KEY NOT NULL ," + // 0: userId
"'STATUS' TEXT," + // 1: status
"'TIMESTAMP' INTEGER);"); // 2: timestamp
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"TABLE createTABLE();",
"public void create(Connection db) throws SQLException {\n if (tableName == null) {\n throw new SQLException(\"Table Name not specified\");\n }\n\n Statement st = db.createStatement();\n\n if (dbType == DatabaseUtils.POSTGRESQL) {\n if (hasSequence()) {\n st.executeUpdate(\"CREATE SEQUENCE \" + sequenceName);\n }\n }\n\n StringBuffer sql = new StringBuffer();\n sql.append(\"CREATE TABLE \" + tableName + \" (\");\n\n String primaryKey = \"\";\n Iterator fields = columns.iterator();\n while (fields.hasNext()) {\n DatabaseColumn thisColumn = (DatabaseColumn) fields.next();\n if (thisColumn.isPrimaryKey()) {\n primaryKey = thisColumn.getName();\n sql.append(thisColumn.getCreateSQL(dbType, sequenceName));\n } else {\n sql.append(thisColumn.getCreateSQL(dbType));\n }\n if (fields.hasNext()) {\n sql.append(\",\");\n }\n }\n if (dbType == DatabaseUtils.ORACLE) {\n sql.append(\", PRIMARY KEY (\" + primaryKey + \")\");\n }\n sql.append(\");\");\n st.executeUpdate(sql.toString());\n st.close();\n }",
"Table createTable();",
"public void createTable() throws LRException\n\t{\n\t\tgetBackground();\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\t// Create a new (empty) record\n\t\tcreate(new Hashtable(),myData);\n\t\tif (myData.record==null) throw new LRException(DataRMessages.nullRecord(getName()));\n\t\ttry\n\t\t{\n\t\t\tbackground.newTransaction();\n\t\t\tmyData.record.createNewTable(background.getClient(),true);\n\t\t}\n\t\tcatch (LDBException e) { setStatus(e); }\n\t}",
"public void doCreateTable();",
"private void createTables() throws SQLException\r\n {\r\n createTableMenuItems();\r\n createTableOrdersWaiting();\r\n }",
"public void createTable()\n throws DBException\n {\n try {\n DBProvider.createTable(this);\n } catch (SQLException sqe) {\n throw new DBException(\"Table creation\", sqe);\n }\n }",
"@Override\r\n public Db_db createTable (Db_table table)\r\n {\r\n Db_db db = null;\r\n String query = \"CREATE TABLE IF NOT EXISTS \"+ table.getName() + \" (\"; \r\n String primaryKeyName = null;\r\n Set<Map.Entry<String, Db_tableColumn>> tableEntries;\r\n List<String> listOfUniqueKey = Lists.newArrayList();\r\n \r\n if(curConnection_ != null)\r\n {\r\n try\r\n {\r\n tableEntries = table.getEntrySet();\r\n for(Map.Entry<String, Db_tableColumn> entry: tableEntries)\r\n {\r\n Db_tableColumn entryContent = entry.getValue();\r\n \r\n if(entryContent.isPrimary() && primaryKeyName == null)\r\n {\r\n primaryKeyName = entryContent.getName();\r\n }\r\n else if(entryContent.isPrimary() && primaryKeyName != null)\r\n {\r\n throw new NumberFormatException();\r\n }\r\n \r\n if(itsAttributeMapper_ == null)\r\n {\r\n throw new NumberFormatException();\r\n }\r\n \r\n if(entryContent.isUnique())\r\n {\r\n listOfUniqueKey.add(entryContent.getName());\r\n }\r\n \r\n String mappedAttribute = this.itsAttributeMapper_.MapAttribute(entryContent.getAttributeName());\r\n if(entryContent.getAttribute().isEnum())\r\n {\r\n mappedAttribute += entryContent.getAttribute().buildEnumValueListString();\r\n }\r\n query += entryContent.getName() + \" \" + mappedAttribute \r\n + (entryContent.isAutoIncreasmnet()?\" AUTO_INCREMENT \":\" \")\r\n + (entryContent.isUnique()?\" UNIQUE, \": \", \");\r\n }\r\n \r\n query += \"PRIMARY KEY (\" + primaryKeyName + \"));\";\r\n try (Statement sm = curConnection_.createStatement()) {\r\n sm.executeUpdate(query);\r\n db = this.curDb_;\r\n }\r\n \r\n }catch(NumberFormatException e){System.out.print(e);}\r\n catch(SQLException e){System.out.print(query);this.CurConnectionFailed();}\r\n }\r\n return db;\r\n }",
"public String createTable() {\n\n String statement = \"CREATE TABLE \" + tableName + \"( \";\n\n //go through INTEGER, FLOAT, TEXT columns\n Iterator iterator = Iterables.filter(columns.entrySet(), entry -> entry.getValue().getType() instanceof String).iterator();\n\n while (iterator.hasNext()) {\n Map.Entry<Element, FieldData> fieldDataEntry = (Map.Entry<Element, FieldData>) iterator.next();\n statement += fieldDataEntry.getValue().createColumn() + \",\";\n }\n\n return (new StringBuilder(statement).replace(statement.length() - 1, statement.length(), \"\").toString() + \")\").toUpperCase();\n }",
"private void createDataTable() {\n jdbcTemplate.update(\"CREATE TABLE \" + IDaoEditors.TABLE + \" (ID INT IDENTITY PRIMARY KEY, NAME VARCHAR(150) NOT NULL UNIQUE)\");\n jdbcTemplate.update(\"CREATE TABLE \" + IDaoBooks.TABLE + \" (ID INT IDENTITY PRIMARY KEY, TITLE VARCHAR(150) NOT NULL UNIQUE, YEAR INT, ISBN10 VARCHAR(20), ISBN13 VARCHAR(13), NOTE INT, PAGES_NUMBER INT, RESUME VARCHAR(2000), THE_EDITOR_FK INT, THE_KIND_FK INT, THE_LANGUAGE_FK INT, THE_LENDING_FK INT, THE_SAGA_FK INT, THE_TYPE_FK INT)\");\n jdbcTemplate.update(\"CREATE TABLE \" + IDaoBooks.BOOKS_AUTHOR_TABLE + \" (THE_BOOK_FK INT NOT NULL, THE_AUTHOR_FK INT NOT NULL)\");\n\n jdbcTemplate.update(\"CREATE INDEX BOOK_EDITOR_IDX ON \" + IDaoEditors.TABLE + \"(ID)\");\n jdbcTemplate.update(\"CREATE INDEX BOOKS_IDX ON \" + IDaoBooks.TABLE + \"(ID)\");\n }",
"public static void createTable() {\n\n // Create statement\n Statement statement = null;\n try {\n statement = Database.getDatabase().getConnection().createStatement();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n // Attempt to create table\n try {\n statement.execute(\n \"CREATE TABLE \" + Constants.SANITATION_TABLE + \"(\" +\n \"requestID INT PRIMARY KEY GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1),\" +\n \"nodeID VARCHAR(100) References \" + Constants.LOCATION_TABLE + \" (nodeID), \" +\n \"priority VARCHAR(10), \" +\n \"status VARCHAR(100), \" +\n \"description VARCHAR(100), \" +\n \"requesterID INT REFERENCES \" + Constants.USERS_TABLE + \"(userID), \" +\n \"requestTime TIMESTAMP, \" +\n \"servicerID INT REFERENCES \" + Constants.USERS_TABLE + \"(userID), \" +\n \"claimedTime TIMESTAMP, \" +\n \"completedTime TIMESTAMP, \" +\n \"CONSTRAINT priority_enum CHECK (priority in ('LOW', 'MEDIUM', 'HIGH')), \" +\n \"CONSTRAINT status_enum CHECK (status in ('INCOMPLETE', 'COMPLETE')))\"\n );\n } catch (SQLException | NullPointerException e) {\n e.printStackTrace();\n }\n }",
"TableInstance createTableInstance();",
"public void testCreateTable() {\n LOG.info(\"Entering testCreateTable.\");\n\n // Specify the table descriptor.\n HTableDescriptor htd = new HTableDescriptor(tableName);\n\n // Set the column family name to info.\n HColumnDescriptor hcd = new HColumnDescriptor(\"info\");\n\n // Set data encoding methods,HBase provides DIFF,FAST_DIFF,PREFIX\n // and PREFIX_TREE\n hcd.setDataBlockEncoding(DataBlockEncoding.FAST_DIFF);\n\n // Set compression methods, HBase provides two default compression\n // methods:GZ and SNAPPY\n // GZ has the highest compression rate,but low compression and\n // decompression effeciency,fit for cold data\n // SNAPPY has low compression rate, but high compression and\n // decompression effeciency,fit for hot data.\n // it is advised to use SANPPY\n hcd.setCompressionType(Compression.Algorithm.SNAPPY);\n\n htd.addFamily(hcd);\n\n Admin admin = null;\n try {\n // Instantiate an Admin object.\n admin = conn.getAdmin();\n if (!admin.tableExists(tableName)) {\n LOG.info(\"Creating table...\");\n admin.createTable(htd);\n LOG.info(admin.getClusterStatus());\n LOG.info(admin.listNamespaceDescriptors());\n LOG.info(\"Table created successfully.\");\n } else {\n LOG.warn(\"table already exists\");\n }\n } catch (IOException e) {\n LOG.error(\"Create table failed.\");\n } finally {\n if (admin != null) {\n try {\n // Close the Admin object.\n admin.close();\n } catch (IOException e) {\n LOG.error(\"Failed to close admin \", e);\n }\n }\n }\n LOG.info(\"Exiting testCreateTable.\");\n }",
"public void createTable() {\n\t\tString QUERY = \"CREATE TABLE person (id INT PRIMARY KEY, name VARCHAR(32) NOT NULL, phoneNumber VARCHAR(18) NOT NULL)\";\n\t\ttry (Connection con = DriverManager.getConnection(URL, USER, PASSWORD);\n\t\t\t\tStatement stmt = con.createStatement();) {\n\t\t\tstmt.executeUpdate(QUERY);\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(\"SQL Exception\");\n\t\t}\n\n\t}",
"public TableCreation(Table table) {\n this.table = table;\n }",
"@Override\n\tpublic void createTable(Object connectionHandle, DataTable table) throws DataSourceException\n\t{\n\t\tList<DataField> fields = new LinkedList<DataField>();\n\t\tList<String> indexes = new LinkedList<String>();\n\t\t\n\t\tList<String> keys = table.getFields();\n\t\tIterator<String> it = keys.iterator();\n\t\twhile(it.hasNext()){\n\t\t\tString fld = it.next();\n\t\t\tDataField df = table.getDataField(fld);\n\t\t\t\n\t\t\tfields.add(df);\n\t\t\t\n\t\t//\tif(df.isPrimary()){\n\t\t//\t\tindexes.add(fld);\n\t\t//\t}\n\t\t}\n\t\t\n\t\tIterator<DataField> primaryIt = table.getPrimaryKeys().iterator();\n\t\twhile(primaryIt.hasNext()){\n\t\t\tDataField pf = primaryIt.next();\n\t\t\t\n\t\t\tindexes.add(pf.getName());\n\t\t}\n\t\t\n\t\t\n\t\t// Make SQL String\n\t\tStringBuffer sqlString = new StringBuffer();\n\t\tsqlString.append(\"CREATE TABLE \");\n\t\tsqlString.append(table.getName());\n\t\tsqlString.append(\" ( \\n\");\n\t\t\n\t\tboolean first = true;\n\t\tIterator<DataField> itDf = fields.iterator();\n\t\twhile(itDf.hasNext()){\n\t\t\tDataField fld = itDf.next();\n\t\t\t\n\t\t\tif(first){\n\t\t\t\tfirst = false;\n\t\t\t}else{\n\t\t\t\tsqlString.append(\",\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tsqlString.append(fld.getName());\n\t\t\tsqlString.append(\" \");\n\t\t\tsqlString.append(getSQLType(fld.getType()));\n\t\t\t\n\t\t\t// not null\n\t\t\tif(fld.isNotnull()){\n\t\t\t\tsqlString.append(\" NOT NULL\");\n\t\t\t}\n\t\t\t\n\t\t\t// unique\n\t\t\tif(fld.isUnique()){\n\t\t\t\tsqlString.append(\" UNIQUE\");\n\t\t\t}\n\t\t\t\n\t\t\t// default\n\t\t\tif(fld.getDefaultValue() != null){\n\t\t\t\tsqlString.append(\" \");\n\t\t\t\tsqlString.append(fld.getDefaultString());\n\t\t\t}\n\t\t\t\n\t\t\t// check\n\t\t\tif(fld.getCheck() != null){\n\t\t\t\tsqlString.append(\" \");\n\t\t\t\ttry {\n\t\t\t\t\tsqlString.append(fld.getCheck().extract(null, null, null, null, null));\n\t\t\t\t} catch (ExecutionException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tthrow new DataSourceException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t// check\n\t\tIterator<CheckDefinition> checkIt = table.getCheck().iterator();\n\t\twhile(checkIt.hasNext()){\n\t\t\tCheckDefinition def = checkIt.next();\n\t\t\t\n\t\t\tsqlString.append(\",\\n\");\n\t\t\ttry {\n\t\t\t\tsqlString.append(def.extract(null, null, null, null, null));\n\t\t\t} catch (ExecutionException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tthrow new DataSourceException(e);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// foreign key\n\t\tIterator<ForeignKey> foreignIt = table.getForeignKey().iterator();\n\t\twhile(foreignIt.hasNext()){\n\t\t\tForeignKey fkey = foreignIt.next();\n\t\t\t\n\t\t\tsqlString.append(\",\\n\");\n\t\t\ttry {\n\t\t\t\tsqlString.append(fkey.extract(null, null, null, null, null));\n\t\t\t} catch (ExecutionException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tthrow new DataSourceException(e);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// primary key\n\t\tif(indexes.size() > 0){\n\t\t\tsqlString.append(\",\\n\");\n\t\t\tsqlString.append(\"PRIMARY KEY(\");\n\t\t\t\n\t\t\tfirst = true;\n\t\t\tit = indexes.iterator();\n\t\t\twhile(it.hasNext()){\n\t\t\t\tString idxFld = it.next();\n\t\t\t\t\n\t\t\t\tif(first){\n\t\t\t\t\tfirst = false;\n\t\t\t\t}else{\n\t\t\t\t\tsqlString.append(\", \");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsqlString.append(idxFld);\n\t\t\t}\n\n\t\t\tsqlString.append(\")\");\n\t\t}\n\t\t\n\t\t// unique\n\t\tIterator<Unique> itU = table.getUnique().iterator();\n\t\twhile(itU.hasNext()){\n\t\t\tUnique unique = itU.next();\n\t\t\t\n\t\t\tsqlString.append(\",\\n\");\n\t\t\tsqlString.append(\"UNIQUE(\");\n\t\t\t\n\t\t\tfirst = true;\n\t\t\tIterator<String> itUnique = unique.getKey().iterator();\n\t\t\twhile(itUnique.hasNext()){\n\t\t\t\tString col = itUnique.next();\n\t\t\t\t\n\t\t\t\tif(first){\n\t\t\t\t\tfirst = false;\n\t\t\t\t}else{\n\t\t\t\t\tsqlString.append(\",\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsqlString.append(col);\n\t\t\t}\n\t\t\t\n\t\t\tsqlString.append(\")\");\n\t\t}\n\t\t\n\t\tsqlString.append(\"\\n)\\n\");\n\t\t\n\t\tif(this.logger != null && this.outSql){\n\t\t\tthis.logger.reportInfo(sqlString.toString());\n\t\t}\n\t\t\n\t\t// \n\t\tAlinousDebug.debugOut(core, sqlString.toString());\n\t\t\n\t\texecuteUpdateSQL(connectionHandle, sqlString.toString(), false);\n\n\t}",
"private void createTable() throws Exception{\n Statement stm = this.con.createStatement();\n\n String query = \"CREATE TABLE IF NOT EXISTS \" + tableName +\n \"(name VARCHAR( 15 ) CHARACTER SET utf8 COLLATE utf8_persian_ci NOT NULL ,\" +\n \" city VARCHAR( 15 ) CHARACTER SET utf8 COLLATE utf8_persian_ci NOT NULL ,\" +\n \" phone VARCHAR( 15 ) NOT NULL, \" +\n \"PRIMARY KEY (phone) )\";\n stm.execute(query);\n }",
"private void createTransactionsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE transactions \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY, \"\n\t\t\t\t\t+ \"owner INT, amount DOUBLE, source BIGINT, sourceType VARCHAR(20), target BIGINT, targetType VARCHAR(20), comment VARCHAR(255), time BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table transactions\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of transactions table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}",
"protected void createTable() throws Exception {\n startService();\n assertEquals(true, sqlDbManager.isReady());\n\n Connection conn = sqlDbManager.getConnection();\n assertNotNull(conn);\n assertFalse(sqlDbManager.tableExists(conn, \"testtable\"));\n assertTrue(sqlDbManager.createTableIfMissing(conn, \"testtable\",\n\t\t\t\t\t TABLE_CREATE_SQL));\n assertTrue(sqlDbManager.tableExists(conn, \"testtable\"));\n sqlDbManager.logTableSchema(conn, \"testtable\");\n assertFalse(sqlDbManager.createTableIfMissing(conn, \"testtable\",\n\t\t\t\t\t TABLE_CREATE_SQL));\n }",
"private void CreatTable() {\n String sql = \"CREATE TABLE IF NOT EXISTS \" + TABLE_NAME\n + \" (name varchar(30) primary key,password varchar(30));\";\n try{\n db.execSQL(sql);\n }catch(SQLException ex){}\n }",
"private void createStressTestControlTable() {\n Column runId = new Column(\"RUN_ID\");\n runId.setMappedType(\"INTEGER\");\n runId.setPrimaryKey(true);\n runId.setRequired(true);\n Column clientCommitSleepMs = new Column(\"CLIENT_COMMIT_SLEEP_MS\");\n clientCommitSleepMs.setMappedType(\"BIGINT\");\n Column clientCommitRows = new Column(\"CLIENT_COMMIT_ROWS\");\n clientCommitRows.setMappedType(\"BIGINT\");\n Column serverCommitSleepMs = new Column(\"SERVER_COMMIT_SLEEP_MS\");\n serverCommitSleepMs.setMappedType(\"BIGINT\");\n Column serverCommitRows = new Column(\"SERVER_COMMIT_ROWS\");\n serverCommitRows.setMappedType(\"BIGINT\");\n Column payloadColumns = new Column(\"PAYLOAD_COLUMNS\");\n payloadColumns.setMappedType(\"INTEGER\");\n Column initialSeedSize = new Column(\"INITIAL_SEED_SIZE\");\n initialSeedSize.setMappedType(\"BIGINT\");\n Column duration = new Column(\"DURATION_MINUTES\");\n duration.setMappedType(\"BIGINT\");\n\n Table table = new Table(STRESS_TEST_CONTROL, runId, clientCommitSleepMs, clientCommitRows, serverCommitSleepMs, serverCommitRows,\n payloadColumns, initialSeedSize, duration);\n engine.getDatabasePlatform().createTables(true, true, table);\n }",
"public void createTable() {\r\n\t\tclient.createTable();\r\n\t}",
"private void createTable() {\n try (Statement st = this.conn.createStatement()) {\n st.execute(\"CREATE TABLE IF NOT EXISTS users (user_id SERIAL PRIMARY KEY, name VARCHAR(100) NOT NULL, \"\n + \"login VARCHAR(100) UNIQUE NOT NULL, email VARCHAR(100) NOT NULL, createDate TIMESTAMP NOT NULL);\");\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"public void createTables(){\n Map<String, String> name_type_map = new HashMap<>();\n List<String> primaryKey = new ArrayList<>();\n try {\n name_type_map.put(KEY_SINK_NAME, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_SINK_ADDRESS, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_SINK_DETAIL, MyDatabase.TYPE_VARCHAR);\n primaryKey.add(KEY_SINK_ADDRESS);\n myDatabase.createTable(TABLE_SINK, name_type_map, primaryKey, null);\n }catch (MySQLException e){ //数据表已存在\n e.print();\n }\n try {\n name_type_map.clear();\n name_type_map.put(KEY_NODE_NAME, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_PARENT, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_DETAIL, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_ADDRESS,MyDatabase.TYPE_VARCHAR);\n primaryKey.clear();\n primaryKey.add(KEY_NODE_PARENT);\n primaryKey.add(KEY_NODE_ADDRESS);\n myDatabase.createTable(TABLE_NODE, name_type_map, primaryKey, null);\n }catch (MySQLException e){\n e.print();\n }\n\n try {\n name_type_map.clear();\n name_type_map.put(KEY_NODE_ADDRESS, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_PARENT, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_DATA_TIME, MyDatabase.TYPE_TIMESTAMP);\n name_type_map.put(KEY_DATA_VAL, MyDatabase.TYPE_FLOAT);\n primaryKey.clear();\n primaryKey.add(KEY_DATA_TIME);\n primaryKey.add(KEY_NODE_ADDRESS);\n primaryKey.add(KEY_NODE_PARENT);\n myDatabase.createTable(TABLE_DATA, name_type_map, primaryKey, null);\n }catch (MySQLException e) {\n e.print();\n }\n }",
"public void CreateTable(String nameTable) throws SQLException {\n\n String FEATURE_DB_SQL = \"CREATE TABLE IF NOT EXISTS \" + nameTable + \"(id INT NOT NULL AUTO_INCREMENT, \"\n + FEATURE_DB_TEXTFEATURE + \" VARCHAR(255), \" + FEATURE_DB_ELO + \" INT, \" + FEATURE_DB_MMR + \" INT,\"\n + FEATURE_DB_AUTHOR + \" VARCHAR(255),\"\n +\" PRIMARY KEY ( id ))\";\n\n statement = conn.createStatement();\n statement.executeUpdate(FEATURE_DB_SQL);\n }",
"tbls createtbls();",
"private void createTable() {\n\t\t// Tao dataModel & table \n\t\tdataModel = new DefaultTableModel(headers, 0);\n\t\ttable.setModel(dataModel);\n\t\t\n\t\tnapDuLieuChoBang();\n\t}",
"public void createTable() throws DatabaseException\n\t{\n\t\tConnection connection = DatabaseManager.getSingleton().getConnection();\n\t\ttry\n\t\t{\n\t\t\tClosingPreparedStatement stmt = new ClosingPreparedStatement(connection,\n\t\t\t\t\t\"DROP TABLE IF EXISTS QuestStates\");\n\t\t\tstmt.executeUpdate();\n\t\t\tstmt.close();\n\n\t\t\tstmt = new ClosingPreparedStatement(connection,\n\t\t\t\t\t\"Create TABLE QuestStates (playerID INT NOT NULL, questID INT NOT NULL , questState INT NOT NULL, needingNotification BOOLEAN NOT NULL)\");\n\t\t\tstmt.executeUpdate();\n\t\t} catch (SQLException e)\n\t\t{\n\t\t\tthrow new DatabaseException(\"Unable to create the Quest table\", e);\n\t\t}\n\t}",
"public void createNewTable() throws WoodsException{\n\t\t\tuserTable = new Table(tableName);\n\t\t\tDatabase.get().storeTable(tableName, userTable);\n\t\t}",
"public void createTable(DBTableDescriptor desc)\n throws IOException {\n createTable(desc, null);\n }",
"@Override\r\n public void createTable() {\n String sql = \"create table \" + TABLE_NAME + \"(\";\r\n sql += ID + \" INTEGER primary key,\";\r\n sql += NAME + \" VARCHAR(50),\";\r\n sql += LON + \" FLOAT(10,6),\";\r\n sql += LAT + \" FLOAT(10,6)\";\r\n sql += \")\";\r\n database.execSQL(sql);\r\n }",
"public void createTable(Table table) throws SQLException {\n mysql.update(table.getCreateTableString());\n }",
"public interface TableCreator {\n\t\tpublic void createTable(SQLiteDatabase db, String tableName);\n\t}",
"public String createTable(){\r\n return \"CREATE TABLE Doctor \" +\r\n \"(idDoctor decimal primary key, \" +\r\n \"firstNameDoctor char(14), \" +\r\n \"lastNameDoctor char(14), \" +\r\n \"costPerVisit integer,\" +\r\n \"qualification varchar(32))\";\r\n }",
"@Override\n public void setUp() throws SQLException {\n connection.createStatement().executeUpdate(\n \"CREATE TABLE IF NOT EXISTS \\\"ENTRY\\\" (\" +\n \"\\\"SHARED_ID\\\" SERIAL PRIMARY KEY, \" +\n \"\\\"TYPE\\\" VARCHAR, \" +\n \"\\\"VERSION\\\" INTEGER DEFAULT 1)\");\n\n connection.createStatement().executeUpdate(\n \"CREATE TABLE IF NOT EXISTS \\\"FIELD\\\" (\" +\n \"\\\"ENTRY_SHARED_ID\\\" INTEGER REFERENCES \\\"ENTRY\\\"(\\\"SHARED_ID\\\") ON DELETE CASCADE, \" +\n \"\\\"NAME\\\" VARCHAR, \" +\n \"\\\"VALUE\\\" TEXT)\");\n\n connection.createStatement().executeUpdate(\n \"CREATE TABLE IF NOT EXISTS \\\"METADATA\\\" (\"\n + \"\\\"KEY\\\" VARCHAR,\"\n + \"\\\"VALUE\\\" TEXT)\");\n }",
"private void createTables() throws DatabaseAccessException {\n\t\tStatement stmt = null;\n\t\tPreparedStatement prepStmt = null;\n\n\t\ttry {\n\t\t\tstmt = this.connection.createStatement();\n\n\t\t\t// be sure to drop all tables in case someone manipulated the database manually\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS DynamicConstraints;\");\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS Features;\");\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS Groups;\");\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS Metadata;\");\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS Objects;\");\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS StaticConstraints;\");\n\t\t\tstmt.executeUpdate(\"DROP TABLE IF EXISTS Subspaces;\");\n\n\t\t\t// populate database with tables.. by using ugly sql\n\t\t\tstmt.executeUpdate(\"CREATE TABLE DynamicConstraints(Id INTEGER PRIMARY KEY AUTOINCREMENT,\"\n\t\t\t\t\t+ \" Operator INTEGER, FeatureReference INTEGER,\"\n\t\t\t\t\t+ \" GroupReference INTEGER, Value FLOAT, Active BOOLEAN);\");\n\t\t\tstmt.executeUpdate(\"CREATE TABLE Features(Id INTEGER PRIMARY KEY AUTOINCREMENT,\" + \" Name VARCHAR(\"\n\t\t\t\t\t+ DatabaseConfiguration.VARCHARLENGTH + \"), OutlierFlag BOOLEAN, Min FLOAT, Max FLOAT);\");\n\t\t\tstmt.executeUpdate(\"CREATE TABLE Groups(Id INTEGER PRIMARY KEY AUTOINCREMENT, Name VARCHAR(\"\n\t\t\t\t\t+ DatabaseConfiguration.VARCHARLENGTH + \"),\"\n\t\t\t\t\t+ \" Visibility BOOLEAN, Color INTEGER, ColorCalculatedByFeature INTEGER, Description TEXT);\");\n\t\t\tstmt.executeUpdate(\"CREATE TABLE Metadata(Version INTEGER);\");\n\n\t\t\t// Object table is created in initFeatures, to boost performance\n\n\t\t\tstmt.executeUpdate(\"CREATE TABLE StaticConstraints(Id INTEGER, GroupReference INTEGER,\"\n\t\t\t\t\t+ \" ObjectReference INTEGER, Active BOOLEAN);\");\n\t\t\tstmt.executeUpdate(\"CREATE TABLE Subspaces(Id INTEGER, FeatureReference INTEGER,\" + \" Name VARCHAR(\"\n\t\t\t\t\t+ DatabaseConfiguration.VARCHARLENGTH + \"));\");\n\n\t\t\tstmt.close();\n\n\t\t\t// after creating the tables, write the layout version\n\t\t\tprepStmt = this.connection.prepareStatement(\"INSERT INTO Metadata VALUES(?);\");\n\t\t\tprepStmt.setInt(1, DatabaseConfiguration.LAYOUTVERSION);\n\t\t\tprepStmt.execute();\n\n\t\t\tprepStmt.close();\n\n\t\t} catch (SQLException e) {\n\t\t\tthrow new DatabaseAccessException(Failure.LAYOUT);\n\t\t}\n\t}",
"public void createTable(Database database) throws SQLException{\n\t\tdatabase.createTable(PEOPLE_TABLE_NAME, PEOPLE_TABLE_CREATION_ARGS);\n\t}",
"@Override\n public void createUsersTable() {\n\n\n Session session = sessionFactory.openSession();\n Transaction transaction = session.beginTransaction();\n session.createSQLQuery(\"CREATE TABLE IF NOT EXISTS Users \" +\n \"(Id BIGINT PRIMARY KEY AUTO_INCREMENT, FirstName TINYTEXT , \" +\n \"LastName TINYTEXT , Age TINYINT)\").executeUpdate();\n transaction.commit();\n session.close();\n\n\n }",
"public void createNewTable(String dbName, String tableName) {\r\n\t\t// SQL statement for creating a new table\r\n\t\tString sql = \"CREATE TABLE IF NOT EXISTS \" + tableName + \" (\\n\"\r\n\t\t\t\t+ \"id integer PRIMARY KEY,\\n\"\r\n\t\t\t\t+ \"first_name VARCHAR(20) NOT NULL,\\n\"\r\n\t\t\t\t+ \"last_name VARCHAR(20) NOT NULL,\\n\"\r\n\t\t\t\t+ \"manager_id integer NOT NULL,\\n\"\r\n\t\t\t\t+ \"join_date DATE NOT NULL,\\n\"\r\n\t\t\t\t+ \"billable_hours double NOT NULL);\";\r\n\t\t\r\n\t\ttry {\r\n\t\t\tConnection conn = this.connect(dbName);\t\t\t// open connection\r\n\t\t\t\r\n\t\t\tStatement stmt = conn.createStatement();\r\n\t\t\t\r\n\t\t\t// create a new table using prepared sql statement\r\n\t\t\tstmt.execute(sql);\r\n\t\t\tSystem.out.println(\"Executed create table statement\");\r\n\t\t\t\r\n\t\t\tconn.close();\t\t\t\t\t\t\t\t\t// close connection\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\t}",
"@Override\n public void createTable(final Connection _con, final String _table,\n final String _parentTable) throws SQLException {\n\n final Statement stmt = _con.createStatement();\n\n try {\n\n // create table itself\n final StringBuilder cmd = new StringBuilder();\n cmd.append(\"create table \").append(_table).append(\" (\")\n .append(\" ID bigint not null\");\n\n // autoincrement\n if (_parentTable == null) {\n cmd.append(\" generated always as identity (start with 1, increment by 1)\");\n }\n\n cmd.append(\",\")\n .append(\" constraint \").append(_table).append(\"_UK_ID unique(ID)\");\n\n // foreign key to parent sql table\n if (_parentTable != null) {\n cmd.append(\",\")\n .append(\"constraint \").append(_table).append(\"_FK_ID \")\n .append(\" foreign key(ID) \")\n .append(\" references \").append(_parentTable).append(\"(ID)\");\n }\n\n cmd.append(\")\");\n stmt.executeUpdate(cmd.toString());\n\n } finally {\n stmt.close();\n }\n }",
"private void createTables() {\n\n\t\tAutoDao.createTable(db, true);\n\t\tAutoKepDao.createTable(db, true);\n\t\tMunkaDao.createTable(db, true);\n\t\tMunkaEszkozDao.createTable(db, true);\n\t\tMunkaKepDao.createTable(db, true);\n\t\tMunkaTipusDao.createTable(db, true);\n\t\tPartnerDao.createTable(db, true);\n\t\tPartnerKepDao.createTable(db, true);\n\t\tProfilKepDao.createTable(db, true);\n\t\tSoforDao.createTable(db, true);\n\t\tTelephelyDao.createTable(db, true);\n\t\tPushMessageDao.createTable(db, true);\n\n\t}",
"public void createTable(Class<?> clz) {\n\t\tcreateTable(getWritableDatabase(), clz);\n\t}",
"public void createNewTable() {\n String dropOld = \"DROP TABLE IF EXISTS card;\";\n\n // SQL statement for creating a new table\n String sql = \"CREATE TABLE IF NOT EXISTS card (\\n\"\n + \"id INTEGER PRIMARY KEY AUTOINCREMENT, \\n\"\n + \"number TEXT, \\n\"\n + \"pin TEXT,\\n\"\n + \"balance INTEGER DEFAULT 0\"\n + \");\";\n\n try (Connection connection = connect();\n Statement stmt = connection.createStatement()) {\n\n //drop old table\n stmt.execute(dropOld);\n\n //create a new table\n stmt.execute(sql);\n } catch (SQLException e) {\n System.out.println(\"Exception3: \" + e.getMessage());\n }\n }",
"private void createStocksTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE stocks \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY, \" + \"owner INT, \"\n\t\t\t\t\t+ \"shareAmount INT, \" + \"purchasePrice DOUBLE, \" + \"symb VARCHAR(10), \"\n\t\t\t\t\t+ \"timePurchased BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table stocks\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of stocks table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}",
"@Override\n public void createMetaTable(Connection conn) throws PersistenceException {\n String sql = String.format(\"CREATE TABLE %1$s (%2$s %3$s NOT NULL)\", metaTableName, META_TABLE_DATA_COLUMN, config.dataColumnType());\n executeUpdateSql(conn, sql);\n updateMetaTable(conn);\n }",
"@Override\n\tpublic String createTable() {\n\t\t\t\treturn \"CREATE TABLE history_table_view(id number(8) primary key not null ,sqltext text, pointid varchar2(1024), type varchar2(100))\";\n\t}",
"private void createStressTestStatusTable() {\n Column runId = new Column(\"RUN_ID\");\n runId.setMappedType(\"INTEGER\");\n runId.setPrimaryKey(true);\n runId.setRequired(true);\n Column nodeId = new Column(\"NODE_ID\");\n nodeId.setMappedType(\"VARCHAR\");\n nodeId.setPrimaryKey(true);\n nodeId.setRequired(true);\n nodeId.setSize(\"50\");\n Column status = new Column(\"STATUS\");\n status.setMappedType(\"VARCHAR\");\n status.setSize(\"10\");\n status.setRequired(true);\n status.setDefaultValue(\"NEW\");\n Column startTime = new Column(\"START_TIME\");\n startTime.setMappedType(\"TIMESTAMP\");\n Column endTime = new Column(\"END_TIME\");\n endTime.setMappedType(\"TIMESTAMP\");\n\n Table table = new Table(STRESS_TEST_STATUS, runId, nodeId, status, startTime, endTime);\n\n engine.getDatabasePlatform().createTables(true, true, table);\n }",
"@Override\n\tpublic void onCreate(SQLiteDatabase sdb) {\n\t\tsdb.execSQL(CREATE_QUERY);\n\t\tLog.d(\"DB ops: \", \"Table Created \");\n\t}",
"@Override\n public void createTable() throws Exception {\n }",
"public MonthlyValuesTable(Database database) \n {\n //Constructor calls DbTable's constructor\n super(database);\n setTableName(\"monthlyvalues\");\n }",
"public void createTables()\n {\n String[] sqlStrings = createTablesStatementStrings();\n String sqlString;\n Statement statement;\n\n System.out.println(\"Creating table(s):\" +\n Arrays.toString(tableNames));\n for (int i=0; i<sqlStrings.length; i++)\n try\n {\n statement = connect.createStatement();\n\n sqlString = sqlStrings[i];\n\n System.out.println(\"SQL: \" + sqlString);\n\n statement.executeUpdate(sqlString);\n }\n catch (SQLException ex)\n {\n System.out.println(\"Error creating table: \" + ex);\n Logger.getLogger(DatabaseManagementDAO.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"protected abstract void initialiseTable();",
"@Override\n\tpublic void onCreate(SQLiteDatabase db, ConnectionSource source) {\n\n\t\ttry {\n\t\t\tTableUtils.createTable(source, Priority.class);\n\t\t\tTableUtils.createTable(source, Category.class);\n\t\t\tTableUtils.createTable(source, Task.class);\n\t\t} catch (SQLException ex) {\n\t\t\tLog.e(LOG, \"error creating tables\", ex);\n\t\t}\n\n\t}",
"protected void createInitialTables() throws SQLException {\n\t\n\t\t// create one table per type with the corresponding attributes\n\t\tfor (String type: entityType2attributes.keySet()) {\n\t\t\tcreateTableForEntityType(type);\n\t\t}\n\t\t\n\t\t// TODO indexes !\n\t\t\n\t}",
"public void setupDB()\r\n\t{\n\tjdbcTemplateObject.execute(\"DROP TABLE IF EXISTS employee1 \");\r\n\r\n\tjdbcTemplateObject.\r\n\texecute(\"CREATE TABLE employee1\"\r\n\t+ \"(\" + \"name VARCHAR(255), id SERIAL)\");\r\n\t}",
"public void createNewDataBase() {\n try (Connection conn = DriverManager.getConnection(url)) {\n if (conn != null) {\n DatabaseMetaData meta = conn.getMetaData();\n createNewTable();\n }\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }",
"@Override\n public void createTable() {\n String[] TABLE_COLUMNS_ATLAS = {\n TableColumn.ChecklistTable.CID + \" INTEGER PRIMARY KEY AUTOINCREMENT\",\n TableColumn.ChecklistTable.PID + \" INTEGER NOT NULL\",\n TableColumn.ChecklistTable.REAL + \" INTEGER DEFAULT 0\",\n TableColumn.ChecklistTable.UNIT_ID + \" INTEGER\",\n TableColumn.ChecklistTable.WAREHOUSE_ID + \" INTEGER\",\n TableColumn.ChecklistTable.QUEUE_ID + \" INTEGER\",\n TableColumn.ChecklistTable.CATEGORIES_ID + \" INTEGER\",\n TableColumn.ChecklistTable.DATE + \" DATE\",\n TableColumn.ChecklistTable.RECORDTIME + \" DATE\",\n TableColumn.ChecklistTable.CONFIRM + \" INTEGER DEFAULT 0\"\n };\n\n //TODO: create table\n database.execSQL(makeSQLCreateTable(TABLE_NAME, TABLE_COLUMNS_ATLAS));\n\n addColumn(TableColumn.ChecklistTable.CONFIRM, \" INTEGER DEFAULT 0\");\n\n //TODO: show table\n XCursor cursor = selectTable();\n printData(TABLE_NAME, cursor);\n cursor.close();\n }",
"public void creatTable(String tableName,LinkedList<String> columnsName,LinkedList<String> columnsType );",
"public void createNewTable() {\n // SQL statement for creating a new table\n String sql = \"CREATE TABLE IF NOT EXISTS card (\\n\"\n + \" id INTEGER PRIMARY KEY AUTOINCREMENT,\\n\"\n + \" number TEXT,\\n\"\n + \" pin TEXT,\\n\"\n + \" balance INTEGER DEFAULT 0\\n\"\n + \");\";\n\n try (Connection conn = DriverManager.getConnection(url);\n Statement stmt = conn.createStatement()) {\n // create a new table\n stmt.execute(sql);\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }",
"public static String getSQLForUserTableCreation() {\n return \"CREATE TABLE \" + USER_TABLE + \"(\" +\n USER_ID + \" varchar(8) PRIMARY KEY, \" +\n USER_LAST_NAME + \" varchar(32), \" +\n USER_FIRST_NAME + \" varchar(32), \" +\n USER_EMAIL + \" varchar(256), \" +\n USER_PASSWORD + \" varchar(64), \" +\n USER_IS_TEACHER + \" bool, \" +\n USER_GROUP + \" varchar(32))\";\n\n }",
"@Override\n public SqlDatabaseTable createTable(String tableName, int columnCount, boolean dropExist) {\n StringBuilder sql = new StringBuilder();\n if (dropExist) {\n sql.append(\"DROP TABLE IF EXISTS `\").append(tableName).append(\"`;\");\n executeSql(sql.toString());\n sql.setLength(0);\n }\n\n // Ignored check because only one statement is executed\n // if (!dropExist && SqlStorageEngine.getInstance().checkTableExist(tableName))\n\n sql.append(\"CREATE TEMPORARY TABLE\");\n if (!dropExist) {\n sql.append(\" IF NOT EXISTS\");\n }\n sql.append(\" `\").append(tableName).append(\"`\");\n sql.append(\" ( `id` INT NOT NULL AUTO_INCREMENT, `uniq` CHAR(32) NOT NULL UNIQUE,\");\n for (int i = 0; i < columnCount; i++) {\n sql.append(\" `_\").append(i).append(\"` VARCHAR(32) NULL,\");\n sql.append(\"INDEX (`_\").append(i).append(\"`),\");\n }\n sql.append(\" PRIMARY KEY (`id`)) ENGINE = MEMORY;\");\n executeSql(sql.toString());\n\n // Ignore this, we use create clause to create index\n // createIndexes(tableName, columnCount);\n\n return new SqlDatabaseRefTable(tableName, columnCount);\n }",
"FromTable createFromTable();",
"@Override\n\t\tpublic void onCreate(SQLiteDatabase database) {\n\t\t\tcreateTable(database);\n\n\t\t}",
"@Override\n\tpublic void createTable() {\n\t\tSystem.out.println(\"++++++++++++++++++++++++++++++++++++++++++++++\");\n\t\ttry {\n\t\t\tTableUtils.createTable(connectionSource, UserEntity.class);\n\t\t\tTableUtils.createTable(connectionSource, Downloads.class);\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\");\n\t\t}\n\t}",
"@Override\n\tpublic void onCreate(SQLiteDatabase sdb) {\n\t\tsdb.execSQL(CREATE_QUERY);\n\t\tLog.d(\"Database operations\", \"table created\");\n\t}",
"@Override\n\tpublic void onCreate(SQLiteDatabase db, ConnectionSource connectionSource) {\n\t\tthis.connectionSource = connectionSource;\n\t\tcreateTable();\n\t}",
"public void createTable(String tableName) {\n db.execSQL(\"create table if not exists '\" + tableName.replaceAll(\"\\\\s\", \"_\") + \"' (\"\n + KEY_ROWID + \" integer primary key autoincrement, \"\n + KEY_QUESTION + \" string not null, \"\n + KEY_ANSWER + \" string not null);\");\n }",
"public static void createTable(SQLiteDatabase db) {\n String sql = \"CREATE TABLE \" + TABLE_NAME + \"(\"\n + _ID + \" INTEGER PRIMARY KEY, \"\n + COL_DATE + \" DATETIME, \"\n + COL_RESULT + \" TEXT, \"\n + COL_UNIT + \" TEXT, \"\n + COL_ROW + \" TEXT\"\n + \");\";\n\n db.execSQL(sql);\n }",
"public void createDepartamentoTable() throws SQLException {\n\t\tString sql = \"create table departamento (piso int, depto varchar(100), expensas double,\ttitular varchar(100))\";\n\t\tConnection c = DBManager.getInstance().connect();\n\t\tStatement s = c.createStatement();\n\t\ts.executeUpdate(sql);\n\t\tc.commit();\n\t\t\t\n\t}",
"public static void createTable() throws SQLException, UserExceptionClass {\n\t\tfinal String query = Constants.CREATE_QUERY;\n\t\tDBOperation.updateQueries(query);\n\t}",
"private void statsTable() {\n try (Connection connection = hikari.getConnection()) {\n try (PreparedStatement statement = connection.prepareStatement(\"CREATE TABLE IF NOT EXISTS `\" + TABLE_STATS + \"` \" +\n \"(id INT NOT NULL AUTO_INCREMENT UNIQUE, \" +\n \"uuid varchar(255) PRIMARY KEY, \" +\n \"name varchar(255), \" +\n \"kitSelected varchar(255), \" +\n \"points INT, \" +\n \"kills INT, \" +\n \"deaths INT, \" +\n \"killstreaks INT, \" +\n \"currentKillStreak INT, \" +\n \"inGame BOOLEAN)\")) {\n statement.execute();\n statement.close();\n connection.close();\n }\n } catch (SQLException e) {\n LogHandler.getHandler().logException(\"TableCreator:statsTable\", e);\n }\n }",
"public TableCreate tableCreate(String tableName, String primaryKey, Durability durability, String datacenter) {\n OptionalArguments optionalArguments = new OptionalArguments()\n .with(\"datacenter\", datacenter)\n .with(\"primary_key\", primaryKey)\n .with(\"durability\", durability == null ? null : durability.toString());\n\n return new TableCreate(this, new Arguments(tableName), optionalArguments);\n }",
"private void createDB() {\n try {\n Statement stat = conn.createStatement();\n stat.execute(\"CREATE TABLE settings (name TEXT, state);\");\n stat.execute(\"CREATE TABLE expressions (id INTEGER PRIMARY KEY ASC AUTOINCREMENT, expression TEXT);\");\n stat.execute(\"CREATE TABLE summaries (id INTEGER PRIMARY KEY ASC, expression_id INTEGER, title TEXT, abstract TEXT);\");\n stat.execute(\"CREATE TABLE history (id INTEGER PRIMARY KEY ASC AUTOINCREMENT, expression TEXT);\");\n } catch (SQLException e) {\n System.err.println(e.getClass().getName() + \": \" + e.getMessage());\n System.exit(0);\n }\n }",
"public void createVirtualTable(){\n\n\t\t\n\t\tif(DBHandler.getConnection()==null){\n\t\t\treturn;\n\t\t}\n\n\t\tif(DBHandler.tableExists(name())){\n\t\t\treturn;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tStatement s = DBHandler.getConnection().createStatement();\n\t\t\ts.execute(\"create virtual table \"+name()+\" using fts4(\"+struct()+\")\");\n\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tMainFrame.print(e.getMessage());\n\t\t}\n\t}",
"@Override\n\t\t\tpublic void onCreate(SQLiteDatabase arg0) {\n\t\t\t\tString CREATE_TABLE = \"create table \" +TB_NAME +\n\t\t\t\t\t\"( \" +\n\t\t\t\t\tT_SID+\" integer,\" +\n\t\t\t\t\tT_PID+\" integer,\" +\n\t\t\t\t\tT_VALUE+\" text not null,\" +\n\t\t\t\t\t\")\";\n\t\t\t\targ0.execSQL(CREATE_TABLE);\n\t\t\t}",
"BTable createBTable();",
"private void createTableOrdersWaiting() throws SQLException\r\n {\r\n String sqlQuery = \r\n \"CREATE TABLE orders \" +\r\n \"(id auto_increment INT NOT NULL PRIMARY KEY, \" +\r\n \"custname VARCHAR(25) NOT NULL, \" +\r\n \"tablenumber INT NOT NULL, \" +\r\n \"foodname VARCHAR(100) NOT NULL, \" + \r\n \"beveragename VARCHAR(100) NOT NULL, \" + \r\n \"served BOOLEAN NOT NULL, \" + \r\n \"billed BOOLEAN NOT NULL, \" + \r\n \"time DATETIME DEFAULT CURRENT_TIMESTAMP)\";\r\n myStmt.executeUpdate(sqlQuery);\r\n }",
"public static void CreateTable(Supermarket supermarket) throws SQLException {\r\n\t\tPreparedStatement statement = null;\r\n\t\tString market_name = supermarket.getSuper_name();\r\n\t\ttry {\r\n\t\t\tString query = \"CREATE TABLE CS_\"+market_name+\"(\"\r\n\t\t\t\t\t+ \"PRODUCT_NAME VARCHAR(30) NOT NULL,\"\r\n\t\t\t\t\t+ \"PRODUCT_COMPANY VARCHAR(30) NOT NULL,\"\r\n\t\t\t\t\t+ \"PRODUCT_EXIST BOOLEAN DEFAULT FALSE,\"\r\n\t\t\t\t\t+ \"PRODUCT_PRICE DOUBLE DEFAULT 0,\"\r\n\t\t\t\t\t+ \"PRODUCT_CATEGORY VARCHAR(30) NOT NULL\"\r\n\t\t\t\t\t+ \");\";\r\n\t\t\tstatement = JdbcCommon.connection.prepareStatement(query);\r\n\t\t\tstatement.executeUpdate();\r\n\t\t} catch (SQLException e) {e.printStackTrace();}\r\n\t\tstatement.close();\r\n\t}",
"@Override\r\n\tpublic void createTable(Connection con) throws SQLException {\r\n\t\tString sql = \"CREATE TABLE \" + tableName\r\n\t\t\t\t+ \"(pc_id integer, class_id varchar(20), level integer,\"\r\n\t\t\t\t+ \" PRIMARY KEY (pc_id,class_id,level) )\";\r\n\r\n\t\tif (DbUtils.doesTableExist(con, tableName)) {\r\n\r\n\t\t} else {\r\n\t\t\ttry (PreparedStatement ps = con.prepareStatement(sql);) {\r\n\t\t\t\tps.execute();\r\n\t\t\t}\r\n \r\n\t\t}\r\n\r\n\r\n\r\n\t\tString[] newInts = new String[] { \r\n\t\t\t\t\"hp_Increment\",};\r\n\t\tDAOUtils.createInts(con, tableName, newInts);\r\n\r\n\t}",
"public void createTableIfAbsent() {\n try (Statement statement = connection.createStatement()) {\n\n statement.executeUpdate(\"CREATE TABLE IF NOT EXISTS `BookReview`(\" +\n \" id INTEGER PRIMARY KEY AUTOINCREMENT,\" +\n \" title VARCHAR(100),\" +\n \" author_id INTEGER,\" +\n \" FOREIGN KEY (`author_id`) REFERENCES `authors`(`id`)\" +\n \")\");\n\n } catch (SQLException e) {\n throw new BookDaoException(e);\n }\n }",
"public void createAccountTable() throws SQLException {\r\n\t\tConnection connection = dbAdministration.getConnection();\r\n\t\t// Prüfung, ob Tabelle bereits besteht\r\n\t\tResultSet resultSet = connection.getMetaData().getTables(\"%\", \"%\", \"%\", new String[] { \"TABLE\" });\r\n\t\tboolean shouldCreateTable = true;\r\n\t\twhile (resultSet.next() && shouldCreateTable) {\r\n\t\t\tif (resultSet.getString(\"TABLE_NAME\").equalsIgnoreCase(\"ACCOUNT\")) {\r\n\t\t\t\tshouldCreateTable = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tresultSet.close();\r\n\r\n\t\tif (shouldCreateTable) {\r\n\t\t\tStatement statement = connection.createStatement();\r\n\t\t\tString sql = \"CREATE table account (id int not null primary key, owner varchar(\"\r\n\t\t\t\t\t+ DatabaseAdministration.ownerLength + \") not null, number varchar(4) not null)\";\r\n\t\t\t// Tabelle wird erstellt\r\n\t\t\tstatement.execute(sql);\r\n\t\t\tstatement.close();\r\n\t\t\tlogger.info(\"SQL-Statement ausgeführt: \" + sql);\r\n\t\t\tlogger.info(\"Tabelle \\\"Account\\\" wurde erstellt.\");\r\n\t\t\tbankAccountExists = false;\r\n\t\t\t// Das Bank-Konto wird angelegt\r\n\t\t\taddAccount(\"0000\", \"BANK\", BigDecimal.ZERO);\r\n\t\t\tbankAccountExists = true;\r\n\t\t}\r\n\t\tconnection.close();\r\n\t}",
"public static void createTable(SQLiteDatabase db, Class<?> clz) {\n// StringBuilder builder=new StringBuilder();\n// Field[] fields=clz.getDeclaredFields();\n// for (int i=0;i<fields.length;i++){\n// Field field=fields[i];\n// builder.append(getOneColumnStmt(field));\n// if (i!=fields.length-1)\n// builder.append(\",\");\n// }\n// String sql=\"create table \"+getTableName(clz)+\"(\"+builder+\")\";\n// db.execSQL(sql);\n ArrayList<String> stmts=getCreateTableStmt(clz);\n for (String stmt:stmts) {\n db.execSQL(stmt);\n }\n }",
"private void processCreateTable(int type) throws HsqlException {\n\n String token = tokenizer.getName();\n HsqlName schemaname =\n session.getSchemaHsqlNameForWrite(tokenizer.getLongNameFirst());\n\n database.schemaManager.checkUserTableNotExists(session, token,\n schemaname.name);\n\n boolean isnamequoted = tokenizer.wasQuotedIdentifier();\n int[] pkCols = null;\n int colIndex = 0;\n boolean constraint = false;\n Table t = newTable(type, token, isnamequoted, schemaname);\n\n tokenizer.getThis(Token.T_OPENBRACKET);\n\n while (true) {\n token = tokenizer.getString();\n\n switch (Token.get(token)) {\n\n case Token.CONSTRAINT :\n case Token.PRIMARY :\n case Token.FOREIGN :\n case Token.UNIQUE :\n case Token.CHECK :\n\n // fredt@users : check for quoted reserved words used as column names\n constraint = !tokenizer.wasQuotedIdentifier()\n && !tokenizer.wasLongName();\n }\n\n tokenizer.back();\n\n if (constraint) {\n break;\n }\n\n Column newcolumn = processCreateColumn();\n\n t.addColumn(newcolumn);\n\n if (newcolumn.isPrimaryKey()) {\n Trace.check(pkCols == null, Trace.SECOND_PRIMARY_KEY,\n newcolumn.columnName.name);\n\n pkCols = new int[]{ colIndex };\n }\n\n token = tokenizer.getSimpleToken();\n\n if (token.equals(Token.T_COMMA)) {\n colIndex++;\n\n continue;\n }\n\n if (token.equals(Token.T_CLOSEBRACKET)) {\n break;\n }\n\n throw Trace.error(Trace.UNEXPECTED_TOKEN, token);\n }\n\n HsqlArrayList tempConstraints = processCreateConstraints(t,\n constraint, pkCols);\n\n if (tokenizer.isGetThis(Token.T_ON)) {\n if (!t.isTemp) {\n throw Trace.error(Trace.UNEXPECTED_TOKEN, Token.T_ON);\n }\n\n tokenizer.getThis(Token.T_COMMIT);\n\n token = tokenizer.getSimpleToken();\n\n if (token.equals(Token.T_DELETE)) {}\n else if (token.equals(Token.T_PRESERVE)) {\n t.onCommitPreserve = true;\n } else {\n throw Trace.error(Trace.UNEXPECTED_TOKEN, token);\n }\n\n tokenizer.getThis(Token.T_ROWS);\n }\n\n try {\n session.commit();\n\n Constraint primaryConst = (Constraint) tempConstraints.get(0);\n\n t.createPrimaryKey(null, primaryConst.core.mainColArray, true);\n\n if (primaryConst.core.mainColArray != null) {\n if (primaryConst.constName == null) {\n primaryConst.constName = t.makeSysPKName();\n }\n\n Constraint newconstraint =\n new Constraint(primaryConst.constName, t,\n t.getPrimaryIndex(),\n Constraint.PRIMARY_KEY);\n\n t.addConstraint(newconstraint);\n database.schemaManager.registerConstraintName(\n primaryConst.constName.name, t.getName());\n }\n\n for (int i = 1; i < tempConstraints.size(); i++) {\n Constraint tempConst = (Constraint) tempConstraints.get(i);\n\n if (tempConst.constType == Constraint.UNIQUE) {\n TableWorks tableWorks = new TableWorks(session, t);\n\n tableWorks.createUniqueConstraint(\n tempConst.core.mainColArray, tempConst.constName);\n\n t = tableWorks.getTable();\n }\n\n if (tempConst.constType == Constraint.FOREIGN_KEY) {\n TableWorks tableWorks = new TableWorks(session, t);\n\n tableWorks.createForeignKey(tempConst.core.mainColArray,\n tempConst.core.refColArray,\n tempConst.constName,\n tempConst.core.refTable,\n tempConst.core.deleteAction,\n tempConst.core.updateAction);\n\n t = tableWorks.getTable();\n }\n\n if (tempConst.constType == Constraint.CHECK) {\n TableWorks tableWorks = new TableWorks(session, t);\n\n tableWorks.createCheckConstraint(tempConst,\n tempConst.constName);\n\n t = tableWorks.getTable();\n }\n }\n\n database.schemaManager.linkTable(t);\n } catch (HsqlException e) {\n\n// fredt@users 20020225 - comment\n// if a HsqlException is thrown while creating table, any foreign key that has\n// been created leaves it modification to the expTable in place\n// need to undo those modifications. This should not happen in practice.\n database.schemaManager.removeExportedKeys(t);\n database.schemaManager.removeIndexNames(t.tableName);\n database.schemaManager.removeConstraintNames(t.tableName);\n\n throw e;\n }\n }",
"public static void createTable(Database db, boolean ifNotExists) {\n String constraint = ifNotExists? \"IF NOT EXISTS \": \"\";\n db.execSQL(\"CREATE TABLE \" + constraint + \"\\\"FITTING_TABLE\\\" (\" + //\n \"\\\"NAME\\\" TEXT PRIMARY KEY NOT NULL ,\" + // 0: name\n \"\\\"DB_NAME\\\" TEXT,\" + // 1: dbName\n \"\\\"CATEGORY\\\" TEXT,\" + // 2: category\n \"\\\"DES\\\" TEXT,\" + // 3: des\n \"\\\"LAYOUT_RESOURCE_ID\\\" INTEGER);\"); // 4: layoutResourceID\n }",
"@Override\n\tpublic void onCreate(SQLiteDatabase database) {\n\t\tAppDBTableCreation.onCreate(database);\n\t}",
"public void createDataTable() {\r\n Log.d(TAG, \"creating table\");\r\n String queryStr = \"\";\r\n String[] colNames = {Constants.COLUMN_NAME_ACC_X, Constants.COLUMN_NAME_ACC_Y, Constants.COLUMN_NAME_ACC_Z};\r\n queryStr += \"create table if not exists \" + Constants.TABLE_NAME;\r\n queryStr += \" ( id INTEGER PRIMARY KEY AUTOINCREMENT, \";\r\n for (int i = 1; i <= 50; i++) {\r\n for (int j = 0; j < 3; j++)\r\n queryStr += colNames[j] + \"_\" + i + \" real, \";\r\n }\r\n queryStr += Constants.COLUMN_NAME_ACTIVITY + \" text );\";\r\n execute(queryStr);\r\n Log.d(TAG, \"created table\");\r\n try {\r\n ContentValues values = new ContentValues();\r\n values.put(\"id\", 0);\r\n insertRowInTable(Constants.TABLE_NAME, values);\r\n Log.d(TAG,\"created hist table\");\r\n }catch (Exception e){\r\n Log.d(TAG,Constants.TABLE_NAME + \" table already exists\");\r\n }\r\n }",
"public static void createItemTable() {\n\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tstatement = connection.createStatement();\n\t\t\t// Drop table if already exists and as per SQL query available in\n\t\t\t// Query.xml\n\t\t\tstatement.executeUpdate(QueryUtil.queryByID(CommonConstants.QUERY_ID_DROP_ITEM_TABLE));\n\t\t\t// Create new items table as per SQL query available in\n\t\t\t// Query.xml\n\t\t\tstatement.executeUpdate(QueryUtil.queryByID(CommonConstants.QUERY_ID_CREATE_ITEM_TABLE));\n\t\t\t// Insert records into item table in the beginning as per SQL query available in\n\t\t\t// Query.xml\t\t\t\n\t\t\tstatement.executeUpdate(QueryUtil.queryByID(CommonConstants.QUERY_ID_INSERT_BEGIN_ITEM_TABLE));\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t}\n\t}",
"public static void createItemTable() {\n\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tstatement = connection.createStatement();\n\t\t\t// Drop table if already exists and as per SQL query available in\n\t\t\t// Query.xml\n\t\t\tstatement.executeUpdate(QueryUtil.queryByID(CommonConstants.QUERY_ID_DROP_ITEM_TABLE));\n\t\t\t// Create new items table as per SQL query available in\n\t\t\t// Query.xml\n\t\t\tstatement.executeUpdate(QueryUtil.queryByID(CommonConstants.QUERY_ID_CREATE_ITEM_TABLE));\n\t\t\t// Insert records into item table in the beginning as per SQL query available in\n\t\t\t// Query.xml\t\t\t\n\t\t\tstatement.executeUpdate(QueryUtil.queryByID(CommonConstants.QUERY_ID_INSERT_BEGIN_ITEM_TABLE));\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t}\n\t}",
"void create(DataTableDef def) throws IOException;",
"public void createTable(String tableName) {\n //SQL Statement\n String query = \"call aTable\";\n\n try {\n //connection\n stmt = con.createStatement();\n //execute query\n stmt.executeUpdate(query);\n System.out.println(\"\\n--Table \" + tableName + \" created--\");\n } catch (SQLException ex) {\n System.out.println(\"\\n--Query did not execute--\");\n ex.printStackTrace();\n }\n }",
"private void createCDAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE cdAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 3000000001, INCREMENT BY 1 ), \" + \"owner INT, \"\n\t\t\t\t\t+ \"term INT, \" + \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table cdAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of cdAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}",
"@Override\n\tpublic void onCreate(SQLiteDatabase db, ConnectionSource connectionSource) {\n\t\ttry {\n\t\t\tLog.i(DatabaseHelper.class.getName(), \"onCreate\");\n\t\t\tTableUtils.createTable(connectionSource, Place.class);\n\t\t\tTableUtils.createTable(connectionSource, Lock.class);\n\t\t\tTableUtils.createTable(connectionSource, User.class);\n\t\t\tTableUtils.createTable(connectionSource, Locator.class);\n\t\t} catch (SQLException e) {\n\t\t\tLog.e(DatabaseHelper.class.getName(), \"Can't create database\", e);\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}",
"private void createCheckingAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE checkingAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 1000000001, INCREMENT BY 1 ), \" + \"owner INT, \"\n\t\t\t\t\t+ \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table checkingAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of checkingAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}",
"public synchronized void criarTabela(){\n \n String sql = \"CREATE TABLE IF NOT EXISTS CPF(\\n\"\n + \"id integer PRIMARY KEY AUTOINCREMENT,\\n\"//Autoincrement\n// + \"codDocumento integer,\\n\"\n + \"numCPF integer\\n\"\n + \");\";\n \n try (Connection c = ConexaoJDBC.getInstance();\n Statement stmt = c.createStatement()) {\n // create a new table\n stmt.execute(sql);\n stmt.close();\n c.close();\n } catch (SQLException e) {\n System.err.println(e.getClass().getName() + \": \" + e.getMessage()); \n// System.out.println(e.getMessage());\n }\n System.out.println(\"Table created successfully\");\n }",
"public void CreateTables() {\n\t\ttry {\n\t\t\tString schema = Schema.META;\n\t\t\tInstall_DBMS_MetaData(schema.getBytes(),0);\n\n\t\t\t// load and install QEPs\n\t\t\tClass<?>[] executionPlans = new Class[] { QEP.class };\n\t\t\tQEPng.loadExecutionPlans(TCell_QEP_IDs.class, executionPlans);\n\t\t\tQEPng.installExecutionPlans(db);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"private String createTableSQL()\n\t{\n\t\tStringBuffer str = new StringBuffer();\n\n\t\t// Keep track of the list of fields\n\t\tList<String> listFields = new ArrayList<String>();\n\n\t\t// Table command\n\t\tstr.append(\"CREATE TABLE \" + getFullPath() + \"( \");\n\t\tstr.append(createStandardGZFields());\n\n\t\t// Loop through all InputFields\n\t\tfor (InputFieldSet fieldSet : function.getInputFieldSets())\n\t\t{\n\t\t\tfor (InputField inputField : fieldSet.getInputFields())\n\t\t\t{\n\t\t\t\t// Phase 2 does not support repeating fields being journalled\n\t\t\t\tif (!Field.isRepeating(inputField))\n\t\t\t\t{\n\t\t\t\t\t// Field\n\t\t\t\t\tString fieldName = SQLToolbox.cvtToSQLFieldName(inputField.getId());\n\n\t\t\t\t\t// add if not yet existing\n\t\t\t\t\tif (listFields.indexOf(fieldName) == -1)\n\t\t\t\t\t{\n\t\t\t\t\t\tstr.append(\", \");\n\t\t\t\t\t\tString fieldDataType = inputField.getDataType();\n\t\t\t\t\t\tString fieldType = SQLToolbox.cvtToSQLFieldType(fieldDataType, inputField.getSize(), inputField\n\t\t\t\t\t\t\t\t\t\t.getDecimals());\n\t\t\t\t\t\tString fieldDefault = SQLToolbox.cvtToSQLDefault(fieldDataType);\n\t\t\t\t\t\tstr.append(fieldName + \" \" + fieldType + \" \" + \" not null default \" + fieldDefault);\n\t\t\t\t\t\tlistFields.add(fieldName);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// End\n\t\tstr.append(\" ) \");\n\t\t// RCDFMT \" + getJournalRcdName());\n\n\t\treturn str.toString();\n\t}",
"private void createLoginTable() {\r\n jdbcExecutor.executeQuery(new Work() {\r\n @Override\r\n public void execute(Connection connection) throws SQLException {\r\n connection.createStatement().executeUpdate(\"CREATE TABLE login ( id numeric(19,0), user_id numeric(19,0), timestamp TIMESTAMP )\");\r\n }\r\n });\r\n }",
"final public SqlStatement CreateTableStatement() throws ParseException {Token tk = null, tk2 = null;\n String tableName;\n CreateTableDefinition definition = null;\n List<CreateTableOption> options = null;\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case TEMPORARY:{\n tk = jj_consume_token(TEMPORARY);\n break;\n }\n default:\n jj_la1[16] = jj_gen;\n ;\n }\n jj_consume_token(TABLE);\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case IF:{\n tk2 = jj_consume_token(IF);\n jj_consume_token(NOT);\n jj_consume_token(EXISTS);\n break;\n }\n default:\n jj_la1[17] = jj_gen;\n ;\n }\n tableName = DbObjectName();\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case 118:{\n definition = CreateTableDefinition();\n break;\n }\n default:\n jj_la1[18] = jj_gen;\n ;\n }\n switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {\n case K_DEFAULT:\n case AUTO_INCREMENT:\n case COMMENT:\n case S_IDENTIFIER:{\n options = CreateTableOptions();\n break;\n }\n default:\n jj_la1[19] = jj_gen;\n ;\n }\nreturn new CreateTableStatement(tk != null, tk2 != null, tableName, definition, options);\n}",
"public static void createTable() throws SQLException\n {\n Statement statement = ConnectionManager.getConnection()\n .createStatement();\n\n statement.executeUpdate(\"DROP TABLE IF EXISTS Account\");\n statement\n .executeUpdate(\"CREATE TABLE Account(accountId INTEGER PRIMARY KEY AUTOINCREMENT, name, address, manager)\");\n\n statement.close();\n\n insertAccount(new Account(0, \"Administrator\", \"\", true));\n\n PreparedStatement ps = ConnectionManager\n .getConnection()\n .prepareStatement(\n \"UPDATE sqlite_sequence SET seq = ? WHERE name = 'Account'\");\n ps.setInt(1, Account.LOW_ACCOUNT_ID - 1);\n ps.executeUpdate();\n ps.close();\n }",
"public static void createEmployees() {\n Connection con = getConnection();\n\n String createString;\n createString = \"create table Employees (\" +\n \"Employee_ID INTEGER, \" +\n \"Name VARCHAR(30))\";\n try {\n stmt = con.createStatement();\n stmt.executeUpdate(createString);\n stmt.close();\n con.close();\n\n } catch (SQLException ex) {\n System.err.println(\"SQLException: \" + ex.getMessage());\n }\n JOptionPane.showMessageDialog(null, \"Employees Table Created\");\n }",
"private void createSavingsAccountsTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE savingsAccounts \"\n\t\t\t\t\t+ \"(id BIGINT GENERATED ALWAYS AS IDENTITY ( START WITH 2000000001, INCREMENT BY 1), \" + \"owner INT, \"\n\t\t\t\t\t+ \"balance DOUBLE, \" + \"intRate DOUBLE, \"\n\t\t\t\t\t+ \"timeCreated BIGINT, \" + \"lastPaidInterest DOUBLE, \"\n\t\t\t\t\t+ \"dateOfLastPaidInterest BIGINT)\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table SavingsAccounts\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of SavingsAccounts table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}"
]
| [
"0.791309",
"0.77940214",
"0.74362296",
"0.73251724",
"0.73218036",
"0.7314123",
"0.72937477",
"0.726144",
"0.7253623",
"0.7152383",
"0.7142117",
"0.71279895",
"0.7109381",
"0.7107476",
"0.7067047",
"0.7065432",
"0.70631945",
"0.7028555",
"0.70216703",
"0.70106506",
"0.7005533",
"0.6986615",
"0.69727874",
"0.6943238",
"0.6932363",
"0.6930568",
"0.6891319",
"0.6861044",
"0.68555963",
"0.68291354",
"0.68253154",
"0.6821446",
"0.68102235",
"0.68100375",
"0.6807152",
"0.6795727",
"0.6793711",
"0.67804205",
"0.67793816",
"0.67621046",
"0.6759736",
"0.67536014",
"0.6747768",
"0.67454576",
"0.6742133",
"0.67392945",
"0.67330354",
"0.6730594",
"0.67228323",
"0.6699556",
"0.66981864",
"0.66826236",
"0.66759896",
"0.6665035",
"0.66477954",
"0.6634954",
"0.6631295",
"0.66295546",
"0.6617368",
"0.6612472",
"0.6607912",
"0.6605247",
"0.6584071",
"0.6576124",
"0.6573932",
"0.65656525",
"0.65599513",
"0.65474194",
"0.65361446",
"0.65326595",
"0.65304124",
"0.6518686",
"0.6518292",
"0.6507078",
"0.6506849",
"0.650427",
"0.6503758",
"0.6503744",
"0.6497479",
"0.6485092",
"0.6483864",
"0.6482437",
"0.64678234",
"0.6467574",
"0.6466865",
"0.6458649",
"0.64524764",
"0.64524764",
"0.64452165",
"0.6444506",
"0.6443852",
"0.64362144",
"0.6430254",
"0.6423324",
"0.6399612",
"0.6398129",
"0.6394736",
"0.639161",
"0.6390867",
"0.6389095",
"0.6388685"
]
| 0.0 | -1 |
Drops the underlying database table. | public static void dropTable(SQLiteDatabase db, boolean ifExists) {
String sql = "DROP TABLE " + (ifExists ? "IF EXISTS " : "") + "'BLACK_LIST'";
db.execSQL(sql);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void dropTable();",
"@Override\r\n public void dropTable() {\n if(tableIsExist(TABLE_NAME)){\r\n String sql = \"drop table \" + TABLE_NAME;\r\n database.execSQL(sql);\r\n }\r\n }",
"public void wipeTable() {\n SqlStorage.wipeTable(db, TABLE_NAME);\n }",
"public void doDropTable();",
"@Override\n public void dropTable(String table_name) {\n\n // silently return if connection is closed\n if (!is_open) {\n return;\n }\n\n // try to delete the table\n try {\n String drop_table = \"DROP TABLE \" + table_name;\n statement.execute(drop_table);\n connection.commit();\n } catch (SQLException e) {\n System.out.println(\"Could not delete table \" + table_name);\n e.printStackTrace();\n }\n\n //System.out.println(\"Deleted table \" + table_name);\n\n }",
"public void cleanTable() throws ClassicDatabaseException;",
"public void dropTable()\n throws DBException\n {\n try {\n DBProvider.dropTable(this.getUntranslatedTableName());\n } catch (SQLException sqe) {\n throw new DBException(\"Drop table\", sqe);\n }\n }",
"public void dropTable() {\n }",
"abstract void dropTable() throws SQLException;",
"@Override\n\tpublic void dropTable() {\n\t\ttry {\n\t\t\tTableUtils.dropTable(connectionSource, UserEntity.class, true);\n\t\t\tTableUtils.dropTable(connectionSource, Downloads.class, true);\n\t\t} catch (SQLException e) {\n\t\t}\n\t}",
"public void dropTable(String tableName);",
"public void dropDB() throws SQLException {\n\t \t\tStatement stmt = cnx.createStatement();\n\t \t\tString[] tables = {\"account\", \"consumer\", \"transaction\"};\n\t \t\tfor (int i=0; i<3;i++) {\n\t \t\t\tString query = \"DELETE FROM \" + tables[i];\n\t \t\t\tstmt.executeUpdate(query);\n\t \t\t}\n\t \t}",
"boolean dropTable();",
"public void drop() {\n SQLiteDatabase db = this.getWritableDatabase();\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME);\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME1);\n onCreate(db);\n }",
"public void dropTable(String tableName) throws SQLException {\n mysql.update(\"DROP TABLE ` \" + tableName + \" `\");\n }",
"public void dropTable(DropTableQuery query);",
"void removeTable(String tableName) throws SQLException {\n\t\tstmt = con.createStatement();\n\t\tString sql = (new StringBuilder(\"drop table \")).append(tableName)\n\t\t\t\t.toString();\n\t\tstmt.executeUpdate(sql);\n\t\tstmt.close();\n\t}",
"public void dropTable(String table) {\n SQLiteDatabase db = openConnection();\n db.execSQL(\"DROP TABLE IF EXISTS \" + table);\n closeConnection();\n }",
"@Override\r\n\tpublic boolean dropTable() {\n\t\treturn false;\r\n\t}",
"@Override\n public void dropUsersTable() {\n\n Session session = sessionFactory.openSession();\n Transaction tx = session.beginTransaction();\n session.createSQLQuery(\"DROP TABLE IF EXISTS Users\").executeUpdate();\n tx.commit();\n session.close();\n\n }",
"@Override\n public void clearTable() {\n final var query = \"TRUNCATE TABLE piano_project.pianos\";\n try(final var statement = connection.createStatement()) {\n statement.executeUpdate(query);\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n }",
"private void dropDBProcedure() {\r\n try {\r\n Class.forName(myDriver);\r\n Connection conn = DriverManager.getConnection(myUrl, myUser, myPass);\r\n DatabaseMetaData md = conn.getMetaData();\r\n String[] types = {\"TABLE\"};\r\n ResultSet rs = md.getTables(null, \"USERTEST\", \"%\", types);\r\n while (rs.next()) {\r\n String queryDrop\r\n = \"DROP TABLE \" + rs.getString(3);\r\n Statement st = conn.createStatement();\r\n st.executeQuery(queryDrop);\r\n System.out.println(\"TABLE \" + rs.getString(3).toLowerCase() + \" DELETED\");\r\n st.close();\r\n }\r\n rs.close();\r\n conn.close();\r\n } catch (ClassNotFoundException | SQLException ex) {\r\n System.out.println(ex.toString());\r\n }\r\n }",
"public void deleteTable(String tableName) {\n try {\n connectToDB(\"jdbc:mysql://localhost/EmployeesProject\");\n } catch (Exception e) {\n System.out.println(\"The EmployeesProject db does not exist!\\n\"\n + e.getMessage());\n }\n String sqlQuery = \"drop table \" + tableName;\n try {\n stmt.executeUpdate(sqlQuery);\n } catch (SQLException ex) {\n System.err.println(\"Failed to delete '\" + tableName + \n \"' table.\\n\" + ex.getMessage());\n }\n }",
"public int dropTable() \n throws InterruptedException, IOException \n {\n return dropTable(false);\n }",
"public void drop(Connection db) throws SQLException {\n drop(db, true);\n }",
"void dropDatabase();",
"public void removetable(Connection connection) throws SQLException\n {\n\tStringBuffer sbremove = new StringBuffer();\n\tsbremove.append(\" DROP TABLE Credit CASCADE CONSTRAINTS \");\n\tStatement statement =null;\n\ttry {\n\t statement = connection.createStatement();\n\t statement.executeUpdate (sbremove.toString());\n\t}catch (SQLException e) {\n\t throw e;\n\t}finally{\n\t statement.close();\n\t}\n }",
"private static void removeDB()\n {\n if(getStatus().equals(\"no database\"))\n return;\n\n dropTable(\"myRooms\");\n dropTable(\"myReservations\");\n }",
"private void truncateTable() throws SQLException {\n trace(\"truncateTable\");\n String command = \"TRUNCATE TABLE \" + _tableName;\n Statement stmt = _connection.createStatement();\n stmt.executeUpdate(command);\n stmt.close();\n }",
"private static void dropTablesFromDatabase (Statement statement) throws SQLException {\n //Удаление таблиц из БД\n statement.execute(\"DROP TABLE IF EXISTS payment;\");\n statement.execute(\"DROP TABLE IF EXISTS account;\");\n statement.execute(\"DROP TABLE IF EXISTS users;\");\n statement.execute(\"DROP TABLE IF EXISTS role;\");\n }",
"@Override\n public void clearDB() throws Exception {\n hBaseOperation.deleteTable(this.dataTableNameString);\n hBaseOperation.createTable(this.dataTableNameString, this.columnFamily, numRegion);\n }",
"private void clearTable(String tableName) throws SQLException {\n Connection conn = getConnection();\n String setStatement = \"DELETE FROM \" + tableName;\n Statement stm = conn.createStatement();\n stm.execute(setStatement);\n }",
"void dropAllTables();",
"public void dropTable(Class<?> clz) {\n\t\tdropTable(getTableName(clz));\n\t}",
"void delete_table(String table_name) {\n //table does not exist\n if (!get_table_names().contains(table_name) && !table_name.equals(\"relationship\")) {\n throw new RuntimeException(\"Table does not exists and can therefore not be deleted.\");\n }\n\n String sql = \"drop table if exists \" + table_name;\n\n execute_statement(sql, false);\n }",
"@Override\r\n\tpublic void deleteDatabase() {\r\n\t\tlog.info(\"Enter deleteDatabase\");\r\n\r\n\t\t\r\n\t\tConnection connection = null;\t\t\r\n\t\ttry {\r\n\t\t\tconnection = jndi.getConnection(\"jdbc/libraryDB\");\t\t\r\n\t\t\t\r\n\r\n\t\t\t \r\n\t\t\t\tPreparedStatement pstmt = connection.prepareStatement(\"Drop Table Users_Table; \"); \r\n\t\t\t\tpstmt.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\tpstmt = connection.prepareStatement(\"Drop Table Cams_Table; \"); \r\n\t\t\t\tpstmt.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\tpstmt = connection.prepareStatement(\"Drop Table User_Cam_Mapping_Table; \"); \r\n\t\t\t\tpstmt.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\tpstmt = connection.prepareStatement(\"Drop Table Cam_Images_Table; \"); \r\n\t\t\t\tpstmt.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\tSystem.out.println(\"Datenbank wurde erfolgreich zurueckgesetzt!\");\t\t\t\t\r\n\t\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Fehler: \"+e.getMessage());\r\n\t\t\tlog.error(\"Error: \"+e.getMessage());\r\n\t\t} finally {\r\n\t\t\tcloseConnection(connection);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"STOCK\\\"\";\n db.execSQL(sql);\n }",
"private void deleteOldTables(){\n jdbcTemplate.execute(\"DROP TABLE OLDcompetence\");\n jdbcTemplate.execute(\"DROP TABLE OLDrole\");\n jdbcTemplate.execute(\"DROP TABLE OLDperson\");\n jdbcTemplate.execute(\"DROP TABLE OLDavailability\");\n jdbcTemplate.execute(\"DROP TABLE OLDcompetence_profile\");\n }",
"public void dropTables()\n {\n String tableName;\n\n for (int i=0; i<tableNames.length; i++)\n {\n tableName = tableNames[i];\n System.out.println(\"Dropping table: \" + tableName);\n try\n {\n Statement statement = connect.createStatement();\n\n String sql = \"DROP TABLE \" + tableName;\n\n statement.executeUpdate(sql);\n }\n catch (SQLException e)\n {\n System.out.println(\"Error dropping table: \" + e);\n }\n }\n }",
"public void rollbackCreateTable(Table table) throws MetaException {\n commitDropTable(table, true);\n }",
"public int dropTable(boolean quiet) \n throws InterruptedException, IOException \n {\n // if (! tablecreated) \n // System.err.println(\"Warning: table not created yet?\");\n\n Process client = startDbClient();\n PrintWriter w = \n new PrintWriter(new OutputStreamWriter(client.getOutputStream()));\n w.print(\"DROP TABLE \");\n w.print(tbl);\n w.println(\";\");\n w.close();\n\n client.waitFor();\n if (! quiet) {\n if (client.exitValue() > 0) {\n for (String line : emsgs) \n System.err.println(line);\n }\n else {\n tablecreated = false;\n System.err.println(\"Existing table \"+tbl+\" dropped\");\n }\n }\n\n return client.exitValue();\n }",
"public static void dropTable(SQLiteDatabase db, Class<?> clz) {\n ArrayList<String> stmts=getDropTableStatms(clz);\n for (String stmt : stmts) {\n db.execSQL(stmt);\n }\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'P5P10'\";\n db.execSQL(sql);\n }",
"@Test\n public void testDropTable() throws Exception {\n String tableName = createTable(true, true, false);\n\n assertTableIsRegistered(DEFAULT_DB, tableName);\n assertColumnIsRegistered(HiveMetaStoreBridge.getColumnQualifiedName(HiveMetaStoreBridge.getTableQualifiedName(CLUSTER_NAME, DEFAULT_DB, tableName), \"id\"));\n assertColumnIsRegistered(HiveMetaStoreBridge.getColumnQualifiedName(HiveMetaStoreBridge.getTableQualifiedName(CLUSTER_NAME, DEFAULT_DB, tableName), NAME));\n\n String query = String.format(\"drop table %s \", tableName);\n\n runCommandWithDelay(query, 3000);\n\n assertColumnIsNotRegistered(HiveMetaStoreBridge.getColumnQualifiedName(HiveMetaStoreBridge.getTableQualifiedName(CLUSTER_NAME, DEFAULT_DB, tableName), \"id\"));\n assertColumnIsNotRegistered(HiveMetaStoreBridge.getColumnQualifiedName(HiveMetaStoreBridge.getTableQualifiedName(CLUSTER_NAME, DEFAULT_DB, tableName), NAME));\n assertTableIsNotRegistered(DEFAULT_DB, tableName);\n }",
"void cleanupTable(TableName tablename) throws Exception {\n if (tbl != null) {\n tbl.close();\n tbl = null;\n }\n\n ((ClusterConnection) connection).clearRegionCache();\n deleteTable(TEST_UTIL, tablename);\n }",
"public void drop(Connection db, boolean dropSequence) throws SQLException {\n Statement st = db.createStatement();\n\n //drop the table\n st.executeUpdate(\"DROP TABLE \" + tableName);\n\n if (dbType == DatabaseUtils.POSTGRESQL) {\n if (hasSequence() && dropSequence) {\n //TODO: Not all versions of postgres supported by centric, supports IF EXISTS. Need a better solution\n //drop the sequence\n st.executeUpdate(\"DROP SEQUENCE IF EXISTS \" + sequenceName);\n }\n }\n st.close();\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'ORDER_BATCH'\";\n db.execSQL(sql);\n }",
"public void closeAndDeleteDB() {\n\t\tboolean gotSQLExc = false;\n\t\ttry {\n\t\t\tthis.deleteAllTable();\n\t\t\tconn.close();\n //DriverManager.getConnection(\"jdbc:derby:;shutdown=true\"); \n \n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\tif (e.getSQLState().equals(\"XJ015\") ) {\t\t\n\t gotSQLExc = true;\n\t } else e.printStackTrace();\n\t\t}\n//\t\t\n//\t\tif (!gotSQLExc) {\n//\t \t System.out.println(\"Database did not shut down normally\");\n//\t } else {\n//\t System.out.println(\"Database shut down normally\");\t\n//\t }\n\t\t\n\t}",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"\" + TABLENAME + \"\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'ENTITY_COMMAND'\";\n db.execSQL(sql);\n }",
"public void dropTableIfExists(String tableName) throws SQLException{\n\t\tStatement stmt = connection.createStatement();\n\t\tstmt.execute(\"DROP TABLE IF EXISTS \\\"\" + tableName + \"\\\"\"); \n\t\tstmt.close();\n\t}",
"public static void dropTable(SQLiteDatabase db, Class clazz) {\n final TypeAdapter adapter = getAdapter(clazz);\n db.execSQL(String.format(\"DROP TABLE IF EXISTS %s\", adapter.getTableName()));\n }",
"public void dropTable(AccumuloTable table)\n {\n SchemaTableName stName = new SchemaTableName(table.getSchema(), table.getTable());\n String tableName = table.getFullTableName();\n\n // Drop cardinality cache from index lookup\n sIndexLookup.dropCache(stName.getSchemaName(), stName.getTableName());\n\n // Remove the table metadata from Presto\n if (metaManager.getTable(stName) != null) {\n metaManager.deleteTableMetadata(stName);\n }\n\n if (!table.isExternal()) {\n // delete the table and index tables\n if (tableManager.exists(tableName)) {\n tableManager.deleteAccumuloTable(tableName);\n }\n\n if (table.isIndexed()) {\n String indexTableName = Indexer.getIndexTableName(stName);\n if (tableManager.exists(indexTableName)) {\n tableManager.deleteAccumuloTable(indexTableName);\n }\n\n String metricsTableName = Indexer.getMetricsTableName(stName);\n if (tableManager.exists(metricsTableName)) {\n tableManager.deleteAccumuloTable(metricsTableName);\n }\n }\n }\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'SELLER'\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"BIG_MONSTERS\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'P7P4'\";\n db.execSQL(sql);\n }",
"public static void dropTable(Connection c, String tableName) throws SQLException {\r\n\t\tStatement s = c.createStatement();\r\n\t\ts.executeUpdate(\"drop table \"+quote(tableName));\r\n\t\ts.close();\r\n\t}",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"PAYMENT_RECORD\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"TRUCK\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'DISTRIBUTOR_ORDERS'\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"GAME_FILL_ITEM\\\"\";\n db.execSQL(sql);\n }",
"public void removeLifeloggingTables() throws SQLException {\n\n\t\tString sqlCommand1 = \"DROP TABLE IF EXISTS minute\";\n\t\tString sqlCommand2 = \"DROP TABLE IF EXISTS image\";\n\t\tStatement stmt = this.connection.createStatement();\n\n\t\tstmt.execute(sqlCommand2);\n\t\tstmt.execute(sqlCommand1);\n\t\tstmt.close();\n\t}",
"public void clear() throws DBException\n {\n String sqlString = \"DELETE FROM user\";\n try(Statement statement = conn.createStatement())\n {\n statement.executeUpdate(sqlString);\n }\n catch(SQLException ex)\n {\n throw new DBException(\"Error while clearing user table\");\n }\n\n\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"HEALTH_RECORD__STATUS\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"ORDER_PAY\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"LOCAL_BEAN\\\"\";\n db.execSQL(sql);\n }",
"public void dropTables() {\n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE REVISION\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE VCS_COMMIT\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE FILE\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CODE_FRAGMENT\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CLONE_SET\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CODE_FRAGMENT_LINK\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CLONE_SET_LINK\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CLONE_GENEALOGY\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CODE_FRAGMENT_GENEALOGY\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"DROP TABLE CRD\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \n \t\ttry {\n \t\t\tdbManager.executeUpdate(\"VACUUM\");\n \t\t} catch (Exception e) {\n \t\t\t// e.printStackTrace();\n \t\t}\n \t}",
"public void deleteAll() throws SQLException {\n\t\tfinal String sql = \"DELETE FROM \" + table_name;\n\t\tPreparedStatement statement = null;\n\n\t\ttry {\n\t\t\tfinal Connection connection = _database.getConnection();\n\t\t\tstatement = connection.prepareStatement(sql);\n\t\t\t@SuppressWarnings(\"unused\")\n\t\t\tfinal int rowcount = update(statement);\n\t\t} finally {\n\t\t\tif (statement != null) {\n\t\t\t\tstatement.close();\n\t\t\t}\n\t\t}\n\t}",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"COUNT_DATA_BEAN\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"RECORD\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"RECORD\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'TABLE__STATUS'\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"SECURITY_ITEMS\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"DCPURCHASE_DATA\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"SHOP_RECEIVABLE_ENTITY\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"FITTING_TABLE\\\"\";\n db.execSQL(sql);\n }",
"public void removeAll()\r\n {\n db = this.getWritableDatabase(); // helper is object extends SQLiteOpenHelper\r\n db.execSQL(\"drop table \"+\"campaing\");\r\n db.execSQL(\"drop table \"+\"cafe\");\r\n db.execSQL(\"drop table \"+\"points\");\r\n\r\n db.close ();\r\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"ANSWERS_QUESTION\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"HINT\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'CUSTOMER'\";\n db.execSQL(sql);\n }",
"@Override\n public void cleanUsersTable() {\n\n Session session = sessionFactory.openSession();\n Transaction tx = session.beginTransaction();\n session.createQuery(\"delete from User\").executeUpdate();\n tx.commit();\n System.out.println(\"HibCleaning users table\");\n session.close();\n\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"LIVE_KIND_OBJ\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"BUDGETS\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'RECYCLE_SCAN'\";\n db.execSQL(sql);\n }",
"@Override\n public void run() {\n\n String filename = \"PurgeTable\";\n\n PreparedStatement stmt1 = null;\n try {\n stmt1 = conn.prepareStatement(\"delete from \" + filename);\n stmt1.executeUpdate();\n System.out.println(\"Deletion successful\");\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"SHEET\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'IdCard'\";\n db.execSQL(sql);\n }",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\r\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'META'\";\r\n db.execSQL(sql);\r\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"kctBaseStation\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"BACK_ALARM_MODEL\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"EXAM_QUESTION\\\"\";\n db.execSQL(sql);\n }",
"public void dropDatabase(String dbName) throws Exception;",
"public static void dropTable(SQLiteDatabase db, boolean ifExists) {\n\t\tString sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"'District'\";\n\t\tdb.execSQL(sql);\n\t}",
"public synchronized void removeAll(SQLiteDatabase db) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME);\n }",
"public void dropSQLtable(Connection conn, String dataid, String tablename) throws SQLException\n\t\t{\n\t\tStringBuffer dropTable=new StringBuffer();\n\t\tdropTable.append(\"drop table \"+tablename+\";\");\n\t\tPreparedStatement stmDropTable=conn.prepareStatement(dropTable.toString());\n\t\tstmDropTable.execute();\n\t\t}",
"public void DropTables() {\n\t\ttry {\n\t\t\tDesinstall_DBMS_MetaData();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"void dropTable(ObjectPath tablePath, boolean ignoreIfNotExists)\n throws TableNotExistException, CatalogException;",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"STEP11_RESBEAN\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"HOT_SONG_LIST\\\"\";\n db.execSQL(sql);\n }",
"public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"USER_ENTITY\\\"\";\n db.execSQL(sql);\n }"
]
| [
"0.779202",
"0.76301473",
"0.7506168",
"0.74641335",
"0.73204565",
"0.72970927",
"0.72935843",
"0.7283971",
"0.7267279",
"0.72016066",
"0.7200416",
"0.7170111",
"0.71066177",
"0.70945585",
"0.7093874",
"0.70403093",
"0.69307244",
"0.68875414",
"0.67883664",
"0.6783334",
"0.6777733",
"0.6755297",
"0.6727603",
"0.6711302",
"0.6699504",
"0.667491",
"0.6649616",
"0.6643366",
"0.6641521",
"0.66216916",
"0.66151834",
"0.6611402",
"0.6599697",
"0.65932006",
"0.6593008",
"0.6573537",
"0.6565214",
"0.6552604",
"0.65521485",
"0.6538439",
"0.6533239",
"0.6520395",
"0.6496345",
"0.6491014",
"0.64743084",
"0.64404887",
"0.6434657",
"0.6429156",
"0.64236385",
"0.6416587",
"0.6402908",
"0.63995457",
"0.63855696",
"0.6375745",
"0.6367342",
"0.63508797",
"0.63496685",
"0.63461936",
"0.63361466",
"0.6332755",
"0.63310015",
"0.63284314",
"0.63238573",
"0.63236064",
"0.6323403",
"0.630969",
"0.6301248",
"0.6300721",
"0.6295184",
"0.62941104",
"0.62941104",
"0.62867546",
"0.62863994",
"0.6285707",
"0.62856156",
"0.6282486",
"0.6276482",
"0.62569064",
"0.6252814",
"0.62495023",
"0.624872",
"0.62438816",
"0.6239567",
"0.6230596",
"0.62299913",
"0.6221355",
"0.62190455",
"0.6213366",
"0.6210747",
"0.62047625",
"0.6198344",
"0.6181069",
"0.6180802",
"0.6179083",
"0.6176388",
"0.6170822",
"0.6141066",
"0.6134912",
"0.6131807",
"0.61308515"
]
| 0.61760604 | 95 |
Builds SenseiRequest based on a JSON object. | public static SenseiRequest fromJSON(JSONObject json)
throws Exception
{
return fromJSON(json, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static SenseiRequest fromJSON(JSONObject json,\n final Map<String, String[]> facetInfoMap)\n throws Exception\n {\n\t json = jsonTemplateProcessor.substituteTemplates(json);\n\n\t SenseiRequest req = new SenseiRequest();\n\n JSONObject meta = json.optJSONObject(\"meta\");\n if (meta != null)\n {\n JSONArray array = meta.optJSONArray(\"select_list\");\n if (array != null)\n {\n List<String> list = new ArrayList<String>();\n for (int i = 0; i < array.length(); ++i)\n {\n list.add(array.get(i).toString());\n }\n req.setSelectList(list);\n }\n }\n\n\t // query\n\t req.setQuery(new SenseiJSONQuery(json));\n\n\t\t// paging params\n\n\t int count = json.optInt(RequestConverter2.PAGING_SIZE, 10);\n\t int offset = json.optInt(RequestConverter2.PAGING_FROM, 0);\n\t req.setCount(count);\n\t req.setOffset(offset);\n\n\n // group by\n JSONObject groupBy = json.optJSONObject(\"groupBy\");\n if (groupBy != null)\n {\n JSONArray columns = groupBy.optJSONArray(\"columns\");\n if (columns != null && columns.length() >= 1)\n {\n String[] groupByArray = new String[columns.length()];\n for (int i=0; i<columns.length(); ++i)\n groupByArray[i] = columns.getString(i);\n req.setGroupBy(groupByArray);\n }\n req.setMaxPerGroup(groupBy.optInt(\"top\", groupBy.optInt(\"count\", 1)));\n }\n\n // distinct\n JSONObject distinct = json.optJSONObject(\"distinct\");\n if (distinct != null)\n {\n JSONArray columns = distinct.optJSONArray(\"columns\");\n if (columns != null && columns.length() >= 1)\n {\n String[] distinctArray = new String[columns.length()];\n for (int i=0; i<columns.length(); ++i)\n distinctArray[i] = columns.getString(i);\n if (distinctArray.length == 1 && req.getGroupBy() == null)\n {\n // rewrite to use group by\n req.setGroupBy(distinctArray);\n req.setMaxPerGroup(0);\n }\n else\n {\n req.setDistinct(distinctArray);\n }\n }\n }\n\n // selections\n Object selections = json.opt(RequestConverter2.SELECTIONS);\n if (selections == null)\n {\n // ignore\n }\n else if (selections instanceof JSONArray)\n {\n JSONArray selectionArray = (JSONArray)selections;\n for(int i=0; i<selectionArray.length(); i++)\n {\n JSONObject selItem = selectionArray.optJSONObject(i);\n if(selItem != null){\n Iterator<String> keyIter = selItem.keys();\n while(keyIter.hasNext()){\n String type = keyIter.next();\n JSONObject jsonSel = selItem.optJSONObject(type);\n if(jsonSel != null){\n addSelection(type, jsonSel, req, facetInfoMap);\n }\n }\n }\n }\n }\n else if (selections instanceof JSONObject)\n {\n JSONObject selectionObject = (JSONObject)selections;\n Iterator<String> keyIter = selectionObject.keys();\n while (keyIter.hasNext())\n {\n String type = keyIter.next();\n JSONObject jsonSel = selectionObject.optJSONObject(type);\n if (jsonSel != null)\n addSelection(type, jsonSel, req, facetInfoMap);\n }\n }\n //map reduce\n Object mapReduceObj = json.opt(RequestConverter2.MAP_REDUCE);\n if (mapReduceObj instanceof JSONObject) {\n JSONObject mapReduceJson = (JSONObject) mapReduceObj;\n String key = mapReduceJson.getString(MAP_REDUCE_FUNCTION);\n SenseiMapReduce senseiMapReduce = MapReduceRegistry.get(key);\n senseiMapReduce.init(mapReduceJson.optJSONObject(MAP_REDUCE_PARAMETERS));\n req.setMapReduceFunction(senseiMapReduce);\n } else if (mapReduceObj instanceof JSONArray) {\n JSONArray mapReduceJson = (JSONArray) mapReduceObj;\n CompositeMapReduce compositeMapReduce = new CompositeMapReduce();\n JSONObject convertedParams = new JSONUtil.FastJSONObject();\n for (int i = 0; i < mapReduceJson.length(); i++) {\n JSONObject currentFunction = mapReduceJson.getJSONObject(i);\n convertedParams.put(currentFunction.getString(MAP_REDUCE_FUNCTION), convertedParams.optJSONObject(MAP_REDUCE_PARAMETERS));\n }\n compositeMapReduce.init(new JSONUtil.FastJSONObject().put(\"array\", mapReduceJson));\n req.setMapReduceFunction(compositeMapReduce);\n }\n\t\t // facets\n\t\t JSONObject facets = json.optJSONObject(RequestConverter2.FACETS);\n\t\t if (facets!=null){\n\t\t\t Iterator<String> keyIter = facets.keys();\n\t\t\t while (keyIter.hasNext()){\n\t\t\t\t String field = keyIter.next();\n\t\t\t\t JSONObject facetObj = facets.getJSONObject(field);\n\t\t\t\t if (facetObj!=null){\n\t\t\t\t\t FacetSpec facetSpec = new FacetSpec();\n\t\t\t\t\t facetSpec.setMaxCount(facetObj.optInt(RequestConverter2.FACETS_MAX, 10));\n\t\t\t\t\t facetSpec.setMinHitCount(facetObj.optInt(RequestConverter2.FACETS_MINCOUNT, 1));\n\t\t\t\t\t facetSpec.setExpandSelection(facetObj.optBoolean(RequestConverter2.FACETS_EXPAND, false));\n\n\t\t\t\t\t String orderBy = facetObj.optString(RequestConverter2.FACETS_ORDER, RequestConverter2.FACETS_ORDER_HITS);\n\t\t\t\t\t FacetSpec.FacetSortSpec facetOrder = FacetSpec.FacetSortSpec.OrderHitsDesc;\n\t\t\t\t\t if (RequestConverter2.FACETS_ORDER_VAL.equals(orderBy)){\n\t\t\t\t\t\t facetOrder = FacetSpec.FacetSortSpec.OrderValueAsc;\n\t\t\t\t\t }\n\t\t\t\t\t facetSpec.setProperties(createFacetProperties(facetObj));\n\t\t\t\t\t facetSpec.setOrderBy(facetOrder);\n\t\t\t\t\t req.setFacetSpec(field, facetSpec);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\n\t\t //facet init;\n JSONObject facetInitParams = json.optJSONObject(RequestConverter2.FACETINIT);\n if (facetInitParams != null)\n {\n Iterator<String> keyIter = facetInitParams.keys();\n while (keyIter.hasNext())\n {\n // may have multiple facets;\n String facetName = keyIter.next();\n DefaultFacetHandlerInitializerParam param =\n new DefaultFacetHandlerInitializerParam();\n\n JSONObject jsonParams = facetInitParams.getJSONObject(facetName);\n if (jsonParams != null && jsonParams.length() > 0)\n {\n Iterator<String> paramIter = jsonParams.keys();\n while (paramIter.hasNext())\n {\n // each facet may have multiple parameters to be configured;\n String paramName = paramIter.next();\n JSONObject jsonParamValues = jsonParams.getJSONObject(paramName);\n String type = jsonParamValues.optString(RequestConverter2.FACETINIT_TYPE, RequestConverter2.FACETINIT_TYPE_STRING);\n JSONArray jsonValues = jsonParamValues.optJSONArray(RequestConverter2.FACETINIT_VALUES);\n if (jsonValues == null)\n {\n // Accept scalar values here too. This is useful in\n // supporting variable substitutions.\n Object value = jsonParamValues.opt(RequestConverter2.FACETINIT_VALUES);\n if (value != null)\n {\n jsonValues = new FastJSONArray().put(value);\n }\n }\n if (jsonValues != null)\n {\n if (type.equals(RequestConverter2.FACETINIT_TYPE_INT))\n param.putIntParam(paramName, convertJSONToIntArray(jsonValues));\n else if (type.equals(RequestConverter2.FACETINIT_TYPE_STRING))\n param.putStringParam(paramName, convertJSONToStringArray(jsonValues));\n else if (type.equals(RequestConverter2.FACETINIT_TYPE_BOOLEAN))\n param.putBooleanParam(paramName, convertJSONToBoolArray(jsonValues));\n else if (type.equals(RequestConverter2.FACETINIT_TYPE_LONG))\n param.putLongParam(paramName, convertJSONToLongArray(jsonValues));\n else if (type.equals(RequestConverter2.FACETINIT_TYPE_BYTES))\n param.putByteArrayParam(paramName, convertJSONToByteArray(jsonValues));\n else if (type.equals(RequestConverter2.FACETINIT_TYPE_DOUBLE))\n param.putDoubleParam(paramName, convertJSONToDoubleArray(jsonValues));\n }\n }\n req.setFacetHandlerInitializerParam(facetName, param);\n }\n\n }\n }\n\n\t\t// sorts\n\n JSONArray sortArray = json.optJSONArray(RequestConverter2.SORT);\n if (sortArray!=null && sortArray.length()>0){\n ArrayList<SortField> sortFieldList = new ArrayList<SortField>(sortArray.length());\n for (int i=0;i<sortArray.length();++i){\n Object obj = sortArray.opt(i);\n if(obj instanceof JSONObject){\n String field = (String) ((JSONObject)obj).keys().next();\n if (field == null || field.length() == 0)\n continue;\n if (SORT_SCORE.equals(field) || SORT_RELEVANCE.equalsIgnoreCase(field))\n {\n sortFieldList.add(SortField.FIELD_SCORE);\n continue;\n }\n String order = ((JSONObject)obj).optString(field);\n boolean rev = false;\n if(RequestConverter2.SORT_DESC.equals(order))\n rev = true;\n sortFieldList.add(new SortField(field,SortField.CUSTOM,rev));\n continue;\n }\n else if (obj instanceof String){\n if(SORT_SCORE.equals(obj)){\n sortFieldList.add(SortField.FIELD_SCORE);\n continue;\n }\n }\n }\n\n\n if (sortFieldList.size()>0){\n req.setSort(sortFieldList.toArray(new SortField[sortFieldList.size()]));\n }\n }\n\n\t\t// other\n\n\t\tboolean fetchStored = json.optBoolean(RequestConverter2.FETCH_STORED);\n\t\treq.setFetchStoredFields(fetchStored);\n\n\t\tboolean fetchStoredValue = json.optBoolean(RequestConverter2.FETCH_STORED_VALUE);\n\t\treq.setFetchStoredValue(fetchStoredValue);\n\n\t\tString[] termVectors = getStrings(json,RequestConverter2.TERM_VECTORS);\n\t\tif (termVectors!=null && termVectors.length>0){\n\t\t req.setTermVectorsToFetch(new HashSet<String>(Arrays.asList(termVectors)));\n\t\t}\n\n\n\t\treq.setPartitions(getIntSet(json, RequestConverter2.PARTITIONS,0));\n\n\t\treq.setShowExplanation(json.optBoolean(RequestConverter2.EXPLAIN,false));\n\n\t\tString routeParam = json.optString(RequestConverter2.ROUTEPARAM,null);\n\t\treq.setRouteParam(routeParam);\n\n\t\treturn req;\n\t}",
"private Request build() {\n Request.Builder builder =\n new Request.Builder().cacheControl(new CacheControl.Builder().noCache().build());\n\n HttpUrl.Builder urlBuilder = HttpUrl.parse(url).newBuilder();\n for (Map.Entry<String, String> entry : queryParams.entrySet()) {\n urlBuilder = urlBuilder.addEncodedQueryParameter(entry.getKey(), entry.getValue());\n }\n builder = builder.url(urlBuilder.build());\n\n for (Map.Entry<String, String> entry : headers.entrySet()) {\n builder = builder.header(entry.getKey(), entry.getValue());\n }\n\n RequestBody body = (bodyBuilder == null) ? null : bodyBuilder.build();\n builder = builder.method(method.name(), body);\n\n return builder.build();\n }",
"private ObjectNode makeRequest(final String api) {\n ObjectNode req = JSON.objectNode();\n req.put(\"api\", api);\n return req;\n }",
"private JsonObject getNewRequestBody(String[] arguments, int tickets, String uuid) throws NumberFormatException {\n JsonObject obj = new JsonObject();\n obj.addProperty(\"userid\", Integer.parseInt(arguments[2]));\n obj.addProperty(\"eventid\", Integer.parseInt(arguments[0]));\n obj.addProperty(\"tickets\", tickets);\n obj.addProperty(\"uuid\", uuid);\n\n return obj;\n }",
"private RestRequest createRestRequest(final Client jerseyClient) {\n String uri = getServiceEndpointAddress();\n WebResource webResource = buildWebResource(jerseyClient, uri);\n return new RestRequest(webResource);\n }",
"TypedRequest createTypedRequest();",
"public PredictRequest build() {\n\n\t\t\tcheckArgument(!Strings.isNullOrEmpty(url), \"url is required\");\n\t\t\tcheckArgument(!Strings.isNullOrEmpty(service), \"service name is required\");\n\t\t\tcheckArgument(data != null, \"data is required\");\n\n\t\t\tPredictRequest request = new PredictRequest();\n\t\t\trequest.baseURL = url;\n\t\t\tJsonObject requestData = new JsonObject();\n\t\t\trequestData.addProperty(\"service\", service);\n\n\t\t\tJsonObject paramsObj = new JsonObject();\n\t\t\tif (input != null)\n\t\t\t\tparamsObj.add(\"input\", input);\n\t\t\tif (output != null)\n\t\t\t\tparamsObj.add(\"output\", output);\n\t\t\tif (mllibParams != null)\n\t\t\t\tparamsObj.add(\"mllib\", mllibParams);\n\n\t\t\tif (!paramsObj.isJsonNull()) {\n\t\t\t\trequestData.add(\"parameters\", paramsObj);\n\t\t\t}\n\n\t\t\trequestData.add(\"data\", data);\n\n\t\t\trequest.data = requestData;\n\t\t\treturn request;\n\t\t}",
"protected abstract JSONObject build();",
"public static JSONObject createJSONObject(RequirementForm req)\r\n{\r\n\tString keys[] = {\"id\", \"nameReq\",\"nameGroup\",\"startDate\",\"endDate\",\"process\",\"statusReq\", \"lateDate\", \"stage\" };\r\n \r\n\tJSONObject uc = new JSONObject(keys);\r\n uc.getObject().put(keys[0], String.valueOf(req.getId()));\r\n uc.getObject().put(keys[1], CommonUtil.convertNVLFor(req.getNameReq()));\r\n uc.getObject().put(keys[2], req.getNameGroup());\r\n uc.getObject().put(keys[3], req.getStartDate());\r\n uc.getObject().put(keys[4], req.getEndDate());\r\n uc.getObject().put(keys[5], String.valueOf(req.getProcess()));\r\n uc.getObject().put(keys[6], String.valueOf(req.getStatusReq()));\r\n uc.getObject().put(keys[7], String.valueOf(req.getLateDate()));\r\n uc.getObject().put(keys[8], String.valueOf(req.getStage()));\r\n\r\n return uc; \r\n}",
"public abstract VKRequest mo118416a(JSONObject jSONObject);",
"public JsonRequestSerializer() {\n this(JNC.GSON);\n }",
"private MarketDataRequest generateRequestFromAtom(MarketDataRequestAtom inAtom,\n MarketDataRequest inCompleteRequest)\n {\n return MarketDataRequestBuilder.newRequest().withAssetClass(inCompleteRequest.getAssetClass()).withSymbols(inAtom.getSymbol()).withContent(inAtom.getContent()).withExchange(inAtom.getExchange()).create();\n }",
"public static TestWebhookRequest fromJson(String jsonString) throws JsonProcessingException {\n return JSON.getMapper().readValue(jsonString, TestWebhookRequest.class);\n }",
"private CartReceiptRequest buildRequestFromParameters(String[] requestParameters) throws ParseException {\n CartReceiptRequest receiptRequest = new CartReceiptRequest();\n LOGGER.debug(\"localeParam =\" + requestParameters[2] + \" \\t applicationId =\" + requestParameters[1]);\n /* Building request for the Reprint API */\n receiptRequest.setUserId(Long.valueOf(requestParameters[0]));\n receiptRequest.setApplicationId(Long.valueOf(requestParameters[1]));\n receiptRequest.setLocale(requestParameters[2]);\n receiptRequest.setCartId(Long.valueOf(requestParameters[3]));\n Long milliSeconds = Long.parseLong(requestParameters[4]);\n Date date = new Date(milliSeconds);\n receiptRequest.setCartDate(date);\n /* Returning constructed API request*/\n return receiptRequest;\n }",
"private OrderRequest buildRequestBody(OriginalOrder originalOrder) {\n String currency = \"MXN\";\n\n OrderRequest orderRequest = new OrderRequest();\n orderRequest.intent(originalOrder.getIntent());\n\n ApplicationContext applicationContext = new ApplicationContext()\n .brandName(originalOrder.getBrandName())\n .landingPage(originalOrder.getLandingPage())\n .shippingPreference(originalOrder.getShippingPreference());\n orderRequest.applicationContext(applicationContext);\n System.out.println(\"item Category: \"+ originalOrder.getItems().get(0).getCategory());\n List<PurchaseUnitRequest> purchaseUnitRequests = new ArrayList<PurchaseUnitRequest>();\n PurchaseUnitRequest purchaseUnitRequest = new PurchaseUnitRequest()\n .referenceId(originalOrder.getReferenceId())\n .description(originalOrder.getDescription())\n .customId(originalOrder.getCustomId())\n .softDescriptor(originalOrder.getSoftDescriptor())\n .amount(new AmountWithBreakdown().currencyCode(currency).value(originalOrder.getTotal())\n .breakdown(\n new AmountBreakdown().itemTotal(new Money().currencyCode(currency).value(originalOrder.getTotal()))\n .shipping(new Money().currencyCode(currency).value(originalOrder.getShipping()))\n .handling(new Money().currencyCode(currency).value(originalOrder.getHandling()))\n .taxTotal(new Money().currencyCode(currency).value(originalOrder.getTaxTotal()))\n .shippingDiscount(new Money().currencyCode(currency).value(originalOrder.getShippingDiscount()))))\n .items(new ArrayList<Item>() {\n {\n add(new Item()\n .name(originalOrder.getItems().get(0).getName())\n .description(originalOrder.getItems().get(0).getDescription())\n .sku(originalOrder.getItems().get(0).getSku())\n .unitAmount(new Money().currencyCode(currency).value(originalOrder.getItems().get(0).getUnitAmount()))\n .tax(new Money().currencyCode(currency).value(originalOrder.getItems().get(0).getTax()))\n .quantity(originalOrder.getItems().get(0).getQuantity())\n .category(originalOrder.getItems().get(0).getCategory()));\n }\n })\n .shipping(new ShippingDetails().name(new Name().fullName(originalOrder.getAddress().getName()))\n .addressPortable(new AddressPortable()\n .addressLine1(originalOrder.getAddress().getAddressLine1())\n .addressLine2(originalOrder.getAddress().getAddressLine2())\n .adminArea2(originalOrder.getAddress().getAdminArea2())\n .adminArea1(originalOrder.getAddress().getAdminArea1())\n .postalCode(originalOrder.getAddress().getPostalCode())\n .countryCode(originalOrder.getAddress().getCountryCode())));\n System.out.println(\"purchaseUnitRequest: \\n\" +\n \"\\ndescription \"+ purchaseUnitRequest.description() +\n \"\\nreferenceId \"+ purchaseUnitRequest.referenceId() +\n \"\\nsoftDescriptor \"+ purchaseUnitRequest.softDescriptor() +\n \"\\namount currencyCode \"+ purchaseUnitRequest.amount().currencyCode() +\n \"\\namount value\"+ purchaseUnitRequest.amount().value() +\n \"\\namount taxTotal \"+ purchaseUnitRequest.amount().breakdown().taxTotal().value() +\n \"\\namount handling \"+ purchaseUnitRequest.amount().breakdown().handling().value() +\n \"\\namount shipping \"+ purchaseUnitRequest.amount().breakdown().shipping().value() +\n \"\\namount shippingDiscount \"+ purchaseUnitRequest.amount().breakdown().shippingDiscount().value() +\n \"\\namount itemTotal \"+ purchaseUnitRequest.amount().breakdown().itemTotal().value()\n );\n purchaseUnitRequests.add(purchaseUnitRequest);\n orderRequest.purchaseUnits(purchaseUnitRequests);\n System.out.println(\"Request: \" + orderRequest.toString());\n return orderRequest;\n }",
"public RequestOperationBase.Request buildRequest(Account account, RequestCloudItem requestCloudItem) throws Exception {\n List<DBImage> subUbiImages;\n DBImage dBImage = requestCloudItem.dbCloud;\n String editUrl = CloudUrlProvider.getUrlProvider(dBImage.isShareItem(), dBImage.isVideoType()).getEditUrl(account.name, dBImage.getRequestId());\n new JSONObject();\n JSONObject jSONObject = dBImage.toJSONObject();\n if (dBImage.isUbiFocus() && (subUbiImages = UbiFocusUtils.getSubUbiImages(dBImage.isShareItem(), dBImage.getRequestId(), dBImage.getId())) != null) {\n JSONObject jSONObject2 = new JSONObject();\n for (DBImage next : subUbiImages) {\n jSONObject2.putOpt(String.valueOf(next.getSubUbiIndex()), next.toJsonObjectForSubUbi());\n }\n jSONObject2.putOpt(String.valueOf(dBImage.getSubUbiIndex()), dBImage.toJsonObjectForSubUbi());\n jSONObject.putOpt(\"ubiSubImageContentMap\", jSONObject2);\n }\n return new RequestOperationBase.Request.Builder().setUrl(editUrl).setMethod(2).setPostData(new JSONObject().put(\"content\", jSONObject)).setRetryTimes(requestCloudItem.otherRetryTimes).setNeedReRequest(false).build();\n }",
"public static EvaluableRequest buildEvaluableRequest(String requestBody, String requestResourcePath, HttpServletRequest request) {\n // Create and fill an evaluable request object.\n EvaluableRequest evaluableRequest = new EvaluableRequest(requestBody,\n requestResourcePath != null ? requestResourcePath.split(\"/\") : null);\n // Adding query parameters...\n Map<String, String> evaluableParams = new HashMap<>();\n List<String> parameterNames = Collections.list(request.getParameterNames());\n for (String parameter : parameterNames) {\n evaluableParams.put(parameter, request.getParameter(parameter));\n }\n evaluableRequest.setParams(evaluableParams);\n // Adding headers...\n Map<String, String> evaluableHeaders = new HashMap<>();\n List<String> headerNames = Collections.list(request.getHeaderNames());\n for (String header : headerNames) {\n evaluableHeaders.put(header, request.getHeader(header));\n }\n evaluableRequest.setHeaders(evaluableHeaders);\n\n return evaluableRequest;\n }",
"public Builder(final JsonObject jsonObject) {\n final JsonObject prototype = Validator.of(jsonObject).get();\n final JsonArray jsonNames = (JsonArray) prototype.get(\"names\");\n if (jsonNames != null) {\n names.addAll(jsonNames.stream().map(Object::toString).collect(Collectors.toList()));\n }\n final long page = getLong(prototype, \"page\");\n if (page >= 0) {\n this.page = (int) page;\n } else {\n throw new IllegalArgumentException(WRONG_PAGE_VALUE);\n }\n final long total = getLong(prototype, \"total\");\n if (total >= 0) {\n this.total = (int) total;\n } else {\n throw new IllegalArgumentException(WRONG_TOTAL_VALUE);\n }\n }",
"public void build() {\n\t\t\tRequest request = new Request();\n request.context = context;\n\t\t\trequest.requestType = requestType;\n\t\t\trequest.url = url;\n\t\t\trequest.envelope = envelope;\n\t\t\trequest.headers = headers;\n\n\t\t\trequest.responseListener = responseListener;\n\t\t\trequest.onValidateResponseListener = validateResponseListener;\n\n\t\t\trequest.isDebug = isDebug;\n\n\t\t\trequest.start();\n\t\t}",
"public JSONObject buildJson() {\n Map<String, String> reqData = new HashMap<>();\n reqData.put(\"id\", id);\n reqData.put(\"summary\", summary);\n reqData.put(\"location\", location);\n reqData.put(\"description\", description);\n reqData.put(\"color\", color);\n reqData.put(\"emailReminderMinutes\", Integer.toString(emailReminderMinutes));\n reqData.put(\"repetitionInterval\", Integer.toString(repetitionInterval));\n reqData.put(\"startDate\", startDate);\n reqData.put(\"endDate\", endDate);\n return new JSONObject(reqData);\n }",
"public GetBulkStateRequest build() {\n GetBulkStateRequest request = new GetBulkStateRequest();\n request.setStoreName(this.storeName);\n request.setKeys(this.keys);\n request.setMetadata(this.metadata);\n request.setParallelism(this.parallelism);\n return request;\n }",
"private GetObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public abstract DankSubmissionRequest build();",
"private void buildRequestParameters(final Oauth2Client oauth2Client) {\n oauth2Client.addHeader(OauthConstants.OauthHeader.CORRELATION_ID,\n mRequestContext.getCorrelationId().toString());\n\n // add body parameters\n oauth2Client.addBodyParameter(OauthConstants.Oauth2Parameters.CLIENT_ID, mAuthRequestParameters.getClientId());\n final String scope = MsalUtils.convertSetToString(getDecoratedScope(mAuthRequestParameters.getScope()), \" \");\n oauth2Client.addBodyParameter(OauthConstants.Oauth2Parameters.SCOPE, scope);\n oauth2Client.addBodyParameter(OauthConstants.Oauth2Parameters.CLIENT_INFO, \"1\");\n setAdditionalOauthParameters(oauth2Client);\n\n // add slice parameters\n if (!MsalUtils.isEmpty(mAuthRequestParameters.getSliceParameters())) {\n final Map<String, String> sliceParameters = MsalUtils.decodeUrlToMap(mAuthRequestParameters.getSliceParameters(), \"&\");\n final Set<Map.Entry<String, String>> sliceParameterEntries = sliceParameters.entrySet();\n for (final Map.Entry<String, String> sliceParameterEntry : sliceParameterEntries) {\n oauth2Client.addQueryParameter(sliceParameterEntry.getKey(), sliceParameterEntry.getValue());\n }\n }\n }",
"private ObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"static Request parseRequest(InputStream in) throws IOException {\n\t\tRequestLine request = readRequestLine(in);\n\t\tHeaders headers = readHeaders(in);\n\t\tlong length = -1;\n\t\tInputStream body;\n\t\tif (HeaderValue.CHUNKED.equals(headers.get(HeaderName.TRANSFER_ENCODING))) {\n\t\t\tbody = new ChunkedInputStream(in);\n\t\t} else {\n\t\t\tString header = headers.get(HeaderName.CONTENT_LENGTH);\n\t\t\tlength = header == null ? 0 : Long.parseLong(header);\n\t\t\tbody = new LimitedInputStream(in, length);\n\t\t}\n\t\treturn new Request(request.method(), request.target(), request.path(), request.query(), headers, length, body);\n\t}",
"public static ApiRequest createRequests() {\n Retrofit retrofit = builder.client(client)\n .build();\n return retrofit.create(ApiRequest.class);\n }",
"public static Quote createQuotesFromJsonObject(JSONObject _jsonObject) throws JSONException {\n //Parse fields\n\n int quotesQuoteId = _jsonObject.getInt(\"QuoteId\");\n int quotesMinPrice = _jsonObject.getInt(\"MinPrice\");\n boolean quotesDirect = _jsonObject.getBoolean(\"Direct\");\n JourneyLeg quotesOutboundLeg = parseJourneyLeg(_jsonObject.getJSONObject(\"OutboundLeg\"));\n JourneyLeg quotesInboundLeg = null;\n if (_jsonObject.has(\"InboundLeg\")) {\n quotesInboundLeg = parseJourneyLeg(_jsonObject.getJSONObject(\"InboundLeg\"));\n }\n String quotesQuoteDateTime = _jsonObject.getString(\"QuoteDateTime\");\n\n //Construct result\n Quote result = new Quote(quotesQuoteId, quotesMinPrice, quotesDirect, quotesOutboundLeg,\n quotesInboundLeg, quotesQuoteDateTime);\n\n return result;\n }",
"private ObjectNode makeRequest(final String api, final JsiiObjectRef objRef) {\n ObjectNode req = makeRequest(api);\n req.set(\"objref\", objRef.toJson());\n return req;\n }",
"public void makeRequest() {\n Request newRequest = new Request();\n\n if (mProduct == null) {\n Toast.makeText(getContext(), \"BAD\", Toast.LENGTH_LONG).show();\n return;\n }\n\n newRequest.setClient(ParseUser.getCurrentUser());\n newRequest.setProduct(mProduct);\n newRequest.setBeaut(mBeaut);\n\n Date dateTime = new Date(selectedAppointmet.appDate.getTimeInMillis());\n newRequest.setDateTime(dateTime);\n // TODO: uncomment below line when dataset is clean and products have lengths\n// newRequest.setLength(mProduct.getLength());\n newRequest.setLength(1);\n newRequest.setSeat(selectedAppointmet.seatId);\n newRequest.setDescription(rComments.getText().toString());\n\n sendRequest(newRequest);\n }",
"public Request <String, ArrayList<Connection>> buildHttpContactRequest ()\n\t{\n\t\tHttpBuilder<String, ArrayList<Connection>> builder = new HttpBuilder<String, ArrayList<Connection>>(null, getApiKey());\n\t\t\n\t\tif (this.getAuthInfo() != null)\n\t\t\tbuilder.setAuthInfo(this.getAuthInfo().getBytes());\n\t\t\n\t\tif (this.getPath() != null)\n\t\t\tbuilder.setPath(this.getPath());\n\t\t\n\t\treturn new HttpContactRequest(builder);\n\t}",
"private WebSearchRequest createNextRequest() {\n\t\tWebSearchRequest _request = new WebSearchRequest(query);\n\t\t_request.setStart(BigInteger.valueOf(cacheStatus+1));\t\t\t\t\t//Yahoo API starts index with 1, not with 0\n\t\t_request.setResults(getFetchBlockSize());\n\t\treturn _request;\n\t}",
"public static String buildRequestForUpdate() throws Exception {\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"<sfdc:sObjects xmlns:sfdc='sfdc' type='\" + cmbSObjectType.getText() + \"'>\");\n\t\tsb.append(\"<sfdc:sObject>\");\n\t\tMap<String, String> fields = callDescribeSObject(cmbSObjectType.getText());\n\n\t\tfor (String key : fields.keySet()) {\n\t\t\tsb.append(\"<sfdc:\" + key + \">\");\n\t\t\tif (fields.get(key).equals(\"boolean\")) {\n\t\t\t\tsb.append(true);\n\t\t\t} else if (fields.get(key).equals(\"id\")) {\n\t\t\t\tsb.append(\"0012800000uQ6LXAA0\");\n\t\t\t} else if (fields.get(key).equals(\"double\")) {\n\t\t\t\tsb.append(3.1542);\n\t\t\t} else if (fields.get(key).equals(\"int\")) {\n\t\t\t\tsb.append(1);\n\t\t\t} else if (fields.get(key).equals(\"float\")) {\n\t\t\t\tsb.append(2147483648L);\n\t\t\t} else {\n\t\t\t\tsb.append(\"value\");\n\t\t\t}\n\t\t\tsb.append(\"</sfdc:\" + key + \">\");\n\t\t}\n\t\tsb.append(\"</sfdc:sObject>\");\n\t\tsb.append(\"</sfdc:sObjects>\");\n\t\tStringBuilder sb1 = new StringBuilder();\n\t\tsb1.append(\"<root>\");\n\t\tsb1.append(\"<allOrNone>\" + \"0\" + \"</allOrNone>\" + \"<allowFieldTruncate>\" + \"0\" + \"</allowFieldTruncate>\"\n\t\t\t\t+ sb.toString());\n\t\tsb1.append(\"</root>\");\n\n\t\treturn sb1.toString();\n\t}",
"public CurlRequest newRequest(final String action, final String body) {\n\t\tfinal var builder = AWS4SignatureQuery.builder().service(\"cognito-idp\").body(\"&Version=2016-04-18\");\n\t\tfinal var headers = new HashMap<String, String>();\n\t\theaders.put(\"x-amz-target\", \"AWSCognitoIdentityProviderService.\" + action);\n\t\theaders.put(\"Content-Type\", \"application/x-amz-json-1.1\");\n\t\tfinal var query = builder.accessKey(accessKey).secretKey(secretKey).region(region).path(\"/\").headers(headers)\n\t\t\t\t.body(body).host(URI.create(url).getHost()).build();\n\t\tfinal var authorization = signer.computeSignature(query);\n\t\tfinal var request = new CurlRequest(query.getMethod(), url, query.getBody());\n\t\trequest.getHeaders().putAll(query.getHeaders());\n\t\trequest.getHeaders().put(\"Authorization\", authorization);\n\t\trequest.setSaveResponse(true);\n\t\treturn request;\n\t}",
"protected Response createInsertingrequest(String urlFA,JSONObject jsonObject,HttpBasicAuthFilter auth,String type){\n ClientConfig config = new ClientConfig();\n Client client = ClientBuilder.newClient(config);\n WebTarget target;\n target = client.target(getBaseURI(urlFA));\n //Response plainAnswer =null; \n target.register(auth);\n \n Invocation.Builder invocationBuilder =target.request(MediaType.APPLICATION_JSON);\n MultivaluedHashMap<String,Object> mm=new MultivaluedHashMap<String,Object>();\n mm.add(\"content-type\", MediaType.APPLICATION_JSON);\n mm.add(\"Accept\", \"application/json\");\n mm.add(\"charsets\", \"utf-8\");\n invocationBuilder.headers(mm);\n //preliminary operation of request creation ended\n Response plainAnswer=null;\n switch(type){\n case \"post\":\n {\n plainAnswer=invocationBuilder\n .post(Entity.entity(jsonObject.toString(), MediaType.APPLICATION_JSON_TYPE));\n break;\n }\n case \"put\":\n {\n plainAnswer =invocationBuilder\n .put(Entity.entity(jsonObject.toString(), MediaType.APPLICATION_JSON));\n break;\n }\n }\n return plainAnswer;\n }",
"public static Builder newHttpJsonBuilder() {\n return Builder.createHttpJsonDefault();\n }",
"private void initRequest()\n\t{\n\t\tthis.request = new RestClientReportRequest();\n\t\tRequestHelper.copyConfigsToRequest(this.getConfigs(), this.request);\n\t\tRequestHelper.copyParamsToRequest(this.getParams(), this.request);\n\t\t\n\t\tthis.performQuery();\n\t}",
"public io.confluent.developer.InterceptTest.Builder setReqJson(java.lang.String value) {\n validate(fields()[2], value);\n this.req_json = value;\n fieldSetFlags()[2] = true;\n return this;\n }",
"MovilizerRequest getRequestFromString(String requestString);",
"public void createRequest(final String query, JsonHttpResponseHandler handler) {\n try {\n String url = getApiUrl(\"\");\n client.get(url + URLEncoder.encode(query, \"utf-8\"), handler);\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }",
"private void createRequest() {\n // Configure Google Sign In\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id))\n .requestEmail()\n .build();\n\n // Build a GoogleSignInClient with the options specified by gso.\n mGoogleSignInClient = GoogleSignIn.getClient(this, gso);\n }",
"public ClientRequest buildGetRequest(URI endpoint,\n Map<String, String> qryParams, MediaType... mediaTypes) {\n return ClientUtils.buildGetRequest(endpoint, qryParams, mediaTypes);\n }",
"public abstract void fromJson(JSONObject jsonObject);",
"private void buildOtherParams() {\n\t\tmClient.putRequestParam(\"attrType\", \"1\");\r\n\t}",
"public NbaTXRequestVO createRequestObject(NbaDst nbaDst, int access, String businessProcess, NbaUserVO user) {\n\t\tNbaTXRequestVO nbaTXRequest = new NbaTXRequestVO();\n\t\tnbaTXRequest.setTransType(NbaOliConstants.TC_TYPE_HOLDINGINQ);\n\t\tnbaTXRequest.setTransMode(NbaOliConstants.TC_MODE_ORIGINAL);\n\t\tnbaTXRequest.setInquiryLevel(NbaOliConstants.TC_INQLVL_OBJECTALL);\n\t\tnbaTXRequest.setNbaLob(nbaDst.getNbaLob());\n\t\tnbaTXRequest.setNbaUser(user);\n\t\tnbaTXRequest.setWorkitemId(nbaDst.getID());\n\t\tnbaTXRequest.setCaseInd(nbaDst.isCase());\n\t\tif (access != -1) {\n\t\t\tnbaTXRequest.setAccessIntent(access);\n\t\t}\n\t\tif (businessProcess != null) {\n\t\t\tnbaTXRequest.setBusinessProcess(businessProcess);\n\t\t}\n\t\treturn nbaTXRequest;\n\t}",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public SveaRequest<SveaCloseOrder> prepareRequest() {\n String errors = validateRequest();\n \n if (!errors.equals(\"\")) {\n throw new SveaWebPayException(\"Validation failed\", new ValidationException(errors));\n }\n \n // build inspectable request object and insert into order builder\n SveaCloseOrder sveaCloseOrder = new SveaCloseOrder();\n sveaCloseOrder.Auth = getStoreAuthorization();\n SveaCloseOrderInformation orderInfo = new SveaCloseOrderInformation();\n orderInfo.SveaOrderId = order.getOrderId();\n sveaCloseOrder.CloseOrderInformation = orderInfo;\n \n SveaRequest<SveaCloseOrder> object = new SveaRequest<SveaCloseOrder>();\n object.request = sveaCloseOrder;\n \n return object;\n }",
"private ReflectionRequest(Builder builder) {\n super(builder);\n }",
"public CommentsRequest toJraw() {\n return new CommentsRequest.Builder()\n .sort(commentSort().mode())\n .focus(focusCommentId())\n .context(contextCount())\n .limit(commentLimit())\n .build();\n }",
"@Nonnull\n public ServiceAnnouncementRequest buildRequest(@Nonnull final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.ServiceAnnouncementRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"public void setReqJson(java.lang.String value) {\n this.req_json = value;\n }",
"public static JsonObjectBuilder createObjectBuilder(JsonObject initialObject) {\n\t\tJsonObjectBuilder builder = Json.createObjectBuilder();\n\t\tfor (Map.Entry<String, JsonValue> entry : initialObject.entrySet()) {\n\t\t\tbuilder.add(entry.getKey(), entry.getValue());\n\t\t}\n\t\treturn builder;\n\t}",
"private TransactionRequest initTransactionRequest() {\n TransactionRequest transactionRequestNew = new\n TransactionRequest(System.currentTimeMillis() + \"\", 20000);\n\n //set customer details\n transactionRequestNew.setCustomerDetails(initCustomerDetails());\n\n\n // set item details\n ItemDetails itemDetails = new ItemDetails(\"1\", 20000, 1, \"Trekking Shoes\");\n\n // Add item details into item detail list.\n ArrayList<ItemDetails> itemDetailsArrayList = new ArrayList<>();\n itemDetailsArrayList.add(itemDetails);\n transactionRequestNew.setItemDetails(itemDetailsArrayList);\n\n\n // Create creditcard options for payment\n CreditCard creditCard = new CreditCard();\n\n creditCard.setSaveCard(false); // when using one/two click set to true and if normal set to false\n\n// this methode deprecated use setAuthentication instead\n// creditCard.setSecure(true); // when using one click must be true, for normal and two click (optional)\n\n creditCard.setAuthentication(CreditCard.AUTHENTICATION_TYPE_3DS);\n\n // noted !! : channel migs is needed if bank type is BCA, BRI or MyBank\n// creditCard.setChannel(CreditCard.MIGS); //set channel migs\n creditCard.setBank(BankType.BCA); //set spesific acquiring bank\n\n transactionRequestNew.setCreditCard(creditCard);\n\n return transactionRequestNew;\n }",
"protected void buildLocationSettingsRequest() {\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n mLocationSettingsRequest = builder.build();\n\n }",
"private static CheckoutRequest buildCheckoutRequest(\n MasterpassCheckoutRequest masterpassCheckoutRequest) {\n Amount amount = masterpassCheckoutRequest.getAmount();\n\n return new CheckoutRequest.Builder().amount(getAmount(amount))\n .currency(amount.getCurrencyCode())\n .cartId(masterpassCheckoutRequest.getCartId())\n .cvc2Support(masterpassCheckoutRequest.isCvc2support())\n .shippingLocationProfile(masterpassCheckoutRequest.getShippingProfileId())\n .suppress3ds(masterpassCheckoutRequest.isSuppress3Ds())\n .suppressShippingAddress(!masterpassCheckoutRequest.isShippingRequired())\n .validityPeriodMinutes(masterpassCheckoutRequest.getValidityPeriodMinutes())\n .unpredictableNumber(masterpassCheckoutRequest.getTokenization() != null\n ? masterpassCheckoutRequest.getTokenization().getUnpredictableNumber() : null)\n .cryptoOptions(buildCryptoOptions(masterpassCheckoutRequest.getTokenization()))\n .build();\n }",
"public static RequestOptions fromJson(JsonReader jsonReader) throws IOException {\n return jsonReader.readObject(\n reader -> {\n RequestOptions deserializedRequestOptions = new RequestOptions();\n while (reader.nextToken() != JsonToken.END_OBJECT) {\n String fieldName = reader.getFieldName();\n reader.nextToken();\n\n if (\"x-ms-client-request-id\".equals(fieldName)) {\n deserializedRequestOptions.xMsClientRequestId =\n reader.getNullable(nonNullReader -> UUID.fromString(nonNullReader.getString()));\n } else {\n reader.skipChildren();\n }\n }\n\n return deserializedRequestOptions;\n });\n }",
"public static ApiRequest.ApiRequestBuilder builder() {\n final ApiRequest.ApiRequestBuilder builder = new ApiRequestBuilderCustom();\n return builder\n .requestStartTime(Instant.now().toEpochMilli())\n .requestId(UUID.randomUUID().toString());\n }",
"public IComplianceRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.ComplianceRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"public static ApproveRequest buildApproveRequest(Integer chatRoomID, Integer userID, Boolean isApprove) {\n ApproveRequest.Data approveRequestData = ApproveRequest.Data.builder()\n .chatRoomID(chatRoomID)\n .userID(userID)\n .isApprove(isApprove)\n .build();\n return ApproveRequest.builder()\n .request(\"approve\")\n .data(approveRequestData)\n .build();\n }",
"public RequiredParameterNode createNodeForRequestBody(RequestBody requestBody) throws BallerinaOpenApiException {\n Token comma = createToken(SyntaxKind.COMMA_TOKEN);\n List<Node> literals = new ArrayList<>();\n MappingConstructorExpressionNode annotValue;\n TypeDescriptorNode typeName;\n if (requestBody.getContent().entrySet().size() > 1) {\n IdentifierToken mediaType = createIdentifierToken(\"mediaType\");\n // Filter same data type\n HashSet<Map.Entry<String, MediaType>> equalDataType = filterMediaTypes(requestBody);\n if (!equalDataType.isEmpty()) {\n typeName = getIdentifierTokenForJsonSchema(equalDataType.iterator().next().getValue().getSchema());\n SeparatedNodeList<MappingFieldNode> fields = fillRequestAnnotationValues(comma, literals, mediaType,\n equalDataType);\n annotValue = NodeFactory.createMappingConstructorExpressionNode(\n createToken(SyntaxKind.OPEN_BRACE_TOKEN), fields, createToken(SyntaxKind.CLOSE_BRACE_TOKEN));\n } else {\n typeName = createBuiltinSimpleNameReferenceNode(null, createIdentifierToken(\n GeneratorConstants.JSON, SINGLE_WS_MINUTIAE, SINGLE_WS_MINUTIAE));\n annotValue = NodeFactory.createMappingConstructorExpressionNode(\n createToken(SyntaxKind.OPEN_BRACE_TOKEN), NodeFactory.createSeparatedNodeList(),\n createToken(SyntaxKind.CLOSE_BRACE_TOKEN));\n }\n } else {\n Iterator<Map.Entry<String, MediaType>> content = requestBody.getContent().entrySet().iterator();\n Map.Entry<String, MediaType> next = createBasicLiteralNodeList(comma,\n AbstractNodeFactory.createEmptyMinutiaeList(), AbstractNodeFactory.createEmptyMinutiaeList(),\n literals, content);\n typeName = getMediaTypeToken(next);\n annotValue = NodeFactory.createMappingConstructorExpressionNode(createToken(SyntaxKind.OPEN_BRACE_TOKEN),\n NodeFactory.createSeparatedNodeList(), createToken(SyntaxKind.CLOSE_BRACE_TOKEN));\n }\n AnnotationNode annotationNode = getAnnotationNode(\"Payload\", annotValue);\n NodeList<AnnotationNode> annotation = NodeFactory.createNodeList(annotationNode);\n Token paramName = createIdentifierToken(\"payload\", SINGLE_WS_MINUTIAE, SINGLE_WS_MINUTIAE);\n return createRequiredParameterNode(annotation, typeName, paramName);\n }",
"@Override\n\tpublic String buildRequest(String timestamp) {\n\t\tMap<String, String> sParaTemp = new LinkedHashMap<String, String>();\n\t\tsParaTemp.put(\"userid\",userid);\n\t\tsParaTemp.put(\"serverid\",serverid+\"\");\n\t\tsParaTemp.put(\"ptime\",timestamp);\n\t\tsParaTemp.put(\"isadult\",isAdult+\"\");\n\t\tString prestr = MapToParam.createRequestParams(sParaTemp,\"&\"+KEY);\n\t\treturn LOGIN_PATH+\"&\"+prestr;\n\t}",
"public static JSONBuilder newInstance(){\n return new JSONBuilder();\n }",
"public HttpRequest(HttpRequestBuilder builder){\r\n mUrl = builder.Url;\r\n mMethodType = builder.MethodType;\r\n mCallback = builder.Callback;\r\n mJsonRequestParams = builder.JsonRequestParams;\r\n }",
"public NewMemberRequest build() {\r\n return newMemberRequest;\r\n }",
"private WorkflowRequest parseWorkflowRequest(String [] origArgs) throws InvalidRequestException {\n final RegistryNode match = registry.findWorkflowMatch(origArgs);\n if (match == null || match.getWorkflow() == null) {\n throw new InvalidRequestException(\"Cannot find workflow for args: \" + StringUtils.join(origArgs, \" \"));\n }\n\n String [] path = match.getPath();\n String [] args = origArgs.length > path.length ? Arrays.copyOfRange(origArgs, path.length, origArgs.length) : null;\n return new WorkflowRequest(path, args, match.getWorkflow());\n }",
"private TeledonRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public com.google.storage.v2.CommonObjectRequestParams.Builder\n getCommonObjectRequestParamsBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getCommonObjectRequestParamsFieldBuilder().getBuilder();\n }",
"private final static HttpRequest createRequest() {\r\n\r\n HttpRequest req = new BasicHttpRequest\r\n (\"GET\", \"/\", HttpVersion.HTTP_1_1);\r\n //(\"OPTIONS\", \"*\", HttpVersion.HTTP_1_1);\r\n\r\n return req;\r\n }",
"public JSONModel(final JSONObject json) {\n if (json == null) {\n throw new IllegalArgumentException(\"JSONObject argument is null\");\n }\n jo = json;\n }",
"private void createRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(default_web_client_id))\n .requestEmail()\n .build();\n\n mGoogleSignInClient = GoogleSignIn.getClient(Signup.this, gso);\n\n\n }",
"public TransmissionProtocol.Request.Builder getRequestBuilder(\n int index) {\n return getRequestFieldBuilder().getBuilder(index);\n }",
"protected SourceRequest createSourceRequest(final CartModel cart, final CheckoutComAchPaymentInfoModel achPaymentInfo, final AddressModel billingAddress) {\n final SourceRequest sourceRequest = new SourceRequest();\n sourceRequest.setBillingAddress(createAddress(billingAddress));\n sourceRequest.setPhone(checkoutComPhoneNumberStrategy.createPhone(billingAddress).orElse(null));\n sourceRequest.setReference(cart.getCheckoutComPaymentReference());\n sourceRequest.setType(ACH.name());\n sourceRequest.setSourceData(createSourceData(achPaymentInfo));\n return sourceRequest;\n }",
"public AccountKitGraphRequest buildGraphRequest(String graphPath, String unitID) {\n Bundle parameters = new Bundle();\n Utility.putNonNullString(parameters, \"unit_id\", unitID);\n return new AccountKitGraphRequest(null, graphPath, parameters, false, HttpMethod.GET);\n }",
"public static GhRequest parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n GhRequest object = new GhRequest();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"GhRequest\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (GhRequest) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardID\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BLH\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BLH\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BLH\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBLH(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"PID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"PID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"PID\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"OperTime\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"OperTime\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"OperTime\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperTime(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZLF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZLF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZLF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZLF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GBF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GBF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GBF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGBF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHFMC\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHFMC\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHFMC\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHFMC(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZLFMC\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZLFMC\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZLFMC\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZLFMC(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHFDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHFDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHFDM\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHFDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZLFDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZLFDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZLFDM\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZLFDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Units\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Units\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Units\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setUnits(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Ouantity\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Ouantity\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Ouantity\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOuantity(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"KSDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"KSDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"KSDM\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setKSDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ksdm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ksdm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ksdm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setKsdmE(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"yylsh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"yylsh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"yylsh\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setYylsh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"operator_lx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"operator_lx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"operator_lx\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperator_lx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHLBDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHLBDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHLBDM\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHLBDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SW\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SW\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SW\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSW(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SFF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SFF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SFF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSFF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SWDES\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SWDES\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SWDES\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSWDES(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZGID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZGID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZGID\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZGID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"bzdm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"bzdm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"bzdm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBzdm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"regaddress\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"regaddress\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"regaddress\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setRegaddress(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"UserID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"UserID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"UserID\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setUserID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Day\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Day\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Day\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDay(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"xh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"xh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"xh\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setXh(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SFZH\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SFZH\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SFZH\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSFZH(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"YYLSH\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"YYLSH\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"YYLSH\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setYYLSHE(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BankNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BankNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BankNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBankNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Gzdw\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Gzdw\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Gzdw\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGzdw(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_zhh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_zhh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_zhh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_zhh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddly\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddly\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddly\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddly(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"DYPT\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"DYPT\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"DYPT\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDYPT(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }",
"@Override\n\tpublic void initRequest() {\n\n\t}",
"private Request(com.google.protobuf.GeneratedMessage.ExtendableBuilder<Pokemon.Request, ?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public static Request readFromParcel(Parcel in) {\n String callingPackageName = in.readString();\n int userId = in.readInt();\n Request request = new Request(in.readCharSequence(), in.readInt(), in.readInt(), (LocaleList) in.readParcelable(null), false, in.readBundle());\n request.setCallingPackageName(callingPackageName);\n request.setUserId(userId);\n return request;\n }",
"public FilterItems jsonToObject(String json){\n json = json.replace(\"body=\",\"{ \\\"body\\\" : \");\n json = json.replace(\"&oil=\",\", \\\"oil\\\" : \");\n json = json.replace(\"&transmission=\",\", \\\"transmission\\\" :\");\n json = json + \"}\";\n json = json.replace(\"[]\",\"null\");\n ObjectMapper mapper = new ObjectMapper();\n FilterItems itemSearch = null;\n try {\n itemSearch = mapper.readValue(json, FilterItems.class);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return itemSearch;\n }",
"private CreateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public static Request parse(javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n Request object = new Request();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"Request\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (Request) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"PatientName\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"PatientName\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"PatientName\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPatientName(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Sex\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Sex\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Sex\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSex(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Birthday\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Birthday\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Birthday\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBirthday(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Age\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Age\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Age\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAge(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"IDCardNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"IDCardNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"IDCardNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setIDCardNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SecrityNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SecrityNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SecrityNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSecrityNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardSerNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardSerNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardSerNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardSerNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Blh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Blh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Blh\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBlh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Amt\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Amt\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Amt\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAmt(org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardMoney\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardMoney\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardMoney\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardMoney(org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Address\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Address\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Address\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAddress(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Tel\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Tel\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Tel\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setTel(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"UserId\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"UserId\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"UserId\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setUserId(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ActDate\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ActDate\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ActDate\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setActDate(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ActTime\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ActTime\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ActTime\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setActTime(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Notes\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Notes\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Notes\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setNotes(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Vid\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Vid\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Vid\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setVid(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Password\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Password\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Password\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPassword(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Delb\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Delb\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Delb\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDelb(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BGKSMC\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BGKSMC\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BGKSMC\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBGKSMC(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"zjhm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"zjhm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"zjhm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZjhm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"zjlx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"zjlx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"zjlx\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZjlx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Dm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Dm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Dm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"PatSum\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"PatSum\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"PatSum\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPatSum(org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"OperTime\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"OperTime\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"OperTime\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperTime(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"StartDay\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"StartDay\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"StartDay\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setStartDay(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"EndDay\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"EndDay\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"EndDay\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setEndDay(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BankNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BankNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BankNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBankNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Bankaccount\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Bankaccount\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Bankaccount\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBankaccount(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Tranlist\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Tranlist\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Tranlist\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setTranlist(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Transocode\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Transocode\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Transocode\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setTransocode(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"dylb\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"dylb\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"dylb\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDylb(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"zxdhm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"zxdhm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"zxdhm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZxdhm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"xmlx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"xmlx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"xmlx\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setXmlx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"dyf\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"dyf\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"dyf\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDyf(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"dysj\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"dysj\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"dysj\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDysj(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_zhh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_zhh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_zhh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_zhh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddly\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddly\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddly\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddly(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"DYPT\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"DYPT\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"DYPT\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDYPT(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"operator_lx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"operator_lx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"operator_lx\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperator_lx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"sfqm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"sfqm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"sfqm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSfqm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ks\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ks\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ks\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setKs(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"bed\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"bed\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"bed\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBed(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }",
"public interface ElasticSearchCriteria {\n\n public void inGroup(String groupName);\n\n public void addParameterMatch(String parameter, String value);\n public void addParameterNotMatch(String parameter, String value);\n public void addParameterComparison(String parameter, String operator, Object value);\n public void addComplexFilter(JSONObject filter);\n\n public JSONObject toJSONObject();\n\n}",
"public TboFlightSearchRequest() {\n}",
"private CalRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public IAgreementRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.AgreementRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"private void creatRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id)) //R.string.default_web_client_id需要將系統執行一次,讓他產生\n .requestEmail()\n .build();\n\n mGoogleSignInClient = GoogleSignIn.getClient(this,gso);\n }",
"private JsonObject toJsonFromRequestObj(UserInfo ui, Set<String> scope, JsonObject authorizedClaims, JsonObject requestedClaims) {\r\n\r\n\t\t// get the base object\r\n\t\tJsonObject obj = ui.toJson();\r\n\r\n\t\tSet<String> allowedByScope = translator.getClaimsForScopeSet(scope);\r\n\t\tSet<String> authorizedByClaims = extractUserInfoClaimsIntoSet(authorizedClaims);\r\n\t\tSet<String> requestedByClaims = extractUserInfoClaimsIntoSet(requestedClaims);\r\n\r\n\t\t// Filter claims by performing a manual intersection of claims that are allowed by the given scope, requested, and authorized.\r\n\t\t// We cannot use Sets.intersection() or similar because Entry<> objects will evaluate to being unequal if their values are\r\n\t\t// different, whereas we are only interested in matching the Entry<>'s key values.\r\n\t\tJsonObject result = new JsonObject();\r\n\t\tfor (Entry<String, JsonElement> entry : obj.entrySet()) {\r\n\r\n\t\t\tif (allowedByScope.contains(entry.getKey())\r\n\t\t\t\t\t|| authorizedByClaims.contains(entry.getKey())) {\r\n\t\t\t\t// it's allowed either by scope or by the authorized claims (either way is fine with us)\r\n\r\n\t\t\t\tif (requestedByClaims.isEmpty() || requestedByClaims.contains(entry.getKey())) {\r\n\t\t\t\t\t// the requested claims are empty (so we allow all), or they're not empty and this claim was specifically asked for\r\n\t\t\t\t\tresult.add(entry.getKey(), entry.getValue());\r\n\t\t\t\t} // otherwise there were specific claims requested and this wasn't one of them\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}",
"public JSONModel(final String json) throws JSONException {\n jo = new JSONObject(json);\n }",
"public Request buildHttpRequest(Method method, Object args) {\n return post(method, args);\n }",
"public <T extends IRequestParamsData> JsonRpcRequest<T> createRequestPackage(\n T requestData,\n String method,\n String uuid\n ) throws TrustlyValidationException {\n\n JsonRpcRequest<T> rpcRequest = this.objectFactory.create(requestData, method, uuid);\n JsonRpcRequest<T> signedRpcRequest = this.signer.sign(rpcRequest);\n\n this.validator.validate(signedRpcRequest);\n\n return signedRpcRequest;\n }",
"public SaleRequest toSaleRequest(String reference) {\n return new SaleRequest().amountInCents(amountInCents)\n .currencyIsoCode(currencyIsoCode)\n .token(token)\n .reference(reference);\n }",
"public RequestEntity(Entity entity, Monitor monitor) {\n this.builder = new FormCreator(this, entity);\n this.channel = entity.getChannel();\n this.header = entity.getHeader(); \n this.body = entity.getBody();\n this.entity = entity;\n }",
"@Override\n public Object createRequestBody() {\n int[] arr = {1,2,3,4,5,6,7,8,9};\n Tree root = TreeUtility.buildTree(arr);\n return root;\n }",
"public SmsSendRequestDto() {\n super();\n }",
"public static TemplatePushRequest newRequest() {\n return new TemplatePushRequest();\n }",
"@Override\n public ParameterDefinition newInstance(StaplerRequest req, JSONObject formData) throws hudson.model.Descriptor.FormException {\n if (req != null) {\n List<Ancestor> ancestors = req.getAncestors();\n AbstractProject<?, ?> project = null;\n for (Ancestor ancestor : ancestors) {\n Object object = ancestor.getObject();\n if (object instanceof AbstractProject<?, ?>) {\n project = (AbstractProject<?, ?>) object;\n break;\n }\n }\n this.project = project;\n }\n return super.newInstance(req, formData);\n }",
"public IDeviceComplianceScriptDeviceStateRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.DeviceComplianceScriptDeviceStateRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"@Override\n public DependencyGraphRequest readFrom(Class<DependencyGraphRequest> type,\n Type genericType,\n Annotation[] annotations,\n MediaType mediaType,\n MultivaluedMap<String, String> httpHeaders,\n InputStream entityStream) throws IOException, WebApplicationException {\n return new DependencyGraphRequest(0, 0);\n }"
]
| [
"0.6453979",
"0.5971897",
"0.5809581",
"0.5547894",
"0.5511927",
"0.54809153",
"0.54299337",
"0.5383132",
"0.53663677",
"0.5363774",
"0.5361195",
"0.53516746",
"0.5292682",
"0.5279109",
"0.52310926",
"0.5214945",
"0.52010345",
"0.51983404",
"0.51920617",
"0.5176905",
"0.5110712",
"0.51087683",
"0.51024985",
"0.50307995",
"0.49958447",
"0.49884406",
"0.49742657",
"0.4973217",
"0.49548948",
"0.495219",
"0.49468568",
"0.4945626",
"0.49452046",
"0.49360433",
"0.4930244",
"0.49177378",
"0.49002635",
"0.48815203",
"0.48763534",
"0.48747304",
"0.4873025",
"0.4842284",
"0.48392138",
"0.48355952",
"0.48181492",
"0.47801197",
"0.47801197",
"0.47801197",
"0.47801197",
"0.47647065",
"0.47590166",
"0.47521156",
"0.47271088",
"0.47216445",
"0.4716683",
"0.4708316",
"0.4704979",
"0.4699542",
"0.46746418",
"0.46738523",
"0.46714297",
"0.46691763",
"0.46677673",
"0.465559",
"0.465198",
"0.46484727",
"0.4643949",
"0.46399814",
"0.4637007",
"0.4622295",
"0.4609567",
"0.45966414",
"0.45909676",
"0.45905873",
"0.45877898",
"0.4587168",
"0.45853892",
"0.4582304",
"0.45785305",
"0.4573767",
"0.457144",
"0.45683017",
"0.45658913",
"0.4561768",
"0.45587853",
"0.4554538",
"0.45530787",
"0.45477602",
"0.45450312",
"0.4540358",
"0.4540211",
"0.45361695",
"0.4535163",
"0.45314896",
"0.45295754",
"0.45283815",
"0.45189884",
"0.45071116",
"0.450402",
"0.44940335"
]
| 0.7270767 | 0 |
Builds SenseiRequest based on a JSON object. | public static SenseiRequest fromJSON(JSONObject json,
final Map<String, String[]> facetInfoMap)
throws Exception
{
json = jsonTemplateProcessor.substituteTemplates(json);
SenseiRequest req = new SenseiRequest();
JSONObject meta = json.optJSONObject("meta");
if (meta != null)
{
JSONArray array = meta.optJSONArray("select_list");
if (array != null)
{
List<String> list = new ArrayList<String>();
for (int i = 0; i < array.length(); ++i)
{
list.add(array.get(i).toString());
}
req.setSelectList(list);
}
}
// query
req.setQuery(new SenseiJSONQuery(json));
// paging params
int count = json.optInt(RequestConverter2.PAGING_SIZE, 10);
int offset = json.optInt(RequestConverter2.PAGING_FROM, 0);
req.setCount(count);
req.setOffset(offset);
// group by
JSONObject groupBy = json.optJSONObject("groupBy");
if (groupBy != null)
{
JSONArray columns = groupBy.optJSONArray("columns");
if (columns != null && columns.length() >= 1)
{
String[] groupByArray = new String[columns.length()];
for (int i=0; i<columns.length(); ++i)
groupByArray[i] = columns.getString(i);
req.setGroupBy(groupByArray);
}
req.setMaxPerGroup(groupBy.optInt("top", groupBy.optInt("count", 1)));
}
// distinct
JSONObject distinct = json.optJSONObject("distinct");
if (distinct != null)
{
JSONArray columns = distinct.optJSONArray("columns");
if (columns != null && columns.length() >= 1)
{
String[] distinctArray = new String[columns.length()];
for (int i=0; i<columns.length(); ++i)
distinctArray[i] = columns.getString(i);
if (distinctArray.length == 1 && req.getGroupBy() == null)
{
// rewrite to use group by
req.setGroupBy(distinctArray);
req.setMaxPerGroup(0);
}
else
{
req.setDistinct(distinctArray);
}
}
}
// selections
Object selections = json.opt(RequestConverter2.SELECTIONS);
if (selections == null)
{
// ignore
}
else if (selections instanceof JSONArray)
{
JSONArray selectionArray = (JSONArray)selections;
for(int i=0; i<selectionArray.length(); i++)
{
JSONObject selItem = selectionArray.optJSONObject(i);
if(selItem != null){
Iterator<String> keyIter = selItem.keys();
while(keyIter.hasNext()){
String type = keyIter.next();
JSONObject jsonSel = selItem.optJSONObject(type);
if(jsonSel != null){
addSelection(type, jsonSel, req, facetInfoMap);
}
}
}
}
}
else if (selections instanceof JSONObject)
{
JSONObject selectionObject = (JSONObject)selections;
Iterator<String> keyIter = selectionObject.keys();
while (keyIter.hasNext())
{
String type = keyIter.next();
JSONObject jsonSel = selectionObject.optJSONObject(type);
if (jsonSel != null)
addSelection(type, jsonSel, req, facetInfoMap);
}
}
//map reduce
Object mapReduceObj = json.opt(RequestConverter2.MAP_REDUCE);
if (mapReduceObj instanceof JSONObject) {
JSONObject mapReduceJson = (JSONObject) mapReduceObj;
String key = mapReduceJson.getString(MAP_REDUCE_FUNCTION);
SenseiMapReduce senseiMapReduce = MapReduceRegistry.get(key);
senseiMapReduce.init(mapReduceJson.optJSONObject(MAP_REDUCE_PARAMETERS));
req.setMapReduceFunction(senseiMapReduce);
} else if (mapReduceObj instanceof JSONArray) {
JSONArray mapReduceJson = (JSONArray) mapReduceObj;
CompositeMapReduce compositeMapReduce = new CompositeMapReduce();
JSONObject convertedParams = new JSONUtil.FastJSONObject();
for (int i = 0; i < mapReduceJson.length(); i++) {
JSONObject currentFunction = mapReduceJson.getJSONObject(i);
convertedParams.put(currentFunction.getString(MAP_REDUCE_FUNCTION), convertedParams.optJSONObject(MAP_REDUCE_PARAMETERS));
}
compositeMapReduce.init(new JSONUtil.FastJSONObject().put("array", mapReduceJson));
req.setMapReduceFunction(compositeMapReduce);
}
// facets
JSONObject facets = json.optJSONObject(RequestConverter2.FACETS);
if (facets!=null){
Iterator<String> keyIter = facets.keys();
while (keyIter.hasNext()){
String field = keyIter.next();
JSONObject facetObj = facets.getJSONObject(field);
if (facetObj!=null){
FacetSpec facetSpec = new FacetSpec();
facetSpec.setMaxCount(facetObj.optInt(RequestConverter2.FACETS_MAX, 10));
facetSpec.setMinHitCount(facetObj.optInt(RequestConverter2.FACETS_MINCOUNT, 1));
facetSpec.setExpandSelection(facetObj.optBoolean(RequestConverter2.FACETS_EXPAND, false));
String orderBy = facetObj.optString(RequestConverter2.FACETS_ORDER, RequestConverter2.FACETS_ORDER_HITS);
FacetSpec.FacetSortSpec facetOrder = FacetSpec.FacetSortSpec.OrderHitsDesc;
if (RequestConverter2.FACETS_ORDER_VAL.equals(orderBy)){
facetOrder = FacetSpec.FacetSortSpec.OrderValueAsc;
}
facetSpec.setProperties(createFacetProperties(facetObj));
facetSpec.setOrderBy(facetOrder);
req.setFacetSpec(field, facetSpec);
}
}
}
//facet init;
JSONObject facetInitParams = json.optJSONObject(RequestConverter2.FACETINIT);
if (facetInitParams != null)
{
Iterator<String> keyIter = facetInitParams.keys();
while (keyIter.hasNext())
{
// may have multiple facets;
String facetName = keyIter.next();
DefaultFacetHandlerInitializerParam param =
new DefaultFacetHandlerInitializerParam();
JSONObject jsonParams = facetInitParams.getJSONObject(facetName);
if (jsonParams != null && jsonParams.length() > 0)
{
Iterator<String> paramIter = jsonParams.keys();
while (paramIter.hasNext())
{
// each facet may have multiple parameters to be configured;
String paramName = paramIter.next();
JSONObject jsonParamValues = jsonParams.getJSONObject(paramName);
String type = jsonParamValues.optString(RequestConverter2.FACETINIT_TYPE, RequestConverter2.FACETINIT_TYPE_STRING);
JSONArray jsonValues = jsonParamValues.optJSONArray(RequestConverter2.FACETINIT_VALUES);
if (jsonValues == null)
{
// Accept scalar values here too. This is useful in
// supporting variable substitutions.
Object value = jsonParamValues.opt(RequestConverter2.FACETINIT_VALUES);
if (value != null)
{
jsonValues = new FastJSONArray().put(value);
}
}
if (jsonValues != null)
{
if (type.equals(RequestConverter2.FACETINIT_TYPE_INT))
param.putIntParam(paramName, convertJSONToIntArray(jsonValues));
else if (type.equals(RequestConverter2.FACETINIT_TYPE_STRING))
param.putStringParam(paramName, convertJSONToStringArray(jsonValues));
else if (type.equals(RequestConverter2.FACETINIT_TYPE_BOOLEAN))
param.putBooleanParam(paramName, convertJSONToBoolArray(jsonValues));
else if (type.equals(RequestConverter2.FACETINIT_TYPE_LONG))
param.putLongParam(paramName, convertJSONToLongArray(jsonValues));
else if (type.equals(RequestConverter2.FACETINIT_TYPE_BYTES))
param.putByteArrayParam(paramName, convertJSONToByteArray(jsonValues));
else if (type.equals(RequestConverter2.FACETINIT_TYPE_DOUBLE))
param.putDoubleParam(paramName, convertJSONToDoubleArray(jsonValues));
}
}
req.setFacetHandlerInitializerParam(facetName, param);
}
}
}
// sorts
JSONArray sortArray = json.optJSONArray(RequestConverter2.SORT);
if (sortArray!=null && sortArray.length()>0){
ArrayList<SortField> sortFieldList = new ArrayList<SortField>(sortArray.length());
for (int i=0;i<sortArray.length();++i){
Object obj = sortArray.opt(i);
if(obj instanceof JSONObject){
String field = (String) ((JSONObject)obj).keys().next();
if (field == null || field.length() == 0)
continue;
if (SORT_SCORE.equals(field) || SORT_RELEVANCE.equalsIgnoreCase(field))
{
sortFieldList.add(SortField.FIELD_SCORE);
continue;
}
String order = ((JSONObject)obj).optString(field);
boolean rev = false;
if(RequestConverter2.SORT_DESC.equals(order))
rev = true;
sortFieldList.add(new SortField(field,SortField.CUSTOM,rev));
continue;
}
else if (obj instanceof String){
if(SORT_SCORE.equals(obj)){
sortFieldList.add(SortField.FIELD_SCORE);
continue;
}
}
}
if (sortFieldList.size()>0){
req.setSort(sortFieldList.toArray(new SortField[sortFieldList.size()]));
}
}
// other
boolean fetchStored = json.optBoolean(RequestConverter2.FETCH_STORED);
req.setFetchStoredFields(fetchStored);
boolean fetchStoredValue = json.optBoolean(RequestConverter2.FETCH_STORED_VALUE);
req.setFetchStoredValue(fetchStoredValue);
String[] termVectors = getStrings(json,RequestConverter2.TERM_VECTORS);
if (termVectors!=null && termVectors.length>0){
req.setTermVectorsToFetch(new HashSet<String>(Arrays.asList(termVectors)));
}
req.setPartitions(getIntSet(json, RequestConverter2.PARTITIONS,0));
req.setShowExplanation(json.optBoolean(RequestConverter2.EXPLAIN,false));
String routeParam = json.optString(RequestConverter2.ROUTEPARAM,null);
req.setRouteParam(routeParam);
return req;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static SenseiRequest fromJSON(JSONObject json)\n throws Exception\n {\n return fromJSON(json, null);\n }",
"private Request build() {\n Request.Builder builder =\n new Request.Builder().cacheControl(new CacheControl.Builder().noCache().build());\n\n HttpUrl.Builder urlBuilder = HttpUrl.parse(url).newBuilder();\n for (Map.Entry<String, String> entry : queryParams.entrySet()) {\n urlBuilder = urlBuilder.addEncodedQueryParameter(entry.getKey(), entry.getValue());\n }\n builder = builder.url(urlBuilder.build());\n\n for (Map.Entry<String, String> entry : headers.entrySet()) {\n builder = builder.header(entry.getKey(), entry.getValue());\n }\n\n RequestBody body = (bodyBuilder == null) ? null : bodyBuilder.build();\n builder = builder.method(method.name(), body);\n\n return builder.build();\n }",
"private ObjectNode makeRequest(final String api) {\n ObjectNode req = JSON.objectNode();\n req.put(\"api\", api);\n return req;\n }",
"private JsonObject getNewRequestBody(String[] arguments, int tickets, String uuid) throws NumberFormatException {\n JsonObject obj = new JsonObject();\n obj.addProperty(\"userid\", Integer.parseInt(arguments[2]));\n obj.addProperty(\"eventid\", Integer.parseInt(arguments[0]));\n obj.addProperty(\"tickets\", tickets);\n obj.addProperty(\"uuid\", uuid);\n\n return obj;\n }",
"private RestRequest createRestRequest(final Client jerseyClient) {\n String uri = getServiceEndpointAddress();\n WebResource webResource = buildWebResource(jerseyClient, uri);\n return new RestRequest(webResource);\n }",
"TypedRequest createTypedRequest();",
"public PredictRequest build() {\n\n\t\t\tcheckArgument(!Strings.isNullOrEmpty(url), \"url is required\");\n\t\t\tcheckArgument(!Strings.isNullOrEmpty(service), \"service name is required\");\n\t\t\tcheckArgument(data != null, \"data is required\");\n\n\t\t\tPredictRequest request = new PredictRequest();\n\t\t\trequest.baseURL = url;\n\t\t\tJsonObject requestData = new JsonObject();\n\t\t\trequestData.addProperty(\"service\", service);\n\n\t\t\tJsonObject paramsObj = new JsonObject();\n\t\t\tif (input != null)\n\t\t\t\tparamsObj.add(\"input\", input);\n\t\t\tif (output != null)\n\t\t\t\tparamsObj.add(\"output\", output);\n\t\t\tif (mllibParams != null)\n\t\t\t\tparamsObj.add(\"mllib\", mllibParams);\n\n\t\t\tif (!paramsObj.isJsonNull()) {\n\t\t\t\trequestData.add(\"parameters\", paramsObj);\n\t\t\t}\n\n\t\t\trequestData.add(\"data\", data);\n\n\t\t\trequest.data = requestData;\n\t\t\treturn request;\n\t\t}",
"protected abstract JSONObject build();",
"public static JSONObject createJSONObject(RequirementForm req)\r\n{\r\n\tString keys[] = {\"id\", \"nameReq\",\"nameGroup\",\"startDate\",\"endDate\",\"process\",\"statusReq\", \"lateDate\", \"stage\" };\r\n \r\n\tJSONObject uc = new JSONObject(keys);\r\n uc.getObject().put(keys[0], String.valueOf(req.getId()));\r\n uc.getObject().put(keys[1], CommonUtil.convertNVLFor(req.getNameReq()));\r\n uc.getObject().put(keys[2], req.getNameGroup());\r\n uc.getObject().put(keys[3], req.getStartDate());\r\n uc.getObject().put(keys[4], req.getEndDate());\r\n uc.getObject().put(keys[5], String.valueOf(req.getProcess()));\r\n uc.getObject().put(keys[6], String.valueOf(req.getStatusReq()));\r\n uc.getObject().put(keys[7], String.valueOf(req.getLateDate()));\r\n uc.getObject().put(keys[8], String.valueOf(req.getStage()));\r\n\r\n return uc; \r\n}",
"public abstract VKRequest mo118416a(JSONObject jSONObject);",
"public JsonRequestSerializer() {\n this(JNC.GSON);\n }",
"private MarketDataRequest generateRequestFromAtom(MarketDataRequestAtom inAtom,\n MarketDataRequest inCompleteRequest)\n {\n return MarketDataRequestBuilder.newRequest().withAssetClass(inCompleteRequest.getAssetClass()).withSymbols(inAtom.getSymbol()).withContent(inAtom.getContent()).withExchange(inAtom.getExchange()).create();\n }",
"public static TestWebhookRequest fromJson(String jsonString) throws JsonProcessingException {\n return JSON.getMapper().readValue(jsonString, TestWebhookRequest.class);\n }",
"private CartReceiptRequest buildRequestFromParameters(String[] requestParameters) throws ParseException {\n CartReceiptRequest receiptRequest = new CartReceiptRequest();\n LOGGER.debug(\"localeParam =\" + requestParameters[2] + \" \\t applicationId =\" + requestParameters[1]);\n /* Building request for the Reprint API */\n receiptRequest.setUserId(Long.valueOf(requestParameters[0]));\n receiptRequest.setApplicationId(Long.valueOf(requestParameters[1]));\n receiptRequest.setLocale(requestParameters[2]);\n receiptRequest.setCartId(Long.valueOf(requestParameters[3]));\n Long milliSeconds = Long.parseLong(requestParameters[4]);\n Date date = new Date(milliSeconds);\n receiptRequest.setCartDate(date);\n /* Returning constructed API request*/\n return receiptRequest;\n }",
"private OrderRequest buildRequestBody(OriginalOrder originalOrder) {\n String currency = \"MXN\";\n\n OrderRequest orderRequest = new OrderRequest();\n orderRequest.intent(originalOrder.getIntent());\n\n ApplicationContext applicationContext = new ApplicationContext()\n .brandName(originalOrder.getBrandName())\n .landingPage(originalOrder.getLandingPage())\n .shippingPreference(originalOrder.getShippingPreference());\n orderRequest.applicationContext(applicationContext);\n System.out.println(\"item Category: \"+ originalOrder.getItems().get(0).getCategory());\n List<PurchaseUnitRequest> purchaseUnitRequests = new ArrayList<PurchaseUnitRequest>();\n PurchaseUnitRequest purchaseUnitRequest = new PurchaseUnitRequest()\n .referenceId(originalOrder.getReferenceId())\n .description(originalOrder.getDescription())\n .customId(originalOrder.getCustomId())\n .softDescriptor(originalOrder.getSoftDescriptor())\n .amount(new AmountWithBreakdown().currencyCode(currency).value(originalOrder.getTotal())\n .breakdown(\n new AmountBreakdown().itemTotal(new Money().currencyCode(currency).value(originalOrder.getTotal()))\n .shipping(new Money().currencyCode(currency).value(originalOrder.getShipping()))\n .handling(new Money().currencyCode(currency).value(originalOrder.getHandling()))\n .taxTotal(new Money().currencyCode(currency).value(originalOrder.getTaxTotal()))\n .shippingDiscount(new Money().currencyCode(currency).value(originalOrder.getShippingDiscount()))))\n .items(new ArrayList<Item>() {\n {\n add(new Item()\n .name(originalOrder.getItems().get(0).getName())\n .description(originalOrder.getItems().get(0).getDescription())\n .sku(originalOrder.getItems().get(0).getSku())\n .unitAmount(new Money().currencyCode(currency).value(originalOrder.getItems().get(0).getUnitAmount()))\n .tax(new Money().currencyCode(currency).value(originalOrder.getItems().get(0).getTax()))\n .quantity(originalOrder.getItems().get(0).getQuantity())\n .category(originalOrder.getItems().get(0).getCategory()));\n }\n })\n .shipping(new ShippingDetails().name(new Name().fullName(originalOrder.getAddress().getName()))\n .addressPortable(new AddressPortable()\n .addressLine1(originalOrder.getAddress().getAddressLine1())\n .addressLine2(originalOrder.getAddress().getAddressLine2())\n .adminArea2(originalOrder.getAddress().getAdminArea2())\n .adminArea1(originalOrder.getAddress().getAdminArea1())\n .postalCode(originalOrder.getAddress().getPostalCode())\n .countryCode(originalOrder.getAddress().getCountryCode())));\n System.out.println(\"purchaseUnitRequest: \\n\" +\n \"\\ndescription \"+ purchaseUnitRequest.description() +\n \"\\nreferenceId \"+ purchaseUnitRequest.referenceId() +\n \"\\nsoftDescriptor \"+ purchaseUnitRequest.softDescriptor() +\n \"\\namount currencyCode \"+ purchaseUnitRequest.amount().currencyCode() +\n \"\\namount value\"+ purchaseUnitRequest.amount().value() +\n \"\\namount taxTotal \"+ purchaseUnitRequest.amount().breakdown().taxTotal().value() +\n \"\\namount handling \"+ purchaseUnitRequest.amount().breakdown().handling().value() +\n \"\\namount shipping \"+ purchaseUnitRequest.amount().breakdown().shipping().value() +\n \"\\namount shippingDiscount \"+ purchaseUnitRequest.amount().breakdown().shippingDiscount().value() +\n \"\\namount itemTotal \"+ purchaseUnitRequest.amount().breakdown().itemTotal().value()\n );\n purchaseUnitRequests.add(purchaseUnitRequest);\n orderRequest.purchaseUnits(purchaseUnitRequests);\n System.out.println(\"Request: \" + orderRequest.toString());\n return orderRequest;\n }",
"public RequestOperationBase.Request buildRequest(Account account, RequestCloudItem requestCloudItem) throws Exception {\n List<DBImage> subUbiImages;\n DBImage dBImage = requestCloudItem.dbCloud;\n String editUrl = CloudUrlProvider.getUrlProvider(dBImage.isShareItem(), dBImage.isVideoType()).getEditUrl(account.name, dBImage.getRequestId());\n new JSONObject();\n JSONObject jSONObject = dBImage.toJSONObject();\n if (dBImage.isUbiFocus() && (subUbiImages = UbiFocusUtils.getSubUbiImages(dBImage.isShareItem(), dBImage.getRequestId(), dBImage.getId())) != null) {\n JSONObject jSONObject2 = new JSONObject();\n for (DBImage next : subUbiImages) {\n jSONObject2.putOpt(String.valueOf(next.getSubUbiIndex()), next.toJsonObjectForSubUbi());\n }\n jSONObject2.putOpt(String.valueOf(dBImage.getSubUbiIndex()), dBImage.toJsonObjectForSubUbi());\n jSONObject.putOpt(\"ubiSubImageContentMap\", jSONObject2);\n }\n return new RequestOperationBase.Request.Builder().setUrl(editUrl).setMethod(2).setPostData(new JSONObject().put(\"content\", jSONObject)).setRetryTimes(requestCloudItem.otherRetryTimes).setNeedReRequest(false).build();\n }",
"public static EvaluableRequest buildEvaluableRequest(String requestBody, String requestResourcePath, HttpServletRequest request) {\n // Create and fill an evaluable request object.\n EvaluableRequest evaluableRequest = new EvaluableRequest(requestBody,\n requestResourcePath != null ? requestResourcePath.split(\"/\") : null);\n // Adding query parameters...\n Map<String, String> evaluableParams = new HashMap<>();\n List<String> parameterNames = Collections.list(request.getParameterNames());\n for (String parameter : parameterNames) {\n evaluableParams.put(parameter, request.getParameter(parameter));\n }\n evaluableRequest.setParams(evaluableParams);\n // Adding headers...\n Map<String, String> evaluableHeaders = new HashMap<>();\n List<String> headerNames = Collections.list(request.getHeaderNames());\n for (String header : headerNames) {\n evaluableHeaders.put(header, request.getHeader(header));\n }\n evaluableRequest.setHeaders(evaluableHeaders);\n\n return evaluableRequest;\n }",
"public Builder(final JsonObject jsonObject) {\n final JsonObject prototype = Validator.of(jsonObject).get();\n final JsonArray jsonNames = (JsonArray) prototype.get(\"names\");\n if (jsonNames != null) {\n names.addAll(jsonNames.stream().map(Object::toString).collect(Collectors.toList()));\n }\n final long page = getLong(prototype, \"page\");\n if (page >= 0) {\n this.page = (int) page;\n } else {\n throw new IllegalArgumentException(WRONG_PAGE_VALUE);\n }\n final long total = getLong(prototype, \"total\");\n if (total >= 0) {\n this.total = (int) total;\n } else {\n throw new IllegalArgumentException(WRONG_TOTAL_VALUE);\n }\n }",
"public void build() {\n\t\t\tRequest request = new Request();\n request.context = context;\n\t\t\trequest.requestType = requestType;\n\t\t\trequest.url = url;\n\t\t\trequest.envelope = envelope;\n\t\t\trequest.headers = headers;\n\n\t\t\trequest.responseListener = responseListener;\n\t\t\trequest.onValidateResponseListener = validateResponseListener;\n\n\t\t\trequest.isDebug = isDebug;\n\n\t\t\trequest.start();\n\t\t}",
"public JSONObject buildJson() {\n Map<String, String> reqData = new HashMap<>();\n reqData.put(\"id\", id);\n reqData.put(\"summary\", summary);\n reqData.put(\"location\", location);\n reqData.put(\"description\", description);\n reqData.put(\"color\", color);\n reqData.put(\"emailReminderMinutes\", Integer.toString(emailReminderMinutes));\n reqData.put(\"repetitionInterval\", Integer.toString(repetitionInterval));\n reqData.put(\"startDate\", startDate);\n reqData.put(\"endDate\", endDate);\n return new JSONObject(reqData);\n }",
"public GetBulkStateRequest build() {\n GetBulkStateRequest request = new GetBulkStateRequest();\n request.setStoreName(this.storeName);\n request.setKeys(this.keys);\n request.setMetadata(this.metadata);\n request.setParallelism(this.parallelism);\n return request;\n }",
"private GetObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public abstract DankSubmissionRequest build();",
"private void buildRequestParameters(final Oauth2Client oauth2Client) {\n oauth2Client.addHeader(OauthConstants.OauthHeader.CORRELATION_ID,\n mRequestContext.getCorrelationId().toString());\n\n // add body parameters\n oauth2Client.addBodyParameter(OauthConstants.Oauth2Parameters.CLIENT_ID, mAuthRequestParameters.getClientId());\n final String scope = MsalUtils.convertSetToString(getDecoratedScope(mAuthRequestParameters.getScope()), \" \");\n oauth2Client.addBodyParameter(OauthConstants.Oauth2Parameters.SCOPE, scope);\n oauth2Client.addBodyParameter(OauthConstants.Oauth2Parameters.CLIENT_INFO, \"1\");\n setAdditionalOauthParameters(oauth2Client);\n\n // add slice parameters\n if (!MsalUtils.isEmpty(mAuthRequestParameters.getSliceParameters())) {\n final Map<String, String> sliceParameters = MsalUtils.decodeUrlToMap(mAuthRequestParameters.getSliceParameters(), \"&\");\n final Set<Map.Entry<String, String>> sliceParameterEntries = sliceParameters.entrySet();\n for (final Map.Entry<String, String> sliceParameterEntry : sliceParameterEntries) {\n oauth2Client.addQueryParameter(sliceParameterEntry.getKey(), sliceParameterEntry.getValue());\n }\n }\n }",
"private ObjectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"static Request parseRequest(InputStream in) throws IOException {\n\t\tRequestLine request = readRequestLine(in);\n\t\tHeaders headers = readHeaders(in);\n\t\tlong length = -1;\n\t\tInputStream body;\n\t\tif (HeaderValue.CHUNKED.equals(headers.get(HeaderName.TRANSFER_ENCODING))) {\n\t\t\tbody = new ChunkedInputStream(in);\n\t\t} else {\n\t\t\tString header = headers.get(HeaderName.CONTENT_LENGTH);\n\t\t\tlength = header == null ? 0 : Long.parseLong(header);\n\t\t\tbody = new LimitedInputStream(in, length);\n\t\t}\n\t\treturn new Request(request.method(), request.target(), request.path(), request.query(), headers, length, body);\n\t}",
"public static ApiRequest createRequests() {\n Retrofit retrofit = builder.client(client)\n .build();\n return retrofit.create(ApiRequest.class);\n }",
"public static Quote createQuotesFromJsonObject(JSONObject _jsonObject) throws JSONException {\n //Parse fields\n\n int quotesQuoteId = _jsonObject.getInt(\"QuoteId\");\n int quotesMinPrice = _jsonObject.getInt(\"MinPrice\");\n boolean quotesDirect = _jsonObject.getBoolean(\"Direct\");\n JourneyLeg quotesOutboundLeg = parseJourneyLeg(_jsonObject.getJSONObject(\"OutboundLeg\"));\n JourneyLeg quotesInboundLeg = null;\n if (_jsonObject.has(\"InboundLeg\")) {\n quotesInboundLeg = parseJourneyLeg(_jsonObject.getJSONObject(\"InboundLeg\"));\n }\n String quotesQuoteDateTime = _jsonObject.getString(\"QuoteDateTime\");\n\n //Construct result\n Quote result = new Quote(quotesQuoteId, quotesMinPrice, quotesDirect, quotesOutboundLeg,\n quotesInboundLeg, quotesQuoteDateTime);\n\n return result;\n }",
"private ObjectNode makeRequest(final String api, final JsiiObjectRef objRef) {\n ObjectNode req = makeRequest(api);\n req.set(\"objref\", objRef.toJson());\n return req;\n }",
"public void makeRequest() {\n Request newRequest = new Request();\n\n if (mProduct == null) {\n Toast.makeText(getContext(), \"BAD\", Toast.LENGTH_LONG).show();\n return;\n }\n\n newRequest.setClient(ParseUser.getCurrentUser());\n newRequest.setProduct(mProduct);\n newRequest.setBeaut(mBeaut);\n\n Date dateTime = new Date(selectedAppointmet.appDate.getTimeInMillis());\n newRequest.setDateTime(dateTime);\n // TODO: uncomment below line when dataset is clean and products have lengths\n// newRequest.setLength(mProduct.getLength());\n newRequest.setLength(1);\n newRequest.setSeat(selectedAppointmet.seatId);\n newRequest.setDescription(rComments.getText().toString());\n\n sendRequest(newRequest);\n }",
"public Request <String, ArrayList<Connection>> buildHttpContactRequest ()\n\t{\n\t\tHttpBuilder<String, ArrayList<Connection>> builder = new HttpBuilder<String, ArrayList<Connection>>(null, getApiKey());\n\t\t\n\t\tif (this.getAuthInfo() != null)\n\t\t\tbuilder.setAuthInfo(this.getAuthInfo().getBytes());\n\t\t\n\t\tif (this.getPath() != null)\n\t\t\tbuilder.setPath(this.getPath());\n\t\t\n\t\treturn new HttpContactRequest(builder);\n\t}",
"private WebSearchRequest createNextRequest() {\n\t\tWebSearchRequest _request = new WebSearchRequest(query);\n\t\t_request.setStart(BigInteger.valueOf(cacheStatus+1));\t\t\t\t\t//Yahoo API starts index with 1, not with 0\n\t\t_request.setResults(getFetchBlockSize());\n\t\treturn _request;\n\t}",
"public static String buildRequestForUpdate() throws Exception {\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(\"<sfdc:sObjects xmlns:sfdc='sfdc' type='\" + cmbSObjectType.getText() + \"'>\");\n\t\tsb.append(\"<sfdc:sObject>\");\n\t\tMap<String, String> fields = callDescribeSObject(cmbSObjectType.getText());\n\n\t\tfor (String key : fields.keySet()) {\n\t\t\tsb.append(\"<sfdc:\" + key + \">\");\n\t\t\tif (fields.get(key).equals(\"boolean\")) {\n\t\t\t\tsb.append(true);\n\t\t\t} else if (fields.get(key).equals(\"id\")) {\n\t\t\t\tsb.append(\"0012800000uQ6LXAA0\");\n\t\t\t} else if (fields.get(key).equals(\"double\")) {\n\t\t\t\tsb.append(3.1542);\n\t\t\t} else if (fields.get(key).equals(\"int\")) {\n\t\t\t\tsb.append(1);\n\t\t\t} else if (fields.get(key).equals(\"float\")) {\n\t\t\t\tsb.append(2147483648L);\n\t\t\t} else {\n\t\t\t\tsb.append(\"value\");\n\t\t\t}\n\t\t\tsb.append(\"</sfdc:\" + key + \">\");\n\t\t}\n\t\tsb.append(\"</sfdc:sObject>\");\n\t\tsb.append(\"</sfdc:sObjects>\");\n\t\tStringBuilder sb1 = new StringBuilder();\n\t\tsb1.append(\"<root>\");\n\t\tsb1.append(\"<allOrNone>\" + \"0\" + \"</allOrNone>\" + \"<allowFieldTruncate>\" + \"0\" + \"</allowFieldTruncate>\"\n\t\t\t\t+ sb.toString());\n\t\tsb1.append(\"</root>\");\n\n\t\treturn sb1.toString();\n\t}",
"public CurlRequest newRequest(final String action, final String body) {\n\t\tfinal var builder = AWS4SignatureQuery.builder().service(\"cognito-idp\").body(\"&Version=2016-04-18\");\n\t\tfinal var headers = new HashMap<String, String>();\n\t\theaders.put(\"x-amz-target\", \"AWSCognitoIdentityProviderService.\" + action);\n\t\theaders.put(\"Content-Type\", \"application/x-amz-json-1.1\");\n\t\tfinal var query = builder.accessKey(accessKey).secretKey(secretKey).region(region).path(\"/\").headers(headers)\n\t\t\t\t.body(body).host(URI.create(url).getHost()).build();\n\t\tfinal var authorization = signer.computeSignature(query);\n\t\tfinal var request = new CurlRequest(query.getMethod(), url, query.getBody());\n\t\trequest.getHeaders().putAll(query.getHeaders());\n\t\trequest.getHeaders().put(\"Authorization\", authorization);\n\t\trequest.setSaveResponse(true);\n\t\treturn request;\n\t}",
"protected Response createInsertingrequest(String urlFA,JSONObject jsonObject,HttpBasicAuthFilter auth,String type){\n ClientConfig config = new ClientConfig();\n Client client = ClientBuilder.newClient(config);\n WebTarget target;\n target = client.target(getBaseURI(urlFA));\n //Response plainAnswer =null; \n target.register(auth);\n \n Invocation.Builder invocationBuilder =target.request(MediaType.APPLICATION_JSON);\n MultivaluedHashMap<String,Object> mm=new MultivaluedHashMap<String,Object>();\n mm.add(\"content-type\", MediaType.APPLICATION_JSON);\n mm.add(\"Accept\", \"application/json\");\n mm.add(\"charsets\", \"utf-8\");\n invocationBuilder.headers(mm);\n //preliminary operation of request creation ended\n Response plainAnswer=null;\n switch(type){\n case \"post\":\n {\n plainAnswer=invocationBuilder\n .post(Entity.entity(jsonObject.toString(), MediaType.APPLICATION_JSON_TYPE));\n break;\n }\n case \"put\":\n {\n plainAnswer =invocationBuilder\n .put(Entity.entity(jsonObject.toString(), MediaType.APPLICATION_JSON));\n break;\n }\n }\n return plainAnswer;\n }",
"public static Builder newHttpJsonBuilder() {\n return Builder.createHttpJsonDefault();\n }",
"private void initRequest()\n\t{\n\t\tthis.request = new RestClientReportRequest();\n\t\tRequestHelper.copyConfigsToRequest(this.getConfigs(), this.request);\n\t\tRequestHelper.copyParamsToRequest(this.getParams(), this.request);\n\t\t\n\t\tthis.performQuery();\n\t}",
"public io.confluent.developer.InterceptTest.Builder setReqJson(java.lang.String value) {\n validate(fields()[2], value);\n this.req_json = value;\n fieldSetFlags()[2] = true;\n return this;\n }",
"MovilizerRequest getRequestFromString(String requestString);",
"public void createRequest(final String query, JsonHttpResponseHandler handler) {\n try {\n String url = getApiUrl(\"\");\n client.get(url + URLEncoder.encode(query, \"utf-8\"), handler);\n } catch (UnsupportedEncodingException e) {\n e.printStackTrace();\n }\n }",
"private void createRequest() {\n // Configure Google Sign In\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id))\n .requestEmail()\n .build();\n\n // Build a GoogleSignInClient with the options specified by gso.\n mGoogleSignInClient = GoogleSignIn.getClient(this, gso);\n }",
"public ClientRequest buildGetRequest(URI endpoint,\n Map<String, String> qryParams, MediaType... mediaTypes) {\n return ClientUtils.buildGetRequest(endpoint, qryParams, mediaTypes);\n }",
"public abstract void fromJson(JSONObject jsonObject);",
"private void buildOtherParams() {\n\t\tmClient.putRequestParam(\"attrType\", \"1\");\r\n\t}",
"public NbaTXRequestVO createRequestObject(NbaDst nbaDst, int access, String businessProcess, NbaUserVO user) {\n\t\tNbaTXRequestVO nbaTXRequest = new NbaTXRequestVO();\n\t\tnbaTXRequest.setTransType(NbaOliConstants.TC_TYPE_HOLDINGINQ);\n\t\tnbaTXRequest.setTransMode(NbaOliConstants.TC_MODE_ORIGINAL);\n\t\tnbaTXRequest.setInquiryLevel(NbaOliConstants.TC_INQLVL_OBJECTALL);\n\t\tnbaTXRequest.setNbaLob(nbaDst.getNbaLob());\n\t\tnbaTXRequest.setNbaUser(user);\n\t\tnbaTXRequest.setWorkitemId(nbaDst.getID());\n\t\tnbaTXRequest.setCaseInd(nbaDst.isCase());\n\t\tif (access != -1) {\n\t\t\tnbaTXRequest.setAccessIntent(access);\n\t\t}\n\t\tif (businessProcess != null) {\n\t\t\tnbaTXRequest.setBusinessProcess(businessProcess);\n\t\t}\n\t\treturn nbaTXRequest;\n\t}",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"private Request(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public SveaRequest<SveaCloseOrder> prepareRequest() {\n String errors = validateRequest();\n \n if (!errors.equals(\"\")) {\n throw new SveaWebPayException(\"Validation failed\", new ValidationException(errors));\n }\n \n // build inspectable request object and insert into order builder\n SveaCloseOrder sveaCloseOrder = new SveaCloseOrder();\n sveaCloseOrder.Auth = getStoreAuthorization();\n SveaCloseOrderInformation orderInfo = new SveaCloseOrderInformation();\n orderInfo.SveaOrderId = order.getOrderId();\n sveaCloseOrder.CloseOrderInformation = orderInfo;\n \n SveaRequest<SveaCloseOrder> object = new SveaRequest<SveaCloseOrder>();\n object.request = sveaCloseOrder;\n \n return object;\n }",
"private ReflectionRequest(Builder builder) {\n super(builder);\n }",
"public CommentsRequest toJraw() {\n return new CommentsRequest.Builder()\n .sort(commentSort().mode())\n .focus(focusCommentId())\n .context(contextCount())\n .limit(commentLimit())\n .build();\n }",
"@Nonnull\n public ServiceAnnouncementRequest buildRequest(@Nonnull final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.ServiceAnnouncementRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"public void setReqJson(java.lang.String value) {\n this.req_json = value;\n }",
"public static JsonObjectBuilder createObjectBuilder(JsonObject initialObject) {\n\t\tJsonObjectBuilder builder = Json.createObjectBuilder();\n\t\tfor (Map.Entry<String, JsonValue> entry : initialObject.entrySet()) {\n\t\t\tbuilder.add(entry.getKey(), entry.getValue());\n\t\t}\n\t\treturn builder;\n\t}",
"private TransactionRequest initTransactionRequest() {\n TransactionRequest transactionRequestNew = new\n TransactionRequest(System.currentTimeMillis() + \"\", 20000);\n\n //set customer details\n transactionRequestNew.setCustomerDetails(initCustomerDetails());\n\n\n // set item details\n ItemDetails itemDetails = new ItemDetails(\"1\", 20000, 1, \"Trekking Shoes\");\n\n // Add item details into item detail list.\n ArrayList<ItemDetails> itemDetailsArrayList = new ArrayList<>();\n itemDetailsArrayList.add(itemDetails);\n transactionRequestNew.setItemDetails(itemDetailsArrayList);\n\n\n // Create creditcard options for payment\n CreditCard creditCard = new CreditCard();\n\n creditCard.setSaveCard(false); // when using one/two click set to true and if normal set to false\n\n// this methode deprecated use setAuthentication instead\n// creditCard.setSecure(true); // when using one click must be true, for normal and two click (optional)\n\n creditCard.setAuthentication(CreditCard.AUTHENTICATION_TYPE_3DS);\n\n // noted !! : channel migs is needed if bank type is BCA, BRI or MyBank\n// creditCard.setChannel(CreditCard.MIGS); //set channel migs\n creditCard.setBank(BankType.BCA); //set spesific acquiring bank\n\n transactionRequestNew.setCreditCard(creditCard);\n\n return transactionRequestNew;\n }",
"protected void buildLocationSettingsRequest() {\n LocationSettingsRequest.Builder builder = new LocationSettingsRequest.Builder();\n builder.addLocationRequest(mLocationRequest);\n mLocationSettingsRequest = builder.build();\n\n }",
"private static CheckoutRequest buildCheckoutRequest(\n MasterpassCheckoutRequest masterpassCheckoutRequest) {\n Amount amount = masterpassCheckoutRequest.getAmount();\n\n return new CheckoutRequest.Builder().amount(getAmount(amount))\n .currency(amount.getCurrencyCode())\n .cartId(masterpassCheckoutRequest.getCartId())\n .cvc2Support(masterpassCheckoutRequest.isCvc2support())\n .shippingLocationProfile(masterpassCheckoutRequest.getShippingProfileId())\n .suppress3ds(masterpassCheckoutRequest.isSuppress3Ds())\n .suppressShippingAddress(!masterpassCheckoutRequest.isShippingRequired())\n .validityPeriodMinutes(masterpassCheckoutRequest.getValidityPeriodMinutes())\n .unpredictableNumber(masterpassCheckoutRequest.getTokenization() != null\n ? masterpassCheckoutRequest.getTokenization().getUnpredictableNumber() : null)\n .cryptoOptions(buildCryptoOptions(masterpassCheckoutRequest.getTokenization()))\n .build();\n }",
"public static RequestOptions fromJson(JsonReader jsonReader) throws IOException {\n return jsonReader.readObject(\n reader -> {\n RequestOptions deserializedRequestOptions = new RequestOptions();\n while (reader.nextToken() != JsonToken.END_OBJECT) {\n String fieldName = reader.getFieldName();\n reader.nextToken();\n\n if (\"x-ms-client-request-id\".equals(fieldName)) {\n deserializedRequestOptions.xMsClientRequestId =\n reader.getNullable(nonNullReader -> UUID.fromString(nonNullReader.getString()));\n } else {\n reader.skipChildren();\n }\n }\n\n return deserializedRequestOptions;\n });\n }",
"public static ApiRequest.ApiRequestBuilder builder() {\n final ApiRequest.ApiRequestBuilder builder = new ApiRequestBuilderCustom();\n return builder\n .requestStartTime(Instant.now().toEpochMilli())\n .requestId(UUID.randomUUID().toString());\n }",
"public IComplianceRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.ComplianceRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"public static ApproveRequest buildApproveRequest(Integer chatRoomID, Integer userID, Boolean isApprove) {\n ApproveRequest.Data approveRequestData = ApproveRequest.Data.builder()\n .chatRoomID(chatRoomID)\n .userID(userID)\n .isApprove(isApprove)\n .build();\n return ApproveRequest.builder()\n .request(\"approve\")\n .data(approveRequestData)\n .build();\n }",
"public RequiredParameterNode createNodeForRequestBody(RequestBody requestBody) throws BallerinaOpenApiException {\n Token comma = createToken(SyntaxKind.COMMA_TOKEN);\n List<Node> literals = new ArrayList<>();\n MappingConstructorExpressionNode annotValue;\n TypeDescriptorNode typeName;\n if (requestBody.getContent().entrySet().size() > 1) {\n IdentifierToken mediaType = createIdentifierToken(\"mediaType\");\n // Filter same data type\n HashSet<Map.Entry<String, MediaType>> equalDataType = filterMediaTypes(requestBody);\n if (!equalDataType.isEmpty()) {\n typeName = getIdentifierTokenForJsonSchema(equalDataType.iterator().next().getValue().getSchema());\n SeparatedNodeList<MappingFieldNode> fields = fillRequestAnnotationValues(comma, literals, mediaType,\n equalDataType);\n annotValue = NodeFactory.createMappingConstructorExpressionNode(\n createToken(SyntaxKind.OPEN_BRACE_TOKEN), fields, createToken(SyntaxKind.CLOSE_BRACE_TOKEN));\n } else {\n typeName = createBuiltinSimpleNameReferenceNode(null, createIdentifierToken(\n GeneratorConstants.JSON, SINGLE_WS_MINUTIAE, SINGLE_WS_MINUTIAE));\n annotValue = NodeFactory.createMappingConstructorExpressionNode(\n createToken(SyntaxKind.OPEN_BRACE_TOKEN), NodeFactory.createSeparatedNodeList(),\n createToken(SyntaxKind.CLOSE_BRACE_TOKEN));\n }\n } else {\n Iterator<Map.Entry<String, MediaType>> content = requestBody.getContent().entrySet().iterator();\n Map.Entry<String, MediaType> next = createBasicLiteralNodeList(comma,\n AbstractNodeFactory.createEmptyMinutiaeList(), AbstractNodeFactory.createEmptyMinutiaeList(),\n literals, content);\n typeName = getMediaTypeToken(next);\n annotValue = NodeFactory.createMappingConstructorExpressionNode(createToken(SyntaxKind.OPEN_BRACE_TOKEN),\n NodeFactory.createSeparatedNodeList(), createToken(SyntaxKind.CLOSE_BRACE_TOKEN));\n }\n AnnotationNode annotationNode = getAnnotationNode(\"Payload\", annotValue);\n NodeList<AnnotationNode> annotation = NodeFactory.createNodeList(annotationNode);\n Token paramName = createIdentifierToken(\"payload\", SINGLE_WS_MINUTIAE, SINGLE_WS_MINUTIAE);\n return createRequiredParameterNode(annotation, typeName, paramName);\n }",
"@Override\n\tpublic String buildRequest(String timestamp) {\n\t\tMap<String, String> sParaTemp = new LinkedHashMap<String, String>();\n\t\tsParaTemp.put(\"userid\",userid);\n\t\tsParaTemp.put(\"serverid\",serverid+\"\");\n\t\tsParaTemp.put(\"ptime\",timestamp);\n\t\tsParaTemp.put(\"isadult\",isAdult+\"\");\n\t\tString prestr = MapToParam.createRequestParams(sParaTemp,\"&\"+KEY);\n\t\treturn LOGIN_PATH+\"&\"+prestr;\n\t}",
"public static JSONBuilder newInstance(){\n return new JSONBuilder();\n }",
"public HttpRequest(HttpRequestBuilder builder){\r\n mUrl = builder.Url;\r\n mMethodType = builder.MethodType;\r\n mCallback = builder.Callback;\r\n mJsonRequestParams = builder.JsonRequestParams;\r\n }",
"public NewMemberRequest build() {\r\n return newMemberRequest;\r\n }",
"private WorkflowRequest parseWorkflowRequest(String [] origArgs) throws InvalidRequestException {\n final RegistryNode match = registry.findWorkflowMatch(origArgs);\n if (match == null || match.getWorkflow() == null) {\n throw new InvalidRequestException(\"Cannot find workflow for args: \" + StringUtils.join(origArgs, \" \"));\n }\n\n String [] path = match.getPath();\n String [] args = origArgs.length > path.length ? Arrays.copyOfRange(origArgs, path.length, origArgs.length) : null;\n return new WorkflowRequest(path, args, match.getWorkflow());\n }",
"private TeledonRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public com.google.storage.v2.CommonObjectRequestParams.Builder\n getCommonObjectRequestParamsBuilder() {\n bitField0_ |= 0x00000080;\n onChanged();\n return getCommonObjectRequestParamsFieldBuilder().getBuilder();\n }",
"private final static HttpRequest createRequest() {\r\n\r\n HttpRequest req = new BasicHttpRequest\r\n (\"GET\", \"/\", HttpVersion.HTTP_1_1);\r\n //(\"OPTIONS\", \"*\", HttpVersion.HTTP_1_1);\r\n\r\n return req;\r\n }",
"public JSONModel(final JSONObject json) {\n if (json == null) {\n throw new IllegalArgumentException(\"JSONObject argument is null\");\n }\n jo = json;\n }",
"private void createRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(default_web_client_id))\n .requestEmail()\n .build();\n\n mGoogleSignInClient = GoogleSignIn.getClient(Signup.this, gso);\n\n\n }",
"public TransmissionProtocol.Request.Builder getRequestBuilder(\n int index) {\n return getRequestFieldBuilder().getBuilder(index);\n }",
"protected SourceRequest createSourceRequest(final CartModel cart, final CheckoutComAchPaymentInfoModel achPaymentInfo, final AddressModel billingAddress) {\n final SourceRequest sourceRequest = new SourceRequest();\n sourceRequest.setBillingAddress(createAddress(billingAddress));\n sourceRequest.setPhone(checkoutComPhoneNumberStrategy.createPhone(billingAddress).orElse(null));\n sourceRequest.setReference(cart.getCheckoutComPaymentReference());\n sourceRequest.setType(ACH.name());\n sourceRequest.setSourceData(createSourceData(achPaymentInfo));\n return sourceRequest;\n }",
"public AccountKitGraphRequest buildGraphRequest(String graphPath, String unitID) {\n Bundle parameters = new Bundle();\n Utility.putNonNullString(parameters, \"unit_id\", unitID);\n return new AccountKitGraphRequest(null, graphPath, parameters, false, HttpMethod.GET);\n }",
"public static GhRequest parse(\r\n javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n GhRequest object = new GhRequest();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"GhRequest\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (GhRequest) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardID\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BLH\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BLH\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BLH\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBLH(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"PID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"PID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"PID\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"OperTime\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"OperTime\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"OperTime\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperTime(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZLF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZLF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZLF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZLF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GBF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GBF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GBF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGBF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHFMC\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHFMC\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHFMC\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHFMC(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZLFMC\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZLFMC\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZLFMC\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZLFMC(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHFDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHFDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHFDM\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHFDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZLFDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZLFDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZLFDM\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZLFDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Units\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Units\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Units\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setUnits(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Ouantity\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Ouantity\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Ouantity\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOuantity(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"KSDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"KSDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"KSDM\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setKSDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ksdm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ksdm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ksdm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setKsdmE(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"yylsh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"yylsh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"yylsh\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setYylsh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"operator_lx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"operator_lx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"operator_lx\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperator_lx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"GHLBDM\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"GHLBDM\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"GHLBDM\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGHLBDM(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SW\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SW\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SW\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSW(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SFF\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SFF\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SFF\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSFF(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SWDES\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SWDES\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SWDES\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSWDES(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ZGID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ZGID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ZGID\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZGID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"bzdm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"bzdm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"bzdm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBzdm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"regaddress\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"regaddress\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"regaddress\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setRegaddress(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"UserID\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"UserID\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"UserID\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setUserID(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Day\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Day\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Day\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDay(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"xh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"xh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"xh\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setXh(org.apache.axis2.databinding.utils.ConverterUtil.convertToInt(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SFZH\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SFZH\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SFZH\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSFZH(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"YYLSH\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"YYLSH\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"YYLSH\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setYYLSHE(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BankNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BankNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BankNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBankNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Gzdw\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Gzdw\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Gzdw\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setGzdw(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_zhh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_zhh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_zhh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_zhh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddly\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddly\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddly\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddly(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"DYPT\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"DYPT\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"DYPT\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDYPT(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }",
"@Override\n\tpublic void initRequest() {\n\n\t}",
"private Request(com.google.protobuf.GeneratedMessage.ExtendableBuilder<Pokemon.Request, ?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public static Request readFromParcel(Parcel in) {\n String callingPackageName = in.readString();\n int userId = in.readInt();\n Request request = new Request(in.readCharSequence(), in.readInt(), in.readInt(), (LocaleList) in.readParcelable(null), false, in.readBundle());\n request.setCallingPackageName(callingPackageName);\n request.setUserId(userId);\n return request;\n }",
"public FilterItems jsonToObject(String json){\n json = json.replace(\"body=\",\"{ \\\"body\\\" : \");\n json = json.replace(\"&oil=\",\", \\\"oil\\\" : \");\n json = json.replace(\"&transmission=\",\", \\\"transmission\\\" :\");\n json = json + \"}\";\n json = json.replace(\"[]\",\"null\");\n ObjectMapper mapper = new ObjectMapper();\n FilterItems itemSearch = null;\n try {\n itemSearch = mapper.readValue(json, FilterItems.class);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return itemSearch;\n }",
"private CreateRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public static Request parse(javax.xml.stream.XMLStreamReader reader)\r\n throws java.lang.Exception {\r\n Request object = new Request();\r\n\r\n int event;\r\n javax.xml.namespace.QName currentQName = null;\r\n java.lang.String nillableValue = null;\r\n java.lang.String prefix = \"\";\r\n java.lang.String namespaceuri = \"\";\r\n\r\n try {\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n currentQName = reader.getName();\r\n\r\n if (reader.getAttributeValue(\r\n \"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\") != null) {\r\n java.lang.String fullTypeName = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"type\");\r\n\r\n if (fullTypeName != null) {\r\n java.lang.String nsPrefix = null;\r\n\r\n if (fullTypeName.indexOf(\":\") > -1) {\r\n nsPrefix = fullTypeName.substring(0,\r\n fullTypeName.indexOf(\":\"));\r\n }\r\n\r\n nsPrefix = (nsPrefix == null) ? \"\" : nsPrefix;\r\n\r\n java.lang.String type = fullTypeName.substring(fullTypeName.indexOf(\r\n \":\") + 1);\r\n\r\n if (!\"Request\".equals(type)) {\r\n //find namespace for the prefix\r\n java.lang.String nsUri = reader.getNamespaceContext()\r\n .getNamespaceURI(nsPrefix);\r\n\r\n return (Request) ExtensionMapper.getTypeObject(nsUri,\r\n type, reader);\r\n }\r\n }\r\n }\r\n\r\n // Note all attributes that were handled. Used to differ normal attributes\r\n // from anyAttributes.\r\n java.util.Vector handledAttributes = new java.util.Vector();\r\n\r\n reader.next();\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"PatientName\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"PatientName\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"PatientName\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPatientName(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Sex\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Sex\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Sex\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSex(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Birthday\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Birthday\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Birthday\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBirthday(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Age\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Age\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Age\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAge(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"IDCardNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"IDCardNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"IDCardNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setIDCardNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"SecrityNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"SecrityNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"SecrityNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSecrityNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardSerNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardSerNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardSerNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardSerNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Blh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Blh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Blh\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBlh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Amt\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Amt\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Amt\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAmt(org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"CardMoney\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"CardMoney\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"CardMoney\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setCardMoney(org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Address\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Address\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Address\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setAddress(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Tel\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Tel\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Tel\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setTel(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"UserId\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"UserId\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"UserId\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setUserId(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ActDate\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ActDate\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ActDate\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setActDate(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ActTime\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ActTime\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ActTime\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setActTime(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Notes\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Notes\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Notes\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setNotes(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Vid\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Vid\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Vid\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setVid(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Password\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Password\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Password\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPassword(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Delb\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Delb\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Delb\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDelb(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BGKSMC\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BGKSMC\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BGKSMC\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBGKSMC(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"zjhm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"zjhm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"zjhm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZjhm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"zjlx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"zjlx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"zjlx\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZjlx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Dm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Dm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Dm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"PatSum\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"PatSum\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"PatSum\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setPatSum(org.apache.axis2.databinding.utils.ConverterUtil.convertToDecimal(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n // 1 - A start element we are not expecting indicates an invalid parameter was passed\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"OperTime\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"OperTime\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"OperTime\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperTime(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"StartDay\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"StartDay\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"StartDay\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setStartDay(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"EndDay\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"EndDay\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"EndDay\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setEndDay(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"BankNo\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"BankNo\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"BankNo\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBankNo(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Bankaccount\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Bankaccount\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Bankaccount\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBankaccount(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Tranlist\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Tranlist\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Tranlist\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setTranlist(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Transocode\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Transocode\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Transocode\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setTransocode(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"dylb\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"dylb\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"dylb\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDylb(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"zxdhm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"zxdhm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"zxdhm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setZxdhm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"xmlx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"xmlx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"xmlx\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setXmlx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"dyf\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"dyf\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"dyf\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDyf(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"dysj\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"dysj\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"dysj\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDysj(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_zhh\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_zhh\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_zhh\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_zhh(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"Mu_ddly\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"Mu_ddly\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"Mu_ddly\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setMu_ddly(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"DYPT\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"DYPT\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"DYPT\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setDYPT(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"operator_lx\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"operator_lx\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"operator_lx\" +\r\n \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setOperator_lx(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"sfqm\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"sfqm\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"sfqm\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setSfqm(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"ks\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"ks\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"ks\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setKs(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if ((reader.isStartElement() &&\r\n new javax.xml.namespace.QName(\r\n \"http://tempuri.org/\", \"bed\").equals(\r\n reader.getName())) ||\r\n new javax.xml.namespace.QName(\"\", \"bed\").equals(\r\n reader.getName())) {\r\n nillableValue = reader.getAttributeValue(\"http://www.w3.org/2001/XMLSchema-instance\",\r\n \"nil\");\r\n\r\n if (\"true\".equals(nillableValue) ||\r\n \"1\".equals(nillableValue)) {\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"The element: \" + \"bed\" + \" cannot be null\");\r\n }\r\n\r\n java.lang.String content = reader.getElementText();\r\n\r\n object.setBed(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(\r\n content));\r\n\r\n reader.next();\r\n } // End of if for expected property start element\r\n\r\n else {\r\n }\r\n\r\n while (!reader.isStartElement() && !reader.isEndElement())\r\n reader.next();\r\n\r\n if (reader.isStartElement()) {\r\n // 2 - A start element we are not expecting indicates a trailing invalid property\r\n throw new org.apache.axis2.databinding.ADBException(\r\n \"Unexpected subelement \" + reader.getName());\r\n }\r\n } catch (javax.xml.stream.XMLStreamException e) {\r\n throw new java.lang.Exception(e);\r\n }\r\n\r\n return object;\r\n }",
"public interface ElasticSearchCriteria {\n\n public void inGroup(String groupName);\n\n public void addParameterMatch(String parameter, String value);\n public void addParameterNotMatch(String parameter, String value);\n public void addParameterComparison(String parameter, String operator, Object value);\n public void addComplexFilter(JSONObject filter);\n\n public JSONObject toJSONObject();\n\n}",
"public TboFlightSearchRequest() {\n}",
"private CalRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {\n super(builder);\n this.unknownFields = builder.getUnknownFields();\n }",
"public IAgreementRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.AgreementRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"private void creatRequest() {\n GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)\n .requestIdToken(getString(R.string.default_web_client_id)) //R.string.default_web_client_id需要將系統執行一次,讓他產生\n .requestEmail()\n .build();\n\n mGoogleSignInClient = GoogleSignIn.getClient(this,gso);\n }",
"private JsonObject toJsonFromRequestObj(UserInfo ui, Set<String> scope, JsonObject authorizedClaims, JsonObject requestedClaims) {\r\n\r\n\t\t// get the base object\r\n\t\tJsonObject obj = ui.toJson();\r\n\r\n\t\tSet<String> allowedByScope = translator.getClaimsForScopeSet(scope);\r\n\t\tSet<String> authorizedByClaims = extractUserInfoClaimsIntoSet(authorizedClaims);\r\n\t\tSet<String> requestedByClaims = extractUserInfoClaimsIntoSet(requestedClaims);\r\n\r\n\t\t// Filter claims by performing a manual intersection of claims that are allowed by the given scope, requested, and authorized.\r\n\t\t// We cannot use Sets.intersection() or similar because Entry<> objects will evaluate to being unequal if their values are\r\n\t\t// different, whereas we are only interested in matching the Entry<>'s key values.\r\n\t\tJsonObject result = new JsonObject();\r\n\t\tfor (Entry<String, JsonElement> entry : obj.entrySet()) {\r\n\r\n\t\t\tif (allowedByScope.contains(entry.getKey())\r\n\t\t\t\t\t|| authorizedByClaims.contains(entry.getKey())) {\r\n\t\t\t\t// it's allowed either by scope or by the authorized claims (either way is fine with us)\r\n\r\n\t\t\t\tif (requestedByClaims.isEmpty() || requestedByClaims.contains(entry.getKey())) {\r\n\t\t\t\t\t// the requested claims are empty (so we allow all), or they're not empty and this claim was specifically asked for\r\n\t\t\t\t\tresult.add(entry.getKey(), entry.getValue());\r\n\t\t\t\t} // otherwise there were specific claims requested and this wasn't one of them\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}",
"public JSONModel(final String json) throws JSONException {\n jo = new JSONObject(json);\n }",
"public Request buildHttpRequest(Method method, Object args) {\n return post(method, args);\n }",
"public <T extends IRequestParamsData> JsonRpcRequest<T> createRequestPackage(\n T requestData,\n String method,\n String uuid\n ) throws TrustlyValidationException {\n\n JsonRpcRequest<T> rpcRequest = this.objectFactory.create(requestData, method, uuid);\n JsonRpcRequest<T> signedRpcRequest = this.signer.sign(rpcRequest);\n\n this.validator.validate(signedRpcRequest);\n\n return signedRpcRequest;\n }",
"public SaleRequest toSaleRequest(String reference) {\n return new SaleRequest().amountInCents(amountInCents)\n .currencyIsoCode(currencyIsoCode)\n .token(token)\n .reference(reference);\n }",
"public RequestEntity(Entity entity, Monitor monitor) {\n this.builder = new FormCreator(this, entity);\n this.channel = entity.getChannel();\n this.header = entity.getHeader(); \n this.body = entity.getBody();\n this.entity = entity;\n }",
"@Override\n public Object createRequestBody() {\n int[] arr = {1,2,3,4,5,6,7,8,9};\n Tree root = TreeUtility.buildTree(arr);\n return root;\n }",
"public SmsSendRequestDto() {\n super();\n }",
"public static TemplatePushRequest newRequest() {\n return new TemplatePushRequest();\n }",
"@Override\n public ParameterDefinition newInstance(StaplerRequest req, JSONObject formData) throws hudson.model.Descriptor.FormException {\n if (req != null) {\n List<Ancestor> ancestors = req.getAncestors();\n AbstractProject<?, ?> project = null;\n for (Ancestor ancestor : ancestors) {\n Object object = ancestor.getObject();\n if (object instanceof AbstractProject<?, ?>) {\n project = (AbstractProject<?, ?>) object;\n break;\n }\n }\n this.project = project;\n }\n return super.newInstance(req, formData);\n }",
"public IDeviceComplianceScriptDeviceStateRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {\n return new com.microsoft.graph.requests.extensions.DeviceComplianceScriptDeviceStateRequest(getRequestUrl(), getClient(), requestOptions);\n }",
"@Override\n public DependencyGraphRequest readFrom(Class<DependencyGraphRequest> type,\n Type genericType,\n Annotation[] annotations,\n MediaType mediaType,\n MultivaluedMap<String, String> httpHeaders,\n InputStream entityStream) throws IOException, WebApplicationException {\n return new DependencyGraphRequest(0, 0);\n }"
]
| [
"0.7270767",
"0.5971897",
"0.5809581",
"0.5547894",
"0.5511927",
"0.54809153",
"0.54299337",
"0.5383132",
"0.53663677",
"0.5363774",
"0.5361195",
"0.53516746",
"0.5292682",
"0.5279109",
"0.52310926",
"0.5214945",
"0.52010345",
"0.51983404",
"0.51920617",
"0.5176905",
"0.5110712",
"0.51087683",
"0.51024985",
"0.50307995",
"0.49958447",
"0.49884406",
"0.49742657",
"0.4973217",
"0.49548948",
"0.495219",
"0.49468568",
"0.4945626",
"0.49452046",
"0.49360433",
"0.4930244",
"0.49177378",
"0.49002635",
"0.48815203",
"0.48763534",
"0.48747304",
"0.4873025",
"0.4842284",
"0.48392138",
"0.48355952",
"0.48181492",
"0.47801197",
"0.47801197",
"0.47801197",
"0.47801197",
"0.47647065",
"0.47590166",
"0.47521156",
"0.47271088",
"0.47216445",
"0.4716683",
"0.4708316",
"0.4704979",
"0.4699542",
"0.46746418",
"0.46738523",
"0.46714297",
"0.46691763",
"0.46677673",
"0.465559",
"0.465198",
"0.46484727",
"0.4643949",
"0.46399814",
"0.4637007",
"0.4622295",
"0.4609567",
"0.45966414",
"0.45909676",
"0.45905873",
"0.45877898",
"0.4587168",
"0.45853892",
"0.4582304",
"0.45785305",
"0.4573767",
"0.457144",
"0.45683017",
"0.45658913",
"0.4561768",
"0.45587853",
"0.4554538",
"0.45530787",
"0.45477602",
"0.45450312",
"0.4540358",
"0.4540211",
"0.45361695",
"0.4535163",
"0.45314896",
"0.45295754",
"0.45283815",
"0.45189884",
"0.45071116",
"0.450402",
"0.44940335"
]
| 0.6453979 | 1 |
we process "term", "terms", "range", "path", "custom" selection types; | private static void addSelection(String type,
JSONObject jsonSel,
SenseiRequest req,
final Map<String, String[]> facetInfoMap)
throws Exception
{
BrowseSelection sel = null;
if(RequestConverter2.SELECTIONS_TERM.equals(type))
{
Iterator<String> iter = jsonSel.keys();
if(iter.hasNext()){
String facet = iter.next();
JSONObject jsonParams = jsonSel.optJSONObject(facet);
String value = jsonParams.optString(RequestConverter2.SELECTIONS_TERM_VALUE, null);
if(facet!= null && value != null)
{
sel = new BrowseSelection(facet);
String[] vals = new String[1];
vals[0] = value;
sel.setValues(formatValues(facet, vals, facetInfoMap));
updateProperties(sel, jsonParams.optJSONObject(FilterConstructor.PARAMS_PARAM));
req.addSelection(sel);
}
}
}
else if(RequestConverter2.SELECTIONS_TERMS.equals(type))
{
Iterator<String> iter = jsonSel.keys();
if(iter.hasNext()){
String facet = iter.next();
JSONObject jsonParams = jsonSel.optJSONObject(facet);
JSONArray values = jsonParams.optJSONArray(RequestConverter2.SELECTIONS_TERMS_VALUES);
JSONArray excludes = jsonParams.optJSONArray(RequestConverter2.SELECTIONS_TERMS_EXCLUDES);
String operator = jsonParams.optString(RequestConverter2.SELECTIONS_TERMS_OPERATOR, RequestConverter2.SELECTIONS_TERMS_OPERATOR_OR);
if(facet!= null && (values != null || excludes != null))
{
sel = new BrowseSelection(facet);
ValueOperation op = ValueOperation.ValueOperationOr;
if(RequestConverter2.SELECTIONS_TERMS_OPERATOR_AND.equals(operator))
op = ValueOperation.ValueOperationAnd;
if(values != null && values.length()>0){
sel.setValues(formatValues(facet, getStrings(values), facetInfoMap));
}
if(excludes != null && excludes.length()>0){
sel.setNotValues(formatValues(facet, getStrings(excludes), facetInfoMap));
}
sel.setSelectionOperation(op);
req.addSelection(sel);
updateProperties(sel, jsonParams.optJSONObject(FilterConstructor.PARAMS_PARAM));
}
}
}
else if(RequestConverter2.SELECTIONS_RANGE.equals(type))
{
Iterator<String> iter = jsonSel.keys();
if(iter.hasNext()){
String facet = iter.next();
JSONObject jsonParams = jsonSel.optJSONObject(facet);
String upper = jsonParams.optString(RequestConverter2.SELECTIONS_RANGE_TO, "*");
String lower = jsonParams.optString(RequestConverter2.SELECTIONS_RANGE_FROM, "*");
boolean includeUpper = jsonParams.optBoolean(RequestConverter2.SELECTIONS_RANGE_INCLUDE_UPPER, true);
boolean includeLower = jsonParams.optBoolean(RequestConverter2.SELECTIONS_RANGE_INCLUDE_LOWER, true);
String left = "[", right = "]";
if(includeLower == false)
left = "(";
if(includeUpper == false)
right = ")";
String range = left + lower + " TO " + upper + right;
if(facet!= null )
{
sel = new BrowseSelection(facet);
String[] vals = new String[1];
vals[0] = range;
sel.setValues(vals);
req.addSelection(sel);
updateProperties(sel, jsonParams.optJSONObject(FilterConstructor.PARAMS_PARAM));
}
}
}
else if(RequestConverter2.SELECTIONS_PATH.equals(type))
{
Iterator<String> iter = jsonSel.keys();
if(iter.hasNext()){
String facet = iter.next();
JSONObject jsonParams = jsonSel.optJSONObject(facet);
String value = jsonParams.optString(RequestConverter2.SELECTIONS_PATH_VALUE, null);
if(facet != null && value != null){
sel = new BrowseSelection(facet);
String[] vals = new String[1];
vals[0] = value;
sel.setValues(vals);
if(jsonParams.has(RequestConverter2.SELECTIONS_PATH_STRICT)){
boolean strict = jsonParams.optBoolean(RequestConverter2.SELECTIONS_PATH_STRICT, false);
sel.getSelectionProperties().setProperty(PathFacetHandler.SEL_PROP_NAME_STRICT, String.valueOf(strict));
}
if(jsonParams.has(RequestConverter2.SELECTIONS_PATH_DEPTH)){
int depth = jsonParams.optInt(RequestConverter2.SELECTIONS_PATH_DEPTH, 1);
sel.getSelectionProperties().setProperty(PathFacetHandler.SEL_PROP_NAME_DEPTH, String.valueOf(depth));
}
req.addSelection(sel);
updateProperties(sel, jsonParams.optJSONObject(FilterConstructor.PARAMS_PARAM));
}
}
}
else if(RequestConverter2.SELECTIONS_CUSTOM.equals(type))
{
;
}
else if(RequestConverter2.SELECTIONS_DEFAULT.equals(type))
{
;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void processSelect() {\n \n }",
"abstract public TermEnum terms(Term t) throws IOException;",
"TermType getTermType();",
"private static void DoSelection()\n\t{\n\n\t\tArrayList<Attribute> inAtts = new ArrayList<Attribute>();\n\t\tinAtts.add(new Attribute(\"Int\", \"o_orderkey\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"o_custkey\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderstatus\"));\n\t\tinAtts.add(new Attribute(\"Float\", \"o_totalprice\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderdate\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_orderpriority\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_clerk\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"o_shippriority\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"o_comment\"));\n\n\t\tArrayList<Attribute> outAtts = new ArrayList<Attribute>();\n\t\toutAtts.add(new Attribute(\"Int\", \"att1\"));\n\t\toutAtts.add(new Attribute(\"Float\", \"att2\"));\n\t\toutAtts.add(new Attribute(\"Str\", \"att3\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att4\"));\n\n\t\tString selection = \"o_orderdate > Str (\\\"1996-12-19\\\") && o_custkey < Int (100)\";\n\n\t\tHashMap<String, String> exprs = new HashMap<String, String>();\n\t\texprs.put(\"att1\", \"o_orderkey\");\n\t\texprs.put(\"att2\", \"(o_totalprice * Float (1.5)) + Int (1)\");\n\t\texprs.put(\"att3\", \"o_orderdate + Str (\\\" this is my string\\\")\");\n\t\texprs.put(\"att4\", \"o_custkey\");\n\n\t\t// run the selection operation\n\t\ttry\n\t\t{\n\t\t\tnew Selection(inAtts, outAtts, selection, exprs, \"orders.tbl\", \"out.tbl\", \"g++\", \"cppDir/\");\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}",
"public void parseTerm(Tokenizer t) {\n\n // parse the fac node\n this.fac.parseFac(t);\n\n // check selection\n if(t.currentToken().equals(\"*\")) {\n\n // Chomp \"*\" token\n t.nextToken();\n\n // update selection\n this.selection = 2;\n\n // parse term node\n this.term = new TermNode();\n this.term.parseTerm(t);\n\n }\n\n }",
"abstract public TermEnum terms() throws IOException;",
"public ListSelection()\n {\n super( DocumentType.CALC );\n }",
"public void setTerms(Term[] terms) { this.terms = terms; }",
"private void selectByType(boolean type) {\n if (type) {\n textBuffer.setDragStart();\n } else {\n textBuffer.setDragEnd();\n }\n }",
"void multiSelection(DynamicTable table, String element) {\n //String upElement = element.substring(0,1).toUpperCase() +\n // element.substring(1);\n //................MULTIPLE SELECTION--Add DROP-DOWN MENU ....................\n Select multiTypeSelect = new Select(\"pmultitype\");\n multiTypeSelect.addOption(new Option(\"Only 1 \"+element+\" required\",\"1\", false));\n multiTypeSelect.addOption(new Option(\"12 month \"+element+\"s\", \"2\", false));\n multiTypeSelect.addOption(new Option(\"4 seasonal \"+element+\"\", \"3\", false));\n multiTypeSelect.addOption(new Option(\"A \"+element+\" / month (yrs*12)\", \"4\", false));\n\n //................PLOT TYPE SELECTION input box....................\n table.addRow(ec.cr2ColRow(\n chFSize(\"Multi-\"+element+\" Selection: \",\"-1\"), multiTypeSelect));\n\n }",
"protected void determineRangeSyntax() {\n // Let user override rangeSyntax.\n if (rangeSyntax == null)\n rangeSyntax =\n (firebirdVersion == FB_VERSION_15) ? RANGE_SYNTAX_FIRST_SKIP\n : RANGE_SYNTAX_ROWS;\n\n if (RANGE_SYNTAX_FIRST_SKIP.equals(rangeSyntax))\n rangePosition = RANGE_PRE_DISTINCT;\n else\n rangePosition = RANGE_POST_SELECT;\n }",
"public List<String> getTermsForField(String field, Option<String[]> types) {\n final String facetName = \"terms\";\n final AggregationBuilder aggBuilder = AggregationBuilders.terms(facetName).field(field);\n final SearchSourceBuilder searchSource = new SearchSourceBuilder().aggregation(aggBuilder);\n final List<String> indices = new ArrayList<>();\n if (types.isSome()) {\n Arrays.stream(types.get()).forEach(t -> indices.add(this.getIndexName(t)));\n } else {\n Arrays.stream(getDocumentTypes()).forEach(t->indices.add(this.getIndexName(t)));\n }\n final SearchRequest searchRequest = new SearchRequest(indices.toArray(new String[0])).source(searchSource);\n try {\n final SearchResponse response = getClient().search(searchRequest, RequestOptions.DEFAULT);\n\n final List<String> terms = new ArrayList<>();\n final Terms aggs = response.getAggregations().get(facetName);\n\n for (Bucket bucket : aggs.getBuckets()) {\n terms.add(bucket.getKey().toString());\n }\n\n return terms;\n } catch (IOException e) {\n return chuck(e);\n }\n }",
"@Override\n protected void query(CompletionResultSet completionRS, Document doc, int caretOffset) {\n // First, we retrieve the filters defined for the hAtom microformat completion\n String strFilter = Filter.EMPRTY_STRING;\n Filter filter = Filter.getFilter();\n \n try {\n StyledDocument styledDoc = (StyledDocument) doc; \n // Get the filter's text based on actual carte position.\n strFilter = filter.getText(styledDoc, caretOffset);\n \n } catch (Exception ex) {\n ex.printStackTrace();\n // if an error occurs, an empty filter is set, so that the completion popup \n // will be filled with all the hAtom keywords.\n strFilter = Filter.EMPRTY_STRING;\n }\n\n // Lista completa dei tag/parole chiave hAtom\n List<String> hatomTags = TagCache.getCache().getTagList();\n\n // Gets the hAtom keywords that match the given filter value.\n for (String tag : hatomTags) {\n boolean startWithFilter = tag.startsWith(strFilter); \n if (!tag.equals(Filter.EMPRTY_STRING) && startWithFilter) {\n completionRS.addItem(new HatomCompletionItem(tag, filter.getFilterOffset(), caretOffset));\n }\n }\n\n // This is required by the Netbeans API docs.\n // After finish() is invoked, no further modifications to the result set are allowed.\n completionRS.finish();\n\n }",
"@Inject @Optional\n\tprivate void filterTerms(@UIEventTopic(TermSuiteEvents.NEW_TERM_FILTER) Map<Class<?>, Object> params) {\n\t\tif(Objects.equals(\n\t\t\t\tBrokerUtil.get(params, ETerminology.class),\n\t\t\t\tcontext.get(ETerminology.class))) {\n\t\t\tviewer.setFilters(BrokerUtil.get(params, TermFilter.class), null);\n\t\t\tviewer.expandToLevel(1);\n\t\t}\n\t}",
"@Override\n public void selectionChanged(JavaTextSelection selection) {\n try {\n setEnabled(RefactoringAvailabilityTester.isGeneralizeTypeAvailable(selection));\n } catch (JavaModelException e) {\n setEnabled(false);\n }\n }",
"public String getTerm(){\n return this.term;\n }",
"protected abstract void doSelection() throws IOException;",
"boolean applicable(Selection selection);",
"public void processArgs(String[] args){\n\t\tPattern pat = Pattern.compile(\"-[a-z]\");\n\t\tfor (int i = 0; i<args.length; i++){\n\t\t\tString lcArg = args[i].toLowerCase();\n\t\t\tMatcher mat = pat.matcher(lcArg);\n\t\t\tif (mat.matches()){\n\t\t\t\tchar test = args[i].charAt(1);\n\t\t\t\ttry{\n\t\t\t\t\tswitch (test){\n\t\t\t\t\tcase 'a': ucscGeneTableFileAll = new File(args[i+1]); i++; break;\n\t\t\t\t\tcase 'g': ucscGeneTableFileSelect = new File(args[i+1]); i++; break;\n\t\t\t\t\tcase 'b': barDirectory = new File(args[i+1]); i++; break;\n\t\t\t\t\tcase 'r': rApp = new File(args[i+1]); i++; break;\n\t\t\t\t\tcase 's': threshold = Float.parseFloat(args[i+1]); i++; break;\n\t\t\t\t\tcase 'e': extension = Integer.parseInt(args[i+1]); i++; break;\n\t\t\t\t\tcase 'f': extensionToSegment = Integer.parseInt(args[i+1]); i++; break;\n\t\t\t\t\tcase 'x': bpPositionOffSetBar = Integer.parseInt(args[i+1]); i++; break;\n\t\t\t\t\tcase 'y': bpPositionOffSetRegion = Integer.parseInt(args[i+1]); i++; break;\n\t\t\t\t\tcase 'h': printDocs(); System.exit(0);\n\t\t\t\t\tdefault: Misc.printExit(\"\\nError: unknown option! \" + mat.group());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (Exception e){\n\t\t\t\t\tMisc.printExit(\"\\nSorry, something doesn't look right with this parameter: -\"+test+\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//parse text\n\t\tselectName = Misc.removeExtension(ucscGeneTableFileSelect.getName());\n\n\t}",
"@Override\n FieldOptions getRoleActivityFieldOptions(VitroRequest vreq) throws Exception {\n\t\treturn new ConstantFieldOptions(\n\t\t \"\", \"Select type\", \n\t\t \"http://purl.org/ontology/bibo/AcademicArticle\", \"Academic Article\",\n \"http://purl.org/ontology/bibo/Article\", \"Article\",\n \"http://purl.org/ontology/bibo/AudioDocument\", \"Audio Document\",\n \"http://purl.org/ontology/bibo/AudioVisualDocument\", \"Audio-Visual Document\",\n \"http://purl.org/ontology/bibo/Bill\", \"Bill\",\n \"http://vivoweb.org/ontology/core#Blog\", \"Blog\",\n \"http://vivoweb.org/ontology/core#BlogPosting\", \"Blog Posting\",\n \"http://purl.org/ontology/bibo/Book\", \"Book\",\n \"http://purl.org/ontology/bibo/BookSection\", \"Book Section\",\n \"http://purl.org/ontology/bibo/Brief\", \"Brief\",\n \"http://vivoweb.org/ontology/core#CaseStudy\", \"Case Study\",\n \"http://vivoweb.org/ontology/core#Catalog\", \"Catalog\",\n \"http://purl.org/ontology/bibo/Chapter\", \"Chapter\",\n \"http://purl.org/spar/fabio/ClinicalGuideline\", \"Clinical Guideline\",\n \"http://purl.org/ontology/bibo/Code\", \"Code\",\n \"http://purl.org/ontology/bibo/CollectedDocument\", \"Collected Document\",\n \"http://purl.org/spar/fabio/Comment\", \"Comment\",\n \"http://vivoweb.org/ontology/core#ConferencePaper\", \"Conference Paper\",\n \"http://vivoweb.org/ontology/core#ConferencePoster\", \"Conference Poster\",\n \"http://purl.org/ontology/bibo/CourtReporter\", \"Court Reporter\",\n \"http://vivoweb.org/ontology/core#Database\", \"Database\",\n \"http://purl.org/ontology/bibo/LegalDecision\", \"Decision\",\n \"http://purl.org/ontology/bibo/DocumentPart\", \"Document Part\",\n \"http://purl.org/ontology/bibo/EditedBook\", \"Edited Book\",\n \"http://vivoweb.org/ontology/core#EditorialArticle\", \"Editorial Article\",\n \"http://purl.org/spar/fabio/Erratum\", \"Erratum\",\n \"http://purl.org/ontology/bibo/Excerpt\", \"Excerpt\",\n \"http://purl.org/ontology/bibo/Film\", \"Film\",\n \"http://purl.org/ontology/bibo/Image\", \"Image\",\n \"http://purl.org/ontology/bibo/Issue\", \"Issue\",\n \"http://purl.org/ontology/bibo/Journal\", \"Journal\",\n \"http://purl.obolibrary.org/obo/IAO_0000013\", \"Journal Article\",\n \"http://purl.org/ontology/bibo/LegalCaseDocument\", \"Legal Case Document\",\n \"http://purl.org/ontology/bibo/LegalDocument\", \"Legal Document\",\n \"http://purl.org/ontology/bibo/Legislation\", \"Legislation\",\n \"http://purl.org/ontology/bibo/Letter\", \"Letter\",\n \"http://purl.org/ontology/bibo/Magazine\", \"Magazine\",\n \"http://purl.org/ontology/bibo/Manual\", \"Manual\",\n \"http://purl.org/ontology/bibo/Manuscript\", \"Manuscript\",\n \"http://purl.org/ontology/bibo/Map\", \"Map\",\n \"http://vivoweb.org/ontology/core#Newsletter\", \"Newsletter\",\n \"http://purl.org/ontology/bibo/Newspaper\", \"Newspaper\",\n \"http://vivoweb.org/ontology/core#NewsRelease\", \"News Release\",\n \"http://purl.org/ontology/bibo/Note\", \"Note\",\n \"http://purl.org/ontology/bibo/Patent\", \"Patent\",\n \"http://purl.org/ontology/bibo/Periodical\", \"Periodical\",\n \"http://purl.org/ontology/bibo/PersonalCommunicationDocument\", \"Personal Communication Document\",\n \"http://purl.org/ontology/bibo/Proceedings\", \"Proceedings\",\n \"http://purl.obolibrary.org/obo/OBI_0000272\", \"protocol\",\n \"http://purl.org/ontology/bibo/Quote\", \"Quote\",\n \"http://purl.org/ontology/bibo/ReferenceSource\", \"Reference Source\",\n \"http://purl.org/ontology/bibo/Report\", \"Report\",\n \"http://vivoweb.org/ontology/core#ResearchProposal\", \"Research Proposal\",\n \"http://vivoweb.org/ontology/core#Review\", \"Review\",\n \"http://vivoweb.org/ontology/core#Score\", \"Score\",\n \"http://vivoweb.org/ontology/core#Screenplay\", \"Screenplay\",\n \"http://purl.org/ontology/bibo/Series\", \"Series\",\n \"http://purl.org/ontology/bibo/Slide\", \"Slide\",\n \"http://purl.org/ontology/bibo/Slideshow\", \"Slideshow\",\n \"http://vivoweb.org/ontology/core#Speech\", \"Speech\",\n \"http://purl.org/ontology/bibo/Standard\", \"Standard\",\n \"http://purl.org/ontology/bibo/Statute\", \"Statute\",\n \"http://purl.org/ontology/bibo/Thesis\", \"Thesis\",\n \"http://vivoweb.org/ontology/core#Translation\", \"Translation\",\n \"http://vivoweb.org/ontology/core#Video\", \"Video\",\n \"http://purl.org/ontology/bibo/Webpage\", \"Webpage\",\n \"http://purl.org/ontology/bibo/Website\", \"Website\",\n \"http://vivoweb.org/ontology/core#WorkingPaper\", \"Working Paper\"\n );\n }",
"public void ach_doc_type_txt_test () {\n\t\t\n\t}",
"@Override\n public int getAutoQueryTypes(JTextComponent jtc, String string) {\n return 0;\n }",
"public LabelValueBean[] getTermSelectOptions() {\n\t\tList terms = getTermList();\n\t\tLabelValueBean[] options = new LabelValueBean[terms.size() + 1];\n\t\toptions[0] = new LabelValueBean(org.dlese.dpc.schemedit.action.form.SchemEditForm.UNSPECIFIED, \"\");\n\t\tint index = 1;\n\t\tfor (Iterator i = terms.iterator(); i.hasNext();) {\n\t\t\tString term = (String) i.next();\n\t\t\toptions[index++] = new LabelValueBean(term, term);\n\t\t}\n\t\treturn options;\n\t}",
"public void processMetroLineSelection(String selection) {\n dataManager.metroLineSelection(selection);\n }",
"@Override\n\t\t\tpublic void onChange(Widget sender) {\n\t\t\t\tint listIndex = property_Resources.getSelectedIndex();\n\t\t\t\tlogger.log(Level.SEVERE, property_Resources.getItemText(listIndex));\n\t\t\t\tif (!(property_Resources.getItemText(listIndex).equals(\"RDF.type\"))) {\n\t\t\t\t\tlogger.log(Level.SEVERE, \"not rdf.type\");\n\t\t\t\t\tString uri = ontology.get(ontologies.getSelectedIndex()).getBaseURI();\n\t\t\t\t\tString item = uri + property_Resources.getItemText(listIndex);\n\t\t\t\t\taddPredicate(item);\n\t\t\t\t} else {\n\t\t\t\t\tlogger.log(Level.SEVERE, \"rdf.type\");\n\t\t\t\t\tString item = property_Resources.getItemText(listIndex);\n\t\t\t\t\taddPredicate(item);\n\t\t\t\t}\n\n\t\t\t}",
"public abstract Set<String> getTerms(Document doc);",
"public void setSelectMethod(Selection s){\n selectType = s;\n }",
"public void applyData(Object data) {\n \t\tif (!(data instanceof String))\n \t\t\treturn;\n \n \t\tfor (int i= 0; i < fListModel.length; i++) {\n \t\t\tfinal ListItem element= fListModel[i];\n \t\t\tif (data.equals(element.label)) {\n \t\t\t\tfinal Control control= fAnnotationTypeViewer.getControl();\n \t\t\t\tcontrol.getDisplay().asyncExec(new Runnable() {\n \t\t\t\t\tpublic void run() {\n \t\t\t\t\t\tcontrol.setFocus();\n \t\t\t\t\t\tfAnnotationTypeViewer.setSelection(new StructuredSelection(element), true);\n \t\t\t\t\t}\n \t\t\t\t});\n \t\t\t\treturn;\n \t\t\t}\n \t\t}\n \t}",
"@Override\r\n\tpublic void setSelectedType(int paramInt) {\n\r\n\t}",
"abstract public TermDocs termDocs(Term t) throws IOException;",
"@Override\r\n\tpublic List<Type> selectType() {\n\t\treturn gd.selectType();\r\n\t}",
"@Override\n\tpublic void onSelect(String selections, EntityLabel el) {\n\t\tLog.d(TAG, \"MULTISELECT : ON SELECT CALLED \" + selections);\n\n\t\tList<String> listOfSelectedItems = Arrays.asList(selections.split(\",\"));\n\t\t/*for (String selected : listOfSelectedItems) {\n\t\t\tinvokeChildrens(new EntityLabel(el.getId(), selected));\n\t\t}*/\n\t\tinvokeChildrens(el, listOfSelectedItems);\n\t}",
"private void filterAsYouType(final JTextField tf){\n\t \t\n \t\n\t final String text = tf.getText();\n\t\n\t chooser.setFileFilter(new FileFilter()\n\t\t {\n\t\t @Override\n\t\t public boolean accept(File f)\n\t\t {\n\t\t \t FileNameExtensionFilter patientFileFilter = new FileNameExtensionFilter(\n\t\t\t\t\t\t\t\"Patient file type (*.patient)\", \"patient\");\n\t\t \t if (!patientFileFilter.accept(f))\n\t\t \t\t return false;\n\t\t if(text.equals(\"\")){\n\t\t return true;\n\t\t }\n\t\t if(f.getName().equals(text)){\n\t\t chooser.setSelectedFile(f);\n\t\t tf.setCaretPosition(text.length());\n\t\t \n\t\t }\n\t\t if(f.getName().startsWith(text)){\n\t\t \t \n\t\t \t //chooser.setSelectedFile(f);\n\t\t \t tf.setCaretPosition(text.length());\n\t\t \t return true;\n\t\t }\n\t\t \n\t\t return false;\n\t\t }\n\t\t \n\t\t\t@Override\n\t\t public String getDescription(){\n\t\t return null;\n\t\t }\n\t\t });\n\t\t \n\t\t \n }",
"public static void select(StringComboViewer viewer, Object value){\n\t\t\n\t\tCollection<String> input = viewer.getInputCollection();\n\t\tint i = 0;\n\t\tfor (String name : input){\n\t\t\tif (value.equals(name)){\n\t\t\t\tviewer.setSelection(new StructuredSelection(viewer.getElementAt(i)));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t}",
"public void setSelector(Selector<GenomeType> selector)\n {\n this.selector = selector;\n }",
"org.apache.xmlbeans.impl.xb.xsdschema.SelectorDocument.Selector addNewSelector();",
"public void term()\n \t{\n //\t\tfor(Iterator<Technology> tIt = Technology.getTechnologies(); tIt.hasNext(); )\n //\t\t{\n //\t\t\tTechnology tech = tIt.next();\n //\n // for (Iterator<Foundry> itF = tech.getFoundries(); itF.hasNext();)\n // {\n // Foundry foundry = itF.next();\n // HashMap<Layer,String> gdsLayers = new HashMap<Layer,String>();\n // for(Iterator<Layer> lIt = tech.getLayers(); lIt.hasNext(); )\n // {\n // Layer layer = lIt.next();\n // String str = get(foundry, layer);\n // GDSLayers numbers = GDSLayers.parseLayerString(str);\n // if (numbers == null) continue;\n //\n // Setting setting = foundry.getGDSLayerSetting(layer);\n // String oldStr = getString(setting);\n // GDSLayers oldNumbers = oldStr != null ? GDSLayers.parseLayerString(oldStr) : GDSLayers.EMPTY;\n // if (!oldNumbers.equals(numbers))\n // setString(setting, numbers.toString());\n // }\n // }\n //\t\t}\n setBoolean(gdsOutMergesBoxesSetting, gdsOutputMergesBoxes.isSelected());\n setBoolean(gdsOutWritesExportPinsSetting, gdsOutputWritesExportPins.isSelected());\n setBoolean(gdsOutUpperCaseSetting, gdsOutputUpperCase.isSelected());\n setInt(gdsOutDefaultTextLayerSetting, TextUtils.atoi(gdsDefaultTextLayer.getText()));\n setBoolean(gdsOutputConvertsBracketsInExportsSetting, gdsOutputConvertsBracketsInExports.isSelected());\n setInt(gdsCellNameLenMaxSetting, TextUtils.atoi(gdsCellNameLenMax.getText()));\n \t}",
"private void readSelection() {\n\t\tnumberOfNodes = Integer.parseInt(number.getText());\n\t\tdistributionSel = distributionModelComboBox.getSelectedItem().toString();\n\t\tnodeTypeSel = nodeTypeComboBox.getSelectedItem().toString();\n\t\tinterferenceSel = interferenceModelComboBox.getSelectedItem().toString();\n\t\tmobilitySel = mobilityModelComboBox.getSelectedItem().toString();\n\t\treliabilitySel = reliabilityModelComboBox.getSelectedItem().toString();\n\t\tconnectivitySel = connectivityModelComboBox.getSelectedItem().toString();\n\t\t\n\t\tdistributionParamDefString = distributionParam.getText();\n\t\tinterferenceDefString = interferenceParam.getText();\n\t\tmobilityDefString = mobilityParam.getText();\n\t\treliabilityDefString = reliabilityParam.getText();\n\t\tconnectivityDefString = connectivityParam.getText();\n\t}",
"private void parseTerm() throws IOException {\r\n\t\tString line;\r\n\t\tTerm newTerm = new Term();\r\n\t\twhile((line=next(0))!=null) {\r\n\t\t\tif(line.startsWith(\"[\"))\r\n\t\t\t\t{\r\n\t\t\t\tthis.buffer=line;\r\n\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\tint colon=line.indexOf(':');\r\n\t\t\tif(colon==-1) continue;\r\n\t\t\tif(line.startsWith(\"id:\"))\r\n\t\t\t\t{\r\n\t\t\t\tnewTerm.id = line.substring(colon+1).trim();\r\n\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\tif(line.startsWith(\"name:\"))\r\n\t\t\t\t{\r\n\t\t\t\tnewTerm.name=nocomment(line.substring(colon+1));\r\n\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\tif(line.startsWith(\"namespace:\"))\r\n\t\t\t\t{\r\n\t\t\t\tnewTerm.namespace=nocomment(line.substring(colon+1));\r\n\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\telse if(line.startsWith(\"def:\"))\r\n\t\t\t\t{\r\n\t\t\t\tnewTerm.def=nocomment(line.substring(colon+1));\r\n\t\t\t\tterms.addTerm(newTerm);\r\n\t\t\t\tif (newTerm.namespace.equals(\"molecular_function\")){\r\n\t\t\t\t\tdagMF.addVertex(newTerm);\r\n\t\t\t\t}\r\n\t\t\t\telse if (newTerm.namespace.equals(\"biological_process\")){\r\n\t\t\t\t\tdagBP.addVertex(newTerm);\t\r\n\t\t\t\t}\r\n\t\t\t\telse if (newTerm.namespace.equals(\"cellular_component\")){\r\n\t\t\t\t\tdagCC.addVertex(newTerm);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tSystem.out.println(\"TERM WAS NOT ADDED, NO NAMESPACE!\");\r\n\t\t\t\t}\r\n\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t}\r\n\t}",
"@Override\n\tprotected void executeSearch(String term) {\n\t\t\n\t}",
"@FXML\n void selectType() {\n \t//hide all errors\n \thideErrors();\n \t//get countries from /type/metadata.txt\n \t//Reset range string\n T3_startYear_ComboBox.setValue(\"\");\n T3_endYear_ComboBox.setValue(\"\");\n //update country list\n String type = T3_type_ComboBox.getValue(); // getting type\n countries.clear();\n for (String country: DatasetHandler.getCountries(type)){\n countries.add(country);\n }\n T3_country_ComboBox.setValue(\"\");\n //clearing the StartYear and EndYear values and lists\n }",
"private InternalRefactoringProcessor(List<EObject> selection){\r\n\t\t\t\tsuper(getParent(), selection, applyRefactoring());\t\t\t\t\r\n\t\t}",
"public void processWildcards() {\n ws = new WildcardSegment();\n WildcardSegment next;\n int sw,mw; //Single Wildcard, Multi-Wildcard\n currIndex = 0;\n int ci = -1;\n Highlighter h = jta.getHighlighter();\n h.removeAllHighlights();\n String text = jtfFind.getText();\n \n String jText = jta.getText();\n if (text.equals(\"\")) {\n jtfFind.setBackground(Color.WHITE);\n }\n else {\n if (hasWildcards(text)) {\n int index = 0;\n int currIndex_w = currIndex;\n boolean tryAgain = false;\n text = processEscapeChars_w(text);\n text = validateWildcards(text);\n \n ws.setStart(0);\n next = ws.next;\n \n text = text.replace(\"^^\",\"~!~\");\n \n do {\n sw = text.indexOf(\"^#\");\n mw = text.indexOf(\"^*\");\n \n if ((sw != -1) && (mw != -1)) {\n if (sw < mw) {\n text = text.replaceFirst(\"\\\\Q^#\\\\E\",\"`#\");\n if (sw == 0) {\n ws.type = 1;\n }\n else {\n next.setStart(sw,1);\n index = next.start;\n next = next.next;\n }\n }\n else {\n text = text.replaceFirst(\"\\\\Q^*\\\\E\",\"`*\");\n if (mw == 0) {\n ws.type = 2;\n }\n else {\n next.setStart(mw,2);\n index = next.start;\n next = next.next;\n }\n }\n }\n else if (sw != -1) {\n text = text.replaceFirst(\"\\\\Q^#\\\\E\",\"`#\");\n if (sw == 0) {\n ws.type = 1;\n }\n else {\n next.setStart(sw,1);\n index = next.start;\n next = next.next;\n }\n }\n else {\n text = text.replaceFirst(\"\\\\Q^*\\\\E\",\"`*\");\n if (mw == 0) {\n ws.type = 2;\n }\n else {\n next.setStart(mw,2);\n index = next.start;\n next = next.next;\n }\n }\n \n sw = text.indexOf(\"^#\");\n mw = text.indexOf(\"^*\");\n if ((index != text.length() - 2) && (sw != (index + 2)) && (mw != (index + 2))) {\n next.setStart(index+2);\n index = next.start;\n next = next.next;\n }\n }\n while ((sw != -1) || (mw != -1));\n \n next = ws;\n while(next.start != -1) {\n switch (next.type) {\n case 0:\n if (next.next.type == -1) {\n next.seg = text.substring(next.start);\n }\n else {\n next.seg = text.substring(next.start,next.next.start);\n }\n break;\n case 1:\n next.seg = \"~`~\";\n break;\n case 2:\n next.seg = \"`~`\";\n break;\n default:\n //Do nothing\n break;\n }\n next = next.next;\n }\n //text = text.replace(\"~!~\",\"^\");\n next = ws;\n boolean keepLooking = true;\n int bSpace,bTab,bNewline,bIndex;\n while(next.start != -1) {\n switch (next.type) {\n case 0:\n index = jText.toLowerCase().indexOf(next.seg.toLowerCase(),currIndex_w);\n if (index == -1) {\n keepLooking = false;\n }\n else {\n if (next.start == 0) {\n //currIndex = index + 1;\n if (ci == -1) {\n ci = index + 1;\n }\n }\n if (ci == -1) {\n ci = index + 1;\n }\n if (next.next.start != -1) {\n currIndex_w = index + next.seg.length();\n }\n else {\n currIndex_w = index + 1;\n }\n }\n break;\n case 1:\n //index = jText.toLowerCase().indexOf(next.seg.toLowerCase(),currIndex_w);\n if (currIndex_w != jText.length()) {\n index = currIndex_w;\n }\n else {\n index = -1;\n }\n if (index == -1) {\n keepLooking = false;\n }\n else {\n if (next.start == 0) {\n //currIndex = index + 1;\n if (ci == -1) {\n ci = index + 1;\n }\n }\n if (ci == -1) {\n ci = index + 1;\n }\n if (next.next.start != -1) {\n next.seg = String.valueOf(jText.charAt(currIndex_w));\n currIndex_w = index + next.seg.length();\n }\n else {\n next.seg = String.valueOf(jText.charAt(currIndex_w));\n currIndex_w = index + 1;\n }\n }\n break;\n case 2:\n \n if (next.next.start != -1) {\n bIndex = jText.toLowerCase().indexOf(next.next.seg.toLowerCase(),currIndex_w);\n bSpace = jText.toLowerCase().indexOf(StringUtil.ASPACE,currIndex_w);\n bTab = jText.toLowerCase().indexOf(StringUtil.ATAB,currIndex_w);\n bNewline = jText.toLowerCase().indexOf(\"\\n\",currIndex_w);\n if ((bSpace != -1) && ((bSpace < bIndex) || (bIndex == -1))) {\n bIndex = -1;\n }\n \n if ((bTab != -1) && ((bTab < bIndex) || (bIndex == -1))) {\n bIndex = -1;\n }\n if ((bNewline != -1) && ((bNewline < bIndex) || (bIndex == -1))) {\n bIndex = -1;\n }\n index = bIndex;\n if ((currIndex_w != jText.length()) && (index == -1)) {\n tryAgain = true;\n }\n }\n else {\n bSpace = jText.toLowerCase().indexOf(StringUtil.ASPACE,currIndex_w);\n bTab = jText.toLowerCase().indexOf(StringUtil.ATAB,currIndex_w);\n bNewline = jText.toLowerCase().indexOf(\"\\n\",currIndex_w);\n \n bIndex = bSpace;\n if ((bTab != -1) && ((bTab < bIndex) || (bIndex == -1))) {\n bIndex = bTab;\n }\n if ((bNewline != -1) && ((bNewline < bIndex) || (bIndex == -1))) {\n bIndex = bNewline;\n }\n index = bIndex;\n if ((currIndex_w != jText.length()) && (index == -1)) {\n index = jText.length();\n }\n }\n \n if (index == -1) {\n keepLooking = false;\n }\n else {\n next.seg = jText.substring(currIndex_w,index);\n if (next.start == 0) {\n //currIndex = index + 1;\n if (ci == -1) {\n ci = index + 1;\n }\n }\n if (ci == -1) {\n ci = index + 1;\n }\n if (next.next.start != -1) {\n currIndex_w = index + next.seg.length();\n }\n else {\n currIndex_w = index + next.seg.length();\n }\n }\n break;\n default:\n //Do nothing\n break;\n }\n if (keepLooking) {\n next = next.next;\n }\n else {\n if (tryAgain) {\n next = ws;\n tryAgain = false;\n keepLooking = true;\n }\n else {\n break;\n }\n }\n }\n /*\n TestInfo.testWriteLn(\"Find String: \" + ws.makeFindString());\n TestInfo.testWriteLn(\"Find Type: \" + ws.makeFindType());\n TestInfo.testWriteLn(\"Find Start: \" + ws.makeFindStart());\n */\n if (keepLooking) {\n TestInfo.testWriteLn(\"String Found!\");\n }\n else {\n TestInfo.testWriteLn(\"String Not Found!\");\n }\n \n //Do search\n text = ws.makeFindString();\n index = jText.toLowerCase().indexOf(text.toLowerCase(),currIndex);\n if (index == -1) {\n jtfFind.setBackground(Color.RED);\n }\n else {\n try {\n currIndex = ci;\n // An instance of the private subclass of the default highlight painter\n Highlighter.HighlightPainter myHighlightPainter = new MyHighlightPainter(Color.YELLOW);\n oldHighlightPainter = myHighlightPainter;\n h.addHighlight(index,index+text.length(),myHighlightPainter);\n jtfFind.setBackground(Color.WHITE);\n jta.setSelectionColor(Color.CYAN);\n //jta.selectAll();\n jta.select(index,index+text.length());\n lastHighlight[0] = index;\n lastHighlight[1] = index + text.length();\n //jta.setSelectionEnd(index + text.length());\n }\n catch (BadLocationException e) {\n //Do nothing\n }\n }\n }\n else {\n text = processEscapeChars(text);\n \n int index = jText.toLowerCase().indexOf(text.toLowerCase());\n if (index == -1) {\n jtfFind.setBackground(Color.RED);\n }\n else {\n try {\n currIndex = index + 1;\n // An instance of the private subclass of the default highlight painter\n Highlighter.HighlightPainter myHighlightPainter = new MyHighlightPainter(Color.YELLOW);\n oldHighlightPainter = myHighlightPainter;\n h.addHighlight(index,index+text.length(),myHighlightPainter);\n jtfFind.setBackground(Color.WHITE);\n jta.setSelectionColor(Color.CYAN);\n //jta.selectAll();\n jta.select(index,index+text.length());\n lastHighlight[0] = index;\n lastHighlight[1] = index + text.length();\n //jta.setSelectionEnd(index + text.length());\n }\n catch (BadLocationException e) {\n //Do nothing\n }\n }\n }\n }\n }",
"public abstract String getSelectedPhoneType2();",
"public void setSelections(Set<Filterable> selections);",
"private void suggestCategory() {\n String[] allCat = {\"Pizza\", \"Pasta\", \"Dessert\", \"Salad\", \"SoftDrinks\"};\n// for (ItemDTO i : allDetails) {\n// names.add(i.getName());\n// }\n\n TextFields.bindAutoCompletion(txtCat, allCat);\n }",
"public interface Selector {\n \n \t\t/*\n \t\t * Method is called to pre-select a specific xml type. Pre-selected\n \t\t * elements are then fully parsed and result in calls to full\n \t\t * select method.\n \t\t * @return <code>true</code> is the element should be considered,\n \t\t * <code>false</code> otherwise\n \t\t */\n \t\tpublic boolean select(String entry);\n \n \t\t/*\n \t\t * Method is called with a fully parsed element.\n \t\t * @return <code>true</code> to select this element and terminate the parse,\n \t\t * <code>false</code> otherwise\n \t\t */\n \t\tpublic boolean select(String element, HashMap attributes);\n \t}",
"private void determineMenuSelection(String filePath) throws IOException {\n\t\tBufferedImage currentImage = Utils.readInImage(filePath);\n\t\tArrayList<Rectangle> boxes = model.getTemplateBoxes();\n\t\tArrayList<Rectangle> used = new ArrayList<>();\n\t\tdetermineInitSelections(boxes, used, currentImage);\n\t\tfor(int i = 7; i < boxes.size(); i++) { // Start at i = 2 for initial selections\n\t\t\t\n\t\t\tif(!used.contains(boxes.get(i))) {\n\t\t\t\tboolean a = searchBlackPixels(boxes.get(i), currentImage);\n\t\t\t\tboolean b = searchBlackPixels(boxes.get(i + 5), currentImage);\n\t\t\t\tif(a) {\n\t\t\t\t\tmodel.getSelections()[i] = 'A';\n\t\t\t\t\tused.add(boxes.get(i));\n\t\t\t\t\tused.add(boxes.get(i + 5));\n\t\t\t\t} else if(b) {\n\t\t\t\t\tmodel.getSelections()[i] = 'B';\n\t\t\t\t\tused.add(boxes.get(i));\n\t\t\t\t\tused.add(boxes.get(i + 5));\n\t\t\t\t} else {\n\t\t\t\t\tmodel.getSelections()[i] = 'A';\n\t\t\t\t\tused.add(boxes.get(i));\n\t\t\t\t\tused.add(boxes.get(i + 5));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void processWildcardsNext() {\n ws = new WildcardSegment();\n WildcardSegment next;\n int sw,mw; //Single Wildcard, Multi-Wildcard\n //currIndex = jta.getSelectionStart();\n int ci = -1;\n Highlighter h = jta.getHighlighter();\n h.removeAllHighlights();\n String text = jtfFind.getText();\n \n String jText = jta.getText();\n if (text.equals(\"\")) {\n jtfFind.setBackground(Color.WHITE);\n }\n else {\n if (hasWildcards(text)) {\n int index = 0;\n int currIndex_w = currIndex;\n boolean tryAgain = false;\n text = processEscapeChars_w(text);\n text = validateWildcards(text);\n \n ws.setStart(0);\n next = ws.next;\n \n text = text.replace(\"^^\",\"~!~\");\n \n do {\n sw = text.indexOf(\"^#\");\n mw = text.indexOf(\"^*\");\n \n if ((sw != -1) && (mw != -1)) {\n if (sw < mw) {\n text = text.replaceFirst(\"\\\\Q^#\\\\E\",\"`#\");\n if (sw == 0) {\n ws.type = 1;\n }\n else {\n next.setStart(sw,1);\n index = next.start;\n next = next.next;\n }\n }\n else {\n text = text.replaceFirst(\"\\\\Q^*\\\\E\",\"`*\");\n if (mw == 0) {\n ws.type = 2;\n }\n else {\n next.setStart(mw,2);\n index = next.start;\n next = next.next;\n }\n }\n }\n else if (sw != -1) {\n text = text.replaceFirst(\"\\\\Q^#\\\\E\",\"`#\");\n if (sw == 0) {\n ws.type = 1;\n }\n else {\n next.setStart(sw,1);\n index = next.start;\n next = next.next;\n }\n }\n else {\n text = text.replaceFirst(\"\\\\Q^*\\\\E\",\"`*\");\n if (mw == 0) {\n ws.type = 2;\n }\n else {\n next.setStart(mw,2);\n index = next.start;\n next = next.next;\n }\n }\n \n sw = text.indexOf(\"^#\");\n mw = text.indexOf(\"^*\");\n if ((index != text.length() - 2) && (sw != (index + 2)) && (mw != (index + 2))) {\n next.setStart(index+2);\n index = next.start;\n next = next.next;\n }\n }\n while ((sw != -1) || (mw != -1));\n \n next = ws;\n while(next.start != -1) {\n switch (next.type) {\n case 0:\n if (next.next.type == -1) {\n next.seg = text.substring(next.start);\n }\n else {\n next.seg = text.substring(next.start,next.next.start);\n }\n break;\n case 1:\n next.seg = \"~`~\";\n break;\n case 2:\n next.seg = \"`~`\";\n break;\n default:\n //Do nothing\n break;\n }\n next = next.next;\n }\n //text = text.replace(\"~!~\",\"^\");\n next = ws;\n boolean keepLooking = true;\n int bSpace,bTab,bNewline,bIndex;\n while(next.start != -1) {\n switch (next.type) {\n case 0:\n index = jText.toLowerCase().indexOf(next.seg.toLowerCase(),currIndex_w);\n if (index == -1) {\n keepLooking = false;\n }\n else {\n if (next.start == 0) {\n if (ci == -1) {\n ci = index + 1;\n }\n }\n \n if (next.next.start != -1) {\n currIndex_w = index + next.seg.length();\n }\n else {\n currIndex_w = index + 1;\n }\n }\n break;\n case 1:\n //index = jText.toLowerCase().indexOf(next.seg.toLowerCase(),currIndex_w);\n if (currIndex_w != jText.length()) {\n index = currIndex_w;\n }\n else {\n index = -1;\n }\n if (index == -1) {\n keepLooking = false;\n }\n else {\n if (next.start == 0) {\n if (ci == -1) {\n ci = index + 1;\n }\n }\n if (ci == -1) {\n ci = index + 1;\n }\n if (next.next.start != -1) {\n next.seg = String.valueOf(jText.charAt(currIndex_w));\n currIndex_w = index + next.seg.length();\n }\n else {\n next.seg = String.valueOf(jText.charAt(currIndex_w));\n currIndex_w = index + 1;\n }\n }\n break;\n case 2:\n \n if (next.next.start != -1) {\n bIndex = jText.toLowerCase().indexOf(next.next.seg.toLowerCase(),currIndex_w);\n bSpace = jText.toLowerCase().indexOf(StringUtil.ASPACE,currIndex_w);\n bTab = jText.toLowerCase().indexOf(StringUtil.ATAB,currIndex_w);\n bNewline = jText.toLowerCase().indexOf(\"\\n\",currIndex_w);\n if ((bSpace != -1) && ((bSpace < bIndex) || (bIndex == -1))) {\n bIndex = -1;\n }\n \n if ((bTab != -1) && ((bTab < bIndex) || (bIndex == -1))) {\n bIndex = -1;\n }\n if ((bNewline != -1) && ((bNewline < bIndex) || (bIndex == -1))) {\n bIndex = -1;\n }\n index = bIndex;\n if ((currIndex_w != jText.length()) && (index == -1)) {\n tryAgain = true;\n }\n }\n else {\n bSpace = jText.toLowerCase().indexOf(StringUtil.ASPACE,currIndex_w);\n bTab = jText.toLowerCase().indexOf(StringUtil.ATAB,currIndex_w);\n bNewline = jText.toLowerCase().indexOf(\"\\n\",currIndex_w);\n \n bIndex = bSpace;\n if ((bTab != -1) && ((bTab < bIndex) || (bIndex == -1))) {\n bIndex = bTab;\n }\n if ((bNewline != -1) && ((bNewline < bIndex) || (bIndex == -1))) {\n bIndex = bNewline;\n }\n index = bIndex;\n if (currIndex_w != jText.length()) {\n index = jText.length();\n }\n }\n \n if (index == -1) {\n keepLooking = false;\n }\n else {\n next.seg = jText.substring(currIndex_w,index);\n if (next.start == 0) {\n \n }\n if (ci == -1) {\n ci = index + 1;\n }\n if (next.next.start != -1) {\n currIndex_w = index + next.seg.length();\n }\n else {\n currIndex_w = index + next.seg.length();\n }\n }\n break;\n default:\n //Do nothing\n break;\n }\n if (keepLooking) {\n next = next.next;\n }\n else {\n if (tryAgain) {\n next = ws;\n tryAgain = false;\n keepLooking = true;\n }\n else {\n break;\n }\n }\n }\n TestInfo.testWriteLn(\"Find String: \" + ws.makeFindString());\n TestInfo.testWriteLn(\"Find Type: \" + ws.makeFindType());\n TestInfo.testWriteLn(\"Find Start: \" + ws.makeFindStart());\n if (keepLooking) {\n TestInfo.testWriteLn(\"String Found!\");\n }\n else {\n TestInfo.testWriteLn(\"String Not Found!\");\n }\n \n //Do search\n text = ws.makeFindString();\n index = jText.toLowerCase().indexOf(text.toLowerCase(),currIndex);\n if (index == -1) {\n jtfFind.setBackground(Color.RED);\n currIndex = 0;\n }\n else {\n try {\n currIndex = ci;\n // An instance of the private subclass of the default highlight painter\n Highlighter.HighlightPainter myHighlightPainter = new MyHighlightPainter(Color.YELLOW);\n oldHighlightPainter = myHighlightPainter;\n h.addHighlight(index,index+text.length(),myHighlightPainter);\n jtfFind.setBackground(Color.WHITE);\n jta.setSelectionColor(Color.CYAN);\n //jta.selectAll();\n jta.select(index,index+text.length());\n lastHighlight[0] = index;\n lastHighlight[1] = index + text.length();\n //jta.setSelectionEnd(index + text.length());\n }\n catch (BadLocationException e) {\n //Do nothing\n }\n }\n }\n else {\n text = processEscapeChars(text);\n \n int index = jText.toLowerCase().indexOf(text.toLowerCase(),currIndex);\n if (index == -1) {\n jtfFind.setBackground(Color.RED);\n }\n else {\n try {\n currIndex = index + 1;\n // An instance of the private subclass of the default highlight painter\n Highlighter.HighlightPainter myHighlightPainter = new MyHighlightPainter(Color.YELLOW);\n oldHighlightPainter = myHighlightPainter;\n h.addHighlight(index,index+text.length(),myHighlightPainter);\n jtfFind.setBackground(Color.WHITE);\n jta.setSelectionColor(Color.CYAN);\n //jta.selectAll();\n jta.select(index,index+text.length());\n lastHighlight[0] = index;\n lastHighlight[1] = index + text.length();\n //jta.setSelectionEnd(index + text.length());\n }\n catch (BadLocationException e) {\n //Do nothing\n }\n }\n }\n }\n }",
"private void applyTermOptions() {\n\tif (term == null)\n\t return;\n\n term.setFixedFont(true);\n term.setFont(termOptions().getFont());\n\n\tterm.setBackground(termOptions().getBackground());\n\tterm.setForeground(termOptions().getForeground());\n\tterm.setHighlightColor(termOptions().getSelectionBackground());\n\tterm.setHistorySize(termOptions().getHistorySize());\n\tterm.setTabSize(termOptions().getTabSize());\n\n\tterm.setClickToType(termOptions().getClickToType());\n\tterm.setScrollOnInput(termOptions().getScrollOnInput());\n\tterm.setScrollOnOutput(termOptions().getScrollOnOutput());\n\tterm.setHorizontallyScrollable(!termOptions().getLineWrap());\n\n\t// If we change the font from smaller to bigger, the size\n\t// calculations go awry and the last few lines are forever hidden. \n\t//\n\t// One usually uses 'pack()' but it doesn't work because it\n\t// applies only to JFrames an under vulcan in MDI mode it had\n\t// catastrophic results (the whole window gets maximized, etc.)\n\t//\n\t// The following is a workaround used in the Rtc windows' \n\t// componentShown() as a fix for\n\t// 4652678 (Memory Usage window and Access Errors window are ...)\n\n\tsetSize(getPreferredSize());\n\tvalidate();\n }",
"public void searchOptions()\n {\n System.out.println(\"\\n\\t\\t:::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| Select Options Below : |\");\n System.out.println(\"\\t\\t:::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| [1] Search by - Title |\");\n System.out.println(\"\\t\\t| [2] Search by - Directors |\");\n System.out.println(\"\\t\\t| [3] Back To Menu |\");\n System.out.println(\"\\t\\t=================================\");\n System.out.print(\"\\t\\t Input the option number : \"); \n }",
"public void printTerm(){\n\n // print fac node\n this.fac.printFac();\n\n // check selection\n if (this.selection == 2) {\n\n // print \"*\"\n System.out.print(\" * \");\n\n // print term node\n this.term.printTerm();\n\n }\n\n }",
"public interface IContentSelection\n{\n \n /**\n * Returns true if this object has a selected part, false otherwise.\n * \n * @return true if a selected part is within this object, false otherwise.\n */\n public abstract boolean hasSelection();\n \n /**\n * Returns the selection start within this object.\n * \n * @return start position in atoms.\n */\n public abstract int getSelectionStart();\n \n /**\n * Returns the selection end within this object.\n * \n * @return end position in atoms.\n */\n public abstract int getSelectionEnd();\n \n /**\n * Removes all selections from this object. No content is removed.\n */\n public abstract void clearSelection(TextAppearance appearance);\n \n /**\n * Removes everything that is selected including the content of this object.\n */\n public abstract void removeSelection(IContentFactory factory,\n TextAppearance appearance);\n \n /**\n * Selected the parts between the to atom positions.\n * \n * @param start\n * start position in atoms\n * @param end\n * end position in atoms\n */\n public abstract void setSelection(int start, int end,\n TextAppearance appearance);\n \n}",
"@Override\r\n\t\t\tpublic String[] getTerms(Document doc) {\n\t\t\t\treturn null;\r\n\t\t\t}",
"private void getUserTypeChoice() {\n mTypeInput = \"(\";\n if (mBinding.chipApartment.isChecked()) {\n if (!mTypeInput.equals(\"(\"))\n mTypeInput += \", \";\n mTypeInput = mTypeInput + \"'Apartment'\";\n }\n if (mBinding.chipLoft.isChecked()) {\n if (!mTypeInput.equals(\"(\"))\n mTypeInput += \", \";\n mTypeInput += \"'Loft'\";\n }\n if (mBinding.chipHouse.isChecked()) {\n if (!mTypeInput.equals(\"(\"))\n mTypeInput += \", \";\n mTypeInput += \"'House'\";\n }\n if (mBinding.chipVilla.isChecked()) {\n if (!mTypeInput.equals(\"(\"))\n mTypeInput += \", \";\n mTypeInput += \"'Villa'\";\n }\n if (mBinding.chipManor.isChecked()) {\n if (!mTypeInput.equals(\"(\"))\n mTypeInput += \", \";\n mTypeInput += \"'Manor'\";\n }\n mTypeInput += \")\";\n }",
"private void selectType(TypeInfo type) {\n if (type == null || !type.getWidget().getSelection()) {\n mInternalTypeUpdate = true;\n mCurrentTypeInfo = type;\n for (TypeInfo type2 : sTypes) {\n type2.getWidget().setSelection(type2 == type);\n }\n updateRootCombo(type);\n mInternalTypeUpdate = false;\n }\n }",
"private void selectFunctionality() {\n if (text.equals(\"1\") || text.contains(\"senast\")) {\n intent = new Intent(this, LatestCallsActivity.class);\n startActivity(intent);\n } else if (text.equals(\"2\") || text.contains(\"favor\")) {\n intent = new Intent(this, ContactGridActivity.class);\n startActivity(intent);\n } else if (text.equals(\"3\") || text.contains(\"med\") || text.contains(\"inkorg\") || text.contains(\"sm\")) {\n intent = new Intent(this, SMS_Activity.class);\n startActivity(intent);\n } else if (text.equals(\"4\") || text.contains(\"bok\") || text.contains(\"kontakt\")) {\n words = text.split(\" \");\n if (words.length > 1) {\n intent = new Intent(this, ContactGridActivity.class);\n intent.putExtra(\"initial_letter\", words[1].charAt(0));\n startActivity(intent);\n } else {\n intent = new Intent(this, ContactBookActivity.class);\n startActivity(intent);\n }\n\n }\n\n }",
"@Override\r\n\tpublic void setSelection(List<EObject> selection) {\r\n\t\tthis.selection = selection;\r\n\t\tthis.refactoringProcessor = \r\n\t\t\t\tnew InternalRefactoringProcessor(this.selection);\r\n\t}",
"public void ach_doc_type_csv_test () {\n\t\t\n\t}",
"public static void logSelectionAdjusted(@Nullable String selection) {\n if (TextUtils.isEmpty(selection)) return;\n\n boolean isSingleWord = !CONTAINS_WHITESPACE_PATTERN.matcher(selection.trim()).find();\n if (isSingleWord) {\n RecordUserAction.record(\"ContextualSearch.ManualRefineSingleWord\");\n } else {\n RecordUserAction.record(\"ContextualSearch.ManualRefineMultiWord\");\n }\n }",
"public void setTerm(java.lang.Integer value) {\n this.term = value;\n }",
"public abstract String getSelectedPhoneType1();",
"public void processMetroStationSelection(String selection) {\n dataManager.metroStationSelection(selection);\n }",
"@And(\"^I go to \\\"([^\\\"]*)\\\" type and select \\\"([^\\\"]*)\\\"$\") //Selecting Type & sub-Type in Create form\r\n\tpublic void selectFormType(String type,String subtype) {\r\n\t\r\n\tenduser.selectFormType(type,subtype);\r\n\t}",
"@Override\n public Multimap<Index.Path, String> computeIndexValues()\n {\n Multimap<Index.Path, String> values = super.computeIndexValues();\n\n values.put(Index.Path.TYPES, m_featType.toString());\n\n return values;\n }",
"@Override\n public void onSearchTermChanged(String term) {\n }",
"@Override\n public void filter(String type) {\n\n List<Doctor> newDocs = new ArrayList<>();\n \n for (Doctor doctor : doctors) {\n //If doctor's specialization matches user searched specialization add to new doctor list\n if (doctor.getSpecialization()!=null && doctor.getSpecialization().equals(type)) {\n newDocs.add(doctor);\n }\n }\n \n //Set new doctor list as the doctor list\n doctors = newDocs;\n }",
"protected void parseTermData()\n {\n for (int i = 0; i < data.length; i++)\n {\n data[i] = Cdata[i];\n }\n }",
"void visit(DocumentType documentType);",
"protected void selectionChanged(ITextSelection selection) {}",
"public static void menuActions(int selection){\n\t\tselection = 1;\n\t\tswitch (selection){\n\t\t\tcase 1: //prompt user to input a new record, save response.\n\t\t\t\t//call method addNew here\n\t\t\tbreak; \n\t\t\tcase 2: //prompt user to search using first, last, or telephone\n\t\t\t//call method to search\n\t\t\t//display results\n\t\t\t//if multiple, select which to delete\n\t\t\t//call method for arraylist to delete \n\t\t\tbreak;\n\t\t\tcase 3: //prompt user to search by telephone\n\t\t\t//call method to search by #\n\t\t\t//display results\n\t\t\tbreak;\n\t\t\tcase 4: //prompt user to search by first name\n\t\t\t//call method to search by firstName\n\t\t\t//display results\n\t\t\tbreak;\n\t\t\tcase 5: //prompt user to search by last name\n\t\t\t//call method to search by LastName\n\t\t\t//display results\n\t\t\tbreak;\n\t\t\tcase 6: //prompt user to search by methods 1,2, or 3\n\t\t\t//call method to search\n\t\t\t//display results\n\t\t\t//verify selection with user\n\t\t\t//prompt user to replace input\n\t\t\tbreak;\n\t\t\tcase 7: //terminate program;\n\t\t\tSystem.exit(0);\n\t\t\tbreak;\n\t\t\tdefault: \n\t\t\tSystem.out.print(\"Please enter a valid selection (1-7)\");\n\t\t\t//call userForm to prompt a new menu box;\n\t\t\tbreak;\n\t\t}\n\t\t\n\t}",
"private void processSpecialOption(ASpaceCopyUtil ascopy, String option) {\n if(option.contains(\"-refid_\")) {\n ascopy.setRefIdOption(option);\n } else if(option.contains(\"-term_\")) {\n ascopy.setTermTypeOption(option);\n }\n }",
"void shapeOperation() {\r\n String selStr; // variable to store the selected string\r\n\r\n repaint(); // repaint\r\n selStr = (String)cb1.getSelectedItem();\r\n // store the string of the selected item\r\n if (selStr == strShape[0]) { // if \"Line\" selected \r\n System.out.println(\"Line of menu Shape is selected.\");\r\n System.out.println(\"calling method line().\");\r\n ge.line(gra); // call method line() of class PaintTool\r\n System.out.println(\"method line of class PaintTool executed.\");\r\n } else if (selStr == strShape[1]) { // if \"Rectangle\" selected\r\n System.out.println(\"Rectangle of menu Shape is selected.\");\r\n System.out.println(\"calling method rectangle().\");\r\n ge.rectangle(gra); // call method rectangle() of class PaintTool\r\n System.out.println(\"method rectangle() executed.\");\r\n } else if (selStr == strShape[2]) { // if \"Oval\" selected\r\n System.out.println(\"Oval of menu Shape is selected.\");\r\n System.out.println(\"calling method oval().\");\r\n ge.oval(gra); // call method oval() of class PaintTool\r\n System.out.println(\"method oval() executed.\");\r\n }\r\n\r\n }",
"@Override\n public void onSearchTermChanged() {\n }",
"public String getSelectionFormula();",
"public abstract void setSelection(int start, int end,\n TextAppearance appearance);",
"public void onSelectionChanged();",
"@Override\n public CompletionTask createTask(int queryType, JTextComponent jtc) {\n // System.out.println(\"queryType: \" + queryType);\n // === panedrone: COMPLETION_ALL_QUERY_TYPE occurs when completion list is \n // displayed and Ctrl+Space is pressed again:\n if (queryType != CompletionProvider.COMPLETION_QUERY_TYPE\n && queryType != CompletionProvider.COMPLETION_ALL_QUERY_TYPE) {\n return null;\n }\n Document document = jtc.getDocument();\n if (document == null) {\n return null;\n }\n DataObject data_object = NbEditorUtilities.getDataObject(document);\n if (data_object == null) {\n return null;\n }\n final FileObject this_file_object = data_object.getPrimaryFile();\n if (this_file_object == null) {\n return null;\n }\n String doc_name = this_file_object.getNameExt();\n if (!FileSearchHelpers.is_dto_xml(doc_name) && !FileSearchHelpers.is_dao_xml(doc_name)) {\n return null;\n }\n return new AsyncCompletionTask(new AsyncCompletionQuery() {\n @Override\n protected void query(CompletionResultSet completionResultSet, Document document, int caretOffset) {\n try {\n XmlEditorUtil checker = new XmlEditorUtil();\n String attribute_name = checker.verify_state(document, caretOffset);\n if (attribute_name == null || attribute_name.length() == 0) {\n return;\n }\n int start_offset = checker.get_start_offset() + 1;\n int end_offset = checker.get_end_offset() + 1;\n String current_value = checker.get_attribute_value();\n int filter_len = caretOffset - start_offset;\n if (filter_len > current_value.length()) {\n filter_len = current_value.length();\n } else if (filter_len < 0) { // position before starting \"\n return; // go to finally\n }\n String filter;\n if (filter_len == 0) {\n filter = \"\";\n } else {\n filter = current_value.substring(0, filter_len);\n }\n if (XmlEditorUtil.ATTRIBUTE.REF.equals(attribute_name)) {\n Settings settings;\n try {\n settings = NbpHelpers.load_settings(this_file_object);\n } catch (Throwable e) {\n //e.printStackTrace();\n return;\n }\n FileObject root;\n try {\n root = NbpPathHelpers.get_root_folder(this_file_object);\n } catch (Exception ex) {\n // ex.printStackTrace();\n return;\n }\n String sql_root_path = settings.getFolders().getSql();\n FileObject sql_root_folder = root.getFileObject(sql_root_path);\n if (sql_root_folder == null) { // it happens if project-folder/meta-program-folder/settings-sql_root_path renamed\n // NbpIdeConsoleUtil err_log = new NbpIdeConsoleUtil(settings, obj);\n return;\n }\n List<String> rel_path_names = new ArrayList<String>();\n enum_sql_files(sql_root_folder, sql_root_folder, rel_path_names);\n for (String rel_path_name : rel_path_names) {\n boolean add;\n if (filter.length() == 0) {\n add = true;\n } else {\n add = rel_path_name.startsWith(filter);\n }\n if (add) {\n completionResultSet.addItem(new XmlEditorCompletionItem(rel_path_name, start_offset, end_offset));\n }\n }\n } else {\n boolean is_dto_attr = XmlEditorUtil.ATTRIBUTE.DTO.equals(attribute_name);\n boolean is_table_attr = XmlEditorUtil.ATTRIBUTE.TABLE.equals(attribute_name);\n if (is_dto_attr || is_table_attr) {\n FileObject folder = this_file_object.getParent();\n List<DtoClass> dto_classes;\n try {\n dto_classes = NbpHelpers.get_dto_classes(folder);\n } catch (Throwable ex) {\n // ex.printStackTrace();\n return;\n }\n for (DtoClass dto_class : dto_classes) {\n String name;\n boolean add;\n if (is_dto_attr) {\n name = dto_class.getName();\n if (filter.length() == 0) {\n add = true;\n } else {\n add = name.startsWith(filter);\n }\n } else if (is_table_attr) {\n name = dto_class.getRef();\n if (filter.length() == 0) {\n add = !name.endsWith(\".sql\");\n } else {\n add = name.startsWith(filter) && !name.endsWith(\".sql\");\n }\n } else {\n add = false;\n name = null;\n }\n if (add) {\n // System.out.println(name);\n completionResultSet.addItem(new XmlEditorCompletionItem(name, start_offset, end_offset));\n }\n }\n }\n }\n } finally {\n completionResultSet.finish(); // it must be called anyway to avoid red banner\n }\n }\n }, jtc);\n }",
"public static void main(String[] args) {\n\t\t\n\t\tHashMap<String, String> hm = new HashMap<>();\n\t\t\n//\t\tsaveInfo(hm);\n//\t\tgetInfo(hm);\n//\t\tremoveInfo(hm);\n\t\tString option =\"\";\n\t\tselect(option,hm);\n\t\t\n\t\t\n\t\t\n\t}",
"private static String handleNonPhraseToken(String stringPart) {\r\n // Set of final terms to be used (no empty elements, right syntax of index fields)\r\n ArrayList <String> terms = new ArrayList <String> ();\r\n \r\n /** Case Index field **/\r\n if(stringPart.contains(\"[\") | stringPart.contains(\"[\")){ // at least an Index field contained here\r\n //separate brackets for term with one space (extra spaces dont matter, trim() is used later)\r\n stringPart = stringPart.replace(\"[\", \" [\");\r\n stringPart = stringPart.replace(\"]\", \"] \");\r\n }\r\n\r\n /** Case Bag of terms **/\r\n //replace space with AND (change default operator to match pubMed's)\r\n // No need for this if setDefaultOperator(QueryParser.Operator.AND) is used\r\n \r\n String[] tokens = stringPart.split(\"\\\\s\");\r\n if(tokens.length > 0){ \r\n for(int i = 1 ; i < tokens.length ; i++){\r\n tokens[i] = tokens[i].trim();\r\n /* Case index field [fieldName] */\r\n if(tokens[i].startsWith(\"[\") & tokens[i].endsWith(\"]\")){\r\n tokens[i] = tokens[i].replace(\"[\",\"\");// clean field name from brackets\r\n tokens[i] = tokens[i].replace(\"]\",\"\");// clean field name from brackets\r\n //Add index field as prefix to previus (not empty) term (as opening index fields handled separately, this index field should not be the first term of string part)\r\n int tmp = i-1;\r\n boolean perviusTermFound = false;\r\n while(!perviusTermFound & tmp >= 0){\r\n if(!tokens[tmp].equals(\"\")){\r\n perviusTermFound = true;\r\n //TO DO : handle wrong syntax (e.g. ... AND [ArticleTitle])\r\n String luceneField = supportedIndexFields.get(tokens[i]);\r\n if(luceneField != null){\r\n tokens[tmp] = luceneField + \":\" + tokens[tmp];\r\n } // else : Lucene counterpart not found, unsupported field - do nothing\r\n } else {\r\n tmp--;\r\n }\r\n }\r\n //Empty field to not be added as a search term in query\r\n tokens[i] = \"\";\r\n } \r\n \r\n /*\r\n \r\n else if(!tokens[i].equals(\"AND\") & !tokens[i].equals(\"\")) {\r\n terms.add(tokens[i]);\r\n }\r\n */\r\n }\r\n }\r\n \r\n String luceneQueryPart = \"\";\r\n boolean notWaiting = false;\r\n boolean orWaiting = false;\r\n for(int i = 0 ; i < tokens.length ; i++){\r\n\r\n if(!tokens[i].equals(\"AND\") & !tokens[i].equals(\"\")){\r\n //in case of AND nothing should happen, it is the default operator\r\n //empty elements are also ignored as useless\r\n \r\n if(!tokens[i].equals(\"NOT\") & !tokens[i].equals(\"OR\") ){ // it's not an operator, it's a term\r\n \r\n if(!luceneQueryPart.endsWith(\" OR \") & !luceneQueryPart.endsWith(\" -\") ) { \r\n luceneQueryPart += \" +\"; \r\n } \r\n luceneQueryPart += tokens[i];\r\n } else {\r\n if(tokens[i].equals(\"NOT\")) {\r\n luceneQueryPart += \" -\";\r\n }\r\n if(tokens[i].equals(\"OR\")){\r\n luceneQueryPart += \" OR \";\r\n }\r\n \r\n } \r\n } \r\n }\r\n \r\n return luceneQueryPart;\r\n }",
"private Term parseTerm(final boolean required) throws ParseException {\n return parseAssign(required);\n }",
"private void findDocsFromLine(String line, String term) {\n String docs = line.substring(0, line.indexOf(\"[\") - 1); //get 'docsListStr'\n String[] docsArr = docs.split(\";\");\n for (String docInfo : docsArr) {\n String doc = docInfo.substring(0, docInfo.indexOf(\": \"));\n while(doc.charAt(0) == ' '){\n doc = doc.substring(1);\n }\n String tf = docInfo.substring(docInfo.indexOf(\":\") + 2);\n if (!docsResults.containsKey(doc)) {\n HashMap<String, Integer> termsTf = new HashMap<>();\n try{\n termsTf.put(term, Integer.parseInt(tf));\n }\n catch (NumberFormatException e){\n e.printStackTrace();\n }\n docsResults.put(doc, termsTf);\n } else {\n HashMap<String, Integer> termsTf = docsResults.get(doc);\n HashMap<String, Integer> newTermsTf = termsTf;\n newTermsTf.put(term, Integer.parseInt(tf));\n docsResults.replace(doc, termsTf, newTermsTf);\n }\n }\n }",
"public void setTermType(int ttype){\n if (ttype != TERM_FULL && ttype != TERM_NEAR_OPT &&\n ttype != TERM_EASY && ttype != TERM_PRED_ER ) {\n throw new IllegalArgumentException(\"Unrecognized termination type \"+\n \"code: \"+ttype);\n }\n\n this.ttype = ttype;\n }",
"public void search() {\n String q = this.query.getText();\n String cat = this.category.getValue();\n if(cat.equals(\"Book\")) {\n searchBook(q);\n } else {\n searchCharacter(q);\n }\n }",
"@Override\n\tpublic void visit(SubSelect arg0) {\n\t\t\n\t}",
"public abstract String getSelectedAddressType();",
"private String findTypeName(byte selectionIndex) {\n\t\tif (selectionIndex == 0) {\n\t\t\tTYPE = WEIGHT_BASED;\n\t\t} else if (selectionIndex == 1) {\n\t\t\tTYPE = ARTICLE_BASED;\n\t\t} else {\n\t\t\tTYPE = MIXED_ARTICLE;\n\t\t}\n\t\treturn TYPE;\n\t}",
"private String findTypeName(byte selectionIndex) {\n\t\tif (selectionIndex == 0) {\n\t\t\tTYPE = WEIGHT_BASED;\n\t\t} else if (selectionIndex == 1) {\n\t\t\tTYPE = ARTICLE_BASED;\n\t\t} else {\n\t\t\tTYPE = MIXED_ARTICLE;\n\t\t}\n\t\treturn TYPE;\n\t}",
"static boolean checkTerm() {\r\n // Checks if this is a complete term\r\n boolean complete = false;\r\n\r\n // simple_term (base case)\r\n if (token.equals(\"IDENTIFIER\") || token.equals(\"SIGNED_INTEGER\") || token.equals(\"UNSIGNED_INTEGER\")) {\r\n complete = true;\r\n lex();\r\n\r\n // simple_term op\r\n if (token.equals(\"PLUS\") || token.equals(\"MINUS\") || token.equals(\"STAR\") || token.equals(\"DIVOP\") || token.equals(\"MOD\")) {\r\n complete = false;\r\n lex();\r\n\r\n // simple_term op term\r\n if(checkTerm()) {\r\n complete = true;\r\n }\r\n }\r\n }\r\n\r\n // (\r\n else if (token.equals(\"LEFT_PAREN\")) {\r\n lex();\r\n\r\n // ( term\r\n if(checkTerm()) {\r\n\r\n // ( term )\r\n if (token.equals(\"RIGHT_PAREN\")) {\r\n complete = true;\r\n lex();\r\n\r\n // ( term ) op\r\n if (token.equals(\"PLUS\") || token.equals(\"MINUS\") || token.equals(\"STAR\") || token.equals(\"DIVOP\") || token.equals(\"MOD\")) {\r\n complete = false;\r\n lex();\r\n\r\n // ( term ) op term\r\n if (checkTerm()) {\r\n complete = true;\r\n }\r\n }\r\n }\r\n\r\n // ( term op\r\n else if (token.equals(\"PLUS\") || token.equals(\"MINUS\") || token.equals(\"STAR\") || token.equals(\"DIVOP\") || token.equals(\"MOD\")) {\r\n complete = false;\r\n lex();\r\n\r\n // ( term op term\r\n if(checkTerm()) {\r\n\r\n // ( term op term )\r\n if (token.equals(\"RIGHT_PAREN\")) {\r\n complete = true;\r\n lex();\r\n\r\n // ( term op term ) op\r\n if (token.equals(\"PLUS\") || token.equals(\"MINUS\") || token.equals(\"STAR\") || token.equals(\"DIVOP\") || token.equals(\"MOD\")) {\r\n complete = false;\r\n lex();\r\n\r\n // ( term op term ) op term\r\n if (checkTerm()) {\r\n complete = true;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return complete;\r\n }",
"Term getTerm();",
"private void updateColumnSelections(FileType type) {\r\n\t\tswitch(type) {\r\n\t\t\tcase POS:\r\n\t\t\t\tthis.setPOSHeadersToTable();\r\n\t\t\t\tbreak;\r\n\t\t\tcase UNCAPTURED_AUTH:\r\n\t\t\t\tthis.loadUncapturedHeaders();\r\n\t\t\t\tbreak;\r\n\t\t\tcase CAPTURED:\r\n\t\t\t\tthis.loadCapturedHeaders();\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void visit(SubSelect arg0) {\n\n\t}",
"public abstract String getSelectedPhoneType3();",
"List<QtActivitytype> selectByExample(QtActivitytypeExample example);",
"@When(\"^User selects trip type \\\"([^\\\"]*)\\\"$\")\n\tpublic void user_selects_trip_type(String arg1) throws Throwable {\n\t\tGetDriver.browserState().findElement(By.xpath(\"/html/body/div/table/tbody/tr/td[2]/table/tbody/tr[4]/td/table/tbody/tr/td[2]/table/tbody/tr[5]/td/form/table/tbody/tr[2]/td[2]/b/font/input[2]\")).click();\n\t}",
"@Override\n public HashMap<String, String> getFilterTerms() {\n HashMap<String, String> filterTerms = new HashMap<>();\n if (countryCheckBox.isSelected()) {\n filterTerms.put(\"Country\", countryField.getText());\n }\n if (cityCheckBox.isSelected()) {\n filterTerms.put(\"City\", cityField.getText());\n }\n return filterTerms;\n }",
"public void pageChanged(String inputDocument, String modelType, boolean documentTypeSelected)\n {\n \n if (inputDocument.endsWith(\".docx\") || inputDocument.endsWith(\".odt\")) //$NON-NLS-1$ //$NON-NLS-2$\n {\n isSpreadsheet = false;\n \n if (documentTypeSelected)\n {\n valueToRecognizeReq = controller.getIDRegexOrStyle();\n RecognizedTree newTree = controller.getStylesAndRegex();\n tree.getChildren().clear();\n if (newTree != null)\n {\n tree.getChildren().addAll(newTree.getChildren());\n }\n }\n \n boolean b = Constants.SYSML_EXTENSION.equals(modelType) || Constants.UML_EXTENSION.equals(modelType);\n \n descriptionComposite.setAttributeComboVisible(b);\n } \n else\n {\n isSpreadsheet = true;\n\n if (documentTypeSelected)\n {\n valueToRecognizeReq = controller.getIDColumn();\n RecognizedTree newTree = controller.getColumns();\n tree.getChildren().clear();\n if (newTree != null)\n {\n tree.getChildren().addAll(newTree.getChildren());\n }\n }\n }\n \n if (documentTypeSelected)\n {\n descriptionText = controller.getDescriptionEndText();\n descriptionRegex = controller.getDescriptionRegex();\n }\n \n updateWizard();\n \n if (inputDocument != null)\n {\n if (inputDocument.contains(\"file:\")) //$NON-NLS-1$\n {\n currentFileSystem = new File(URI.createURI(inputDocument).toFileString());\n controller.setCurrentFileSystem(currentFileSystem);\n }\n else if (inputDocument.contains(\"platform:\")) //$NON-NLS-1$\n {\n currentFile = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(URI.createURI(inputDocument).toPlatformString(true)));\n controller.setCurrentFile(currentFile);\n if (currentFile != null)\n {\n currentFileSystem = currentFile.getLocation().toFile();\n controller.setCurrentFileSystem(currentFileSystem);\n }\n }\n else\n {\n currentFile = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(new Path(URI.createURI(inputDocument).toFileString()));\n controller.setCurrentFile(currentFile);\n if (currentFile != null)\n {\n currentFileSystem = currentFile.getLocation().toFile();\n controller.setCurrentFileSystem(currentFileSystem);\n }\n }\n }\n setDocumentFile(currentFileSystem);\n }",
"Object getSelection();",
"void populateProductLineTabs() {\n ArrayList<ItemType> typeNames = new ArrayList<ItemType>();\n\n for (ItemType typeValue : ItemType.values()) {\n typeNames.add(typeValue);\n }\n System.out.println(\"type array size = \" + typeNames.size());\n\n for (int i = 0; i < typeNames.size(); i++) {\n choiceType.getItems().add(i, typeNames.get(i));\n }\n choiceType.getSelectionModel().selectFirst();\n }",
"private static void menuSelector(){\r\n\t\tint answer= getNumberAnswer();\r\n\t\tswitch (answer) {\r\n\t\tcase 0:\r\n\t\t\tshowShapeInfo(shapes[0]);\r\n\t\t\tbreak;\r\n\t\tcase 1:\r\n\t\t\tcreateShape();\r\n\t\t\tbreak;\r\n\t\tcase 2:\r\n\t\t\tSystem.out.println(\"Its Perimeter is equal to: \" +calcShapePerimeter(shapes[0]));\r\n\t\t\tbreak;\r\n\t\tcase 3:\r\n\t\t\tSystem.out.println(\"Its Area is equal to: \" +calcShapeArea(shapes[0]));\r\n\t\t\tbreak;\r\n\t\tcase 4:\r\n\t\t\tSystem.out.println(\"Provide integer to use for scaling shape: \");\r\n\t\t\tscaleShape(shapes[0], getNumberAnswer());\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\tSystem.out.println(\"That's not actually an option.\");\r\n\t\t\tbreak;\r\n\t\t}\r\n\t}"
]
| [
"0.5700073",
"0.56434196",
"0.55366176",
"0.5494848",
"0.54121166",
"0.53593546",
"0.5339308",
"0.5295699",
"0.5273781",
"0.51962334",
"0.51112056",
"0.5093926",
"0.5081983",
"0.50734043",
"0.5057009",
"0.50259393",
"0.5012457",
"0.50027704",
"0.49890316",
"0.49817652",
"0.4975875",
"0.49648407",
"0.4959166",
"0.4958962",
"0.49519825",
"0.49270642",
"0.49246344",
"0.49211785",
"0.49173772",
"0.48915493",
"0.48914567",
"0.4876872",
"0.4856248",
"0.48323658",
"0.48233315",
"0.4815041",
"0.4810496",
"0.48096126",
"0.4806229",
"0.48002836",
"0.47905126",
"0.47602004",
"0.47485304",
"0.4740409",
"0.47317293",
"0.47205535",
"0.47172174",
"0.4716297",
"0.4715923",
"0.47155365",
"0.47023997",
"0.46946126",
"0.4694078",
"0.46917725",
"0.46909866",
"0.46882963",
"0.46840018",
"0.46824756",
"0.4674523",
"0.46733853",
"0.46727788",
"0.46707797",
"0.46641666",
"0.46524188",
"0.46517485",
"0.4651484",
"0.46510777",
"0.46502134",
"0.46418136",
"0.4640907",
"0.46398067",
"0.46312413",
"0.46304202",
"0.46250364",
"0.46181315",
"0.4612574",
"0.45921424",
"0.45865402",
"0.45834628",
"0.45833188",
"0.4581791",
"0.45782435",
"0.45767635",
"0.4574699",
"0.45681864",
"0.4564953",
"0.45602286",
"0.45602286",
"0.4552899",
"0.4552727",
"0.45503712",
"0.45476338",
"0.45460322",
"0.45442507",
"0.45433787",
"0.45390993",
"0.45384312",
"0.4537546",
"0.45337328",
"0.45260522"
]
| 0.64603823 | 0 |
Create a new motor, with parameters to initialize it using the RevoluteJointDef.initialize() method. | public Motor(final Body b1, final Body b2, final Vec2 anchor) {
super.initialize(b1, b2, anchor);
motorSpeed = (float) (Math.PI * 2);
enableMotor = true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static RCServo PhidgetMotorMover() {\n\n\t\ttry {\n\t\t\tSystem.out.println(\"Constructing MotorMover\");\n\t\t\tservo = new RCServo();\n\t\t\t// Start listening for motor interaction\n\t\t\tservo.open(2000);\n\t\t} catch (PhidgetException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn servo;\n\t}",
"public ArmJoint() {\n \t\n \tMotor = new CANTalon(RobotMap.Ports.bucketLifter);\n \tMotor.setFeedbackDevice(FeedbackDevice.CtreMagEncoder_Relative);\n \tMotor.clearStickyFaults();\n \tMotor.setSafetyEnabled(false);\n \tMotor.configNominalOutputVoltage(0, 0);\n \tMotor.configPeakOutputVoltage(12, -12);\n \tMotor.setAllowableClosedLoopErr(10);\n \tMotor.setProfile(0);\n \tMotor.setP(RobotMap.Values.armPidP);\n \tMotor.setI(RobotMap.Values.armPidI);\n \tMotor.setD(RobotMap.Values.armPidD);\n \tMotor.setF(0);\n\n \t//Motor.configEncoderCodesPerRev(1);\n \t//Motor.enableLimitSwitch(true, true);\n \t//Motor.enableBrakeMode(false);\n \t//Motor.enable();\n \t//Motor.changeControlMode(TalonControlMode.PercentVbus);\n \tMotor.enableZeroSensorPositionOnReverseLimit(true);\n \tMotor.set(0);\n \t\n \tLiveWindow.addActuator(\"ArmJoint\", 1, (CANTalon) Motor);\n // Use these to get going:\n // setSetpoint() - Sets where the PID controller should move the system\n // to\n // enable() - Enables the PID controller.\n }",
"private RightMotor() {\n\t\t// Instantiate left motor class\n\t\tmotor = new Talon(RobotMap.M_RIGHT);\n\t\tencoder = new Encoder(RobotMap.M_RIGHT_ENCODER_CW, RobotMap.M_RIGHT_ENCODER_CCW);\n\t}",
"private void MotorInit()\n {\n intake_up.configFactoryDefault();\n intake_down.configFactoryDefault();\n intake_up.configOpenloopRamp(Constants.kMotorRampRate);\n intake_down.configOpenloopRamp(Constants.kMotorRampRate);\n intake_up.setInverted(PortReversed.intake_up_reversed.value);\n intake_down.setInverted(PortReversed.intake_down_reversed.value);\n intake_up.setNeutralMode(NeutralMode.Brake);\n intake_down.setNeutralMode(NeutralMode.Brake);\n }",
"@Override\n public void init() {\n\n try {\n\n // Get wheel motors\n wheelMotor1 = hardwareMap.dcMotor.get(\"Wheel 1\");\n wheelMotor2 = hardwareMap.dcMotor.get(\"Wheel 2\");\n\n // Initialize wheel motors\n wheelMotor1.setMode(DcMotorController.RunMode.RUN_WITHOUT_ENCODERS);\n wheelMotor2.setMode(DcMotorController.RunMode.RUN_WITHOUT_ENCODERS);\n wheelMotor1.setDirection(DcMotor.Direction.FORWARD);\n wheelMotor2.setDirection(DcMotor.Direction.REVERSE);\n robotDirection = DriveMoveDirection.Forward;\n motion = new Motion(wheelMotor1, wheelMotor2);\n\n // Get hook motor\n motorHook = hardwareMap.dcMotor.get(\"Hook\");\n motorHook.setDirection(DcMotor.Direction.REVERSE);\n\n // Get servos\n servoTapeMeasureUpDown = hardwareMap.servo.get(\"Hook Control\");\n servoClimberDumperArm = hardwareMap.servo.get(\"Climber Dumper Arm\");\n servoDebrisPusher = hardwareMap.servo.get(\"Debris Pusher\");\n servoZipLineLeft = hardwareMap.servo.get(\"Zip Line Left\");\n servoZipLineRight = hardwareMap.servo.get(\"Zip Line Right\");\n servoAllClearRight = hardwareMap.servo.get (\"All Clear Right\");\n servoAllClearLeft = hardwareMap.servo.get (\"All Clear Left\");\n\n setServoPositions();\n }\n catch (Exception ex)\n {\n telemetry.addData(\"error\", ex.getMessage());\n }\n }",
"Robot (DcMotor leftWheel,\n DcMotor rightWheel,\n Servo rightCollectServo,\n Servo leftCollectServo,\n DcMotor collectMotor,\n DcMotor landerMotor,\n float wheelDiameter,\n float gearRatio,\n float distanceBetweenWheels) {\n\n this.wheels = new Wheels(leftWheel,\n rightWheel,\n wheelDiameter,\n gearRatio,\n distanceBetweenWheels);\n\n this.arms = new Arms(rightCollectServo,\n leftCollectServo,\n collectMotor,\n landerMotor);\n }",
"public Motor(MotorType type)\n {\n gpio = GpioSingleton.getInstance().get();\n \n // initialise instance variables\n if (type == MotorType.LEFT)\n {\n speedPin = gpio.provisionPwmOutputPin(RaspiPin.GPIO_23, \"SPEED\", 0);\n forwardPin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_24, \"FORWARD\", PinState.LOW);\n backwardPin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_25, \"BACKWARD\", PinState.LOW);\n }\n else if (type == MotorType.RIGHT)\n {\n speedPin = gpio.provisionPwmOutputPin(RaspiPin.GPIO_26, \"SPEED\", 0);\n forwardPin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_27, \"FORWARD\", PinState.LOW);\n backwardPin = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_28, \"BACKWARD\", PinState.LOW);\n }\n // set shutdown state for this input pin\n speedPin.setShutdownOptions(true);\n forwardPin.setShutdownOptions(true);\n backwardPin.setShutdownOptions(true);\n }",
"@Override\n public void init() {\n // Get references to dc motors and set initial mode and direction\n // It appears all encoders are reset upon robot startup, but just in case, set all motor\n // modes to Stop-And-Reset-Encoders during initialization.\n motorLeftA = hardwareMap.dcMotor.get(MOTOR_DRIVE_LEFT_A);\n motorLeftA.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorLeftA.setDirection(DcMotor.Direction.FORWARD);\n\n motorLeftB = hardwareMap.dcMotor.get(MOTOR_DRIVE_LEFT_B);\n motorLeftB.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorLeftB.setDirection(DcMotor.Direction.FORWARD);\n\n motorRightA = hardwareMap.dcMotor.get(MOTOR_DRIVE_RIGHT_A);\n motorRightA.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorRightA.setDirection(DcMotor.Direction.REVERSE);\n\n motorRightB = hardwareMap.dcMotor.get(MOTOR_DRIVE_RIGHT_B);\n motorRightB.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorRightB.setDirection(DcMotor.Direction.REVERSE);\n\n //motorGlyphLift = hardwareMap.dcMotor.get(GLYPH_LIFT);\n //motorGlyphLift.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n //motorGlyphLift.setDirection(DcMotor.Direction.FORWARD);\n\n sGlyphL = hardwareMap.servo.get(GLYPH_LEFT);\n //sGlyphL.scaleRange(0,180);\n\n sGlyphR = hardwareMap.servo.get(GLYPH_RIGHT);\n sGem = hardwareMap.servo.get(Gem);\n\n //Initialize vex motor\n sGLift = hardwareMap.crservo.get(Servo_GlyphLift);\n\n //sGLift.setPower(0);\n\n //sGLift2 = hardwareMap.servo.get(Servo_GlyphLift);\n\n BNO055IMU.Parameters parameters = new BNO055IMU.Parameters();\n parameters.angleUnit = BNO055IMU.AngleUnit.DEGREES;\n\n imu = hardwareMap.get(BNO055IMU.class, \"imu\");\n imu.initialize(parameters);\n\n imu = hardwareMap.get(BNO055IMU.class,\"imu\");\n imu.initialize(parameters);\n\n //servoGlyph1.setPosition(180);\n //servoGlyph2.setPosition(180);\n\n bDirection = true;\n }",
"protected void initialize() {\n\t\tRobot.motor.getPIDController().setPID(SmartDashboard.getDouble(\"MotorP\"), SmartDashboard.getDouble(\"MotorI\"), SmartDashboard.getDouble(\"MotorD\"));\n\t\tRobot.motor.setOutputRange(0, 1);\n\t\tRobot.motor.setSetpoint(SmartDashboard.getDouble(\"MotorSpeed\"));\n \tRobot.motor.enable();\n }",
"public Robot() {\t\n\t\tthis.step = myclass.STD_STEP ; \n\t\tthis.speed = myclass.STD_SPEED ; \n\t\tthis.rightM = new EV3LargeRegulatedMotor(myclass.rightP) ; \n\t\tthis.leftM = new EV3LargeRegulatedMotor(myclass.leftP) ; \n\t}",
"@Override\n public void init() {\n telemetry.addData(\"Status\", \"Initializing\"); //display on the drivers phone that its working\n\n FLM = hardwareMap.get(DcMotor.class, \"FLM\"); //Go into the config and get the device named \"FLM\" and assign it to FLM\n FRM = hardwareMap.get(DcMotor.class, \"FRM\"); //device name doesn't have to be the same as the variable name\n BLM = hardwareMap.get(DcMotor.class, \"BLM\"); //DcMotor.class because that is what the object is\n BRM = hardwareMap.get(DcMotor.class, \"BRM\");\n\n BigSuck = hardwareMap.get(DcMotor.class, \"BigSUCK\");\n SmallSuck = hardwareMap.get(DcMotor.class, \"SmallSUCK\");\n SmallSuck.setDirection(DcMotor.Direction.REVERSE);\n \n UpLift = hardwareMap.get(DcMotor.class, \"LIFT\");\n UpLift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n UpLift.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n\n //Make it so we don't have to add flip the sign of the power we are setting to half the motors\n //FRM.setDirection(DcMotor.Direction.REVERSE); //Run the right side of the robot backwards\n FLM.setDirection(DcMotor.Direction.REVERSE);\n BRM.setDirection(DcMotor.Direction.REVERSE); //the right motors are facing differently than the left handed ones\n\n FLM.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n FRM.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n BLM.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n BRM.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n\n DragArm = hardwareMap.servo.get(\"drag_arm\");\n DragArm.setDirection(Servo.Direction.REVERSE);\n DragArm.setPosition(DragArmRestPosition);\n\n LiftGrab = hardwareMap.servo.get(\"GRAB\");\n LiftGrab.setPosition(LiftGrabRestPosition);\n\n LiftSwivel = hardwareMap.servo.get(\"SWIVEL\");\n LiftSwivel.setPosition(LiftSwivelRestPosition);\n\n Push = hardwareMap.get(Servo.class, \"PUSH\");\n Push.setDirection(Servo.Direction.FORWARD);\n Push.setPosition(PushRestPosition);\n\n telemetry.addData(\"Status\", \"Initialized\");\n telemetry.update();\n }",
"public Motor() {\n reInitialize();\n }",
"public Arm( DcMotor motor, Servo sorter )\n {\n super( motor );\n\n m_eTargetPos = PosEnum.None;\n\n m_sorter = sorter;\n }",
"@Override\n public void init() {\n telemetry.addData(\"Status\", \"Initialized\");\n\n // Initialize the hardware variables. Note that the strings used here as parameters\n // to 'get' must correspond to the names assigned during the robot configuration\n // step (using the FTC Robot Controller app on the phone).\n left = hardwareMap.get(DcMotor.class, \"left\");\n right = hardwareMap.get(DcMotor.class, \"right\");\n wrist = hardwareMap.crservo.get(\"wrist\");\n extension = hardwareMap.get(DcMotor.class, \"extension\");\n lift = hardwareMap.get(DcMotor.class, \"lift\");\n\n\n //lift = hardwareMap.get(DcMotor.class, \"lift\");\n bucket = hardwareMap.servo.get(\"bucket\");\n //fBucket = hardwareMap.get(DcMotor.class, \"fBucket\");\n //fBucket.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n left.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n right.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lift.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n\n extension.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n collection = hardwareMap.crservo.get(\"collection\");\n //lift.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n // Most robots need the motor on one side to be reversed to drive forward\n // Reverse the motor that runs backwards when connected directly to the battery\n left.setDirection(DcMotor.Direction.FORWARD);\n right.setDirection(DcMotor.Direction.REVERSE);\n //lift.setDirection(DcMotor.Direction.FORWARD);\n // fBucket.setDirection(DcMotor.Direction.FORWARD);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n // Tell the driver that initialization is complete.\n telemetry.addData(\"Status\", \"Initialized\");\n telemetry.addData(\"left\", left.getPower());\n telemetry.addData(\"right\", right.getPower());\n //telemetry.addData(\"lift\", lift.getPower());\n telemetry.addData(\"collection\", collection.getPower());\n //wrist.setPosition(-1);\n //telemetry.addData(\"fBucket\", fBucket.getPower());\n //Robot robot = new Robot(lift, extension, wrist, bucket, collection, drive);\n }",
"public DriveTrain (int motorChannelL1,int motorChannelL2,int motorChannelR1,int motorChannelR2 ){\n leftMotor1 = new Victor(motorChannelL1);\n leftMotor2 = new Victor(motorChannelL2);\n rightMotor1 = new Victor(motorChannelR1);\n rightMotor2 = new Victor(motorChannelR2);\n highDrive = new RobotDrive(motorChannelL1, motorChannelR1);\n lowDrive = new RobotDrive(motorChannelL2, motorChannelR2);\n \n }",
"@Override\n public void init() {\n telemetry.addData(\"Status\", \"Initialized\");\n\n // Initialize the hardware variables. Note that the strings used here as parameters\n // to 'get' must correspond to the names assigned during the robot configuration\n // step (using the FTC Robot Controller app on the phone).\n\n VinceHardwareBruinBot robot = new VinceHardwareBruinBot();\n // Inititalize last wheel speed\n for (int i = 0; i < lastwheelSpeeds.length; i++){\n lastwheelSpeeds[i] = 0;\n }\n robot.init(hardwareMap);\n {\n //init all drive wheels\n leftFrontDrive = robot.leftFrontDrive;\n rightFrontDrive = robot.rightFrontDrive;\n leftRearDrive = robot.leftRearDrive;\n rightRearDrive = robot.rightRearDrive;\n\n // init all other motors & servos\n intakeMotor = robot.intakeMotor;\n wobbleMotor = robot.wobbleMotor;\n ringShooterMotor = robot.ringShooterMotor;\n\n fireServo = robot.fireServo;\n\n //init imu\n imu = robot.imu;\n }\n initVuforiaNavigation();\n\n // Reset the wobble motor - Use a repeatable starting position\n wobbleMotor.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n /*\n // Get PID constants for wobble motor\n int motorIndex = ((robot.wobbleMotor).getPortNumber());\n DcMotorControllerEx motorControllerEx = (DcMotorControllerEx)robot.wobbleMotor.getController();\n PIDCoefficients pidModified = motorControllerEx.getPIDCoefficients(motorIndex, DcMotor.RunMode.RUN_TO_POSITION);\n\n // change coefficients using methods included with DcMotorEx class.\n PIDCoefficients pidNew = new PIDCoefficients(10, 2, 3);\n motorControllerEx.setPIDCoefficients(motorIndex, DcMotor.RunMode.RUN_TO_POSITION, pidNew);\n */\n //wobbleMotor.setPIDFCoefficients(DcMotor.RunMode.RUN_TO_POSITION,pidNew);\n // Tell the driver that initialization is complete.\n telemetry.addData(\"Status\", \"Initialized\");\n }",
"public MecanumDrive(RobotMap opModeRobot){\n // initialize the hardware(pass in the opMode Robot map(instance) to this class in order to use it here)\n this.robot = opModeRobot;\n // This is all you need to do to initialize your hardware now when you have to call a motor just use robot.objectName.method\n }",
"public void createJoint(World world) {\n if (joint != null) {\n return;\n }\n joint = (RevoluteJoint) world.createJoint(this);\n }",
"public Lift (SpeedController liftMotor) {\n m_liftMotor = liftMotor;\n }",
"@Override\n public void setMotorType(MotorConfigurationType motorType) {\n\n }",
"public Motor(int port, String name, double encoderCountsPerUnit, double pV, double iV, double dV, double fV) {\n motor = new TalonSRX(port);\n this.name = name;\n p = pV;\n i = iV;\n d = dV;\n f = fV;\n defaultp = p;\n defaulti = i;\n defaultd = d;\n defaultf = f;\n setPIDF(p, i, d, f);\n positionSetPoint = 0;\n velocitySetPoint = 0;\n this.encoderCountsPerUnit = encoderCountsPerUnit;\n\n motor.configSelectedFeedbackSensor(FeedbackDevice.QuadEncoder, 0, 10);\n \n }",
"@Override\n public void init() {\n /* Initialize the hardware variables.\n * The init() method of the hardware class does all the work here\n */\n robot.init(hardwareMap);\n\n robot.leftDriveMotor.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n robot.rightDriveMotor.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n // Possibly add a delay\n robot.leftDriveMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n robot.rightDriveMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n\n\n // Send telemetry message to signify robot waiting;\n telemetry.addData(\"Say\", \"Hello Driver\"); //\n }",
"protected void ratCrewInit() {\n\n // Init motor state machine.\n motorTurnType = \"none\";\n motorTurnDestination = 0.0f;\n motorTurnAngleToGo = 0.0f;\n motorTurnAngleAdjustedToGo = 0.0f;\n isDriving = false;\n driveLeftStart = 0;\n driveRightStart = 0;\n driveLeftTarget = 0;\n driveRightTarget = 0;\n driveRightSpeed = 0.0f;\n driveLeftSpeed = 0.0f;\n driveAngleOffset = 0.0f;\n driveAngleCorrection = 0.0f;\n\n // TODO: push into initMotor function\n if (doMotors) {\n // Initialize Motors, finding them through the hardware map.\n leftDrive = hardwareMap.get(DcMotor.class, \"motorLeft\");\n rightDrive = hardwareMap.get(DcMotor.class, \"motorRight\");\n leftDrive.setDirection(DcMotor.Direction.REVERSE);\n rightDrive.setDirection(DcMotor.Direction.FORWARD);\n\n // initialize the encoder\n leftDrive.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n rightDrive.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n leftDrive.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rightDrive.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n leftDrive.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rightDrive.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n\n // Set all motors to zero power.\n leftDrive.setPower(0);\n rightDrive.setPower(0);\n\n gate = hardwareMap.get(Servo.class, \"Gate\");\n gate.setPosition(1.0);\n }\n initGyroscope();\n\n if (doVuforia){\n initVuforia();\n initTfod();\n\n if (tfod != null) {\n tfod.activate();\n\n // The TensorFlow software will scale the input images from the camera to a lower resolution.\n // This can result in lower detection accuracy at longer distances (> 55cm or 22\").\n // If your target is at distance greater than 50 cm (20\") you can adjust the magnification value\n // to artificially zoom in to the center of image. For best results, the \"aspectRatio\" argument\n // should be set to the value of the images used to create the TensorFlow Object Detection model\n // (typically 1.78 or 16/9).\n\n // Uncomment the following line if you want to adjust the magnification and/or the aspect ratio of the input images.\n tfod.setZoom(2.5, 1.78);\n }\n }\n\n // Init run state.\n madeTheRun = false;\n startTime = 0;\n telemetry.addData(\"Init\", \"motors=%b, gyro=%b, vuforia=%b\", doMotors, doGyro, doVuforia);\n telemetry.update();\n }",
"@Override\n public void init() {\n telemetry.addData(\"Status\", \"Initializing\");\n\n // Initialize the hardware variables. Note that the strings used here as parameters\n // to 'get' must correspond to the names assigned during the robot configuration\n // step (using the FTC Robot Controller app on the phone).\n leftDrive = hardwareMap.get(DcMotor.class, \"left_drive\");\n rightDrive = hardwareMap.get(DcMotor.class, \"right_drive\");\n elev = hardwareMap.get(DcMotor.class, \"elev\");\n arm = hardwareMap.get(DcMotor.class,\"arm\");\n hook = hardwareMap.get(Servo.class,\"hook\");\n claw = hardwareMap.get(Servo.class,\"claw\");\n\n // Most robots need the motor on one side to be reversed to drive forward\n // Reverse the motor that runs backwards when connected directly to the battery\n leftDrive.setDirection(DcMotor.Direction.FORWARD);\n rightDrive.setDirection(DcMotor.Direction.REVERSE);\n elev.setDirection(DcMotor.Direction.REVERSE);\n arm.setDirection(DcMotor.Direction.REVERSE);\n elev.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n arm.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n\n lowerLimit = hardwareMap.digitalChannel.get(\"lower_limit\");\n upperLimit = hardwareMap.digitalChannel.get(\"upper_limit\");\n lowerLimit.setMode(DigitalChannel.Mode.INPUT);\n upperLimit.setMode(DigitalChannel.Mode.INPUT);\n\n// rightElev.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER); // Encoder on Left Elev only\n\n // Tell the driver that initialization is complete.\n telemetry.addData(\"Status\", \"Initialized\");\n }",
"@Override\n public void init() {\n \n \n rightFront = hardwareMap.dcMotor.get(\"frontR\");\n rightBack = hardwareMap.dcMotor.get(\"backR\");\n \n \n \n rightFront.setDirection(DcMotor.Direction.FORWARD); \n rightBack.setDirection(DcMotor.Direction.FORWARD);\n \n \n \n\n // Send telemetry message to signify robot waiting;\n telemetry.addData(\"Say\", \"Hello Driver\"); //\n }",
"public MotorController() {\n\t\tresetTachometers();\n\t}",
"@Override\n\tpublic void robotInit() {\n\t\tleftDriveBack = new VictorSP(0); // PWM Port, madke sure this is set correctly.\n\t\tleftDriveFront = new VictorSP(1);\n\t\t\n\t\trightDriveFront = new VictorSP(2);\n\t\trightDriveBack = new VictorSP(3);\n\t\t\n\t\tleftIntake = new Spark(5);\n\t\trightIntake = new Spark(6);\n\t\t\n\t\tarmMotor = new TalonSRX(10);\n\t\tarmMotor.setNeutralMode(NeutralMode.Brake);\n\t\tarmMotor.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Absolute, 0, 0);\n\t\tarmMotor.configPeakCurrentLimit(30, 0);\n\t\tarmMotor.configPeakCurrentDuration(250, 0);\n\t\tarmMotor.configContinuousCurrentLimit(20, 0);\n\t\tarmMotor.configClosedloopRamp(0.25, 0);\n\t\tarmMotor.configOpenloopRamp(0.375, 0);\n\t\tarmMotor.enableCurrentLimit(true);\n\t\t\n\t\tarmMotor.configPeakOutputForward(1.0, 0);\n\t\tarmMotor.configPeakOutputReverse(-1.0, 0);\n\t\t\n\t\tarmMotor.config_kP(0, 0.0, 0);\n\t\t\n\t\tarmSetpoint = armMotor.getSelectedSensorPosition(0);\n\t\t\n\t\tstick = new Joystick(0);\n\t\tstickReversed = false;\n\t\txbox = new XboxController(1); // USB port, set in driverstation.\n\t\t\n\t\tdriveCamera = CameraServer.getInstance().startAutomaticCapture(0);\n\t}",
"public Motors(String com) throws SerialPortException {\r\n controArduino = new ControlArduino(com);\r\n servo_pos = new int[6];\r\n servo_pos[0] = 1500;\r\n servo_pos[1] = 1500;\r\n servo_pos[2] = 1500;\r\n servo_pos[3] = 1500;\r\n servo_pos[4] = 1500;\r\n servo_pos[5] = 1500;\r\n double thetas[] = new double[6];\r\n updateMotors(thetas);\r\n }",
"public void init(long handle, int id, String name, String model, int encoderTicksPerRevolution) {\n // Talons do some funkiness with the ID vs what we will use as the handle\n this.id = id;\n this.handle = handle;\n\n // update the config id and handle when we create this motor\n this.config = this.config.toBuilder()\n .setHandle(this.handle)\n .setId(this.id)\n .setName(name)\n .setModel(model)\n .addFpid(RobotProto.MotorConfig.FPID.newBuilder().build()) // start with a couple empty FPID slots\n .addFpid(RobotProto.MotorConfig.FPID.newBuilder().build())\n .addFpid(RobotProto.MotorConfig.FPID.newBuilder().build())\n .addFpid(RobotProto.MotorConfig.FPID.newBuilder().build())\n .addCustomParams(0)\n .addCustomParams(0)\n .setEncoder(RobotProto.MotorConfig.Encoder.NotSet)\n .setEncoderCountsPerRevolution(encoderTicksPerRevolution)\n .build();\n }",
"@Override\n\tpublic void robotInit() {\n\t\tfr = new Spark(HardwareMap.PWM.DRIVE_FR);\n\t\tfl = new Spark(HardwareMap.PWM.DRIVE_FL);\n\t\tbr = new Spark(HardwareMap.PWM.DRIVE_BR);\n\t\tbl = new Spark(HardwareMap.PWM.DRIVE_BL);\n\t\t\n\t\t// Create the side modules\n\t\tleftGroup = new SpeedControllerGroup(bl, fl);\n\t\trightGroup = new SpeedControllerGroup(br, fr);\n\n\t\t// Init the the drive train\n\t\tdrive = new DifferentialDrive(leftGroup, rightGroup);\n\t\t\n\t\t//Init the gyro\n\t\tgyro.calibrate();\n\t\tSmartDashboard.putData(\"Gyro\", gyro);\n\t\t\n\t\tdrive.setSafetyEnabled(false);\n\t\tthis.setName(Subsystems.DRIVE);\n\t}",
"@Override\n public void robotInit() {\n\n // Motor controllers\n leftMotor = new CANSparkMax(1, MotorType.kBrushless);\n leftMotor.setInverted(false);\n leftMotor.setIdleMode(IdleMode.kBrake);\n\n CANSparkMax leftSlave1 = new CANSparkMax(2, MotorType.kBrushless);\n leftSlave1.setInverted(false);\n leftSlave1.setIdleMode(IdleMode.kBrake);\n leftSlave1.follow(leftMotor);\n\n CANSparkMax leftSlave2 = new CANSparkMax(3, MotorType.kBrushless);\n leftSlave2.setInverted(false);\n leftSlave2.setIdleMode(IdleMode.kBrake);\n leftSlave2.follow(leftMotor);\n\n rightMotor = new CANSparkMax(4, MotorType.kBrushless);\n rightMotor.setInverted(false);\n rightMotor.setIdleMode(IdleMode.kBrake);\n\n CANSparkMax rightSlave1 = new CANSparkMax(5, MotorType.kBrushless);\n rightSlave1.setInverted(false);\n rightSlave1.setIdleMode(IdleMode.kBrake);\n rightSlave1.follow(leftMotor);\n\n CANSparkMax rightSlave2 = new CANSparkMax(6, MotorType.kBrushless);\n rightSlave2.setInverted(false);\n rightSlave2.setIdleMode(IdleMode.kBrake);\n rightSlave2.follow(leftMotor);\n\n // Encoders\n leftEncoder = leftMotor.getEncoder();\n rightEncoder = rightMotor.getEncoder();\n\n // Gyro\n gyro = new ADXRS450_Gyro();\n\n }",
"public interface EncoderMotor extends Motor {\n double getVelocity();\n double getVelocityRaw();\n double setVelocity(double speed);\n double getDistance();\n void resetDistance();\n @Override\n EncoderMotor setInverted(boolean inverted);\n @Override\n EncoderMotor invert();\n\n void setConfig(EncoderMotorConfig config);\n}",
"public static void init() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n driveTrainmotor_leftFront = new Talon(1);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_leftFront\", (Talon) driveTrainmotor_leftFront);\n \n driveTrainmotor_leftRear = new Talon(2);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_leftRear\", (Talon) driveTrainmotor_leftRear);\n \n driveTrainmotor_rightFront = new Talon(3);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_rightFront\", (Talon) driveTrainmotor_rightFront);\n \n driveTrainmotor_rightRear = new Talon(4);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_rightRear\", (Talon) driveTrainmotor_rightRear);\n \n driveTrainRobotDrive = new RobotDrive(driveTrainmotor_leftFront, driveTrainmotor_leftRear,\n driveTrainmotor_rightFront, driveTrainmotor_rightRear);\n \n driveTrainRobotDrive.setSafetyEnabled(true);\n driveTrainRobotDrive.setExpiration(0.1);\n driveTrainRobotDrive.setSensitivity(0.5);\n driveTrainRobotDrive.setMaxOutput(1.0);\n\n liftmotor_Lift = new Talon(0);\n LiveWindow.addActuator(\"Lift\", \"motor_Lift\", (Talon) liftmotor_Lift);\n \n liftencoderLiftHeight = new Encoder(1, 2, true, EncodingType.k4X);\n LiveWindow.addSensor(\"Lift\", \"encoder LiftHeight\", liftencoderLiftHeight);\n liftencoderLiftHeight.setDistancePerPulse(1.0);\n liftencoderLiftHeight.setPIDSourceParameter(PIDSourceParameter.kRate);\n liftlimitBottom = new DigitalInput(0);\n LiveWindow.addSensor(\"Lift\", \"limitBottom\", liftlimitBottom);\n \n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }",
"protected void initialize() {\n \t starttime = Timer.getFPGATimestamp();\n \tthis.startAngle = RobotMap.navx.getAngle();\n \tangleorientation.setSetPoint(RobotMap.navx.getAngle());\n \t\n \tRobotMap.motorLeftTwo.enableControl();\n \tRobotMap.motorRightTwo.enableControl();\n \tRobotMap.motorLeftTwo.enableControl();\n \tRobotMap.motorRightTwo.enableControl();\n \n //settting talon control mode\n \tRobotMap.motorLeftTwo.changeControlMode(TalonControlMode.MotionMagic);\t\t\n\t\tRobotMap.motorLeftOne.changeControlMode(TalonControlMode.Follower);\t\n\t\tRobotMap.motorRightTwo.changeControlMode(TalonControlMode.MotionMagic);\t\n\t\tRobotMap.motorRightOne.changeControlMode(TalonControlMode.Follower);\n\t\t//setting peak and nominal output voltage for the motors\n\t\tRobotMap.motorLeftTwo.configPeakOutputVoltage(+12.0f, -12.0f);\n\t\tRobotMap.motorLeftTwo.configNominalOutputVoltage(0.00f, 0.0f);\n\t\tRobotMap.motorRightTwo.configPeakOutputVoltage(+12.0f, -12.0f);\n\t\tRobotMap.motorRightTwo.configNominalOutputVoltage(0.0f, 0.0f);\n\t\t//setting who is following whom\n\t\tRobotMap.motorLeftOne.set(4);\n\t\tRobotMap.motorRightOne.set(3);\n\t\t//setting pid value for both sides\n\t//\tRobotMap.motorLeftTwo.setCloseLoopRampRate(1);\n\t\tRobotMap.motorLeftTwo.setProfile(0);\n\t RobotMap.motorLeftTwo.setP(0.000014f);\n \tRobotMap.motorLeftTwo.setI(0.00000001);\n\t\tRobotMap.motorLeftTwo.setIZone(0);//325);\n\t\tRobotMap.motorLeftTwo.setD(1.0f);\n\t\tRobotMap.motorLeftTwo.setF(this.fGainLeft+0.014);//0.3625884);\n\t\tRobotMap.motorLeftTwo.setAllowableClosedLoopErr(0);//300);\n\t\t\n\t RobotMap.motorRightTwo.setCloseLoopRampRate(1);\n\t RobotMap.motorRightTwo.setProfile(0);\n\t\tRobotMap.motorRightTwo.setP(0.000014f);\n\t\tRobotMap.motorRightTwo.setI(0.00000001);\n\t\tRobotMap.motorRightTwo.setIZone(0);//325);\n\t\tRobotMap.motorRightTwo.setD(1.0f);\n\t\tRobotMap.motorRightTwo.setF(this.fGainRight);// 0.3373206);\n\t\tRobotMap.motorRightTwo.setAllowableClosedLoopErr(0);//300);\n\t\t\n\t\t//setting Acceleration and velocity for the left\n\t\tRobotMap.motorLeftTwo.setMotionMagicAcceleration(125);\n\t\tRobotMap.motorLeftTwo.setMotionMagicCruiseVelocity(250);\n\t\t//setting Acceleration and velocity for the right\n\t\tRobotMap.motorRightTwo.setMotionMagicAcceleration(125);\n\t\tRobotMap.motorRightTwo.setMotionMagicCruiseVelocity(250);\n\t\t//resets encoder position to 0\t\t\n\t\tRobotMap.motorLeftTwo.setEncPosition(0);\n\t\tRobotMap.motorRightTwo.setEncPosition(0);\n\t //Set Allowable error for the loop\n\t\tRobotMap.motorLeftTwo.setAllowableClosedLoopErr(300);\n\t\tRobotMap.motorRightTwo.setAllowableClosedLoopErr(300);\n\t\t\n\t\t//sets desired endpoint for the motors\n RobotMap.motorLeftTwo.set(motionMagicEndPoint);\n RobotMap.motorRightTwo.set(-motionMagicEndPoint );\n \t\n }",
"public void robotInit() {\n\t\toi = new OI();\n chooser = new SendableChooser();\n chooser.addDefault(\"Default Auto\", new ExampleCommand());\n// chooser.addObject(\"My Auto\", new MyfAutoCommand());\n SmartDashboard.putData(\"Auto mode\", chooser);\n \n //Drive\n //this.DriveTrain = new DriveTrain();\n \t//RobotMap.robotDrive1.arcadeDrive(oi.stickLeft);\n \n //Buttons\n // oi.button1.whenPressed(new SetMaxMotorOutput());\n \n //Ultrasonic\n sonic1 = new Ultrasonic(0,1);\n sonic1.setAutomaticMode(true);\n \n }",
"public JoystickDriveCommand() {\n\t\trequires(Robot.chassisSubsystem);\n\t}",
"@Override\r\n public void init() {\r\n // Define and Initialize Motors\r\nFL = hardwareMap.get(DcMotor.class, \"Front Left\");\r\n FR = hardwareMap.get(DcMotor.class, \"Front Right\");\r\n BL = hardwareMap.get(DcMotor.class, \"Back Left\");\r\n BR = hardwareMap.get(DcMotor.class, \"Back Right\");\r\n\r\n\r\nFL.setDirection(DcMotor.Direction.FORWARD);\r\n FR.setDirection(DcMotor.Direction.REVERSE);\r\n BL.setDirection(DcMotor.Direction.FORWARD);\r\n BR.setDirection(DcMotor.Direction.REVERSE);\r\n // Set all motors to zero power\r\n FL.setPower(0);\r\n FR.setPower(0);\r\n BL.setPower(0);\r\n BR.setPower(0); }",
"public void setMotorBehaviors(){\n motors = new ArrayList<>();\n motors.add(rf);\n motors.add(rb);\n motors.add(lf);\n motors.add(lb);\n\n //reset motor encoders\n rf.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n rb.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lf.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lb.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n relic_extension.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n\n //Set motor behaviors\n rf.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rf.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rb.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rb.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lf.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lf.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lb.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lb.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rf.setDirection(DcMotorSimple.Direction.REVERSE);\n rb.setDirection(DcMotorSimple.Direction.REVERSE);\n relic_extension.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n relic_extension.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n relic_extension.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n lift.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n lift.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n lift.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n lift.setDirection(DcMotorSimple.Direction.REVERSE);\n\n //Set servo behaviors\n leftWheel2.setDirection(DcMotorSimple.Direction.REVERSE);\n rightWheel1.setDirection(DcMotorSimple.Direction.REVERSE);\n\n }",
"public void init() {\n delayingTimer = new ElapsedTime();\n\n // Define and Initialize Motors and Servos: //\n tailMover = hwMap.dcMotor.get(\"tail_lift\");\n grabberServo = hwMap.servo.get(\"grabber_servo\");\n openGrabber();\n\n // Set Motor and Servo Directions: //\n tailMover.setDirection(DcMotorSimple.Direction.FORWARD);\n\n tailMover.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n tailMover.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n int prevEncoder = tailMover.getCurrentPosition();\n tailMover.setPower(-0.15);\n mainHW.opMode.sleep (300);\n Log.d(\"catbot\", String.format(\"tail lift power %.2f current position %2d prev %2d\", tailMover.getPower(), tailMover.getCurrentPosition(),prevEncoder));\n runtime.reset();\n while((Math.abs(prevEncoder - tailMover.getCurrentPosition()) > 10)&& (runtime.seconds()<3.0)){\n prevEncoder = tailMover.getCurrentPosition();\n mainHW.opMode.sleep(300);\n Log.d(\"catbot\", String.format(\"tail lift power %.2f current position %2d prev %2d\", tailMover.getPower(), tailMover.getCurrentPosition(),prevEncoder));\n }\n tailMover.setPower(0.0);\n // Set Motor and Servo Modes: //\n tailMover.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n\n tailMover.setTargetPosition(0);\n tailMover.setMode(DcMotor.RunMode.RUN_TO_POSITION);\n closeGrabber();\n }",
"public Motor(int lSpeed, int rSpeed, long lPos, long rPos) {\n leftSpeed = lSpeed;\n rightSpeed = rSpeed;\n leftPosition = lPos;\n rightPosition = rPos;\n }",
"@Override\n public void robotInit() {\n // Instantiate our RobotContainer. This will perform all our button bindings, and put our\n // autonomous chooser on the dashboard.\n m_robotContainer = new RobotContainer();\n \n left_motor_1= new CANSparkMax(2,MotorType.kBrushless);\n left_motor_2=new CANSparkMax(3,MotorType.kBrushless);\n right_motor_1=new CANSparkMax(5,MotorType.kBrushless);\n right_motor_2=new CANSparkMax(6,MotorType.kBrushless);\n ball_collection_motor=new CANSparkMax(4,MotorType.kBrushless);\n left_high_eject=new CANSparkMax(1, MotorType.kBrushless);\n right_high_eject=new CANSparkMax(7,MotorType.kBrushless);\n left_belt=new TalonSRX(9);\n right_belt=new TalonSRX(11);\n left_low_eject=new TalonSRX(8);\n right_low_eject=new TalonSRX(12);\n double_solenoid_1=new DoubleSolenoid(0,1);\n joystick=new Joystick(1);\n servo=new Servo(0);\n if_correted=false;\n xbox_controller=new XboxController(0);\n servo_angle=1;\n eject_speed=0;\n go_speed=0;\n turn_speed=0;\n high_eject_run=false;\n clockwise=false;\n left_motor_1.restoreFactoryDefaults();\n left_motor_2.restoreFactoryDefaults();\n right_motor_1.restoreFactoryDefaults();\n right_motor_2.restoreFactoryDefaults();\n \n left_motor_2.follow(left_motor_1);\n right_motor_1.follow(right_motor_2);\n servo.set(0);\n currentServoAngle = 0;\n factor = 0.01;\n pushed = false;\n //right_high_eject.follow(left_high_eject);\n //right_low_eject.follow(left_low_eject);\n\n }",
"@Override\n public void init() {\n robot.init(hardwareMap, telemetry, false);\n //robot.resetServo();\n telemetry.addData(\"Status\", \"Initialized\");\n telemetry.addData(\"Status\", \"Initialized\");\n // robot.FL.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n // robot.FR.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n // robot.BL.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n // robot.BR.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n\n }",
"@Override\n public void create(World world, float x, float y) {\n \n super.create(world, x, y);\n this.body.setGravityScale(0f);\n /* WheelJointDef wjd1 = new WheelJointDef();\n\n this.body.getFixtureList().setDensity(1);\n wjd1.initialize(this.w1.getBody(),this.getBody(), new Vec2(0,1), new Vec2(0, 1f));\n wjd1.enableMotor = true;\n wjd1.frequencyHz =1;\n wjd1.maxMotorTorque = 4;\n wjd1.motorSpeed = -5;\n wjd1.dampingRatio = 0.8f;\n \n this.w1.getBody().getFixtureList().setDensity(0.1f);\n \n WheelJointDef wjd2 = new WheelJointDef();\n wjd2.initialize(this.getBody(),this.w2.getBody(), new Vec2(0, 1), new Vec2(0, 1));\n wjd2.frequencyHz =1;\n wjd2.maxMotorTorque = 4;\n wjd2.motorSpeed = -5;\n wjd2.dampingRatio = 0.8f;\n world.createJoint(wjd1);\n this.w2.getBody().getFixtureList().setDensity(0.1f);\n\n world.createJoint(wjd2);*/\n \n \n }",
"@Override\n public void init() {\n touchSensor1 = hardwareMap.touchSensor.get(\"touchSensor1\");\n lightSensor1 = hardwareMap.lightSensor.get(\"lightSensor1\");\n motorLeft1 = hardwareMap.dcMotor.get(\"motorLeft1\");\n motorLeft2 = hardwareMap.dcMotor.get(\"motorLeft2\");\n motorRight1 = hardwareMap.dcMotor.get(\"motorRight1\");\n motorRight2 = hardwareMap.dcMotor.get(\"motorRight2\");\n\n //Setup Hardware\n motorLeft1.setDirection(DcMotor.Direction.REVERSE);\n motorLeft2.setDirection(DcMotor.Direction.REVERSE);\n\n // Set up the parameters with which we will use our IMU. Note that integration\n // algorithm here just reports accelerations to the logcat log; it doesn't actually\n // provide positional information.\n BNO055IMU.Parameters parameters = new BNO055IMU.Parameters();\n parameters.angleUnit = BNO055IMU.AngleUnit.DEGREES;\n parameters.accelUnit = BNO055IMU.AccelUnit.METERS_PERSEC_PERSEC;\n parameters.calibrationDataFile = \"AdafruitIMUCalibration.json\"; // see the calibration sample opmode\n parameters.loggingEnabled = true;\n parameters.loggingTag = \"IMU\";\n // parameters.accelerationIntegrationAlgorithm = new JustLoggingAccelerationIntegrator();\n\n // Retrieve and initialize the IMU. We expect the IMU to be attached to an I2C port\n // on a Core Device Interface Module, configured to be a sensor of type \"AdaFruit IMU\",\n // and named \"imu\".\n imu = hardwareMap.get(BNO055IMU.class, \"imu\");\n imu.initialize(parameters);\n\n currentState = MotorState.WAIT_TO_START;\n nextState = MotorState.WAIT_TO_START;\n count = 0;\n composeTelemetry();\n }",
"@Override\n\tpublic void robotInit() {\n\t\tm_chooser.setDefaultOption(\"Default Auto\", kDefaultAuto);\n\t\tm_chooser.addOption(\"My Auto\", kCustomAuto);\n\t\tSmartDashboard.putData(\"Auto choices\", m_chooser);\n\n\t\tm_frontRight = new PWMVictorSPX(0);\n\t\tm_frontLeft = new PWMVictorSPX(2);\n\t\tm_backRight = new PWMVictorSPX(1);\n\t\tm_backLeft = new PWMVictorSPX(3);\n\n\t\tx_aligning = false;\n\n\t\tJoy = new Joystick(0);\n\t\tmyTimer = new Timer();\n\n\t\tfinal SpeedControllerGroup m_left = new SpeedControllerGroup(m_frontLeft, m_backLeft);\n\t\tfinal SpeedControllerGroup m_right = new SpeedControllerGroup(m_frontRight, m_backRight);\n\n\t\tm_drive = new DifferentialDrive(m_left, m_right);\n\n\t\tdistanceToTarget = 0;\n\n\t\tcounter = new Counter(9);\n\t\tcounter.setMaxPeriod(10.0);\n\t\tcounter.setSemiPeriodMode(true);\n\t\tcounter.reset();\n\t}",
"public Junction() {\r\n random = Randomizer.getInstance();\r\n numberOfVehicles = 0;\r\n }",
"public Driver()\n {\n // instantiate joysticks & controllers here.\n\n // bind button objects to physical buttons here.\n\n // bind buttons to commands here.\n\n }",
"@Override\n public void robotInit() {\n myRobot = new DifferentialDrive(leftfrontmotor, rightfrontmotor);\n leftrearmotor.follow(leftfrontmotor);\n rightrearmotor.follow(rightfrontmotor);\n leftfrontmotor.setInverted(true); // <<<<<< Adjust this until robot drives forward when stick is forward\n\t\trightfrontmotor.setInverted(true); // <<<<<< Adjust this until robot drives forward when stick is forward\n\t\tleftrearmotor.setInverted(InvertType.FollowMaster);\n rightrearmotor.setInverted(InvertType.FollowMaster);\n \n CameraServer.getInstance().startAutomaticCapture();\n\n \n\n comp.setClosedLoopControl(true);\n \n\n /* Set up Dashboard widgets */\n SmartDashboard.putNumber(\"L Stick\", gamepad.getRawAxis(1));\n\t\tSmartDashboard.putNumber(\"R Stick\", gamepad.getRawAxis(5));\n\t\tSmartDashboard.putBoolean(\"Back Button\", gamepad.getRawButton(5));\n\t\tSmartDashboard.putBoolean(\"Fwd Button\", gamepad.getRawButton(6));\n\t\t\n SmartDashboard.putNumber(\"LF\", pdp.getCurrent(leftfrontmotorid));\n\t\tSmartDashboard.putNumber(\"LR\", pdp.getCurrent(leftrearmotorid));\n\t\tSmartDashboard.putNumber(\"RF\", pdp.getCurrent(rightfrontmotorid));\n\t\tSmartDashboard.putNumber(\"RR\", pdp.getCurrent(rightrearmotorid));\n SmartDashboard.putNumber(\"Total\", pdp.getCurrent(0) + pdp.getCurrent(1) + pdp.getCurrent(2) + pdp.getCurrent(3) + pdp.getCurrent(4) + pdp.getCurrent(5) + pdp.getCurrent(6) + pdp.getCurrent(7) + pdp.getCurrent(8) + pdp.getCurrent(9) + pdp.getCurrent(10) + pdp.getCurrent(11) + pdp.getCurrent(12) + pdp.getCurrent(13) + pdp.getCurrent(14) + pdp.getCurrent(15));\n }",
"public GetMotorPositionCommand ()\r\n {\r\n }",
"public void robotInit() {\n\t\toi = new OI();\n // instantiate the command used for the autonomous period\n }",
"@Override\n public void robotInit() {\n\t\t// set up logging\n\t\tlogger = EventLogging.getLogger(Robot.class, Level.INFO);\n\n // set up hardware\n RobotMap.init();\n\n // set up subsystems\n //initalized drive subsystem, which control motors to move robot\n driveSubsystem = new DriveSubsystem();\n\t\tbuttonSubstyem = new ButtonSubsystem();\n servoSubsystem = new ServoSubsystem();\n wingSubsystem = new WingSubsystem();\n flagSpinnerSubsystem = new FlagSpinnerSubsystem();\n // OI must be constructed after subsystems. If the OI creates Commands\n //(which it very likely will), subsystems are not guaranteed to be\n // constructed yet. Thus, their requires() statements may grab null\n // pointers. Bad news. Don't move it.\n oi = new OI();\n\n // Add commands to Autonomous Sendable Chooser\n chooser.addDefault(\"Autonomous Command\", new AutonomousCommand());\n SmartDashboard.putData(\"Auto mode\", chooser);\n }",
"public void init(HardwareMap ahwMap, boolean auto) {\n hwMap = ahwMap;\n\n // Define and Initialize Motors\n extensionArm = hwMap.get(DcMotor.class, \"extensionArm\");\n leftDrive = hwMap.get(DcMotor.class, \"leftDrive\");\n rightDrive = hwMap.get(DcMotor.class, \"rightDrive\");\n leftrotationArm = hwMap.get(DcMotor.class, \"leftrotationArm\");\n rightrotationArm = hwMap.get(DcMotor.class, \"rightrotationArm\");\n intake_motor = hwMap.get(DcMotor.class, \"intakeMotor\");\n if (auto) {\n leftDrive.setDirection(DcMotorSimple.Direction.REVERSE); // Set to REVERSE if using AndyMark motors\n leftDrive.setMode(DcMotor.RunMode.RUN_USING_ENCODER); // Set to REVERSE if using AndyMark motors\n rightDrive.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n rightDrive.setDirection(DcMotorSimple.Direction.FORWARD);\n }else{\n rightDrive.setDirection(DcMotorSimple.Direction.REVERSE); // Set to REVERSE if using AndyMark motors\n leftDrive.setDirection(DcMotorSimple.Direction.FORWARD);\n }\n\n leftrotationArm.setDirection(DcMotorSimple.Direction.REVERSE);\n rightrotationArm.setDirection(DcMotorSimple.Direction.REVERSE);\n\n intake_motor.setDirection(DcMotorSimple.Direction.FORWARD);\n extensionArm.setDirection(DcMotorSimple.Direction.REVERSE);\n\n // Set all motors to zero power\n leftDrive.setPower(0);\n rightDrive.setPower(0);\n\n\n leftrotationArm.setPower(0);\n\n extensionArm.setPower(0);\n intake_motor.setPower(0);\n\n // Set all motors to run without encoders.\n // May want to use RUN_USING_ENCODERS if encoders are installed.\n leftDrive.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n rightDrive.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n // Define and initialize ALL installed servos.\n latching_linear = hwMap.get(DcMotor.class, \"latching_linear\");\n\n latchServo = hwMap.get(Servo.class, \"latchServo\");\n verticalServo = hwMap.get(Servo.class, \"yServo\");\n //horizontalServo = hwMap.get(Servo.class, \"zServo\");\n teamMarker = hwMap.get(Servo.class, \"teamMarker\");\n }",
"RobotProto.MotorOutputs.MotorOutput simulateMotor(SimMotor motor, Collection<SimMotor> motors, long deltaTime) {\n\n RobotProto.MotorOutputs.MotorOutput.Builder outputBuilder = RobotProto.MotorOutputs.MotorOutput.newBuilder();\n\n RobotProto.MotorConfig.ControlMode controlMode = motor.getConfig().getControlMode();\n boolean inverted = motor.getConfig().getInverted();\n double output = 0;\n if (motor.getConfig().getFollowingId() != 0) {\n for (SimMotor otherMotor : motors) {\n if (otherMotor.getId() == motor.getConfig().getFollowingId()) {\n output = otherMotor.getOutput();\n break;\n }\n }\n } else {\n double target = 0;\n switch (controlMode) {\n\n case PercentOutput:\n output = motor.getConfig().getTargetOutput();\n break;\n case Position:\n case MotionPosition:\n // compute position based on our target\n target = motor.getConfig().getTargetPosition();\n target = inverted ? -target : target;\n output = runPID(motor, target, motor.getSensorPosition());\n break;\n case Velocity:\n // compute position based on our target\n target = motor.getConfig().getTargetVelocity();\n target = inverted ? -target : target;\n output = runPID(motor, target, motor.getVelocity());\n break;\n case Current:\n break;\n case Follower:\n break;\n case MotionProfile:\n break;\n case MotionProfileArc:\n break;\n case Disabled:\n output = 0;\n break;\n }\n }\n\n // clamp the output between -1 and 1\n output = MathUtils.clamp(output);\n\n // run the physics simulation of the motor with the computed output this motor\n motor.setOutput(output);\n motor.step(output * 12.0, 0, deltaTime);\n\n // update the selectedSensorPosition\n motor.setConfig(motor.getConfig().toBuilder().setSelectedSensorPosition(motor.getSensorPosition()).build());\n\n return outputBuilder\n .setId(motor.getId())\n .setHandle(motor.getHandle())\n .setInputVoltage(motor.getVoltage())\n .setOutput(motor.getOutput())\n .setOutputCurrent(motor.getCurrent())\n .setPosition(motor.getPosition())\n .setSensorPosition(motor.getSensorPosition())\n .setVelocity(motor.getVelocity())\n .setLastError(motor.getLastError())\n .setIntegralState(motor.getIntegralState())\n .build();\n }",
"public void init() {\n // Define and Initialize Motors (note: need to use reference to actual OpMode).\n leftDrive = myOpMode.hardwareMap.get(DcMotor.class, \"left_drive\");\n rightDrive = myOpMode.hardwareMap.get(DcMotor.class, \"right_drive\");\n armMotor = myOpMode.hardwareMap.get(DcMotor.class, \"arm\");\n\n // To drive forward, most robots need the motor on one side to be reversed, because the axles point in opposite directions.\n // Pushing the left stick forward MUST make robot go forward. So adjust these two lines based on your first test drive.\n // Note: The settings here assume direct drive on left and right wheels. Gear Reduction or 90 Deg drives may require direction flips\n leftDrive.setDirection(DcMotor.Direction.REVERSE);\n rightDrive.setDirection(DcMotor.Direction.FORWARD);\n\n // If there are encoders connected, switch to RUN_USING_ENCODER mode for greater accuracy\n // leftDrive.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n // rightDrive.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n // Define and initialize ALL installed servos.\n leftHand = myOpMode.hardwareMap.get(Servo.class, \"left_hand\");\n rightHand = myOpMode.hardwareMap.get(Servo.class, \"right_hand\");\n leftHand.setPosition(MID_SERVO);\n rightHand.setPosition(MID_SERVO);\n\n myOpMode.telemetry.addData(\">\", \"Hardware Initialized\");\n myOpMode.telemetry.update();\n }",
"public static void hookMotor() {\n\t\thookMotor.rotate(45);\n\t}",
"@Override\n\tpublic void robotInit() {\n\t\tdrive = new Drive();\n\t\tintake = new Intake();\n\t\tshooter = new Shooter();\n\t\taimShooter = new AimShooter();\n\t\tvision = new Vision();\n\t\tintakeRoller = new IntakeRoller();\n\t\taManipulators = new AManipulators();\n\t\tshooterLock = new ShooterLock();\n\n\t\t// autochooser\n\t\t// autoChooser = new SendableChooser();\n\n\t\toi = new OI();\n\t\t// instantiate the command used for the autonomous period\n\t\tlowGearCommand = new LowGear();\n\n\t\t// auto chooser commands\n\t\t// autoChooser.addDefault(\"FarLeftAuto\", new FarLeftAuto());\n\t\t// autoChooser.addObject(\"MidLeftAuto\", new MidLeftAuto());\n\t\t// autoChooser.addObject(\"MidAuto\", new MidAuto());\n\t\t// autoChooser.addObject(\"MidRightAuto\", new MidRightAuto());\n\t\t// autoChooser.addObject(\"FarRightAuto\", new FarRightAuto());\n\t\t// autoChooser.addObject(\"Uber Auto\", new UberAuto());\n\t\t// autoChooser.addObject(\"Paper Weight\", new PaperWeightAuto());\n\t\t//\n\t\t// SmartDashboard.putData(\"Autonomous\", autoChooser);\n\n\t\t// autonomousCommand = (Command) autoChooser.getSelected();\n\t\tautonomousCommand = new FarLeftAuto();\n\t\t// autonomousCommand = new MidAuto();\n\t\t// CameraServer.getInstance().startAutomaticCapture(\"cam3\");\n\t\t// autonomousCommand = new FarLeftAuto\n\n\t\tpovUpTrigger.whenActive(new MoveActuatorsUp());\n\t\tpovDownTrigger.whenActive(new MoveActuatorsDown());\n\t}",
"public void robotInit()\r\n {\r\n // Initialize all subsystems\r\n CommandBase.init();\r\n // instantiate the command used for the autonomous period\r\n //Initializes triggers\r\n mecanumDriveTrigger = new MechanumDriveTrigger();\r\n tankDriveTrigger = new TankDriveTrigger();\r\n resetGyro = new ResetGyro();\r\n }",
"public void robotInit() {\r\n\t\t// Create and start the compressor. It will control pressure automagically\r\n\t\tCompressor comp = new Compressor(RobotMap.pneumaticPreasureSwitch, RobotMap.compresserRelay);\r\n\t\tcomp.start();\r\n\r\n\t\t// instantiate the command used for the autonomous period\r\n\t\tautonomousCommand = new Autonomous();\r\n\r\n\t\t// Initialize all subsystems\r\n\t\tCommandBase.init();\r\n\t}",
"public Camera(){\n // servoPan = new Servo(PAN);\n servoTilt = new Servo(TILT);\n }",
"@Override\r\n public void init() {\r\n BackRight = hardwareMap.dcMotor.get(\"BackRight\");\r\n BackLeft = hardwareMap.dcMotor.get(\"BackLeft\");\r\n FrontRight = hardwareMap.dcMotor.get(\"FrontRight\");\r\n FrontLeft = hardwareMap.dcMotor.get(\"FrontLeft\");\r\n FrontRight.setDirection(DcMotor.Direction.REVERSE);\r\n BackRight.setDirection(DcMotor.Direction.REVERSE);\r\n\r\n TreadLeft = hardwareMap.dcMotor.get(\"TreadLeft\");\r\n TreadRight = hardwareMap.dcMotor.get(\"TreadRight\");\r\n\r\n ArmMotor = hardwareMap.dcMotor.get(\"ArmMotor\");\r\n }",
"public void init (HardwareMap ahwMap) {\n\n hwMap = ahwMap;\n\n // Initialize the hardware variables.\n lDrive = hwMap.get(DcMotor.class, \"lDrive\");\n rDrive = hwMap.get(DcMotor.class, \"rDrive\");\n\n //Setting direction of motor's rotation\n lDrive.setDirection(DcMotor.Direction.REVERSE);\n rDrive.setDirection(DcMotor.Direction.FORWARD);\n\n //setting motors to use Encoders\n setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n setZeroMode(DcMotor.ZeroPowerBehavior.BRAKE);\n //setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER); // Temporary until encoders fixed\n\n //Setting motors with zero power when initializing\n setMotorPower(0.0, 0.0);\n }",
"public static DifferentialPilot initializePilot(String isReverse) {\n\t\tPilotProps pp = new PilotProps();\n\t\t//pp.loadPersistentValues();\n\t\tfloat wheelDiameter = Float.parseFloat(pp.getProperty(PilotProps.KEY_WHEELDIAMETER, \"4.0\"));\n\t\tfloat trackWidth = Float.parseFloat(pp.getProperty(PilotProps.KEY_TRACKWIDTH, \"18.0\"));\n\t\tRegulatedMotor leftMotor = PilotProps.getMotor(pp.getProperty(PilotProps.KEY_LEFTMOTOR, \"B\"));\n\t\tRegulatedMotor rightMotor = PilotProps.getMotor(pp.getProperty(PilotProps.KEY_RIGHTMOTOR, \"C\"));\n\t\tboolean reverse = Boolean.parseBoolean(pp.getProperty(PilotProps.KEY_REVERSE,isReverse));\n\t\tDifferentialPilot robot = new DifferentialPilot(wheelDiameter,trackWidth,leftMotor,rightMotor,reverse);\n\t\trobot.setAcceleration(40);\n\t\trobot.setTravelSpeed(10); // cm/sec\n\t\trobot.setRotateSpeed(50); // deg/sec\n\t\treturn robot;\n\t}",
"public interface IMotor\n{\n /**\n * Function that should be called periodically, typically from\n * the using swerve module's `periodic` function.\n */\n default void periodic()\n {\n // no-op\n }\n\n /**\n * Set the RPM goal, in revolutions per minute. The implementing class is\n * expected to cause the motor to maintain this RPM, through the use of PIDs\n * or similar mechanism.\n *\n * @param goalRPM\n * The requested RPM to be maintained\n */\n void setGoalRPM(double goalRPM);\n\n /**\n * Get the current encoder-ascertained velocity of the motor, in RPM\n */\n public double getVelocityRPM();\n}",
"@Override\n public void robotInit() {\n SmartDashboard.putBoolean(\"CLIMB\", false);\n SmartDashboard.putNumber(\"servo\", 0);\n // Instantiate our RobotContainer. This will perform all our button bindings, and put our\n // autonomous chooser on the dashboard.\n m_robotContainer = new RobotContainer();\n //coast.\n if (RobotMap.DRIVE_TRAIN_DRAGON_FLY_IS_AVAILABLE)\n getRobotContainer().getDriveTrain().setCANSparkMaxMotorsState(false, RobotMap.DRIVE_TRAIN_MIDDLE_WHEEL_PORT);\n\n getRobotContainer().configureButtonBindings();\n getRobotContainer().getTecbotSensors().initializeAllSensors();\n getRobotContainer().getTecbotSensors().getTecbotGyro().reset();\n\n Robot.getRobotContainer().getDriveTrain().setCANSparkMaxMotorsState(true, RobotMap.DRIVE_TRAIN_MIDDLE_WHEEL_PORT);\n Robot.getRobotContainer().getDriveTrain().setCANSparkMaxMotorsState(true, RobotMap.DRIVE_TRAIN_LEFT_CHASSIS_PORTS);\n Robot.getRobotContainer().getDriveTrain().setCANSparkMaxMotorsState(true, RobotMap.DRIVE_TRAIN_RIGHT_CHASSIS_PORTS);\n\n UsbCamera camera = CameraServer.getInstance().startAutomaticCapture();\n camera.setResolution(640, 480);\n\n m_chooser.addOption(\"Move 3 m\", new SpeedReductionStraight(3, .75, 0));\n m_chooser.addOption(\"Rotate 90 degrees\", new SpeedReductionTurn(90, .5));\n m_chooser.setDefaultOption(\"El chido\", new DR01D3K4());\n m_chooser.addOption(\"Collect, go back and shoot\", new CollectPowerCellsGoBackShoot());\n m_chooser.addOption(\"Transport\", new SequentialCommandGroup(new FrontIntakeSetRaw(.75),\n new TransportationSystemSetRaw(.5)));\n m_chooser.addOption(\"Shoot 3PCs n' Move\", new SHOOT_3_PCs_N_MOVE());\n SmartDashboard.putData(\"Auto Mode\", m_chooser);\n\n //camera.setExposureManual(79);\n\n\n }",
"public DriveSubsystem() {\n leftFrontMotor = new TalonSRX(RobotMap.leftFrontMotor);\n rightFrontMotor = new TalonSRX(RobotMap.rightFrontMotor);\n leftBackMotor = new TalonSRX(RobotMap.leftBackMotor);\n rightBackMotor = new TalonSRX(RobotMap.rightBackMotor);\n // rightMotor.setInverted(true); \n direction = 0.75;\n SmartDashboard.putString(\"Direction\", \"Shooter side\");\n }",
"@Override\n public void robotInit() {\n m_chooser.setDefaultOption(\"Default Auto\", kDefaultAuto);\n m_chooser.addOption(\"My Auto\", kCustomAuto);\n SmartDashboard.putData(\"Auto choices\", m_chooser);\n SmartDashboard.putData(leftMotor1);\n SmartDashboard.putData(leftMotor2);\n SmartDashboard.putData(rightMotor1);\n SmartDashboard.putData(rightMotor2);\n SmartDashboard.putData(firstMotor);\n SmartDashboard.putData(secondMotor);\n \n\n\n\n }",
"@Override\n public void robotInit() {\n m_driveTrain = new DriveTrain();\n m_oi = new OI(); \n encoder = new Encoder();\n JoystickDrive = new JoystickDrive();\n RoboticArm = new RoboticArm();\n Science = new Science();\n pid = new PID();\n inverse = new Inverse();\n\n // workingSerialCom = new serialComWorking();\n\n\n // while(true){\n // // ros_string = workingSerialCom.read();\n // // System.out.println(ros_string);\n // LeftFront = Robot.m_driveTrain.dr+iveTrainLeftFrontMotor.getSelectedSensorVelocity()*(10/4096);\n // RightFront = Robot.m_driveTrain.driveTrainRightFrontMotor.getSelectedSensorVelocity()*(10/4096);\n // LeftFront_ros = workingSerialCom.floattosString(LeftFront);\n // RigthFront_ros = workingSerialCom.floattosString(RightFront);\n\n // ros_string = workingSerialCom.read();\n // gulce = workingSerialCom.StringConverter(ros_string, 1);\n // System.out.println(gulce);\n // workingSerialCom.write(LeftFront_ros+RigthFront_ros+\"\\n\");\n // }\n // workingSerialCom.write(\"Yavuz\\n\");\n // // RoboticArm.run();\n // // m_driveTrain.run();\n // // workingSerialCom.StringConverter(ros_string, 3);\n }",
"public void robotInit() {\n\t\tmyRobot = new RobotDrive(0,1);\n\t\tteleop = new Teleop(myRobot);\n\t\tauto = new AutonomousDrive(myRobot);\n\t}",
"public void robotInit()\n\t{\n\t\toi = new OI();\n\t\t// instantiate the command used for the autonomous period\n\t\t// autonomousCommand = new Driver();\n\t}",
"public DriveTrain(){\r\n super(\"Drive Train\");\r\n Log = new MetaCommandLog(\"DriveTrain\", \"Gyro\" , \"Left Jaguars,Right Jaguars\");\r\n gyro1 = new Gyro(RobotMap.AnalogSideCar , RobotMap.DriveTrainGyroInput);\r\n lfJag = new Jaguar(RobotMap.frontLeftMotor);\r\n lfRearJag = new Jaguar(RobotMap.rearLeftMotor);\r\n rtJag = new Jaguar(RobotMap.frontRightMotor);\r\n rtRearJag = new Jaguar(RobotMap.rearRightMotor);\r\n drive = new RobotDrive(lfJag, lfRearJag, rtJag, rtRearJag);\r\n \r\n //lfFrontJag = new Jaguar (3);\r\n //rtFrontJag = new Jaguar (4);\r\n \r\n //joystick2 = new Joystick(2);\r\n //sensor1 = new DigitalInput(1);\r\n //sensor2 = new DigitalInput (2);\r\n\r\n }",
"private Vehicle createNewVehicle() {\n\t\tString make = generateMake();\n\t\tString model = generateModel();\n\t\tdouble weight = generateWeight(model);\n\t\tdouble engineSize = generateEngineSize(model);\n\t\tint numberOfDoors = generateNumberOfDoors(model);\n\t\tboolean isImport = generateIsImport(make);\n\t\t\n\t\tVehicle vehicle = new Vehicle(make, model, weight, engineSize, numberOfDoors, isImport);\n\t\treturn vehicle;\t\t\n\t}",
"public static RightMotor getInstance() {\n\t\tif (rightMotor == null) rightMotor = new RightMotor();\n\t\treturn rightMotor;\n\t}",
"@Override\n public void robotInit() {\n m_chooser.setDefaultOption(\"Default Auto\", kDefaultAuto);\n m_chooser.addOption(\"My Auto\", kCustomAuto);\n SmartDashboard.putData(\"Auto choices\", m_chooser);\n leftFrontMotor = new CANSparkMax(10, MotorType.kBrushless);\n leftBackMotor = new CANSparkMax(11, MotorType.kBrushless);\n rightFrontMotor = new CANSparkMax(12, MotorType.kBrushless);\n rightBackMotor = new CANSparkMax(13, MotorType.kBrushless);\n leftFrontMotor.setIdleMode(IdleMode.kCoast);\n leftBackMotor.setIdleMode(IdleMode.kCoast);\n rightFrontMotor.setIdleMode(IdleMode.kCoast);\n rightBackMotor.setIdleMode(IdleMode.kCoast);\n gyro = new ADXRS450_Gyro();\n gyro.calibrate();\n stick = new Joystick(1);\n controller = new XboxController(0);\n origGyro = 0;\n }",
"Lift(final Robot ROBOT)\n {\n _robot = ROBOT;\n }",
"public RobotContainer() {\n \n camServer = CameraServer.getInstance();\n driveCam = camServer.startAutomaticCapture(\"Driver View\", 0);\n driveCam.setResolution(160, 120);\n driveCam.setFPS(15);\n driveCam.setBrightness(50);\n // cameraThreader.start();\n\n leftJoy = new Joystick(LEFT_JOY_PORT);\n rightJoy = new Joystick(RIGHT_JOY_PORT);\n xbox = new XboxController(XBOX_PORT);\n\n //Set default drivetrain command to DriveWithJoysticks or xbox\n drivetrain.setDefaultCommand(xboxCommand);\n \n //For testing purposes, this will control simple one- or two-motor subsystems.\n genericSubsystem.setDefaultCommand(genericJoysticksCommand);\n \n //shooter.setDefaultCommand(shootCommand);\n //shooter.setDefaultCommand(turretCommand);\n\n\n // Configure the button bindings\n configureButtonBindings();\n }",
"@Override\n public void robotInit()\n {\n System.out.println(\"RoboRIO initializing...\");\n\n // initialize cameras\n camFront = CameraServer.getInstance().startAutomaticCapture(0);\n camBack = CameraServer.getInstance().startAutomaticCapture(1);\n camServForward = CameraServer.getInstance().getServer();\n camServReverse = CameraServer.getInstance().getServer();\n\n camServForward.setSource(camFront);\n //camServReverse.setSource(camBack);\n\n // init joysticks\n Joystick[] joysticks = getControllers();\n\n driveTrain = new DriveTrain();\n hatchArm = new HatchArm();\n cargoArm = new CargoArm();\n ramp = new Ramp();\n\n driver1 = new Buttons(joysticks[0]);\n driver2 = new Buttons(joysticks[1]);\n\n // init gyro\n // try\n // {\n // gyro = new AHRS(I2C.Port.kOnboard);\n // }\n // catch (RuntimeException ex)\n // {\n // // DriverStation.reportError(\"Error instantiating navX-MXP: \" + ex.getMessage(),\n // // true);\n // System.out.println(\"Error initializing gyro!\");\n // }\n\n // // update gyro info on smart dashboard\n // SmartDashboard.putNumber(\"X angle\", gyro.getYaw() + 180);\n // SmartDashboard.putNumber(\"Y angle\", gyro.getPitch() + 180);\n // SmartDashboard.putNumber(\"Z angle\", gyro.getRoll() + 180);\n \n // SmartDashboard.putNumber(\"X vel\", gyro.getVelocityX());\n // SmartDashboard.putNumber(\"Y vel\", gyro.getVelocityY());\n // SmartDashboard.putNumber(\"Z vel\", gyro.getVelocityZ());\n\n // SmartDashboard.putData(gyro);\n updateVars();\n updateShuffleboard();\n\n System.out.println(\"RoboRIO initialization complete.\");\n }",
"public RobotContainer() {\n\nleftJoystick = new Joystick(0);\nrightJoystick = new Joystick(1);\n\ndriveBase = new DriveBase();\ndriveWithJoystick = new DriveWithJoystick();\nCommandScheduler.getInstance().setDefaultCommand(driveBase, driveWithJoystick);\n\n\n // Configure the button bindings\n configureButtonBindings();\n }",
"@Override\n public void init() {\n imu = new IMU(hardwareMap, \"imu\");\n left = hardwareMap.get(DcMotor.class, \"left\");\n right = hardwareMap.get(DcMotor.class, \"right\");\n\n left.setDirection(DcMotorSimple.Direction.FORWARD);\n right.setDirection(DcMotorSimple.Direction.REVERSE);\n }",
"@Override\n\tpublic void autonomousPeriodic() {\n\t\t//For some reason, right is inverted in auto instead of left\n\t\tString start = autonomousCommand; //from smartDashboard\n\t\t//String start = \"R\";//R for right, FR for far right, L for far left\n\t\t//Starting Far Right\n\t\tif (start == \"FR\") {\n\t\t\tif(autoStep==0) {\n\t\t\t\tif (timer.get() < 3) {\n\t\t\t\t\tmotorRB.set(-0.5);\n\t\t\t\t\tmotorRF.set(-0.5);\n\t\t\t\t\tmotorLB.set(0.5);\n\t\t\t\t\tmotorLF.set(0.5);\n\t\t\t\t\t//Go forward for 5 seconds\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmotorRB.set(0);\n\t\t\t\t\tmotorRF.set(0);\n\t\t\t\t\tmotorLB.set(0);\n\t\t\t\t\tmotorLF.set(0);\n\t\t\t\t\t//stop going\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse if (start == \"R\") {\n\t\t\t//Starting on the right, aligned with the switch\n\t\t\tif(autoStep==0) {\n\t\t\t\tif (timer.get() < 2) {\n\t\t\t\t\tmotorRB.set(-0.5);\n\t\t\t\t\tmotorRF.set(-0.5);\n\t\t\t\t\tmotorLB.set(0.5);\n\t\t\t\t\tmotorLF.set(0.5);\n\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmotorRB.set(0);\n\t\t\t\t\tmotorRF.set(0);\n\t\t\t\t\tmotorLB.set(0);\n\t\t\t\t\tmotorLF.set(0);\n\t\t\t\t}\n\t\t\t\tif(gameData.charAt(0) == 'R') {\n\t\t\t\t\tif(timer.get()< 4) {\n\t\t\t\t\t\tmotorLift.set(.25);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmotorLift.set(0);\n\t\t\t\t\t}\n\t\t\t\t\tif (timer.get() < 15 && timer.get() > 7) {\n\t\t\t\t\t\t\tmotorGL.set(1);\n\t\t\t\t\t\t\tmotorGR.set(-1);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmotorGL.set(0);\n\t\t\t\t\t\tmotorGR.set(0);\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tautoStep++;\n\t\t\t}\n\t\t}\n\t\telse if (start == \"L\") {\n\t\t//This is for starting on the far left\n\t\t\tif(autoStep == 0) {\n\t\t\t\tif (timer.get() < 2.5) {\n\t\t\t\t\tmotorRB.set(-0.5);\n\t\t\t\t\tmotorRF.set(-0.5);\n\t\t\t\t\tmotorLB.set(0.5);\n\t\t\t\t\tmotorLF.set(0.5);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmotorRB.set(0);\n\t\t\t\t\tmotorRF.set(0);\n\t\t\t\t\tmotorLB.set(0);\n\t\t\t\t\tmotorLF.set(0);\n\t\t\t\t}\n\t\t\t\tif(gameData.charAt(0) == 'L') {/**Change this to R if we start on the right side, comment out if we're on the far right or left side**/\n\t\t\t\t\trotateTo(270);\n\t\t\t\t\tif (timer.get()>3 && timer.get()<4) {\n\t\t\t\t\t\tmotorRB.set(-0.5);\n\t\t\t\t\t\tmotorRF.set(-0.5);\n\t\t\t\t\t\tmotorLB.set(0.5);\n\t\t\t\t\t\tmotorLF.set(0.5);\n\t\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmotorRB.set(0);\n\t\t\t\t\t\tmotorRF.set(0);\n\t\t\t\t\t\tmotorLB.set(0);\n\t\t\t\t\t\tmotorLF.set(0);\n\t\t\t\t\t}\n\t\t\t\t\tif(timer.get()< 4) {\n\t\t\t\t\t\tmotorLift.set(.25);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmotorLift.set(0);\n\t\t\t\t\t}\n\t\t\t\t\tif (timer.get() < 7 && timer.get() > 4) {\n\t\t\t\t\t\tmotorGL.set(1);\n\t\t\t\t\t\tmotorGR.set(-1);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmotorGL.set(0);\n\t\t\t\t\t\tmotorGR.set(0);\n\t\t\t\t\t}\n\t\t\t\t\tautoStep++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\t//Default Code\n\t\t\tif (true) {\n\t\t\t\tif(autoStep==0) {\n\t\t\t\t\tif (timer.get() < 3) {\n\t\t\t\t\t\tmotorRB.set(-0.5);\n\t\t\t\t\t\tmotorRF.set(-0.5);\n\t\t\t\t\t\tmotorLB.set(0.5);\n\t\t\t\t\t\tmotorLF.set(0.5);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tmotorRB.set(0);\n\t\t\t\t\t\tmotorRF.set(0);\n\t\t\t\t\t\tmotorLB.set(0);\n\t\t\t\t\t\tmotorLF.set(0);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"CameraServoMount(){\r\n\t\tpan_servo = new Servo(PAN_SERVO_PORT);\r\n\t\ttilt_servo = new Servo(TILT_SERVO_PORT);\r\n\t\tsetCameraPos(startupPos);\r\n\t\t\r\n\t}",
"public void init(HardwareMap ahwMap) {\n // Save reference to Hardware map\n hwMap = ahwMap;\n\n // Define and Initialize Motors\n leftDriveBack = hwMap.get(DcMotor.class, \"left_drive_back\");\n rightDriveBack = hwMap.get(DcMotor.class, \"right_drive_back\");\n leftDriveFront = hwMap.get(DcMotor.class, \"left_drive_front\");\n rightDriveFront = hwMap.get(DcMotor.class, \"right_drive_front\");\n leftDriveBack.setDirection(DcMotor.Direction.REVERSE);\n rightDriveBack.setDirection(DcMotor.Direction.FORWARD);\n leftDriveFront.setDirection(DcMotor.Direction.REVERSE);\n rightDriveFront.setDirection(DcMotor.Direction.FORWARD);\n\n resetEncoders();\n\n initMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n // Set all motors to zero power\n leftDriveBack.setPower(0);\n rightDriveBack.setPower(0);\n leftDriveFront.setPower(0);\n rightDriveFront.setPower(0);\n\n\n //arm\n arm = hwMap.get(DcMotor.class, \"arm\");\n //wrist = hwMap.get(Servo.class, \"wrist\");\n\n //wrist.setDirection(Servo.Direction.REVERSE);\n //wrist.scaleRange(0, 1);\n //wrist.setPosition(WRIST_DEFAULT_VALUE);\n\n arm.setDirection(DcMotor.Direction.REVERSE);\n arm.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n arm.setPower(0);\n\n //claws\n leftClaw = hwMap.get(Servo.class, \"left_claw\");\n rightClaw = hwMap.get(Servo.class, \"right_claw\");\n this.leftClaw.scaleRange(0, 1);\n this.rightClaw.scaleRange(0, 1);\n\n this.leftClaw.setPosition(LEFT_CLAW_START);\n this.rightClaw.setPosition(RIGHT_CLAW_START);\n\n //jewelkicker\n jewelKicker = hwMap.get(Servo.class, \"kicker\");\n this.jewelKicker.scaleRange(0, 1);\n this.jewelKicker.setPosition(KICKER_UP_VALUE);\n\n }",
"public void init(HardwareMap ahwMap) {\n // Save reference to Hardware map\n hwMap = ahwMap;\n\n // Define and Initialize Motors\n leftDrive = hwMap.get(DcMotor.class, \"left_drive\");\n rightDrive = hwMap.get(DcMotor.class, \"right_drive\");\n liftDrive = hwMap.get(DcMotor.class, \"lift_drive\");\n\n markerServo = hwMap.get(Servo.class, \"marker_servo\");\n hookServo = hwMap.get(Servo.class, \"hook_servo\"); //Hook server motor\n// distanceSensor = hardwareMap.get(DistanceSensor.class, \"sensor_color_distance\");\n touchSensor = hardwareMap.get(TouchSensor.class, \"touch_sensor\");\n\n leftDrive.setDirection(DcMotor.Direction.REVERSE); // Set to REVERSE if using AndyMark motors\n rightDrive.setDirection(DcMotor.Direction.FORWARD);// Set to FORWARD if using AndyMark motors\n liftDrive.setDirection(DcMotor.Direction.FORWARD);\n\n // Set all motors to zero power\n leftDrive.setPower(0);\n rightDrive.setPower(0);\n liftDrive.setPower(0);\n\n\n\n }",
"public void setMotorNo(String motorNo) {\n\t\tthis.motorNo = motorNo;\n\t}",
"@Override\n public void robotInit() {\n m_oi = new OI();\n m_chooser.setDefaultOption(\"Default Auto\", new ExampleCommand());\n // chooser.addOption(\"My Auto\", new MyAutoCommand());\n SmartDashboard.putData(\"Auto mode\", m_chooser);\n\n Comp = new Compressor();\n\n //ClimbBack = new DoubleSolenoid(PCM_COMP_24V, 0, 1);\n //ClimbFront = new DoubleSolenoid(PCM_COMP_24V, 2, 3);\n LegFrontL = new VictorSPX(30);\n LegFrontR = new Spark(9);\n LegBackL = new VictorSPX(31);\n LegBackR = new VictorSPX(32);\n\n BackFootMover = new VictorSP(1);\n FrontFootMover = new Spark(2);\n //FeetMovers = new SpeedControllerGroup(BackFootMoverFootMover);\n\n MainRight = new CANSparkMax(9, MotorType.kBrushless);\n AltRight = new CANSparkMax(10, MotorType.kBrushless);\n MainLeft = new CANSparkMax(11, MotorType.kBrushless);\n AltLeft = new CANSparkMax(12, MotorType.kBrushless);\n\n MainRight.setIdleMode(IdleMode.kCoast);\n AltRight.setIdleMode(IdleMode.kCoast);\n MainLeft.setIdleMode(IdleMode.kCoast);\n AltLeft.setIdleMode(IdleMode.kCoast);\n\n AltLeft.follow(MainLeft);\n AltRight.follow(MainRight);\n\n Drive = new DifferentialDrive(MainLeft, MainRight);\n\n Lifter = new TalonSRX(6);\n Lifter.setNeutralMode(NeutralMode.Brake);\n Lifter.enableCurrentLimit(false);\n /*Lifter.configContinuousCurrentLimit(40);\n Lifter.configPeakCurrentLimit(50);\n Lifter.configPeakCurrentDuration(1500);*/\n //Lifter.configReverseSoftLimitEnable(true);\n //Lifter.configReverseSoftLimitThreshold(-27000);\n //Lifter.configForwardLimitSwitchSource(LimitSwitchSource.FeedbackConnector, LimitSwitchNormal.NormallyOpen);\n //Lifter.configClearPositionOnLimitF(true, 0);\n Lifter.selectProfileSlot(0, 0);\n LiftSetpoint = 0;\n\n LiftFollower = new TalonSRX(5);\n LiftFollower.follow(Lifter);\n LiftFollower.setNeutralMode(NeutralMode.Brake);\n\n ArmExtender = new Solenoid(0);\n ArmOpener = new Solenoid(1);\n ArmGrippers = new Spark(0);\n\n HatchSwitch0 = new DigitalInput(0);\n HatchSwitch1 = new DigitalInput(1);\n\n Accel = new BuiltInAccelerometer(Range.k2G);\n\n //Diagnostics = new DiagnosticsLogger();\n // Uncomment this line to enable diagnostics. Warning: this may\n // cause the robot to be slower than it is supposed to be because of lag.\n //Diagnostics.start();\n\n xbox = new XboxController(0);\n joystick = new Joystick(1);\n \n LiftRamp = new SRamp();\n SpeedRamp = new SRamp();\n\n NetworkTableInstance nt = NetworkTableInstance.getDefault();\n\n VisionTable = nt.getTable(\"ChickenVision\");\n TapeDetectedEntry = VisionTable.getEntry(\"tapeDetected\");\n TapePitchEntry = VisionTable.getEntry(\"tapePitch\");\n TapeYawEntry = VisionTable.getEntry(\"tapeYaw\");\n\n LedTable = nt.getTable(\"LedInfo\");\n LedScript = LedTable.getEntry(\"CurrentScript\");\n LedScriptArgument = LedTable.getEntry(\"ScriptArgument\");\n LedArmsClosed = LedTable.getEntry(\"ArmsClosed\");\n\n UsbCamera cam = CameraServer.getInstance().startAutomaticCapture();\n cam.setPixelFormat(PixelFormat.kMJPEG);\n cam.setResolution(320, 240);\n cam.setFPS(15);\n \n\n LedScript.setString(\"ColorWaves\");\n LedScriptArgument.setString(\"\");\n\n limits = new DigitalInput[8];\n\n for (int i = 0; i < limits.length; i++) {\n limits[i] = new DigitalInput(i + 2);\n }\n }",
"public void robotInit() {\n // North.registerCommand(\"setSetpoint\", (params) -> ??, [\"Setpoint\"]);\n // North.registerCondition(\"atSetpoint\", elevator::atSetpoint);\n\n //NOTE: init(name, size, logic provider, drive & nav)\n North.init(/*NorthUtils.readText(\"name.txt\")*/ \"lawn chair\", 24/12, 24/12, drive);\n North.default_drive_controller = HoldController.I;\n\n UsbCamera camera = CameraServer.getInstance().startAutomaticCapture();\n camera.setResolution(640, 480);\n }",
"public ShooterPIDSubsystem(int motorIDRight, int motorIDLeft) {\n super(new PIDController(ShooterConstants.kP, ShooterConstants.kI, ShooterConstants.kD));\n m_motorRight = new CANSparkMax(motorIDRight, MotorType.kBrushless);\n m_motorLeft = new CANSparkMax(motorIDLeft, MotorType.kBrushless);\n m_hoodMotor = new CANSparkMax(HoodedShooterConstants.kHoodPort, MotorType.kBrushless);\n m_encoderRight = new CANEncoder(m_motorRight);\n m_encoderLeft = new CANEncoder(m_motorLeft);\n m_hoodEncoder = new CANEncoder(m_hoodMotor);\n\n // Spark 1 - Inverted - Not \n // Spark 3 - Inverted - Yes\n m_motorLeft.follow(m_motorRight);\n m_motorRight.setInverted(true);\n m_motorLeft.setInverted(false);\n\n getController().setTolerance(ShooterConstants.kShooterToleranceRPS);\n setSetpoint(ShooterConstants.kShooterTargetRPS);\n }",
"public void init(HardwareMap ahwMap) {\n // Save reference to Hardware map\n hwMap = ahwMap;\n\n // Define and Initialize Motors\n try {\n leftMotor1 = hwMap.dcMotor.get(\"right_motor1\");\n leftMotor2 = hwMap.dcMotor.get(\"right_motor2\");\n rightMotor1 = hwMap.dcMotor.get(\"left_motor1\");\n rightMotor2 = hwMap.dcMotor.get(\"left_motor2\");\n //servo_one = hwMap.servo.get(\"servant\");\n leftMotor1.setDirection(DcMotor.Direction.REVERSE); // Set to REVERSE if using AndyMark motors\n leftMotor2.setDirection(DcMotor.Direction.REVERSE); // Set to REVERSE if using AndyMark motors\n rightMotor1.setDirection(DcMotor.Direction.FORWARD);// Set to FORWARD if using AndyMark motors\n rightMotor2.setDirection(DcMotor.Direction.FORWARD);// Set to FORWARD if using AndyMark motors\n\n // Set all motors to zero power\n leftMotor1.setPower(0);\n rightMotor1.setPower(0);\n leftMotor2.setPower(0);\n rightMotor2.setPower(0);\n\n // Set all motors to run without encoders.\n // May want to use RUN_USING_ENCODERS if encoders are installed.\n leftMotor1.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n rightMotor1.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n leftMotor2.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n rightMotor2.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n // Enable NavX Sensor\n\n navx_device = AHRS.getInstance(hwMap.deviceInterfaceModule.get(\"DIM1\"),\n NAVX_DIM_I2C_PORT,\n AHRS.DeviceDataType.kProcessedData,\n NAVX_DEVICE_UPDATE_RATE_HZ);\n } catch (Exception e) {\n\n RobotLog.ee(MESSAGETAG,e.getMessage());\n\n }\n }",
"public void init(HardwareMap ahwMap) {\n // Save reference to Hardware map\n hwMap = ahwMap;\n\n // Define and Initialize Motors\n frontLeft = hwMap.get(DcMotor.class, \"front_left\");\n frontRight = hwMap.get(DcMotor.class, \"front_right\");\n backLeft = hwMap.get(DcMotor.class, \"back_left\");\n backRight = hwMap.get(DcMotor.class, \"back_right\");\n flipper = hwMap.get(DcMotor.class, \"flipper\");\n intake = hwMap.get(CRServo.class, \"intake\");\n reelIn = hwMap.get(DcMotor.class, \"reelIn\");\n reelOut = hwMap.get(DcMotor.class, \"reelOut\");\n bucket = hwMap.get(Servo.class, \"bucket\");\n frontLeft.setDirection(DcMotor.Direction.FORWARD);\n frontRight.setDirection(DcMotor.Direction.REVERSE);\n backLeft.setDirection(DcMotor.Direction.REVERSE);\n backRight.setDirection(DcMotor.Direction.FORWARD);\n \n // Set all motors to zero power\n frontLeft.setPower(0);\n frontRight.setPower(0);\n backLeft.setPower(0);\n backRight.setPower(0);\n reelIn.setPower(0);\n reelOut.setPower(0);\n // Set all motors to run without encoders.\n // May want to use RUN_USING_ENCODERS if encoders are installed.\n frontLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n frontRight.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n backLeft.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n backRight.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n flipper.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n}",
"public HangerSubsystem() {\n // WRITE CODE BETWEEN THESE LINES -------------------------------------------------------- //\n // TODO: configure and initialize motor (if necessary)\n\n // TODO: configure and initialize sensor (if necessary)\n\n // ^^-----------------------------------------------------------------------------------^^ //\n }",
"public RobotControl(Robot r) {\n\t\tthis.r = r;\n\t}",
"public DampenedMotor(int channel) {\n\t\tsuper(channel);\n\t\tcurrentSpeed = 0;\n\t\ttargetSpeed = 0;\n\t}",
"@Override\n public void init() {\n telemetry.addData(\"Status\", \"Initialized Interative TeleOp Mode\");\n telemetry.update();\n\n // Initialize the hardware variables. Note that the strings used here as parameters\n // to 'get' must correspond to the names assigned during the robot configuration\n // step (using the FTC Robot Controller app on the phone).\n leftDrive = hardwareMap.dcMotor.get(\"leftDrive\");\n rightDrive = hardwareMap.dcMotor.get(\"rightDrive\");\n armMotor = hardwareMap.dcMotor.get(\"armMotor\");\n\n leftGrab = hardwareMap.servo.get(\"leftGrab\");\n rightGrab = hardwareMap.servo.get(\"rightGrab\");\n colorArm = hardwareMap.servo.get(\"colorArm\");\n leftTop = hardwareMap.servo.get(\"leftTop\");\n rightTop = hardwareMap.servo.get(\"rightTop\");\n\n /*\n left and right drive = motion of robot\n armMotor = motion of arm (lifting the grippers)\n extendingArm = motion of slider (used for dropping the fake person)\n left and right grab = grippers to get the blocks\n */\n\n }",
"public Vehicle() {\r\n\t\tthis.numOfDoors = 4;\r\n\t\tthis.price = 1;\r\n\t\tthis.yearMake = 2019;\r\n\t\tthis.make = \"Toyota\";\r\n\t}",
"public void init() {\n robot.init(hardwareMap);\n robot.liftUpDown.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n robot.liftRotate.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n robot.liftRotate.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n robot.liftUpDown.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n robot.blinkinLedDriver.setPattern(RevBlinkinLedDriver.BlinkinPattern.GREEN);\n\n }",
"private void robotMovement()\n {\n\n /* If it will be rotating, don't drive */\n if (!joystick.rightShouldMove()) {\n\n if (joystick.leftShouldMove()) {\n\n /* Derive movement values from gamepad */\n Joystick.Direction direction = joystick.getLeftDirection();\n double power = joystick.getLeftPower();\n\n int[] modifier;\n\n if (direction == Joystick.Direction.UP) {\n modifier = modUP;\n } else if (direction == Joystick.Direction.DOWN) {\n modifier = modDOWN;\n } else if (direction == Joystick.Direction.RIGHT) {\n modifier = modRIGHT;\n } else {\n modifier = modLEFT;\n }\n\n motorLeftFront.setPower(modifier[0] * ((power * 0.8) + (0.01 * frontInc)));\n motorRightFront.setPower(modifier[1] * ((power * 0.8) + (0.01 * frontInc)));\n motorLeftBack.setPower(modifier[2] * ((power * 0.8) + (0.01 * backInc)));\n motorRightBack.setPower(modifier[3] * ((power * 0.8) + (0.01 * backInc)));\n\n } else {\n setMotorPowerToZero();\n }\n\n } else {\n\n /* Rotation modifiers for sides of bot */\n Joystick.Direction d = joystick.getRightDirection();\n double power = joystick.getRightPower();\n boolean left = d == Joystick.Direction.LEFT;\n double sideMod = left ? 1 : -1;\n\n /* Set motor power */\n motorLeftFront.setPower(sideMod * power);\n motorLeftBack.setPower(sideMod * power);\n motorRightFront.setPower(sideMod * power);\n motorRightBack.setPower(sideMod * power);\n\n }\n\n }",
"protected void initialize() {\n\t\tRobot.chassis.setVelocityPIDSlot();\n\n\t\t// Set Talon to MP mode\n\t\tSystem.out.println(\"DriveByMotion: Change Talon to MP Mode\");\n\n\t\t// Disable MP\n\t\tstate = SetValueMotionProfile.Disable;\n\t\tleftTalon.set(ControlMode.MotionProfile, state.value);\n\t\trightTalon.set(ControlMode.MotionProfile, state.value);\n\t\tSystem.out.println(\"DriveByMotion: Disable MP Mode\");\n\n\t\t// Push Trajectory\n\t\tpushTrajectory(leftTalon, leftPoints);\n\t\tpushTrajectory(rightTalon, rightPoints);\n\t\tSystem.out.println(\"DriveByMotion: Push Trajectory\");\n\n\t\t// Start Periodic Notifier\n\t\tleftTalon.changeMotionControlFramePeriod(5);\n\t\trightTalon.changeMotionControlFramePeriod(5);\n\t\tnotifier.startPeriodic(0.005);\n\t\tSystem.out.println(\"DriveByMotion: Start Periodic\");\n\n\t}",
"@Override\n public void robotInit() {\n m_chooser.setDefaultOption(\"Default Auto\", kDefaultAuto);\n m_chooser.addOption(\"My Auto\", kCustomAuto);\n SmartDashboard.putData(\"Auto choices\", m_chooser);\n \n //Initialize Drive Train Motors/\n LeftFront = new WPI_TalonSRX(11);\n RightFront = new WPI_TalonSRX(13);\n LeftBack = new WPI_TalonSRX(10);\n RightBack = new WPI_TalonSRX(12);\n RobotDT = new MecanumDrive(LeftFront, LeftBack, RightFront, RightBack);\n \n //Initialize Xbox Controller or Joystick/\n xcontroller1 = new XboxController(0);\n xcontroller2 = new XboxController(1);\n \n //Initialize Cameras/\n RoboCam = CameraServer.getInstance();\n FrontCamera = RoboCam.startAutomaticCapture(0);\n BackCamera = RoboCam.startAutomaticCapture(1);\n\n //GPM Init/\n mGPM = new GPM();\n \n }",
"public void init(HardwareMap ahwMap) {\n // Save reference to Hardware map\n hwMap = ahwMap;\n\n // Define and Initialize Motors\n// leftRearMotor = hwMap.dcMotor.get(\"left_rear_drive\");\n// rightRearMotor = hwMap.dcMotor.get(\"right_rear_drive\");\n leftFrontMotor = hwMap.dcMotor.get(\"left_front_drive\");\n rightFrontMotor = hwMap.dcMotor.get(\"right_front_drive\");\n// liftMotor = hwMap.dcMotor.get(\"lift_motor\");\n brushMotor = hwMap.dcMotor.get(\"brush_motor\");\n leftSpinMotor = hwMap.dcMotor.get(\"left_spin_motor\");\n rightSpinMotor = hwMap.dcMotor.get(\"right_spin_motor\");\n tiltMotor = hwMap.dcMotor.get(\"tilt_motor\");\n\n// rangeSensor = hwMap.get(ModernRoboticsI2cRangeSensor.class, \"range sensor\");\n\n //define and initialize servos\n// loadServo = hwMap.servo.get(\"load_servo\");\n// loadServo.setPosition(BEGIN_SERVO);\n pushServo = hwMap.servo.get(\"push_servo\");\n pushServo.setPosition(MID_SERVO);\n leftLiftServo = hwMap.servo.get(\"left_lift_servo\");\n leftLiftServo.setPosition(MID_SERVO);\n rightLiftServo = hwMap.servo.get(\"right_lift_servo\");\n rightLiftServo.setPosition(MID_SERVO);\n\n //define and initialize buttons\n// bottomTouchButton = hwMap.touchSensor.get(\"bottom_touch_button\");\n// topTouchButton = hwMap.touchSensor.get(\"top_touch_button\");\n\n leftSpinMotor.setDirection(DcMotor.Direction.REVERSE);\n leftFrontMotor.setDirection(DcMotor.Direction.REVERSE); // Set to REVERSE if using AndyMark motors\n rightFrontMotor.setDirection(DcMotor.Direction.FORWARD); // Set to FORWARD if using AndyMark motors\n\n // Set all motors to zero power\n// leftRearMotor.setPower(0);\n// rightRearMotor.setPower(0);\n leftFrontMotor.setPower(0);\n rightFrontMotor.setPower(0);\n// liftMotor.setPower(0);\n brushMotor.setPower(0);\n leftSpinMotor.setPower(0);\n rightSpinMotor.setPower(0);\n tiltMotor.setPower(0);\n\n // Set all motors to run without encoders.\n // May want to use RUN_USING_ENCODERS if encoders are installed.\n// leftRearMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n// rightRearMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n leftFrontMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n rightFrontMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n// liftMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n brushMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n leftSpinMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n// rightSpinMotor.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\n tiltMotor.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n }",
"private void initializeElevatorMotor()\n {\n Rectangle base = new Rectangle(shaftWidth*.3, location, shaftWidth*.4, floorHeight*.8);\n Rectangle latch = new Rectangle(shaftWidth*.45, location-5, shaftWidth*.1, floorHeight*.2);\n\n elevator = Shape.union(base, latch);\n elevator.setFill(Color.valueOf(\"#C0C0C0\"));\n\n elevatorTranslate = 0;\n elevatorOffset = 0;\n elevatorSpeed = 20;\n\n motorTimeline = new Timeline(new KeyFrame(Duration.millis(elevatorSpeed), e -> {\n if(location+elevatorOffset <= shaftHeight-60 && location+elevatorOffset >= 10) {\n if(location <= destination && location >= destination-10)\n {\n// System.out.println(location + \" OF \" + (destination) + \" / \" + (destination-10) + \" \" + (10 - destination/floorHeight));\n// System.out.println(\"EARLY STOP\");\n motorTimeline.pause();\n }\n\n elevatorTranslate += elevatorOffset;\n location += elevatorOffset;\n\n elevator.setTranslateY(elevatorTranslate);\n frame.setTranslateY(elevatorTranslate);\n leftDoor.setTranslateY(elevatorTranslate);\n rightDoor.setTranslateY(elevatorTranslate);\n }\n else motorTimeline.pause();\n }));\n motorTimeline.setCycleCount(Animation.INDEFINITE);\n }",
"public static void init() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n drivetrainSpeedController1 = new CANTalon(1);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 1\", (CANTalon) drivetrainSpeedController1);\n \n drivetrainSpeedController2 = new CANTalon(2);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController2);\n drivetrainSpeedController3 = new CANTalon(3);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController3);\n drivetrainSpeedController4 = new CANTalon(4);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController4);\n drivetrainSpeedController5 = new CANTalon(5);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController5);\n drivetrainSpeedController6 = new CANTalon(6);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController6);\n \n drivetrainRobotDrive21 = new RobotDrive(drivetrainSpeedController1, drivetrainSpeedController2, drivetrainSpeedController3, drivetrainSpeedController4, drivetrainSpeedController5, drivetrainSpeedController6);\n \n drivetrainRobotDrive21.setSafetyEnabled(true);\n drivetrainRobotDrive21.setExpiration(0.1);\n drivetrainRobotDrive21.setSensitivity(0.5);\n drivetrainRobotDrive21.setMaxOutput(1.0);\n\n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }"
]
| [
"0.69208235",
"0.6701576",
"0.64822453",
"0.6413038",
"0.6409772",
"0.63845676",
"0.63610214",
"0.62699",
"0.6233494",
"0.622201",
"0.6185278",
"0.61426497",
"0.610005",
"0.6083876",
"0.60355604",
"0.5999038",
"0.5993339",
"0.59791374",
"0.59208405",
"0.5908801",
"0.5906024",
"0.5880548",
"0.58561593",
"0.5855884",
"0.5852482",
"0.58332014",
"0.58304507",
"0.5829417",
"0.58123124",
"0.57840204",
"0.5776201",
"0.5773004",
"0.5767383",
"0.5756414",
"0.57372385",
"0.5732143",
"0.57262516",
"0.5705678",
"0.57024187",
"0.5656537",
"0.5654097",
"0.56513053",
"0.563556",
"0.5633787",
"0.56329054",
"0.56159383",
"0.56118685",
"0.56077915",
"0.5582679",
"0.5577075",
"0.5573055",
"0.5569452",
"0.5550495",
"0.5546188",
"0.5538641",
"0.5521861",
"0.5520529",
"0.55202967",
"0.55105114",
"0.5499445",
"0.54923564",
"0.5487771",
"0.54872525",
"0.54854864",
"0.5478572",
"0.5475465",
"0.547497",
"0.5474109",
"0.54707414",
"0.5469604",
"0.5467486",
"0.54630256",
"0.5460854",
"0.5460835",
"0.54521596",
"0.54485565",
"0.5447569",
"0.54475516",
"0.5446829",
"0.54362106",
"0.5434079",
"0.54267776",
"0.5424643",
"0.54190063",
"0.54128236",
"0.54086864",
"0.54033124",
"0.53971505",
"0.5396636",
"0.539548",
"0.5382852",
"0.5380511",
"0.53774786",
"0.5375224",
"0.5363323",
"0.53624433",
"0.53585935",
"0.5350544",
"0.53500307",
"0.5345949"
]
| 0.642773 | 3 |
Once all the parameters are set, create the joint. | public void createJoint(World world) {
if (joint != null) {
return;
}
joint = (RevoluteJoint) world.createJoint(this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract BallJoint newBallJointImpl( Body body1, Body body2 );",
"@Test\r\n\tpublic void createSuccess() {\r\n\t\tnew WeldJoint<Body>(b1, b2, new Vector2());\r\n\t}",
"protected abstract void addJointImpl( Joint joint );",
"protected abstract FixedJoint newFixedJointImpl( Body body1, Body body2 );",
"@Override\n public void create(World world, float x, float y) {\n \n super.create(world, x, y);\n this.body.setGravityScale(0f);\n /* WheelJointDef wjd1 = new WheelJointDef();\n\n this.body.getFixtureList().setDensity(1);\n wjd1.initialize(this.w1.getBody(),this.getBody(), new Vec2(0,1), new Vec2(0, 1f));\n wjd1.enableMotor = true;\n wjd1.frequencyHz =1;\n wjd1.maxMotorTorque = 4;\n wjd1.motorSpeed = -5;\n wjd1.dampingRatio = 0.8f;\n \n this.w1.getBody().getFixtureList().setDensity(0.1f);\n \n WheelJointDef wjd2 = new WheelJointDef();\n wjd2.initialize(this.getBody(),this.w2.getBody(), new Vec2(0, 1), new Vec2(0, 1));\n wjd2.frequencyHz =1;\n wjd2.maxMotorTorque = 4;\n wjd2.motorSpeed = -5;\n wjd2.dampingRatio = 0.8f;\n world.createJoint(wjd1);\n this.w2.getBody().getFixtureList().setDensity(0.1f);\n\n world.createJoint(wjd2);*/\n \n \n }",
"private void buildBody() {\n\t\tBodyDef def = new BodyDef();\n\t\tdef.type = BodyType.KinematicBody;\n\t\tdef.position.set(new Vector2(0, 0));\n\t\tmouseBody = GamePlayManager.world.createBody(def);\n\n\t\t//this body is jointed to the above body and is physically pulled towards the mouse\n\t\tBodyDef def2 = new BodyDef();\n\t\tdef2.type = BodyType.DynamicBody;\n\t\tdef2.position.set(new Vector2(0, 0));\n\t\tBody collisionBody = GamePlayManager.world.createBody(def2);\n\t\tCircleShape shape = new CircleShape();\n\t\tshape.setRadius(8 * Util.PIXEL_TO_BOX);\n\t\tFixtureDef fixDef2 = new FixtureDef();\n\t\tfixDef2.shape = shape;\n\t\tfixDef2.isSensor = true;\n\t\tfixDef2.density = 1f;\n\t\tfixDef2.filter.categoryBits = Util.CATEGORY_EVERYTHING;\n\t\tfixDef2.filter.maskBits = Util.CATEGORY_EVERYTHING;\n\t\tcollisionBody.createFixture(fixDef2);\n\t\tcollisionBody.setUserData(this);\n\t\tshape.dispose();\n\t\t\n\t\tWeldJointDef jDef = new WeldJointDef();\n\t\tjDef.bodyA = mouseBody;\n\t\tjDef.bodyB = collisionBody;\n\t\tjDef.collideConnected = false;\n\t\tjDef.type = JointType.WeldJoint;\n\t\tjDef.referenceAngle = 0;\n\t\tjDef.dampingRatio = 0;\n\t\tGamePlayManager.world.createJoint(jDef);\n\t}",
"protected abstract HingeJoint newHingeJointImpl( Body body1, Body body2 );",
"public void initActor(){\n this.root = new Node(\"root\");\n this.body = new Node(\"body\");\n this.rLeg = new Node(\"rLeg\");\n this.lLeg = new Node(\"lLeg\");\n this.rArm = new Node(\"rArm\");\n this.lArm = new Node(\"lArm\");\n this.head = new Node(\"head\");\n this.handle = new Node(\"handle\");\n \n //r2 -- Add a weapons node and create empty target node\n this.weapon = new Node(\"weapon\");\n this.target_pivot = new Node(\"target\");\n \n //Create the relationships between the joint nodes\n this.root.attachChild(this.body);\n this.handle.attachChild(this.root);\n this.body.attachChild(this.lLeg);\n this.body.attachChild(this.rLeg);\n this.body.attachChild(this.lArm);\n this.body.attachChild(this.rArm);\n this.body.attachChild(this.head);\n this.rArm.attachChild(this.weapon);\n \n //Move joints to local positions\n this.body.move(0,3f,0);\n this.lLeg.move(0.5f,0,0);\n this.rLeg.move(-0.5f,0,0);\n this.lArm.move(1.5f,3f,0);\n this.rArm.move(-1.5f,3f,0);\n this.head.move(0,3f,0);\n this.weapon.move(0,-3f,0.75f);\n \n \n //Create the physical dimensions of the actor 'minecraft-style'\n this.legBox = new Box(0.5f, 1.5f, 0.5f);\n this.bodyBox = new Box(1, 1.5f, 0.5f);\n this.armBox = new Box(0.5f, 1.5f, 0.5f);\n this.headBox = new Box(1, 1, 1);\n this.weaponBox = new Box(0.25f,0.75f,0.25f);\n \n //Create the visual elements and add materials\n this.lLegGeom = new Geometry(\"lLeg\", this.legBox);\n this.rLegGeom = new Geometry(\"rLeg\", this.legBox);\n this.bodyGeom = new Geometry(\"Body\", this.bodyBox);\n this.lArmGeom = new Geometry(\"lArm\", this.armBox);\n this.rArmGeom = new Geometry(\"rArm\", this.armBox);\n this.headGeom = new Geometry(\"Head\", this.headBox);\n this.weaponGeom = new Geometry(\"Weapon\", this.weaponBox);\n \n //Set materials\n this.lLegGeom.setMaterial(this.legMat);\n this.rLegGeom.setMaterial(this.legMat);\n this.bodyGeom.setMaterial(this.bodyMat);\n this.lArmGeom.setMaterial(this.armMat);\n this.rArmGeom.setMaterial(this.armMat);\n this.headGeom.setMaterial(this.headMat);\n \n //TODO: Give weapons their own material\n this.weaponGeom.setMaterial(this.legMat);\n \n //Set the local transforms of geometry to align with joints properly\n this.lLegGeom.move(0,-1.5f,0);\n this.rLegGeom.move(0,-1.5f,0);\n this.bodyGeom.move(0,1.5f,0);\n this.lArmGeom.move(0,-1.5f,0);\n this.rArmGeom.move(0,-1.5f,0);\n this.headGeom.move(0,1f,0);\n this.weaponGeom.move(0,0,0);\n \n //Attach geometries to nodes\n this.body.attachChild(this.bodyGeom);\n this.lLeg.attachChild(this.lLegGeom);\n this.rLeg.attachChild(this.rLegGeom);\n this.lArm.attachChild(this.lArmGeom);\n this.rArm.attachChild(this.rArmGeom);\n this.head.attachChild(this.headGeom);\n this.weapon.attachChild(this.weaponGeom);\n \n Quaternion xRot = new Quaternion().fromAngleAxis(FastMath.DEG_TO_RAD * 0,Vector3f.UNIT_X.clone());\n Quaternion yRot = new Quaternion().fromAngleAxis(FastMath.DEG_TO_RAD * 0,Vector3f.UNIT_Z.clone());\n \n //Refactor ActorControl with Character Control\n CapsuleCollisionShape capsuleShape = new CapsuleCollisionShape(2.5f,3f,1);\n this.mobControl = new CharacterControl(capsuleShape, 3f);//Step size is set in last argument\n this.mobControl.setJumpSpeed(20);\n this.mobControl.setFallSpeed(45);\n this.mobControl.setGravity(50);\n \n \n this.root.setLocalRotation(xRot.mult(yRot));\n //this.handle.getLocalRotation().lookAt(Vector3f.UNIT_Z, Vector3f.UNIT_Y);\n \n this.root.scale(0.75f, 0.75f, 0.75f);\n \n //this.handle.setLocalTranslation(10f, 5f, 15f);\n \n rootNode.attachChild(this.handle);\n }",
"public final BallJoint newBallJoint( Body body1, Body body2 )\n {\n BallJoint joint = newBallJointImpl( body1, body2 );\n \n //addJoint( joint );\n \n return ( joint );\n }",
"public Joint (SkeletonJoint skeletonJoint) {\n\t\tthis.skeletonJoint = skeletonJoint;\n\t\tposition2d = new Vector2f();\n\t\tposition3d = new Vector3f();\n\t\tconfidence = 0;\n\t}",
"public void create() {\n if (created)\n return;\n\n PlayerConnection player = getPlayer();\n player.sendPacket(createObjectivePacket(0, objectiveName));\n player.sendPacket(setObjectiveSlot());\n int i = 0;\n while (i < lines.length)\n sendLine(i++);\n\n created = true;\n }",
"@Test(expected = NullPointerException.class)\r\n\tpublic void createWithNullBody1() {\r\n\t\tnew WeldJoint<Body>(null, b2, new Vector2());\r\n\t}",
"protected Joint join(Ball a, Ball b) {\n \t\tJoint joint = new Joint(a, b);\n \t\ta.addJoint(joint);\n \t\tb.addJoint(joint);\n \t\treturn joint;\n \t}",
"protected abstract SliderJoint newSliderJointImpl( Body body1, Body body2 );",
"@Test(expected = NullPointerException.class)\r\n\tpublic void createWithNullAnchor() {\r\n\t\tnew WeldJoint<Body>(b1, b2, null);\r\n\t}",
"public void setJointIndex(int index) {\r\n\t\tthis.jointIndex = index;\r\n\t}",
"@Test(expected = NullPointerException.class)\r\n\tpublic void createWithNullBody2() {\r\n\t\tnew WeldJoint<Body>(b1, null, new Vector2());\r\n\t}",
"public void build() {\n x = vertices.get(0);\n y = vertices.get(1);\n vertices.reverse();\n BodyFactory.createPolyLine(x, y, vertices.toArray(), BodyDef.BodyType.StaticBody, LineType.SOLID);\n }",
"public ArmJoint() {\n \t\n \tMotor = new CANTalon(RobotMap.Ports.bucketLifter);\n \tMotor.setFeedbackDevice(FeedbackDevice.CtreMagEncoder_Relative);\n \tMotor.clearStickyFaults();\n \tMotor.setSafetyEnabled(false);\n \tMotor.configNominalOutputVoltage(0, 0);\n \tMotor.configPeakOutputVoltage(12, -12);\n \tMotor.setAllowableClosedLoopErr(10);\n \tMotor.setProfile(0);\n \tMotor.setP(RobotMap.Values.armPidP);\n \tMotor.setI(RobotMap.Values.armPidI);\n \tMotor.setD(RobotMap.Values.armPidD);\n \tMotor.setF(0);\n\n \t//Motor.configEncoderCodesPerRev(1);\n \t//Motor.enableLimitSwitch(true, true);\n \t//Motor.enableBrakeMode(false);\n \t//Motor.enable();\n \t//Motor.changeControlMode(TalonControlMode.PercentVbus);\n \tMotor.enableZeroSensorPositionOnReverseLimit(true);\n \tMotor.set(0);\n \t\n \tLiveWindow.addActuator(\"ArmJoint\", 1, (CANTalon) Motor);\n // Use these to get going:\n // setSetpoint() - Sets where the PID controller should move the system\n // to\n // enable() - Enables the PID controller.\n }",
"public static void init() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n driveTrainmotor_leftFront = new Talon(1);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_leftFront\", (Talon) driveTrainmotor_leftFront);\n \n driveTrainmotor_leftRear = new Talon(2);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_leftRear\", (Talon) driveTrainmotor_leftRear);\n \n driveTrainmotor_rightFront = new Talon(3);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_rightFront\", (Talon) driveTrainmotor_rightFront);\n \n driveTrainmotor_rightRear = new Talon(4);\n LiveWindow.addActuator(\"DriveTrain\", \"motor_rightRear\", (Talon) driveTrainmotor_rightRear);\n \n driveTrainRobotDrive = new RobotDrive(driveTrainmotor_leftFront, driveTrainmotor_leftRear,\n driveTrainmotor_rightFront, driveTrainmotor_rightRear);\n \n driveTrainRobotDrive.setSafetyEnabled(true);\n driveTrainRobotDrive.setExpiration(0.1);\n driveTrainRobotDrive.setSensitivity(0.5);\n driveTrainRobotDrive.setMaxOutput(1.0);\n\n liftmotor_Lift = new Talon(0);\n LiveWindow.addActuator(\"Lift\", \"motor_Lift\", (Talon) liftmotor_Lift);\n \n liftencoderLiftHeight = new Encoder(1, 2, true, EncodingType.k4X);\n LiveWindow.addSensor(\"Lift\", \"encoder LiftHeight\", liftencoderLiftHeight);\n liftencoderLiftHeight.setDistancePerPulse(1.0);\n liftencoderLiftHeight.setPIDSourceParameter(PIDSourceParameter.kRate);\n liftlimitBottom = new DigitalInput(0);\n LiveWindow.addSensor(\"Lift\", \"limitBottom\", liftlimitBottom);\n \n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }",
"public void defineBody()\n {\n if(B2body != null){\n PlayScreen.world.destroyBody(B2body);}\n\n BodyDef bdef = new BodyDef();\n bdef.type = BodyDef.BodyType.KinematicBody;\n B2body = PlayScreen.world.createBody(bdef);\n\n\n calculateTriangle(mirror.getX(), mirror.getY(), mirror.getRotation());\n }",
"@Override\n protected void postConnect() {\n super.postConnect();\n //creates arrays list for buildings, roads and refuges of the world model\n \n buildingIDs = new ArrayList<EntityID>();\n roadIDs = new ArrayList<EntityID>();\n refugeIDs = new ArrayList<EntityID>();\n \n \n //assign values to buildings, roads and refuges according to model\n for (StandardEntity next : model) {\n if (next instanceof Building) {\n buildingIDs.add(next.getID());\n }\n if (next instanceof Road) {\n roadIDs.add(next.getID());\n }\n if (next instanceof Refuge) {\n refugeIDs.add(next.getID());\n }\n \n }\n \n /**\n * sets communication via radio\n */\n boolean speakComm = config.getValue(Constants.COMMUNICATION_MODEL_KEY).equals(ChannelCommunicationModel.class.getName());\n\n int numChannels = this.config.getIntValue(\"comms.channels.count\");\n \n if((speakComm) && (numChannels > 1)){\n \tthis.channelComm = true;\n }else{\n \tthis.channelComm = false;\n }\n \n /*\n * Instantiate a new SampleSearch\n * Sample Search creates a graph for the world model\n * and implements a bread first search for use as well.\n */\n search = new SampleSearch(model);\n\n neighbours = search.getGraph();\n useSpeak = config.getValue(Constants.COMMUNICATION_MODEL_KEY).equals(SPEAK_COMMUNICATION_MODEL);\n Logger.debug(\"Modelo de Comunicação: \" + config.getValue(Constants.COMMUNICATION_MODEL_KEY));\n Logger.debug(useSpeak ? \"Usando modelo SPEAK\" : \"Usando modelo SAY\");\n }",
"public CreateJoinTableResponse createJoinTable(CreateJoinTableRequest request) throws GPUdbException {\n CreateJoinTableResponse actualResponse_ = new CreateJoinTableResponse();\n submitRequest(\"/create/jointable\", request, actualResponse_, false);\n return actualResponse_;\n }",
"protected abstract Hinge2Joint newHinge2JointImpl( Body body1, Body body2 );",
"protected void setup(){\n\n\t\tsuper.setup();\n\n\t\tfinal Object[] args = getArguments();\n\t\tif(args!=null && args[0]!=null && args[1]!=null){\n\t\t\tdeployAgent((Environment) args[0],(EntityType)args[1]);\n\t\t}else{\n\t\t\tSystem.err.println(\"Malfunction during parameter's loading of agent\"+ this.getClass().getName());\n System.exit(-1);\n }\n\t\t\n\t\t//############ PARAMS ##########\n\n\t\tthis.nbmodifsmin \t\t= 30;\t\t\t//nb modifs minimum pour renvoyer la carte\n\t\tthis.timeOut \t\t\t= 1000 * 4;\t\t//secondes pour timeout des messages (*1000 car il faut en ms)\n\t\tthis.sleepbetweenmove \t= 200;\t\t\t//in MS\n\t\tthis.nbmoverandom\t\t= 4;\t\t\t// nb random moves by default\n\t\t\n\t\t//#############################\n\t\t//setup graph\n\t\t//setupgraph();\n\t\tthis.graph = new SingleGraph(\"graphAgent\");\n\t\tinitMyGraph();\n\t\tthis.step = 0;\n\t\tthis.stepMap = new HashMap<String, Integer>();\n\t\tthis.path = new ArrayList<String>();\n\t\tthis.mailbox = new Messages(this);\n\t\tthis.lastMsg = null;\n\t\tthis.switchPath = true;\n\t\tthis.lastsender = null;\n\t\tthis.lastSentMap = new HashMap<String, Integer>(); //nbmodifs\n\t\tthis.remakepath = false; // changes to true if the map changed in a way that requires a new path\n\t\tthis.nbmoverandomoriginal = this.nbmoverandom;\n\t\t\n\t\tthis.toSendMap = new HashMap<String, Graph>(); //actual hashmap graph\n\t\t\n\t\tSystem.out.println(\"the agent \"+this.getLocalName()+ \" is started\");\n\t}",
"private void initiate(){\n carDef = new BodyDef();\n\t carDef.type = BodyType.DynamicBody;\n\n\t shape = new PolygonShape();\n\t shape.setAsBox(width*0.8f, height*0.9f, new Vector2(0,0),0);\t\n\n\t // fixture \t\n\t fixture = new FixtureDef();\n\t fixture.shape = shape;\n\t fixture.restitution = 0.75f; \n\t fixture.friction = 0.75f;\n\t fixture.density = 1;\n\n\t}",
"public Junction() {\r\n random = Randomizer.getInstance();\r\n numberOfVehicles = 0;\r\n }",
"@Test(expected = IllegalArgumentException.class)\r\n\tpublic void createWithSameBody() {\r\n\t\tnew WeldJoint<Body>(b1, b1, new Vector2());\r\n\t}",
"public final FixedJoint newFixedJoint( Body body1, Body body2 )\n {\n FixedJoint joint = newFixedJointImpl( body1, body2 );\n \n //addJoint( joint );\n \n return ( joint );\n }",
"public B2FlxPulleyJoint(B2FlxShape spriteA, B2FlxShape spriteB, PulleyJointDef jointDef)\r\n\t{\r\n\t\tsuper(spriteA, spriteB, jointDef);\r\n\t\tanchorA = bodyA.getWorldCenter();\r\n\t\tanchorB = bodyB.getWorldCenter();\r\n\t}",
"Relationship createRelationship();",
"public void addJoint(PhysicsJoint joint) {\n if (!joints.contains(joint)) {\n joints.add(joint);\n }\n }",
"@Override\n public void robotInit() {\n\n rightEnc.reset();\n gyro.reset();\n\n left2.follow(left1);\n left3.follow(left1);\n right2.follow(right1);\n right3.follow(right1);\n\n config = new Trajectory.Config(Trajectory.FitMethod.HERMITE_CUBIC, Trajectory.Config.SAMPLES_HIGH, 0.05, 1.7, 2.0, 50.0);\n trajectory = Pathfinder.generate(points, config);\n\n modifier = new TankModifier(trajectory).modify(0.7);\n\n left = new EncoderFollower(modifier.getLeftTrajectory());\n right = new EncoderFollower(modifier.getRightTrajectory());\n\n left.configureEncoder((int)rightEnc.get(), 1024, 0.1143);\n left.configurePIDVA(0.7, 0.0, 0.0, 0.15, 0.06);\n right.configureEncoder((int)rightEnc.get(), 1024, 0.1143);\n right.configurePIDVA(0.7, 0.0, 0.0, 0.15, 0.06);\n \n }",
"public void initMob() {\n this.lLegGeom.setName(\"Mob/\" + this.id + \"/lLeg\");\n this.rLegGeom.setName(\"Mob/\" + this.id + \"/rLeg\");\n this.bodyGeom.setName(\"Mob/\" + this.id + \"/Body\");\n this.lArmGeom.setName(\"Mob/\" + this.id + \"/lArm\");\n this.rArmGeom.setName(\"Mob/\" + this.id + \"/rArm\");\n this.headGeom.setName(\"Mob/\" + this.id + \"/Head\");\n this.weaponGeom.setName(\"Mob/\" + this.id + \"/Weapon\"); \n \n this.armMat.setColor(\"Color\",ColorRGBA.Black);\n this.legMat.setColor(\"Color\",ColorRGBA.Black);\n this.bodyMat.setColor(\"Color\",ColorRGBA.Black);\n \n //Refactor boss ActorControl into MobControl with MonkeyBrains\n CapsuleCollisionShape capsuleShape = new CapsuleCollisionShape(2.5f,4.5f,1);\n this.mobControl = new CharacterControl(capsuleShape, 3f);//Step size is set in last argument\n this.mobControl.setJumpSpeed(20);\n this.mobControl.setFallSpeed(45);\n this.mobControl.setGravity(50);\n \n }",
"protected void setup() {\r\n \t//inizializza gli attributi dell'iniziatore in base ai valori dei parametri\r\n Object[] args = this.getArguments();\r\n \t\tif (args != null)\r\n \t\t{\r\n \t\t\tthis.goodName = (String) args[0];\r\n \t\t\tthis.price = (int) args[1];\r\n \t\t\tthis.reservePrice = (int) args[2];\r\n \t\t\tthis.dif = (int) args[3];\r\n \t\t\tthis.quantity = (int) args[4];\r\n \t\t\tthis.msWait = (int) args[5];\r\n \t\t} \t\t\r\n\r\n manager.registerLanguage(codec);\r\n manager.registerOntology(ontology);\r\n \r\n //inizializza il bene oggetto dell'asta\r\n good = new Good(goodName, price, reservePrice, quantity);\r\n \r\n //cerca ed inserisce nell'ArrayList gli eventuali partecipanti\r\n findBidders(); \r\n \r\n //viene aggiunto l'apposito behaviour\r\n addBehaviour(new BehaviourInitiator(this));\r\n\r\n System.out.println(\"Initiator \" + this.getLocalName() + \" avviato\");\r\n }",
"public final void addJoint( Joint joint )\n {\n if ( !this.joints.contains( joint ) )\n {\n this.joints.add( joint );\n addJointImpl( joint );\n }\n }",
"public void createBike(){\n createFrame();\n addWheels();\n addPedals();\n getPrice();\n }",
"public static void init() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n drivetrainSpeedController1 = new CANTalon(1);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 1\", (CANTalon) drivetrainSpeedController1);\n \n drivetrainSpeedController2 = new CANTalon(2);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController2);\n drivetrainSpeedController3 = new CANTalon(3);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController3);\n drivetrainSpeedController4 = new CANTalon(4);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController4);\n drivetrainSpeedController5 = new CANTalon(5);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController5);\n drivetrainSpeedController6 = new CANTalon(6);\n LiveWindow.addActuator(\"Drivetrain\", \"Speed Controller 2\", (CANTalon) drivetrainSpeedController6);\n \n drivetrainRobotDrive21 = new RobotDrive(drivetrainSpeedController1, drivetrainSpeedController2, drivetrainSpeedController3, drivetrainSpeedController4, drivetrainSpeedController5, drivetrainSpeedController6);\n \n drivetrainRobotDrive21.setSafetyEnabled(true);\n drivetrainRobotDrive21.setExpiration(0.1);\n drivetrainRobotDrive21.setSensitivity(0.5);\n drivetrainRobotDrive21.setMaxOutput(1.0);\n\n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }",
"void updateJointTransform(RigidBodyTransform jointTransformToUpdate);",
"public void createBike() {\n createFrame();\n addWheels();\n addPedals();\n getPrice();\n }",
"private void constructBody( Vector2 position, float height, float width ) {\n\t\tBodyDef bodyDef = new BodyDef( );\n\t\tbodyDef.type = BodyType.KinematicBody;\n\t\tbodyDef.position.set( position.x * Util.PIXEL_TO_BOX, position.y\n\t\t\t\t* Util.PIXEL_TO_BOX );\n\t\tbody = world.createBody( bodyDef );\n\n\t\tPolygonShape polygon = new PolygonShape( );\n\t\tpolygon.setAsBox( width * Util.PIXEL_TO_BOX, height * Util.PIXEL_TO_BOX );\n\t\tFixtureDef steamFixtureDef = new FixtureDef( );\n\t\tsteamFixtureDef.shape = polygon;\n\t\tsteamFixtureDef.isSensor = true;\n\t\tbody.createFixture( steamFixtureDef );\n\n\t\tpolygon.dispose( );\n\n\t\tbody.setUserData( this );\n\n\t}",
"interface Joint\n{\n /** Return a panel containing any knobs this\n * joint wishes to expose.\n */\n public JPanel getParameterPanel(int n);\n\n /** Render the joint in question */\n public VisObject getVis();\n\n /** Get rotation component */\n public double[][] getRotation();\n\n /** Get translation component */\n public double[][] getTranslation();\n\n /** Set the movement value to val */\n public void set(double val);\n\n /** Get an arm command back */\n public dynamixel_command_t getArmCommand();\n}",
"public void makeBody()\n {\n Texture text;\n if(bounds.getHeight()<bounds.getWidth()) {\n text = new Texture(\"img/wall.jpg\");\n }else{\n text = new Texture(\"img/wall2.jpg\");\n }\n\n Sprite wallSprite;\n wallSprite = new Sprite(text);\n wallSprite.setSize(bounds.getWidth(),bounds.getHeight());\n wallSprite.setOrigin(bounds.getWidth()/2, bounds.getHeight()/2);\n\n BodyDef bodydef = new BodyDef();\n bodydef.type = BodyType.StaticBody;\n bodydef.position.set(position.x,position.y);\n\n PolygonShape shape = new PolygonShape();\n shape.setAsBox(bounds.width/2, bounds.height/2);\n\n FixtureDef def = new FixtureDef();\n def.shape = shape;\n def.friction = 0.5f;\n def.restitution = 0;\n wall = world.createBody(bodydef);\n wall.createFixture(def);\n wall.getFixtureList().get(0).setUserData(\"w\");\n wall.setUserData(wallSprite);\n\n shape.dispose();\n }",
"public GuaraKinematics() {\n\t\t// TODO Auto-generated constructor stub\n\t\trob = new GuaraRobot();\n\t\ta2 = rob.a2();\n\t\ta3 = rob.a3();\n\t\ta4 = rob.a4();\n\n\t}",
"public static void init() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n\n frisbeeRollerFrisbeeRoller = new Talon(FRISBEE_ROLLER_CHANNEL);\n\n conveyorMotor = new Talon(CONV_MOTOR_CHANNEL);\n\n spatulaMotor = new Relay(SPATULA_MOTOR_CHANNEL);\n\n loadTalon = new Talon(LOADER_TALON);\n\n elevateTalon = new Talon(ELEVATE_TALON);\n\n try {\n driveTrainrearRightTalon = new CANJaguar(REAR_RIGHT_JAG_CHANNEL);\n\n driveTrainfrontRightTalon = new CANJaguar(FRONT_RIGHT_JAG_CHANNEL);\n\n driveTrainfrontLeftTalon = new CANJaguar(FRONT_LEFT_JAG_CHANNEL);\n\n driveTrainrearLeftTalon = new CANJaguar(REAR_LEFT_JAG_CHANNEL);\n\n shootershooterJag = new CANJaguar(SHOOTER_JAG_CHANNEL);\n } catch (CANTimeoutException ex) {\n ex.printStackTrace();\n }\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n }",
"@Override\r\n\tprotected void setup() {\n\t\tgetContentManager().registerLanguage(codec);\r\n\t\tgetContentManager().registerOntology(ontology);\r\n\t\t\r\n\t\tObject[] args = getArguments();\r\n\t\tif(args != null && args.length > 0) {\r\n\t\t\tbroker = (Broker)args[0];\r\n\t\t} else {\r\n\t\t\tbroker = new Broker(\"Broker\");\r\n\t\t}\r\n\t\t\r\n\t\tProgramGUI.getInstance().printToLog(broker.hashCode(), getLocalName(), \"created\", Color.GREEN.darker());\r\n\t\t\r\n\t\t// Register in the DF\r\n\t\tDFRegistry.register(this, BROKER_AGENT);\r\n\t\t\r\n\t\tsubscribeToRetailers();\r\n\t\tquery();\r\n\t\tpurchase();\r\n\t}",
"@Override\n\tpublic void setup() {\n\t\tObjectSpace objectSpace = Blackboard.inst().getSpace(ObjectSpace.class, \"object\");\n\t\tList<PhysicsObject> objects = objectSpace.getCognitiveAgents();\n\n\t\tif (objects.size() != 2)\n\t\t\tthrow new RuntimeException(\"Need two agents in order to run PathScenario4!\");\n\t\t\n\t\t// first we determine the line between their two points.\n\t\tPhysicsObject obj1 = objects.get(0);\n\t\tPhysicsObject obj2 = objects.get(1);\n\t\t\t\t\n\t\tVec2 direction = obj1.getPPosition().sub(obj2.getPPosition());\n\t\tVec2 nDirection = new Vec2(direction);\n\t\tnDirection.normalize();\n\t\tfloat radians = (float) Math.atan2(nDirection.y, nDirection.x);\n\t\tfloat PI = (float) Math.PI;\n\t\tfloat PI2 = PI * 0.5f;\n\n\t\tfloat perp = radians + PI2;\n\t\tVec2 v = new Vec2((float) Math.cos(perp), (float) Math.sin(perp));\n\t\tVec2 offset1 = new Vec2(obj1.getPPosition().add(v));\n\n\t\tList<Vec2> waypoints1 = new ArrayList<Vec2>();\n\t\twaypoints1.add(obj2.getPPosition());\n\n\t\tList<Vec2> waypoints2 = new ArrayList<Vec2>();\n\t\twaypoints2.add(offset1);\n\t\t\n\t\t// Set positions and orientations\n\t\tobj1.getBody().setXForm(obj1.getPPosition(), radians + (float) Math.PI);\n\t\tobj2.getBody().setXForm(obj2.getPPosition(), radians);\n\n\t\tEventManager.inst().dispatch(new SetWaypoints(waypoints1, obj1));\n\t\tEventManager.inst().dispatch(new SetWaypoints(waypoints2, obj2));\n\t}",
"public static void init() {\r\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\r\n driveTrainSubsystemleftFront = new Jaguar(1, 1);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"leftFront\", (Jaguar) driveTrainSubsystemleftFront);\r\n \r\n driveTrainSubsystemleftRear = new Jaguar(1, 5);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"leftRear\", (Jaguar) driveTrainSubsystemleftRear);\r\n \r\n driveTrainSubsystemrightFront = new Jaguar(1, 6);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"rightFront\", (Jaguar) driveTrainSubsystemrightFront);\r\n \r\n driveTrainSubsystemrightRear = new Jaguar(1, 7);\r\n\tLiveWindow.addActuator(\"DriveTrainSubsystem\", \"rightRear\", (Jaguar) driveTrainSubsystemrightRear);\r\n \r\n driveTrainSubsystemRobotDrive = new RobotDrive(driveTrainSubsystemleftFront, driveTrainSubsystemleftRear,\r\n driveTrainSubsystemrightFront, driveTrainSubsystemrightRear);\r\n\t\r\n driveTrainSubsystemRobotDrive.setSafetyEnabled(true);\r\n driveTrainSubsystemRobotDrive.setExpiration(0.1);\r\n driveTrainSubsystemRobotDrive.setSensitivity(0.5);\r\n driveTrainSubsystemRobotDrive.setMaxOutput(1.0);\r\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\r\n }",
"public void robotInit() {\n RobotMap.init();\n initDashboardInput();\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n driveTrain = new DriveTrain();\n power = new Power();\n arm = new Arm();\n sensors = new Sensors();\n ballGrabberSubsystem = new BallGrabberSubsystem();\n winch = new Winch();\n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n // OI must be constructed after subsystems. If the OI creates Commands\n //(which it very likely will), subsystems are not guaranteed to be\n // constructed yet. Thus, their requires() statements may grab null\n // pointers. Bad news. Don't move it.\n oi = new OI();\n\n // instantiate the command used for the autonomous period\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS\n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS\n\n arcadeDrive = new ArcadeDrive();\n\n readPreferences();\n }",
"public KinectSkeleton(Main main) {\r\n Material matW = new Material(main.getAssetManager(), \"Common/MatDefs/Misc/Unshaded.j3md\");\r\n matW.setColor(\"Color\", ColorRGBA.Black);\r\n if (main.kinect.joint != null) {\r\n //starting joints\r\n float[][] StartingJoint = {{(float) main.kinect.joint[10][1] / 1000f, (float) main.kinect.joint[10][2] / 1000f, (float) main.kinect.joint[10][3] / 1000f}, //right wrist\r\n {(float) main.kinect.joint[9][1] / 1000f, (float) main.kinect.joint[9][2] / 1000f, (float) main.kinect.joint[9][3] / 1000f}, //right elbow\r\n {(float) main.kinect.joint[8][1] / 1000f, (float) main.kinect.joint[8][2] / 1000f, (float) main.kinect.joint[8][3] / 1000f}, //right shoulder\r\n {(float) main.kinect.joint[2][1] / 1000f, (float) main.kinect.joint[2][2] / 1000f, (float) main.kinect.joint[2][3] / 1000f}, //shoulder center\r\n {(float) main.kinect.joint[4][1] / 1000f, (float) main.kinect.joint[4][2] / 1000f, (float) main.kinect.joint[4][3] / 1000f}, //left shoulder\r\n {(float) main.kinect.joint[5][1] / 1000f, (float) main.kinect.joint[5][2] / 1000f, (float) main.kinect.joint[5][3] / 1000f}, //left elbow\r\n {(float) main.kinect.joint[0][1] / 1000f, (float) main.kinect.joint[0][2] / 1000f, (float) main.kinect.joint[0][3] / 1000f}, //hip center\r\n {(float) main.kinect.joint[0][1] / 1000f, (float) main.kinect.joint[0][2] / 1000f, (float) main.kinect.joint[0][3] / 1000f}, //hip center\r\n {(float) main.kinect.joint[0][1] / 1000f, (float) main.kinect.joint[0][2] / 1000f, (float) main.kinect.joint[0][3] / 1000f}, //hip center\r\n {(float) main.kinect.joint[0][1] / 1000f, (float) main.kinect.joint[0][2] / 1000f, (float) main.kinect.joint[0][3] / 1000f}, //hip center\r\n {(float) main.kinect.joint[0][1] / 1000f, (float) main.kinect.joint[0][2] / 1000f, (float) main.kinect.joint[0][3] / 1000f}, //hip center\r\n {(float) main.kinect.joint[13][1] / 1000f, (float) main.kinect.joint[13][2] / 1000f, (float) main.kinect.joint[13][3] / 1000f}, //left knee\r\n {(float) main.kinect.joint[17][1] / 1000f, (float) main.kinect.joint[17][2] / 1000f, (float) main.kinect.joint[17][3] / 1000f}}; //right knee\r\n //joint the starting joints connect to\r\n float[][] ConnectingJoint = {{(float) main.kinect.joint[9][1] / 1000f, (float) main.kinect.joint[9][2] / 1000f, (float) main.kinect.joint[9][3] / 1000f}, //right elbow\r\n {(float) main.kinect.joint[8][1] / 1000f, (float) main.kinect.joint[8][2] / 1000f, (float) main.kinect.joint[8][3] / 1000f}, //right shoulder\r\n {(float) main.kinect.joint[2][1] / 1000f, (float) main.kinect.joint[2][2] / 1000f, (float) main.kinect.joint[2][3] / 1000f}, //shoulder center\r\n {(float) main.kinect.joint[4][1] / 1000f, (float) main.kinect.joint[4][2] / 1000f, (float) main.kinect.joint[4][3] / 1000f}, //left shoulder\r\n {(float) main.kinect.joint[5][1] / 1000f, (float) main.kinect.joint[5][2] / 1000f, (float) main.kinect.joint[5][3] / 1000f}, //left elbow\r\n {(float) main.kinect.joint[6][1] / 1000f, (float) main.kinect.joint[6][2] / 1000f, (float) main.kinect.joint[6][3] / 1000f}, //left wrist\r\n {(float) main.kinect.joint[2][1] / 1000f, (float) main.kinect.joint[2][2] / 1000f, (float) main.kinect.joint[2][3] / 1000f}, //shoulder center\r\n {(float) main.kinect.joint[8][1] / 1000f, (float) main.kinect.joint[8][2] / 1000f, (float) main.kinect.joint[8][3] / 1000f}, //right shoulder\r\n {(float) main.kinect.joint[4][1] / 1000f, (float) main.kinect.joint[4][2] / 1000f, (float) main.kinect.joint[4][3] / 1000f}, //left shoulder\r\n {(float) main.kinect.joint[13][1] / 1000f, (float) main.kinect.joint[13][2] / 1000f, (float) main.kinect.joint[13][3] / 1000f}, //left knee\r\n {(float) main.kinect.joint[17][1] / 1000f, (float) main.kinect.joint[17][2] / 1000f, (float) main.kinect.joint[17][3] / 1000f}, //right knee\r\n {(float) main.kinect.joint[14][1] / 1000f, (float) main.kinect.joint[14][2] / 1000f, (float) main.kinect.joint[14][3] / 1000f}, //left ankle\r\n {(float) main.kinect.joint[18][1] / 1000f, (float) main.kinect.joint[18][2] / 1000f, (float) main.kinect.joint[18][3] / 1000f}}; //right ankle\r\n //start loop to connect all joints\r\n for (int i = 0; i < bones.length; i++) {\r\n Cylinder c = new Cylinder(10, 10, 0.04f, 1f, true);\r\n //set geometry, connect and transform cylinder, set material\r\n bones[i] = new Geometry(\"Cylinder\", c);\r\n setConnectiveTransform(ConnectingJoint[i], StartingJoint[i], bones[i]);\r\n bones[i].setMaterial(matW);\r\n //attach physics to bones\r\n RigidBodyControl phy = new RigidBodyControl(1f); //0f = 0 mass\r\n bones[i].addControl(phy);\r\n phy.setKinematic(true);\r\n //attach physics to world\r\n main.bulletAppState.getPhysicsSpace().add(phy);\r\n //attach to node so we can play\r\n skeleton.attachChild(bones[i]);\r\n }\r\n //float y = (float) main.kinect.joint[0][3] / 1000f+(float) main.kinect.joint[0][3] / 1000f;\r\n skeleton.move(0, 0.75f, 0);\r\n ;\r\n } else {\r\n System.out.println(\"NULL!\");\r\n }\r\n }",
"@Override\n public void robotInit() {\n\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n drive = new Drive();\n pDP = new PDP();\n\n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n // OI must be constructed after subsystems. If the OI creates Commands\n //(which it very likely will), subsystems are not guaranteed to be\n // constructed yet. Thus, their requires() statements may grab null\n // pointers. Bad news. Don't move it.\n oi = new OI();\n camera1 = CameraServer.getInstance().startAutomaticCapture(0);\n camera2 = CameraServer.getInstance().startAutomaticCapture(1);\n camera1.setConnectionStrategy(VideoSource.ConnectionStrategy.kKeepOpen);\n camera2.setConnectionStrategy(VideoSource.ConnectionStrategy.kKeepOpen);\n server = CameraServer.getInstance().getServer();\n flipped = true;\n server.setSource(camera1);\n vexGyro = new AnalogGyro(0);\n vexGyro.setSensitivity(.00175);\n //rightEncoder = new Encoder(0, 1, false);\n //leftEncoder = new Encoder(2, 3, true);\n // Add commands to Autonomous Sendable Chooser\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS\n\n chooser.setDefaultOption(\"Autonomous Command\", new AutonomousCommand());\n PixyCamBlock centerBlock = PixyCam2.GetCentermostBlock();\n if(centerBlock == null)\n {\n SmartDashboard.putString(\"target good? \", \"no, is null\");\n }\n else{\n String out = \"Center Block, X: \"+centerBlock.xCenter + \" Y: \"+centerBlock.yCenter;\n SmartDashboard.putString(\"center block data \", out);\n if (centerBlock.yCenter < 200){\n SmartDashboard.putString(\"target good?\", \"YES!!! ycenter less than 200\");\n }\n }\n \n \n\n\n \n \n // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=AUTONOMOUS\n SmartDashboard.putData(\"Auto mode\", chooser);\n SmartDashboard.putBoolean(\"isFlipped\", flipped);\n SmartDashboard.putNumber(\"right encoder\", drive.getRightEncoder());\n SmartDashboard.putNumber(\"left encoder\", drive.getLeftEncoder());\n }",
"void create(Trubriques trubriques);",
"public void setup(){\r\n\t\t\r\n\r\n\t\tsuper.setup();\r\n\t\t\r\n\t\tparams = new String[] {\"numLocations\",\"numFirms\",\"timeHorizon\",\"enteringCosts\",\r\n\t\t\t\t \"reservationPrice\", \"productDifferentiation\",\r\n\t\t\t\t \"adjustEnteringCosts\",\r\n\t\t\t\t \"sdNoiseImitationKnowledge\",\r\n\t\t\t\t \"sdNoiseImitationConcept\",\r\n\t\t\t\t \"sigma\",\"discontFactor\",\"initialInnoEff\",\"fractionEffectivityImitators\",\r\n\t\t\t\t \"initialImiEff\",\"exitingCosts\",\"fractionEffectivityInnovators\",\r\n\t\t\t\t \"locationCosts\",\"isolatedLocation\", \"maxQualityConceptProgress\",\"heterogeneityMode\",\"randomAllocation\", \"numMontecarloRuns\",\r\n\t\t\t\t \"maxQualityConceptProgress\",\"rateLocationDecision\", \"marketEntryCosts\",\r\n\t\t\t\t \"marketEntryHazardRate\", \"parTimeToMarket\",\"ModelModeTimeToMarket\",\"scrapValueParameterInno\",\"scrapValueParameterImi\",\"strategyParameter\",\"targetNumFirms\"};\r\n\r\n\t\r\n\r\n\t\t\r\n\t\tif(graphOutput!=null)\r\n\t\t\tgraphOutput.dispose();\r\n\t\t\r\n\t\tif(graphPrice!=null)\r\n\t\t\tgraphPrice.dispose();\r\n\t\t\r\n\t\tif(graphQuality!=null)\r\n\t\t\tgraphQuality.dispose();\r\n\t\tif(graphNumFirms!=null)\r\n\t\t\tgraphNumFirms.dispose();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tif(graphFirmLocations!=null)\r\n\t\t\tgraphFirmLocations.dispose();\r\n\t\t\r\n\t\tif(graphEnteringCosts!=null)\r\n\t\t\tgraphEnteringCosts.dispose();\r\n\t\t\r\n\t\t\r\n\t\tif(graphAverageProbability!=null)\r\n\t\t\tgraphAverageProbability.dispose();\r\n\t\t\r\n\t\tif(graphTotalProfit!=null)\r\n\t\t\tgraphTotalProfit.dispose();\r\n\t\t\r\n\t\tif(graphClusteringCoefficient!=null)\r\n\t\t\tgraphClusteringCoefficient.dispose();\r\n\t\t\r\n\t\t\r\n\t\tif(graphSingleOutput!=null)\r\n\t\tgraphSingleOutput.dispose();\r\n\t\t\r\n\t\tif(graphSinglePrice!=null)\r\n\t\tgraphSinglePrice.dispose(); \r\n\t\t\r\n\t\tif(graphSingleQuality!=null)\r\n\t\tgraphSingleQuality.dispose(); \r\n\t\t\r\n\t\tif(graphSingleFirmLocations!=null)\r\n\t\tgraphSingleFirmLocations.dispose();\r\n\t\t\r\n\t\tif(graphSingleProbability!=null)\r\n\t\t graphSingleProbability.dispose(); \r\n\t\t\r\n\t\tif(graphSinglelProfit!=null)\r\n\t\tgraphSinglelProfit.dispose();\r\n\t\t\r\n\t\t\r\n\t\tif(graphSingleQualityConcept!=null)\r\n\t\t\tgraphSingleQualityConcept.dispose();\r\n\t\t\r\n\t\t\r\n\t\tif(graphCumProfit!=null)\r\n\t\t\tgraphCumProfit.dispose();\r\n\t\t\r\n\t\t\r\n\t \r\n\t if(dsurfList!=null){\r\n\t\t for(int i=0; i<dsurfList.size();i++){\r\n\t\t \t\t\r\n\t\t \t\tdsurfList.get(i).dispose();\r\n\t\t \r\n\t\t }\r\n\t}\r\n\t \r\n\t gridList = null;\r\n\t dsurfList = null;\r\n\t \r\n\t gridList = new ArrayList<Object2DGrid>() ;\r\n\t dsurfList\t= new\tArrayList<DisplaySurface>() ;\r\n\t \r\n\t \r\n\t dimX = ((int) Math.sqrt(numFirms))+5;\r\n\t dimY=dimX;\r\n\t \r\n\t \r\n\t \r\n\t if (surface != null)\r\n\t surface.dispose ();\r\n\t surface = null;\r\n\t \r\n\t surface = new DisplaySurface (this, \"Firm network\");\r\n\t registerDisplaySurface (\"Firm network\", surface);\r\n\t\t\r\n\t\t\r\n\t}",
"protected void setup() {\n\t\tSystem.out.println(\"Broker Agent \"+getAID().getName()+\" is ready.\");\r\n\t\tthis.getContentManager().registerLanguage(new SLCodec());\r\n\t\tthis.getContentManager().registerOntology(RequestOntology.getInstance());\r\n\t\t\r\n\t\tObject[] args = getArguments();\r\n\t\tif (args != null && args.length > 0) {\r\n\t\t\tprice = (String) args[0];\r\n\t\t\tvolume= (String) args[1];\r\n\t\t\t\r\n\t\t\tDFAgentDescription dfd = new DFAgentDescription();\r\n\t\t\tdfd.setName(getAID());\r\n\t\t\tServiceDescription sd = new ServiceDescription();\r\n\t\t\tsd.setType(\"energy-selling\");\r\n\t\t\tsd.setName(\"Energy-Broker\");\r\n\t\t\tdfd.addServices(sd);\r\n\t\t\ttry {\r\n\t\t\t\tDFService.register(this, dfd);\r\n\t\t\t}\r\n\t\t\tcatch (FIPAException fe) {\r\n\t\t\t\tfe.printStackTrace();\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t\telse{\r\n\t\t\tSystem.out.println(getAID().getName()+\" No available arguments\");\r\n\t\t\tdoDelete();\r\n\t\t}\r\n\t\taddBehaviour(new BOReply(this));\r\n\t}",
"public void robotInit() {\n // North.registerCommand(\"setSetpoint\", (params) -> ??, [\"Setpoint\"]);\n // North.registerCondition(\"atSetpoint\", elevator::atSetpoint);\n\n //NOTE: init(name, size, logic provider, drive & nav)\n North.init(/*NorthUtils.readText(\"name.txt\")*/ \"lawn chair\", 24/12, 24/12, drive);\n North.default_drive_controller = HoldController.I;\n\n UsbCamera camera = CameraServer.getInstance().startAutomaticCapture();\n camera.setResolution(640, 480);\n }",
"Join createJoin();",
"public Telefone() {\n\t\t\n\t}",
"@Override\r\n\tprotected void setup() {\n\t\tlog=LogManager.getLogger();\r\n\t\tmyAgent.addGoal(new SendMsgGoal());\r\n//\t\tlog.info(\"Send message goal is added\");\r\n\t\t\r\n\t}",
"public void constructEntity (EntityBuilder entityBuilder, Position position){\n entityBuilder.createEntity();\n entityBuilder.buildPosition(position);\n entityBuilder.buildName();\n entityBuilder.buildPosition();\n entityBuilder.buildContComp();\n entityBuilder.buildPhysComp(length, width);\n entityBuilder.buildGraphComp(length, width);\n }",
"public B2FlxWeldJoint(B2FlxShape spriteA, B2FlxShape spriteB, WeldJointDef jointDef)\n\t{\n\t\tsuper(spriteA, spriteB, jointDef);\n\t}",
"@Override\r\n\tprotected void setup()\r\n\t{\r\n\r\n\t\t//adding the desired behaviour to the agent\r\n\t\taddBehaviour(new RoadAgentBehaviour(this));\r\n\t}",
"public B2FlxPulleyJoint(B2FlxShape spriteA, B2FlxShape spriteB)\r\n\t{\r\n\t\tthis(spriteA, spriteB, null);\r\n\t}",
"@Override\n public void robotInit() {\n\n // Motor controllers\n leftMotor = new CANSparkMax(1, MotorType.kBrushless);\n leftMotor.setInverted(false);\n leftMotor.setIdleMode(IdleMode.kBrake);\n\n CANSparkMax leftSlave1 = new CANSparkMax(2, MotorType.kBrushless);\n leftSlave1.setInverted(false);\n leftSlave1.setIdleMode(IdleMode.kBrake);\n leftSlave1.follow(leftMotor);\n\n CANSparkMax leftSlave2 = new CANSparkMax(3, MotorType.kBrushless);\n leftSlave2.setInverted(false);\n leftSlave2.setIdleMode(IdleMode.kBrake);\n leftSlave2.follow(leftMotor);\n\n rightMotor = new CANSparkMax(4, MotorType.kBrushless);\n rightMotor.setInverted(false);\n rightMotor.setIdleMode(IdleMode.kBrake);\n\n CANSparkMax rightSlave1 = new CANSparkMax(5, MotorType.kBrushless);\n rightSlave1.setInverted(false);\n rightSlave1.setIdleMode(IdleMode.kBrake);\n rightSlave1.follow(leftMotor);\n\n CANSparkMax rightSlave2 = new CANSparkMax(6, MotorType.kBrushless);\n rightSlave2.setInverted(false);\n rightSlave2.setIdleMode(IdleMode.kBrake);\n rightSlave2.follow(leftMotor);\n\n // Encoders\n leftEncoder = leftMotor.getEncoder();\n rightEncoder = rightMotor.getEncoder();\n\n // Gyro\n gyro = new ADXRS450_Gyro();\n\n }",
"public TerrainObject build() {\n\t\tfor(int i=0; i<paramsSet.length-3; i++)\n\t\t\tif(!paramsSet[i])\n\t\t\t\tthrow new IllegalArgumentException(\"Needed parameter (No. \"+i+\") for TerrainObject hasn't been set\");\n\t\treturn new TerrainObject(x, y, z, xW, yW, zW, scale, seed, noise);\n\t}",
"public static void newProject() {\n\n //create the arena representation\n //populateBlocks();\n //populateSensors();\n }",
"public JoinClass() {\n initComponents();\n }",
"public void setup(Context context) {\n\t\t\tjoinType = context.getConfiguration().get(\"join.type\");\n\t\t}",
"public void createBody(){\n this.fuelMass = this.initFuelMass;\n BodyDef def = new BodyDef();\n def.position.set(initPosition);\n def.type = BodyDef.BodyType.DynamicBody;\n body = world.createBody(def);\n\n PolygonShape box = new PolygonShape();\n box.setAsBox(lunarModuleWidth / 2, lunarModuleHeight / 2);\n fixture = body.createFixture(box, (lunarModuleMass + fuelMass) / (lunarModuleHeight * lunarModuleWidth));\n box.dispose();\n\n fixture.setUserData(\"lunar module\");\n fixture.setFriction(0.4f);\n massData = body.getMassData();\n setSize(lunarModuleWidth, lunarModuleHeight);\n\n this.alive = true;\n this.activateEngine = false;\n this.activateAuxiliaryEnginesLeft = false;\n this.activateAuxiliaryEnginesRight = false;\n }",
"public DriveTrain(){\r\n super(\"Drive Train\");\r\n Log = new MetaCommandLog(\"DriveTrain\", \"Gyro\" , \"Left Jaguars,Right Jaguars\");\r\n gyro1 = new Gyro(RobotMap.AnalogSideCar , RobotMap.DriveTrainGyroInput);\r\n lfJag = new Jaguar(RobotMap.frontLeftMotor);\r\n lfRearJag = new Jaguar(RobotMap.rearLeftMotor);\r\n rtJag = new Jaguar(RobotMap.frontRightMotor);\r\n rtRearJag = new Jaguar(RobotMap.rearRightMotor);\r\n drive = new RobotDrive(lfJag, lfRearJag, rtJag, rtRearJag);\r\n \r\n //lfFrontJag = new Jaguar (3);\r\n //rtFrontJag = new Jaguar (4);\r\n \r\n //joystick2 = new Joystick(2);\r\n //sensor1 = new DigitalInput(1);\r\n //sensor2 = new DigitalInput (2);\r\n\r\n }",
"BOp createBOp();",
"@Override\n\tpublic void robotInit() {\n\t\tdt = new DriveTrain();\n\t\t//Initialize drive Talons\n\t\tRobotMap.vspLeft = new WPI_TalonSRX(RobotMap.dtLeft);\n\t\tRobotMap.vspRight = new WPI_TalonSRX(RobotMap.dtRight);\n\t\t//Initialize drive slave Victors\n\t\t//RobotMap.slaveLeft = new WPI_VictorSPX(RobotMap.slaveDriveLeft);\n\t\t//RobotMap.slaveRight = new WPI_VictorSPX(RobotMap.slaveDriveRight);\n\t\t//Set drive slaves to follower mode\n\t\t//RobotMap.slaveLeft.follow(RobotMap.vspLeft);\n\t\t//RobotMap.slaveRight.follow(RobotMap.vspRight);\n\t\t//Initialize drive train\n\t\tRobotMap.rd = new DifferentialDrive(RobotMap.vspLeft, RobotMap.vspRight);\n\t\t//Initialize drive joystick\n\t\tRobotMap.stick = new Joystick(RobotMap.joystickPort);\n\t\t//Disabled drive safety\n\t\tRobotMap.vspLeft.setSafetyEnabled(false);\n\t\tRobotMap.vspRight.setSafetyEnabled(false);\n\t\tRobotMap.rd.setSafetyEnabled(false);\n\t\t//Initialize lift Talon\n\t\tRobotMap.liftTalon = new WPI_TalonSRX(5);\n\t\t//Initialize operator controller\n\t\tRobotMap.controller = new Joystick(RobotMap.controllerPort);\n\t\t//Initialize intake Victors\n\t\tRobotMap.intakeVictorLeft = new WPI_VictorSPX(RobotMap.intakeMaster);\n\t\tRobotMap.intakeVictorRight = new WPI_VictorSPX(RobotMap.intakeSlave);\n\t\t//Set right intake Victor to follow left intake Victor\n\t\tRobotMap.intakeVictorRight.follow(RobotMap.intakeVictorLeft);\n\t\t\n\t\tRobotMap.climberVictorLeft = new WPI_VictorSPX(RobotMap.climberLeftAddress);\n\t\tRobotMap.climberVictorRight = new WPI_VictorSPX(RobotMap.climberRightAddress);\n\t\t\n\t\tRobotMap.climberVictorRight.follow(RobotMap.climberVictorLeft);\n\t\t\n\t\tRobotMap.piston = new DoubleSolenoid(RobotMap.inChannel, RobotMap.outChannel);\n\t\t\n\t\tRobotMap.intakeLifter = new WPI_VictorSPX(2);\n\t\t\n\t\tRobotMap.liftTalon = new WPI_TalonSRX(RobotMap.liftTalonAddress);\n\t\t\n\t\tautoChooser = new SendableChooser();\n\t\tautoChooser.addDefault(\"Drive to baseline\" , new DriveToBaseline());\n\t\tautoChooser.addObject(\"Null auto\", new NullAuto());\n\t\tautoChooser.addObject(\"Switch from right\", new SwitchFromRight());\n\t\tautoChooser.addObject(\"Switch from left\", new SwitchFromLeft());\n\t\tautoChooser.addObject(\"PID from left\", new PIDfromLeft());\n\t\tautoChooser.addObject(\"PID from right\", new PIDfromRight());\n\t\tautoChooser.addObject(\"Scale from right\", new ScaleAutoRight());\n\t\tautoChooser.addObject(\"Scale from left\", new ScaleAutoLeft());\n\t\tautoChooser.addObject(\"PID tester\", new PIDTESTER());\n\t\tautoChooser.addObject(\"Joe use this one\", new leftOnly());\n\t\tSmartDashboard.putData(\"Autonomous mode chooser\", autoChooser);\n\t\t\n\t\t//RobotMap.liftVictor.follow(RobotMap.climberTalon);\n\t\t\n\t\tRobotMap.vspLeft.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative, 0, 0);\n\t\tRobotMap.vspRight.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative, 0, 0);\n\t\t\n\t\tRobotMap.intakeLifted = new DigitalInput(1);\n\t\tRobotMap.isAtTop = new DigitalInput(2);\n\t\tRobotMap.isAtBottom = new DigitalInput(0);\n\t\t\n\t\tRobotMap.vspLeft.configVelocityMeasurementPeriod(VelocityMeasPeriod.Period_100Ms, 1);\n\t\tRobotMap.vspRight.configVelocityMeasurementWindow(64, 1); \n\t\t\n\t\toi = new OI();\n\t}",
"private void build() {\n resetUpdate();\n\n gameMessage.setSpace1(clientMessage.getSpace1());\n gameMessage.setLevel(clientMessage.getLevelToBuild());\n gameMessage.notify(gameMessage);\n\n if ( liteGame.getCurrWorker() == null ){\n removePlayerFromTheGame();\n }\n }",
"public void doExecute() {\n\t\tparent.requestChange(new ModelChangeRequest(this.getClass(), parent,\n\t\t\t\t\"create\") {\n\t\t\t@Override\n\t\t\tprotected void _execute() throws Exception {\n\t\t\t\ttry {\n\t\t\t\t\tCompositeEntity parentModel = (CompositeEntity) parent;\n\t\t\t\t\tString componentName = null;\n\t\t\t\t\tif (model == null) {\n\t\t\t\t\t\tcomponentName = ModelUtils.findUniqueName(parentModel,\n\t\t\t\t\t\t\t\t\t\t clazz,\n\t\t\t\t\t\t\t\t\t\t name.equalsIgnoreCase(\"INPUT\") ? DEFAULT_INPUT_PORT : DEFAULT_OUTPUT_PORT,\n\t\t\t\t\t\t\t\t\t\t name);\n\t\t\t\t\t\tcomponentName = ModelUtils.getLegalName(componentName);\n\t\t\t\t\t\tClass constructorClazz = CompositeEntity.class;\n\t\t\t\t\t\tif (clazz.getSimpleName().equals(\"TypedIOPort\")) {\n\t\t\t\t\t\t\tconstructorClazz = ComponentEntity.class;\n\t\t\t\t\t\t} else if (clazz.getSimpleName().equals(\n\t\t\t\t\t\t\t\t\"TextAttribute\")) {\n\t\t\t\t\t\t\tconstructorClazz = NamedObj.class;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (clazz.getSimpleName().equals(\"Vertex\")) {\n\t\t\t\t\t\t\tTypedIORelation rel = new TypedIORelation(\n\t\t\t\t\t\t\t\t\tparentModel, componentName);\n\t\t\t\t\t\t\tchild = new Vertex(rel, \"Vertex\");\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tConstructor constructor = clazz.getConstructor(\n\t\t\t\t\t\t\t\t\tconstructorClazz, String.class);\n\n\t\t\t\t\t\t\tchild = (NamedObj) constructor.newInstance(\n\t\t\t\t\t\t\t\t\tparentModel, componentName);\n\t\t\t\t\t\t\tif (child instanceof TypedIOPort) {\n\t\t\t\t\t\t\t\tboolean isInput = name\n\t\t\t\t\t\t\t\t\t\t.equalsIgnoreCase(\"INPUT\");\n\t\t\t\t\t\t\t\t((TypedIOPort) child).setInput(isInput);\n\t\t\t\t\t\t\t\t((TypedIOPort) child).setOutput(!isInput);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (model instanceof TypedIOPort) {\n\t\t\t\t\t\t\tname = ((TypedIOPort) model).isInput() ? DEFAULT_INPUT_PORT\n\t\t\t\t\t\t\t\t\t: DEFAULT_OUTPUT_PORT;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcomponentName = ModelUtils.findUniqueName(parentModel, model.getClass(), name, name);\n\t\t\t\t\t\tcomponentName = ModelUtils.getLegalName(componentName);\n\t\t\t\t\t\tif (model instanceof Vertex) {\n\t\t\t\t\t\t\tTypedIORelation rel = new TypedIORelation(\n\t\t\t\t\t\t\t\t\tparentModel, componentName);\n\t\t\t\t\t\t\tchild = new Vertex(rel, \"Vertex\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tchild = (NamedObj) model\n\t\t\t\t\t\t\t\t\t.clone(((CompositeEntity) parentModel)\n\t\t\t\t\t\t\t\t\t\t\t.workspace());\n\t\t\t\t\t\t\tchild.setName(componentName);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tComponentUtility.setContainer(child, parentModel);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tcreateDefaultValues(child);\n\t\t\t\t\t\n\t\t\t\t\tif (location != null) {\n\t\t\t\t\t\tModelUtils.setLocation(child, location);\n\t\t\t\t\t}\n\t\t\t\t\tsetChild(child);\n\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tgetLogger().error(\"Unable to create component\", e);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t});\n\t}",
"public void CreatePerson(Person p){\n\t\tWeddingConnectionPoolManager con = new WeddingConnectionPoolManager(); \n\t\t Person p1 = new Person(p.getId(), p.getFirstName(), p.getLastName(), p.getRelationship(),\n\t\t\t\t p.getAddress(), p.getPhone(), p.getEmail(), p.getComment(), user.getId());\n\t\t System.out.println(\"p1 : \" + p1);\n\t\t System.out.println(\"p : \" + p);\n\t\t// TODO - should to iterate on the results that returns when calling to \"getpersons\" method.\n\t\tPersonDBManager.getInstance().CreateNewPerson(con.getConnectionFromPool(), p1);\t\n\t}",
"public Telefone() {\n\t}",
"public void robotInit() {\n\t\trightFront = new CANTalon(1);\n\t\tleftFront = new CANTalon(3);\n\t\trightBack = new CANTalon(2);\n\t\tleftBack = new CANTalon(4);\n\t\t\n\t\trightBack.changeControlMode(CANTalon.TalonControlMode.Follower);\n\t\tleftBack.changeControlMode(CANTalon.TalonControlMode.Follower);\n\t\t\n\t\tleftBack.set(leftFront.getDeviceID());\n\t\trightBack.set(rightFront.getDeviceID());\n\t\t\n\t\tturn = new Joystick(0);\n\t\tthrottle = new Joystick(1);\n\t}",
"public void create(Person p) {\n\t\t\n\t}",
"public void setup() {\n size(1280,720,OPENGL);\n physics = new pma_PhysicsVerlet();\n // add gravity in positive Y direction\n physics.addBehavior(new pma_BehaviorForceGravity(new ga_Vector2(0,0.1f)));\n // set the stroke weight of the line\n strokeWeight(2);\n}",
"public void populate() { \n \n // make some grounds\n ground1 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground1.setPosition(new Vec2(-380, -200));\n \n Body ground2 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground2.setPosition(new Vec2(-0, -200));\n\n Body ground3 = new Body(world, PolygonShape.makeBox(100, 5), Body.Type.STATIC);\n ground3.setPosition(new Vec2(300, -100));\n \n // make a moving platform \n Body movingPlatform = new SlidingPlatform(world, PolygonShape.makeBox(100, 5), new Vec2(130, 0), 2);\n movingPlatform.setPosition(new Vec2(-260, -150));\n \n // make some bottles\n Bottle bottle1 = new Bottle(game);\n bottle1.putOn(ground1);\n bottle1.setName(\"bottle1\");\n \n Bottle bottle2 = new Bottle(game);\n bottle2.putOn(ground2);\n bottle2.setName(\"bottle2\");\n \n Bottle bottle3 = new Bottle(game);\n bottle3.putOn(ground3);\n bottle3.setName(\"bottle3\");\n \n // show dialog with information about level\n JOptionPane.showMessageDialog(frame, \"Press N or M to throw bottles to kill Boxies.\", \"Level instructions:\", JOptionPane.PLAIN_MESSAGE);\n \n // make some boxies\n Boxy boxy1 = new Boxy(game);\n boxy1.setName(\"boxy1\");\n Vec2 vec1 = new Vec2(100, 0);\n boxy1.move(vec1);\n\n Boxy boxy2 = new Boxy(game);\n boxy2.setName(\"boxy2\");\n Vec2 vec2 = new Vec2(-100, 200);\n boxy2.move(vec2);\n\n Boxy boxy3 = new Boxy(game);\n boxy3.setName(\"boxy3\");\n Vec2 vec3 = new Vec2(-400, 200);\n boxy3.move(vec3);\n \n }",
"public Dynamics createDynamics() throws APIException {\n\t\tDynamicsBuilder db = new DynamicsBuilder();\n\t\tDynamics ret = db.newDynamics(this);\n\t\tdynamicsSingle.setValue(ret);\n\t\treturn ret;\n\t}",
"public Drivetrain() {\n leftFrontMotor.getPIDController().setP(leftkP);\n leftFrontMotor.getPIDController().setI(leftkI);\n leftFrontMotor.getPIDController().setD(leftkD);\n leftFrontMotor.getPIDController().setFF(leftkFF);\n\n leftBackMotor.getPIDController().setP(leftkP);\n leftBackMotor.getPIDController().setI(leftkI);\n leftBackMotor.getPIDController().setD(leftkD);\n leftBackMotor.getPIDController().setFF(leftkFF);\n\n rightFrontMotor.getPIDController().setP(rightkP);\n rightFrontMotor.getPIDController().setI(rightkI);\n rightFrontMotor.getPIDController().setD(rightkD);\n rightFrontMotor.getPIDController().setFF(rightkFF);\n\n rightBackMotor.getPIDController().setP(rightkP);\n rightBackMotor.getPIDController().setI(rightkI);\n rightBackMotor.getPIDController().setD(rightkD);\n rightBackMotor.getPIDController().setFF(rightkFF);\n }",
"@Override\n public void robotInit() {\n m_driveTrain = new DriveTrain();\n m_oi = new OI(); \n encoder = new Encoder();\n JoystickDrive = new JoystickDrive();\n RoboticArm = new RoboticArm();\n Science = new Science();\n pid = new PID();\n inverse = new Inverse();\n\n // workingSerialCom = new serialComWorking();\n\n\n // while(true){\n // // ros_string = workingSerialCom.read();\n // // System.out.println(ros_string);\n // LeftFront = Robot.m_driveTrain.dr+iveTrainLeftFrontMotor.getSelectedSensorVelocity()*(10/4096);\n // RightFront = Robot.m_driveTrain.driveTrainRightFrontMotor.getSelectedSensorVelocity()*(10/4096);\n // LeftFront_ros = workingSerialCom.floattosString(LeftFront);\n // RigthFront_ros = workingSerialCom.floattosString(RightFront);\n\n // ros_string = workingSerialCom.read();\n // gulce = workingSerialCom.StringConverter(ros_string, 1);\n // System.out.println(gulce);\n // workingSerialCom.write(LeftFront_ros+RigthFront_ros+\"\\n\");\n // }\n // workingSerialCom.write(\"Yavuz\\n\");\n // // RoboticArm.run();\n // // m_driveTrain.run();\n // // workingSerialCom.StringConverter(ros_string, 3);\n }",
"public Agent(Point2D.Double coords, double viewHeading, PApplet p,\n\t\tGeneticObject genObj, boolean Neat, World world) {\n\t\tsuper(coords);\n\t\tthis.parent = p;\n\t\tthis.viewHeading = viewHeading;\n\t\tthis.geneticObject = genObj;\n\t\tthis.neat = Neat;\n\t\tif (this.neat) { \n\t\t\tcreateNeuralNet();\n\t\t} else {\n\t\t\tcreateBrain();\n\t\t}\n\t\tcalculateNetworkPositions(false);\n\t\tthis.world = world;\n\t\tsetupBox2d();\n\t\tthrust(1);\n\t}",
"public void create() {\n\t\t\n\t}",
"@Override\n public void setup() {\n strokeWeight(1);\n smooth();\n textMode(SHAPE);\n origin = new PVector(width / 2, height / 2,0);\n size = 2000;\n zoom = 1.5f;\n rX = -0.51f;\n rY = -0.65f;\n arm = new Arm(this);\n ik = new InverseK(arm.getL());\n angles = new double[]{0,0,0};\n }",
"public newRelationship() {\n initComponents();\n }",
"private void createModel() {\n model = new Node(\"Enemy\"+enemyCounter);\n Box b = new Box(.5f, 2, .5f);\n Geometry bg = new Geometry(\"Box\", b);\n Material bm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n Sphere sphere = new Sphere(32, 32, 1.5f, false, false);\n Geometry sg = new Geometry(\"Sphere\", sphere);\n Material sm = new Material(assetManager, \"Common/MatDefs/Misc/Unshaded.j3md\");\n bm.setColor(\"Color\", ColorRGBA.Blue);\n sm.setColor(\"Color\", ColorRGBA.Red);\n bg.setMaterial(bm); \n sg.setMaterial(sm);\n model.attachChild(bg);\n model.attachChild(sg);\n sg.setLocalTranslation(0,2.5f,0);\n \n attachChild(model);\n }",
"public DriveTrain (int motorChannelL1,int motorChannelL2,int motorChannelR1,int motorChannelR2 ){\n leftMotor1 = new Victor(motorChannelL1);\n leftMotor2 = new Victor(motorChannelL2);\n rightMotor1 = new Victor(motorChannelR1);\n rightMotor2 = new Victor(motorChannelR2);\n highDrive = new RobotDrive(motorChannelL1, motorChannelR1);\n lowDrive = new RobotDrive(motorChannelL2, motorChannelR2);\n \n }",
"@Test\r\n\tpublic void setDampingRatio() {\r\n\t\tWeldJoint<Body> wj = new WeldJoint<Body>(b1, b2, new Vector2());\r\n\t\t\r\n\t\twj.setDampingRatio(0.0);\r\n\t\tTestCase.assertEquals(0.0, wj.getDampingRatio());\r\n\t\t\r\n\t\twj.setDampingRatio(1.0);\r\n\t\tTestCase.assertEquals(1.0, wj.getDampingRatio());\r\n\t\t\r\n\t\twj.setDampingRatio(0.2);\r\n\t\tTestCase.assertEquals(0.2, wj.getDampingRatio());\r\n\t}",
"@Override\n public void init() {\n /* Initialize the hardware variables.\n * The init() method of the hardware class does all the work here\n */\n robot.init(hardwareMap);\n // robot.leftBumper.setPosition(.5);\n // robot.leftStageTwo.setPosition(1);\n // robot.rightStageTwo.setPosition(0.1);\n robot.colorDrop.setPosition(0.45);\n robot.align.setPosition(0.95);\n\n // robot.rightBumper.setPosition(.7);\n\n // Send telemetry message to signify robot waiting;\n telemetry.addData(\"Say\", \"Hello Driver\"); //\n }",
"public void construct(){\n\t\tbuilder.buildPart1();\n\t\tbuilder.buildPart2();\n\t\tbuilder.retrieveResult();\n\t}",
"public NCLBody() {}",
"public void makeInstance() {\n\t\t// Create the attributes, class and text\n\t\tFastVector fvNominalVal = new FastVector(2);\n\t\tfvNominalVal.addElement(\"ad1\");\n\t\tfvNominalVal.addElement(\"ad2\");\n\t\tAttribute attribute1 = new Attribute(\"class\", fvNominalVal);\n\t\tAttribute attribute2 = new Attribute(\"text\",(FastVector) null);\n\t\t// Create list of instances with one element\n\t\tFastVector fvWekaAttributes = new FastVector(2);\n\t\tfvWekaAttributes.addElement(attribute1);\n\t\tfvWekaAttributes.addElement(attribute2);\n\t\tinstances = new Instances(\"Test relation\", fvWekaAttributes, 1); \n\t\t// Set class index\n\t\tinstances.setClassIndex(0);\n\t\t// Create and add the instance\n\t\tInstance instance = new Instance(2);\n\t\tinstance.setValue(attribute2, text);\n\t\t// Another way to do it:\n\t\t// instance.setValue((Attribute)fvWekaAttributes.elementAt(1), text);\n\t\tinstances.add(instance);\n \t\tSystem.out.println(\"===== Instance created with reference dataset =====\");\n\t\tSystem.out.println(instances);\n\t}",
"Obligacion createObligacion();",
"@Override\n\tpublic void create () {\n\t\t//IntrigueGraphicalDebugger.enable();\n\t\tIntrigueGraphicSys = new IntrigueGraphicSystem();\n\t\tIntrigueTotalPhysicsSys = new IntrigueTotalPhysicsSystem();\n\t\t\n\t\tfinal int team1 = 1;\n\t\tfinal int team2 = 2;\n\t\t\n\t\tstage = new Stage();\n\t\ttable = new Table();\n\t\ttable.bottom();\n\t\ttable.left();\n\t\ttable.setFillParent(true);\n\t\t\n\t\tLabelStyle textStyle;\n\t\tBitmapFont font = new BitmapFont();\n\t\t\n\n\t\ttextStyle = new LabelStyle();\n\t\ttextStyle.font = font;\n\n\t\ttext = new Label(\"Intrigue\",textStyle);\n\t\tLabel text2 = new Label(\"@author: Matt\", textStyle);\n\t\tLabel text3 = new Label(\"OPERATION 1\", textStyle);\n\t\t\n\t\ttext.setFontScale(1f,1f);\n\t\ttable.add(text);\n\t\ttable.row();\n\t\ttable.add(text2);\n\t\ttable.row();\n\t\ttable.add(text3);\n\t\tstage.addActor(table);\n\n\t\ttable.setDebug(true);\n\t\tString path_to_char = \"3Dmodels/Soldier/ArmyPilot/ArmyPilot.g3dj\";\n //String path_to_road = \"3Dmodels/Road/roadV2.g3db\";\n\t\t//String path_to_rink = \"3Dmodels/Rink/Rink2.g3dj\";\n\t\tString path_to_snow_terrain = \"3Dmodels/Snow Terrain/st5.g3dj\";\n\t\tString path_to_crosshair = \"2Dart/Crosshairs/rifle_cross.png\";\n\t\n\t\tMatrix4 trans = new Matrix4();\n\t\tMatrix4 iceTrans = new Matrix4();\n\t\tMatrix4 iceTrans2 = new Matrix4();\n\t\tMatrix4 iceTrans3 = new Matrix4();\n\t\tMatrix4 iceTrans4 = new Matrix4();\n\t\tMatrix4 trans2 = new Matrix4();\n\t\tMatrix4 trans3 = new Matrix4();\n\t\n\t\ttrans.translate(-3000,6000,-500);\n\t\t//Vector3 halfExtents = new Vector3(30f,90f,25f);\n\t\tbtCapsuleShape person_shape = new btCapsuleShape(30f, 90f);\n\t\t\n\t\tmamaDukes.add(new Entity.Builder(player_guid)\n\t\t\t\t\t.IntrigueModelComponent(path_to_char).IntrigueControllerComponent(1)\n\t\t\t\t\t.IntriguePhysicalComponent(person_shape, 200f, trans)\n\t\t\t\t\t.MotionComponent()\n\t\t\t\t\t.AimingComponent()\n\t\t\t\t\t.DecalComponent()\n\t\t\t\t\t.ThirdPersonCameraComponent()\n .CharacterActionsComponent()\n\t\t\t\t\t.AnimationComponent()\n\t\t\t\t\t.Fireable(path_to_crosshair)\n\t\t\t\t\t.TargetingAI(team1)\n\t\t\t\t\t//.CharacterSoundComponent(\"SoundEffects/Character/walking/step-spur.mp3\", \"SoundEffects/guns/M4A1.mp3\")\n\t\t\t\t\t.Build());\n\t\tJson json_test = new Json(); \n\t\tEntity d = mamaDukes.get(player_guid);\n\t\t//System.out.println(json_test.prettyPrint(d));\n\t\t\n\t\t\n\t\tmamaDukes.get(player_guid).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody().getRigidBody()\n\t\t\t\t\t.setActivationState(Collision.DISABLE_DEACTIVATION);\n\n\t\tmamaDukes.add(level_factory.createLevel(path_to_snow_terrain,\n\t\t\t\t\"3DParticles/blizzard.pfx\", iceTrans, Entity.class));\n\t\t\t\t/*\n\t\t\t\tnew DrifterObject.DrifterObjectBuilder(1)\n\t\t\t\t\t.BaseObject(new Gobject.Builder(1)\n\t\t\t\t\t.IntrigueModelComponent(path_to_snow_terrain)\n\t\t\t\t\t.IntriguePhysicalComponent(iceMass, iceTrans)\n\t\t\t\t\t.ParticleComponent(\"Blizzard\",\n\t\t\t\t\t\t\t\"3DParticles/blizzard.pfx\",new Vector3(1000,1000, -2500), \n\t\t\t\t\t\t\tnew Vector3(3000, 1000,2000 ))\n\t\t\t\t\t.Build())\n\t\t\t\t\t.Build());*/\n\t\ttrans2.translate(-1000,1000,1500);\n\t\t\n\t\tmamaDukes.add(new Entity.Builder(2)\n\t\t\t\t\t.IntrigueModelComponent(path_to_char)\n\t\t\t\t\t.IntriguePhysicalComponent(person_shape, 200f, trans2)\n\t\t\t\t\t.ParticleComponent(\"Blood\", \"3DParticles/Character/Blood.pfx\", \n\t\t\t\t\t\t\tnew Vector3(), new Vector3(1f,1f,1f))\n\t\t\t\t\t.MotionComponent()\n\t\t\t\t\t.AimingComponent()\n\t\t\t\t\t.CharacterActionsComponent()\n\t\t\t\t\t.AnimationComponent()\n\t\t\t\t\t.Fireable()\n\t\t\t\t\t.ShootingSoldierAI()\n\t\t\t\t\t.TargetingAI(team2)\n\t\t\t\t\t.Build());\n\t\t\n\t\tmamaDukes.get(2).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody()\n\t\t\t\t\t.getRigidBody()\n\t\t\t\t\t.setAngularFactor(new Vector3(0,0,0));\n\t\tmamaDukes.get(2).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody()\n\t\t\t\t\t.getRigidBody()\n\t\t\t\t\t.setActivationState(Collision.DISABLE_DEACTIVATION);\n\t\t\n\t\tmamaDukes.get(2).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody().getRigidBody()\n\t\t\t\t\t.setUserIndex(2);\n\t\t\n\t\ttrans3.translate(-1000, 1000, 2000);\n\t\t\n\t\tmamaDukes.add(new Entity.Builder(3)\n\t\t\t\t\t.IntrigueModelComponent(path_to_char)\n\t\t\t\t\t.IntriguePhysicalComponent(person_shape, 200f, trans3)\n\t\t\t\t\t.MotionComponent()\n\t\t\t\t\t.AimingComponent()\n\t\t\t\t\t.CharacterActionsComponent()\n\t\t\t\t\t.AnimationComponent().Fireable()\n\t\t\t\t\t.ShootingSoldierAI().TargetingAI(team2)\n\t\t\t\t\t.Build());\n\t\t\n\t\tmamaDukes.get(3).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody().getRigidBody()\n\t\t\t\t\t.setAngularFactor(new Vector3(0,0,0));\n\t\tmamaDukes.get(3).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody().getRigidBody()\n\t\t\t\t\t.setActivationState(Collision.DISABLE_DEACTIVATION);\n\t\tmamaDukes.get(3).getPhysicalComponent()\n\t\t\t\t\t.getPhysicsBody().getRigidBody().setUserIndex(3);\n\t\t\n\t\tVector3 rpos = new Vector3();\n\t\t\n\t\tmamaDukes.get(1).getModelComponent().getModel()\n\t\t\t\t\t.transform.getTranslation(rpos);\n\t\t\n\t\ticeTrans2.translate(0, 0, 6185.332f);\n\t\t\n\t\tmamaDukes.add(level_factory.createLevel(path_to_snow_terrain,\n\t\t\t\t\"SoundEffects/stages/snow stage/wind1.mp3\",\n\t\t\t\t\"3DParticles/blizzard.pfx\", iceTrans2, Entity.class));\n\t\t\n\t\t\t\t\t/*new DrifterObject.DrifterObjectBuilder(4)\n\t\t\t\t\t.BaseObject(new Gobject.Builder(4)\n\t\t\t\t\t.IntrigueModelComponent(path_to_snow_terrain)\n\t\t\t\t\t.IntriguePhysicalComponent(iceMass, iceTrans2)\n\t\t\t\t\t.IntrigueLevelComponent(\"SoundEffects/stages/snow stage/wind1.mp3\")\n\t\t\t\t\t.Build())\n\t\t\t\t\t.ParticleComponent(\"Blizzard\",\"3DParticles/blizzard.pfx\",\n\t\t\t\t\t\t\tnew Vector3(0, 0, 6185.332f),\n\t\t\t\t\t\t\tnew Vector3(3000, 1000,2000 ))\n\t\t\t\t\t.Build());*/\n\t\t\n\t\tmamaDukes.get(4).getModelComponent().getModel().transform.translate(new Vector3(0, 0, 6185.332f)); //btStaticMeshShapes do not update their motionStates. The model Translation must be set manually in these cases.\n\t\ticeTrans3.translate(-6149.6568f, 0, 6185.332f);\n\t\t\n\t\tmamaDukes.add(level_factory.createLevel(path_to_snow_terrain,\n\t\t\t\t\"3DParticles/blizzard.pfx\" , iceTrans3, Entity.class));\n\t\t/**\n\t\t * btStaticMeshShapes do not update their motionStates. The model Translation must be set manually in these cases.\n\t\t */\n\t\tmamaDukes.get(5).getModelComponent().getModel().transform.translate(new Vector3(-6149.6568f, 0, 6185.332f)); \n\t\t\n\t\ticeTrans4.translate(-6149.6568f, 0, 0);\n\t\tmamaDukes.add(level_factory.createLevel(path_to_snow_terrain,\n\t\t\t\t\"3DParticles/blizzard.pfx\" , iceTrans4, Entity.class));\n\t\t\t\t\t/**new DrifterObject.DrifterObjectBuilder(6)\n\t\t\t\t\t.BaseObject(new Gobject.Builder(6)\n\t\t\t\t\t.IntrigueModelComponent(path_to_snow_terrain)\n\t\t\t\t\t.IntriguePhysicalComponent(iceMass, iceTrans4)\n\t\t\t\t\t.ParticleComponent(\"Blizzard\",\"3DParticles/blizzard.pfx\",\n\t\t\t\t\t\t\tnew Vector3(-6149.6568f, 0, 0), new Vector3(3000, 1000,2000 ))\n\t\t\t\t\t.Build())\n\t\t\t\t\t.Build());*/\n\t\tmamaDukes.get(6).getModelComponent().getModel().transform.translate(new Vector3(-6149.6568f, 0, 0)); \n\t\t\n\t}",
"@Override\n public void init() {\n \n \n rightFront = hardwareMap.dcMotor.get(\"frontR\");\n rightBack = hardwareMap.dcMotor.get(\"backR\");\n \n \n \n rightFront.setDirection(DcMotor.Direction.FORWARD); \n rightBack.setDirection(DcMotor.Direction.FORWARD);\n \n \n \n\n // Send telemetry message to signify robot waiting;\n telemetry.addData(\"Say\", \"Hello Driver\"); //\n }",
"@Override\r\n protected SimpleBody addObject(Entity e) {\n PhysicsShape ps = e.get(PhysicsShape.class);\r\n PhysicsMassType pmt = e.get(PhysicsMassType.class);\r\n Position pos = e.get(Position.class);\r\n\r\n // Right now only works for CoG-centered shapes \r\n SimpleBody newBody = createStatic(e.getId(), pmt.getTypeName(ed), ps.getFixture(), true);\r\n\r\n newBody.setPosition(pos); //ES position: Not used anymore, since Dyn4j controls movement\r\n\r\n newBody.getTransform().setTranslation(pos.getLocation().x, pos.getLocation().y); //Dyn4j position\r\n newBody.getTransform().setRotation(pos.getRotation());\r\n\r\n newBody.setUserData(e.getId());\r\n\r\n newBody.setLinearDamping(0.3);\r\n\r\n return newBody;\r\n }",
"public PheromoneAgent(PheromoneBody b) {\n\t\tsuper();\n\t\tbody = b;\n\t}",
"@Override\n\tprotected void setup() {\n\t\tcarImg();\n\t\tsetResolution(Resolution.MSX);\n\t\tsetFramesPerSecond(100);\n\t\t\n\t\tbola = new Bola();\n\n\t\tbotoes();\n\n\t\tcriaBlocos();\n\n\t\tpaddle = new Paddle();\n\n\t\t\n\n\t}",
"@Override\r\n\tpublic void buildRoad() {\n\t\t\r\n\t}"
]
| [
"0.6294963",
"0.62457377",
"0.6007994",
"0.5870866",
"0.5719347",
"0.56417614",
"0.558743",
"0.5526952",
"0.5518693",
"0.5492505",
"0.54511094",
"0.54242414",
"0.54237306",
"0.5336002",
"0.53209496",
"0.5314377",
"0.5310594",
"0.530546",
"0.52869374",
"0.5243809",
"0.5228339",
"0.52134365",
"0.52088475",
"0.5203811",
"0.51843035",
"0.51379704",
"0.5064787",
"0.5064053",
"0.5064002",
"0.5039421",
"0.5007013",
"0.50000805",
"0.49818832",
"0.48911396",
"0.48868072",
"0.4882953",
"0.4873855",
"0.4871214",
"0.4870814",
"0.48617697",
"0.4846752",
"0.48432305",
"0.4838585",
"0.48283297",
"0.48257098",
"0.48233533",
"0.48200926",
"0.48177555",
"0.48048547",
"0.48045298",
"0.47957125",
"0.47937763",
"0.4778121",
"0.47596863",
"0.47589815",
"0.47549412",
"0.47489855",
"0.47439903",
"0.47415286",
"0.4733159",
"0.47270465",
"0.4720152",
"0.4712071",
"0.4711582",
"0.47021806",
"0.4699512",
"0.46948302",
"0.46915048",
"0.46879244",
"0.46829283",
"0.46784377",
"0.46765703",
"0.46674812",
"0.46665484",
"0.46662444",
"0.46647045",
"0.4664035",
"0.46604633",
"0.46555862",
"0.46552268",
"0.46390948",
"0.4631392",
"0.4629666",
"0.46267486",
"0.46225286",
"0.46170387",
"0.46133542",
"0.46085536",
"0.4608372",
"0.4601536",
"0.45950258",
"0.45921633",
"0.45874438",
"0.45792282",
"0.45763162",
"0.45762473",
"0.45749107",
"0.457269",
"0.45675638",
"0.45669064"
]
| 0.641633 | 0 |
When set, resets the torque applied based on the last desired torque. | public void setActualMaxTorque(float actualMaxTorque) {
this.actualMaxTorque = actualMaxTorque;
setTorque(desiredTorque);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void applyTorque(final float torque);",
"public void setTorque(float desiredTorque) {\n this.desiredTorque = desiredTorque;\n float sign = (desiredTorque < 0) ? -1 : 1;\n maxMotorTorque = sign * Math.min(\n Math.abs(desiredTorque),\n actualMaxTorque);\n if (joint != null) {\n joint.setMaxMotorTorque(maxMotorTorque); \n }\n }",
"public void applyTorque(final Vector3f torque) {\n rBody.applyTorque(Converter.convert(torque, tempVec));\n rBody.activate();\n }",
"public void resetToLast() {\r\n\t\taktu = last;\r\n\t}",
"public void RemoveTorque(Torque torque)\n\t{\n\t\tfor(int i=0; i<torqueList.size();i++)\n\t\t{\n\t\t\tif(torqueList.get(i).torqueVal == torque.torqueVal)\n\t\t\t{\n\t\t\t\ttorqueList.remove(i);\n\t\t\t}\n\t\t}\n\t}",
"public void applyTorque (float torque, boolean wake) {\n\t\tbody.applyTorque(torque);\n\t}",
"private void calculateTorque(){\n\t\ttau[0] = L * k * (w1*w1 - w3*w3);\r\n\t\t//Pitch torque\r\n\t\ttau[1] = L * k * (w2*w2 - w4*w4);\r\n\t\t//The total torque about the z axis is given by the sum of all the torques from each propeller.\r\n\t\ttau[2] = b * (w1*w1 - w2*w2 + w3*w3 - w4*w4);\r\n\t}",
"public void reset(){\n\t\tfrogReposition();\n\t\tlives = 5;\n\t\tend = 0;\n\t}",
"public void resetTachometers() {\n\t\tleftMotor.resetTachoCount();\n\t\trightMotor.resetTachoCount();\n\t}",
"public void cornersResetPosition() {\n if ((System.currentTimeMillis() - cornersCurrentDelayTime) >= MAX_DELAY_TIME) {\n cornersPositionInit();\n }\n }",
"public void setTorqueFtLb(double torqueFtLb) {\r\n this.torqueFtLb = torqueFtLb;\r\n }",
"public void resetPuck() {\n this.puck.setPosition(new Point(this.center_point));\n }",
"public void PushTorque(float torqueValue,ForceMode mode)\n\t{\n\t\tboolean isThere = false;\n\t\tTorque newTorque = new Torque(torqueValue,mode);\n\t\tfor(int i=0; i<torqueList.size();i++)\n\t\t{\n\t\t\tif(torqueList.get(i).torqueVal == torqueValue) isThere=true;\n\t\t}\n\t\t\n\t\tif(!isThere) \n\t\t{\n\t\t\ttorqueList.add(newTorque);\n\t\t}\n\t}",
"public float maxTorque();",
"public void setMaxTorque(float maxTorque) {\n jniSetMaxTorque(addr, maxTorque);\n }",
"@Override\n public void setOpponentsLastHand(Hand hand)\n {\n }",
"@Override\n\tpublic int newtomMeterTorque() {\n\t\treturn 0;\n\t}",
"void setCheque(double cheque) {\n\t\tthis.cheque = cheque;\n\t}",
"public final void reset() {\n\t\tscore = 0;\n\t\tlives = 10;\n\t\tshields = 3;\n\t}",
"public void reset()\n {\n\tcurrent = targetHead.next(0);\n }",
"public void resetTurrets(){\n\t\tfor(Turret turret : this.turrets){\n\t\t\tturret.reset();\n\t\t}\n\t}",
"void resetForce();",
"synchronized void reset() {\n\n // no change if called before getValue() or called twice\n lastValue = currValue = startValue;\n }",
"@Test\n public void testSetTorque() {\n System.out.println(\"setTorque\");\n double torque = 95.0;\n Regime instance = r1;\n instance.setTorque(torque);\n double result=instance.getTorque();\n double expResult=95.0;\n assertEquals(expResult, result, 0.0);\n }",
"private void resetForNextTurn() {\n\t\tremove(ball);\n\t\tdrawBall();\n\t\tsetInitialBallVelocity();\n\t\tpaddleCollisionCount = 0;\n\t\tpause(2000); \t\t\t\t\n }",
"public void liftUp(){\n set(m_defaultLiftSpeedUp);\n }",
"public void adjust (int currentCourt)\r\n\t{\r\n\t\t \r\n\t\tif (currentCourt < 0)\r\n\t\t{\r\n\t\t\tend = 0; \r\n\t\t\tthis.setValue(end - start ); \r\n\t\t}\r\n\t}",
"public void resetCarry() {\n\t\tset((byte) (get() & ~(1 << 4)));\n\t}",
"private void resetTankPoint() {\n\t\tmodifyMapStatus(0);// release the point where tank occupies\n\t\tif (direction == UP) {\n\t\t\tthis.centerPoint.setY(centerPoint.getY() - speed);\n\t\t} else if (direction == DOWN) {\n\t\t\tthis.centerPoint.setY(centerPoint.getY() + speed);\n\t\t} else if (direction == LEFT) {\n\t\t\tthis.centerPoint.setX(centerPoint.getX() - speed);\n\t\t} else if (direction == RIGHT) {\n\t\t\tthis.centerPoint.setX(centerPoint.getX() + speed);\n\t\t}\n\t\tresetFrontPoint();\n\t\tmodifyMapStatus(1);\n\t}",
"public void setTaux(final float newTaux) {\r\n\tthis.taux = newTaux;\r\n}",
"@Override\n public void execute() {\n intake.intakeMotor.set(-.8);\n }",
"public void reset() {\nsuper.reset();\nsetIncrease_( \"no\" );\nsetSwap_( \"tbr\" );\nsetMultrees_( \"no\" );\nsetRatchetreps_(\"200\");\nsetRatchetprop_(\"0.2\");\nsetRatchetseed_(\"0\");\n}",
"void setFullPelBackwardVector(int value)\n {\n backwardVector.setFullPel(value);\n }",
"public void resetSpeed() throws DynamicCallException, ExecutionException{\n call(\"resetSpeed\").get();\n }",
"public synchronized void reset(){\n\t\tif(motor.isMoving())\n\t\t\treturn;\n\t\tmotor.rotateTo(0);\n\t}",
"@Override\n\tpublic void reset() {\n\t\tsuper.reset();\n\t\tmSpeed = 0.0;\n\t\tmGoalAngle = 0.0;\n\t\tmCurrentAngle = mNavigation.getHeadingInDegrees();\n\t}",
"@Override\n\tprotected void execute() {\n\t\tmyLowerArm.set(-0.25);\n\t}",
"public void setFinalSolution() {\r\n for(int i=0; i<Config.numberOfSeeds;i++) {\r\n// this.seeds[i].setDurationMilliSec(GLowestState.getDwelltimes()[i]);\r\n// Cur_state[i] = GLowestState.getDwelltimes()[i];\r\n Cur_state[i] = this.seeds[i].getDurationMilliSec();\r\n }\r\n if (Config.SACostFunctionType==3) {\r\n setCur_cost(costCUR());\r\n }\r\n if (Config.SACostFunctionType==2) {\r\n setCur_cost(costCURfinal());\r\n }\r\n if (Config.SACostFunctionType==1) {\r\n setCur_cost(costCURsuper());\r\n }\r\n if (Config.SACostFunctionType==0) {\r\n setCur_cost(costCURsuperfinal());\r\n }\r\n }",
"private void reset() throws ParallelException {\r\n\t\tif (_k==2) _g.makeNNbors(true); // force reset (from cache)\r\n\t\t// else _g.makeNbors(true); // don't force reset (from cache): no need\r\n _nodesq = new TreeSet(_origNodesq);\r\n }",
"void setForce() {\n\tdouble oldfreq = forceBarValue * omega[1] / 20.0;\n\tforceBarValue = forceBar.getValue();\n\tdouble newfreq = forceBarValue * omega[1] / 20.0;\n\tdouble adj = newfreq-oldfreq;\n\tforceTimeZero = t-oldfreq*(t-forceTimeZero)/newfreq;\n }",
"public void setDefault(T value) {\n Objects.requireNonNull(value, \"value\");\n synchronized (mutationLock) {\n defaultValues.set(defaultValues.size() - 1, value);\n }\n }",
"private void setLast() { this._last = true; }",
"@Override\n public void setAfterLast(Wrapper afterLast)\n {\n\n }",
"public void resetHalfCarry() {\n\t\tset((byte) (get() & ~(1 << 5)));\n\t}",
"@Override\r\n\tpublic void reset() {\n\t\tposition.set(0, 0);\r\n\t\talive = false;\r\n\t}",
"private void resetHead() {\n mHead.setMode(Head.MODE_SMOOTH_TACKING);\n mHead.setWorldYaw(0);\n mHead.setWorldPitch(0.7f);\n }",
"void setLastTickPos(Vec3 pos);",
"public void undock() {\n if (getSpeed() == 0) {\n inDock = false;\n }\n }",
"public void reset() {\n cooldowns.clear();\n }",
"@Override\n public void setSoftUpperLimit(double position)\n {\n final String funcName = \"setSoftUpperLimit\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API, \"position=%f\", position);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API);\n }\n\n softUpperLimit = position;\n }",
"private void unsetLast() { this._last = false; }",
"public void setToroidal(boolean newStatus) {\n toroidal = newStatus;\n }",
"@Override\n protected void end() {\n Robot.myLifter.setLeftSpeed(0);\n Robot.myLifter.setRightSpeed(0);\n }",
"public void resetAngle() {\n\t\t//this.angle = (this.orientation % 4 + 4) * (90);\n\t\tthis.angle = this.orientation * 90*-1;\n\t\tthis.tweenAngle.setCurrentValue(this.angle);\n\t\tthis.tweenAngle.setTargetValue(this.angle);\n\t}",
"public void resetHP(){\r\n this.currHP = this.maxHP;\r\n }",
"public void liftArm(){armLifty.set(-drivePad.getThrottle());}",
"public void settleForce(Force f){\n if(!f.getOwner().equals(this.owner)){\n if(this.troops != 0)\n throw new IllegalArgumentException(\"Can't settle a Force in an occupied Territory\");\n this.owner = f.getOwner();\n }\n this.troops += f.getTroops();\n inGameInvariant();\n }",
"public void setTuckNum(int NewValue){\n truck = NewValue;\n }",
"public void resetBallCount() {\r\n\t\tballCount = 30;\r\n\t}",
"public void liftDown() {\n set(m_defaultLiftSpeedDown);\n }",
"void setNormalSpeed () {\n if (stepDelay == normalSpeed)\n return;\n stepDelay = normalSpeed;\n resetLoop();\n }",
"public void setLast(Node last)\n {\n this.last = last;\n }",
"public void setRemainingAir ( int ticks ) {\n\t\texecute ( handle -> handle.setRemainingAir ( ticks ) );\n\t}",
"public void resetSpeed()\r\n\t{\r\n\t\tcurrentSpeed = SnakeSpeed.DEFAULT;\r\n\t\tsnakes.get(snakeIndex).setSnakeSpeed(currentSpeed);\r\n\t}",
"public void setBoulderLockOff(){\r\n\t\tservoTarget = Constants.BALL_HOLDER_RETRACTED;\r\n\t}",
"public void resetYVel() {\n this.yVel = 0;\n }",
"void reset() {\n myIsJumping = myNoJumpInt;\n setRefPixelPosition(myInitialX, myInitialY);\n setFrameSequence(FRAME_SEQUENCE);\n myScoreThisJump = 0;\n // at first the cowboy faces right:\n setTransform(TRANS_NONE);\n }",
"@Override\n public void redo()\n {\n story.setEstimate(newEstimate);\n }",
"void setLast(Node node) {\n this.last = node;\n }",
"public void setPrevious()\n {\n\tint currentIndex = AL.indexOf(currentObject);\n\t currentObject = AL.get(currentIndex -1);\n\t\n\t// never let currentNode be null, wrap to head\n\tif (currentObject == null)\n\t\tcurrentObject = lastObject;\n }",
"public void reset() {\n position = 0;\n }",
"protected void reset() {\n speed = 2.0;\n max_bomb = 1;\n flame = false;\n }",
"default void setAll(Vec3 pos, Vec3 prev, Vec3 lastTick, Vec2 angles, Vec2 prevAngles) {\n this.setPos(pos);\n this.setPrevPos(prev);\n this.setLastTickPos(lastTick);\n this.setRotations(angles);\n this.setPrevRotations(prevAngles);\n }",
"public void resetValor();",
"private void resetRotationAxisToOrigin()\n\t{\n\t\tdouble newSpeed = this.currentMomentMass * getRotation() /\n\t\t\t\tthis.defaultMomentMass;\n\t\t\n\t\t// Changes back to normal rotation\n\t\tthis.currentRotationAxis = new Point2D.Double(getOriginX(), getOriginY());\n\t\tsetRotation(newSpeed);\n\t}",
"private void setCarry() {\n if (carry[noThread] == 2) {\n int index = noThread - 1;\n do {\n carry[noThread] = carry[index];\n index--;\n } while (carry[noThread] == 2);\n }\n }",
"public void resetPose() {\n }",
"public void turn() {\n rightMotor.resetTachoCount();\n rightMotor.setSpeed(DEFAULT_TURN_SPEED);\n leftMotor.setSpeed(DEFAULT_TURN_SPEED);\n rightMotor.forward();\n leftMotor.backward();\n\n }",
"public void reset() {\r\n\r\n for ( Card card : cards ) {\r\n if ( card.isFaceUp() ) {\r\n card.toggleFace( true );\r\n }\r\n }\r\n Collections.shuffle( cards );\r\n\r\n this.undoStack = new ArrayList<>();\r\n\r\n this.moveCount = 0;\r\n\r\n announce( null );\r\n }",
"private void moveUltrasonicSensorToDefaultPosition() {\n \t\tMotor.B.rotateTo(0);\n \t}",
"public void setToDefualts(){\n\t\tchangeInPlayerHealth = 0;\n\t\tchangeInPlayerScore = 0;\n\t\tchangInBatteryCharge = 0;\n\t\tpuaseForAnimation = false;\n\t}",
"protected void end() {\n \tRobot.hand.setWrist(0.0);\n }",
"@Override\n protected void end() {\n armPID_SetZero.disable();\n armPID_SetZero.armMotor.set(0);\n }",
"void setPrevPos(Vec3 pos);",
"public void setNextTurn() {\n\t\t// COMPLETE THIS METHOD\n\t\tif (turn == 1) {\n\t\t\t\n\t\t\tturn = 2;\n\t\t\tcurrentDisc = getPlayer2Disc();\n\t\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\tturn = 1;\n\t\t\tcurrentDisc = getPlayer1Disc();\n\t\t\t\n\t\t}\n\t}",
"public void reset()\n {\n // put your code here\n position = 0;\n order = \"\";\n set[0] = 0;\n set[1] = 0;\n set[2] = 0;\n }",
"public double getTorqueFtLb() {\r\n return torqueFtLb;\r\n }",
"public void resetPotandWins() {\n setPot(0.0);\n setNumOfPaylines(0);\n }",
"public void redo() {\n if (!future.isEmpty()) {\n Command c = future.get(0);\n c.redo();\n future.remove(0);\n history.add(0, c);\n }\n }",
"public void setToOriginals(){\n\t\t//set all occupied nodes as empty\n\t\tif(nodeStatus == Status.occupied){\n\t\t\tsetAsEmpty();\n\t\t}\n\t\t//if the node had a unit end on it, reset that value\n\t\tif(ended == true){\n\t\t\tended=false;\n\t\t}\n\t\tf=0;\n\t\tg=0;\n\t\th=0;\n\t}",
"public void setReached(boolean reached);",
"public void setNumDeparting() {\n if (isStopped() && !embarkingPassengersSet){\n \tRandom rand = new Random();\n \tint n = rand.nextInt(this.numPassengers+1);\n \tif (this.numPassengers - n <= 0) {\n \t\tthis.numPassengers = 0;\n n = this.numPassengers;\n \t} else {\n this.numPassengers = this.numPassengers - n;\n }\n trkMdl.passengersUnboarded(trainID, n);\n }\n \t//return 0;\n }",
"public void setDestroy() {\n\t\tdisparos--;\n\t\tif(disparos<=0) {\n\t\t\tdestroy=true;\n\t\t}\n\t}",
"private void actualizarTorretas(int dx, int dy){\r\n\t\tfor(int i=0; i<torretas.size(); i++){\r\n\t\t\tTorreta t =(Torreta)torretas.get(i);\r\n\t\t\tt.setPosition(dx, dy);\r\n\t\t\tif(!t.getVisible()){\r\n\t\t\t\ttorretas.remove(i);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void setHeading() {\n super.setHeading(getPrevious().getHeadingTo(this)); //The absolute angle position that robot needs to face to reach this position\n }",
"public void resetSkills()\r\n\t{\r\n\t\t// TODO Keep Skill List upto date\r\n\t\tfarming = 0;\r\n\t}",
"public final void resetTieBreaker() {\n m_tie = -1;\n }",
"private void setCurrentTurnpike(Point t){\n\t\t\n\t\t_currentTurnpikeStart = t;\n\t\n\t}",
"void gettingBackToInitial(){\n robot.setDrivetrainPosition(-hittingMineralDistance, \"translation\", 1.0);\n }",
"public void resetCurrent(){\r\n curr = head;\r\n }"
]
| [
"0.674173",
"0.6274763",
"0.62196666",
"0.5970519",
"0.5737525",
"0.5612745",
"0.5413371",
"0.5371114",
"0.5351767",
"0.52617526",
"0.5252558",
"0.5251448",
"0.5188009",
"0.5140887",
"0.5128001",
"0.51110953",
"0.50988954",
"0.503275",
"0.49966472",
"0.49834555",
"0.4978539",
"0.49778643",
"0.49757695",
"0.49735916",
"0.49551892",
"0.4944302",
"0.49340883",
"0.49277562",
"0.4920378",
"0.49138623",
"0.49052376",
"0.48977104",
"0.48810816",
"0.48762596",
"0.48692635",
"0.48673055",
"0.48616958",
"0.48596677",
"0.4853498",
"0.4847973",
"0.48432538",
"0.4842956",
"0.48380366",
"0.48251793",
"0.48226154",
"0.481302",
"0.48022035",
"0.47988832",
"0.4792474",
"0.47883353",
"0.4785369",
"0.47831663",
"0.47781432",
"0.4756215",
"0.47436282",
"0.47382",
"0.47364622",
"0.47328213",
"0.4717969",
"0.47166994",
"0.47101837",
"0.47066033",
"0.47056893",
"0.47035778",
"0.46954963",
"0.46890455",
"0.4686015",
"0.4685554",
"0.46845105",
"0.4678871",
"0.46716985",
"0.46700943",
"0.4669582",
"0.46585402",
"0.46553722",
"0.46534297",
"0.46499008",
"0.4642284",
"0.46400306",
"0.46355894",
"0.46325427",
"0.46271062",
"0.4626791",
"0.46264765",
"0.46259102",
"0.4621942",
"0.46207845",
"0.46194714",
"0.4618274",
"0.46064416",
"0.46052635",
"0.46045563",
"0.4603428",
"0.46025035",
"0.46003875",
"0.45907018",
"0.45888662",
"0.45888406",
"0.4587452",
"0.45850134"
]
| 0.46732277 | 70 |
The applied torque is capped at the maximum applicable torque. | public void setTorque(float desiredTorque) {
this.desiredTorque = desiredTorque;
float sign = (desiredTorque < 0) ? -1 : 1;
maxMotorTorque = sign * Math.min(
Math.abs(desiredTorque),
actualMaxTorque);
if (joint != null) {
joint.setMaxMotorTorque(maxMotorTorque);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public float maxTorque();",
"public float getMaxTorque() {\n return jniGetMaxTorque(addr);\n }",
"public void applyTorque(final float torque);",
"private void calculateTorque(){\n\t\ttau[0] = L * k * (w1*w1 - w3*w3);\r\n\t\t//Pitch torque\r\n\t\ttau[1] = L * k * (w2*w2 - w4*w4);\r\n\t\t//The total torque about the z axis is given by the sum of all the torques from each propeller.\r\n\t\ttau[2] = b * (w1*w1 - w2*w2 + w3*w3 - w4*w4);\r\n\t}",
"public void setMaxTorque(float maxTorque) {\n jniSetMaxTorque(addr, maxTorque);\n }",
"public void setActualMaxTorque(float actualMaxTorque) {\n this.actualMaxTorque = actualMaxTorque;\n setTorque(desiredTorque);\n }",
"@Override\n\tpublic int getMaxSafePointTries() {\n\t\treturn this.getAttackTarget() == null ? 3\n\t\t\t\t: 3 + (int) (this.getHealth() - 1.0F);\n\t}",
"public void applyTorque(final Vector3f torque) {\n rBody.applyTorque(Converter.convert(torque, tempVec));\n rBody.activate();\n }",
"public float minTorque();",
"@Override\n\tpublic int newtomMeterTorque() {\n\t\treturn 0;\n\t}",
"private static final double maxDecel(double speed) {\n return limit(1, speed * 0.5 + 1, 2);\n }",
"public void setMaxAlturaCM(float max);",
"public float maxSpeed();",
"public int maxQ() {\r\n\t\treturn maxQ;\r\n\t}",
"public double getTorqueFtLb() {\r\n return torqueFtLb;\r\n }",
"public void applyTorque (float torque, boolean wake) {\n\t\tbody.applyTorque(torque);\n\t}",
"@Override\n\tpublic int getMaxSpeed() {\n\t\treturn super.getMaxSpeed();\n\t}",
"public float getMaxForce() {\n return jniGetMaxForce(addr);\n }",
"public int nEigenOneOrGreater(){\n if(!this.pcaDone)this.pca();\n return this.greaterThanOneLimit;\n }",
"public void setMaximum() {\n getReel().setMaxValue(getVerticalScrollBar().getMaximum());\n }",
"private int mobLimitPlacer(){\n if (gameWorld == GameWorld.NORMAL) return\n Api.getConfigManager().getWorldMobLimit();\n else return\n Api.getConfigManager().getNetherMobLimit();\n }",
"private void setMaxThreshold() {\n maxThreshold = value - value * postBoundChange / 100;\n }",
"public void setMax ( Point max ) {\r\n\r\n\tsetB ( max );\r\n }",
"public float getChlorophyllMax() {\n return chlorophyllMax;\n }",
"public int getMaxJump() {return 2;}",
"protected final void setMax() {\n\n\tint prevmax = this.max;\n\n\tint i1 = this.high;\n\tint i2 = left.max;\n\tint i3 = right.max;\n\n\tif ((i1 >= i2) && (i1 >= i3)) {\n\t this.max = i1;\n\t} else if ((i2 >= i1) && (i2 >= i3)) {\n\t this.max = i2;\n\t} else {\n\t this.max = i3;\n\t}\n\t\n\tif ((p != IntervalNode.nullIntervalNode) &&\n\t (prevmax != this.max)) {\n \t p.setMax();\n\t}\n }",
"public Integer findMaxSatisfaction(Integer timelimit) {\n\t\treturn satisfactionAnalyzer.findMaxSatisfaction(timelimit);\n\t}",
"public void setMaximumAir ( int ticks ) {\n\t\texecute ( handle -> handle.setMaximumAir ( ticks ) );\n\t}",
"void setMaxActiveAltitude(double maxActiveAltitude);",
"@Override\n\tprotected void setUpperBound() {\n\t\t\n\t}",
"private long targetSize(int rank) {\n return rank <= rankLimit ? 1 : TARGET_SIZE[rank - rankLimit];\n }",
"void setPruneMaximum(int max) {\n\t\tif(max >= maximumBound) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tint newLargestWidth = getWidth(max - 1);\n\t\tint oldLargestWidth = getWidth(maximumBound - 1);\n\t\tmaximumBound = max;\n\t\t\n\t\tif(newLargestWidth < widthAfterQueue - 1) {\n\t\t\t//Don't prune the widths in the queue.\n\t\t\tnewLargestWidth = widthAfterQueue - 1;\n\t\t}\n\t\t\n\t\t//Prune useless widths\n\t\tfor(int i = newLargestWidth + 1; i < widths.size() && i <= oldLargestWidth; i++) {\n\t\t\tfor(ScheduleBlock block : widths.get(i)) {\n\t\t\t\tblock.remove();\n\t\t\t\twidthSize[i] -= block.size;\n\t\t\t}\n\t\t\t\n\t\t\twidths.get(i).clear();\n\t\t}\n\t}",
"public void setMaxForce(float maxForce) {\n jniSetMaxForce(addr, maxForce);\n }",
"@Override\n\tpublic int max() {\n\t\treturn 4;\n\t}",
"public BigDecimal getTradeMax() {\n return tradeMax;\n }",
"public int calcMaxLife() {\n\t\treturn 10;\r\n\t}",
"private void changeDirectionIfReachedPacingAreaMax()\n {\n int totalDistance = Math.abs(xTotalDistance);\n\n if (totalDistance > this.currentDistance)\n {\n this.nextDirection();\n //this.isFollowLimitedByTerrain = false;\n }\n }",
"int getAbsoluteMaximumDelay();",
"public void setMaxSpeed() {\n\t\tspeed = MAX_SPEED;\n\t}",
"public void setMaxTranslationVel(float maxVel, int xform) {\n\t\tm_xforms[xform].m_maxTranslationVel = maxVel;\n\t}",
"@Override\n\tpublic double getFinalBestTargetValue() {\n\t\treturn 0;\n\t}",
"public double getLimit() {return limit;}",
"private float getMaxHeight(TECarpentersBlock TE)\n \t{\n \t\tfloat maxHeight = 1.0F / 16.0F;\n \t\t\n \t\tfor (int quadrant = 0; quadrant < 4; ++quadrant) {\n \t\t\tfloat quadHeight = Collapsible.getQuadHeight(TE, quadrant) / 16.0F;\n \t\t\tif (quadHeight > maxHeight)\n \t\t\t\tmaxHeight = quadHeight;\n \t\t}\t\t\n \n \t\treturn maxHeight;\n \t}",
"public int getMaxFlyingSpeed() {\r\n\t\treturn this.maxFlyingSpeed;\r\n\t}",
"public int getMaxSpeed() {\n return MaxSpeed;\n }",
"@Override\n\tpublic int getMaxIterations() {\n\t\treturn maxIterations;\n\t}",
"@Override\n\tpublic int brakingDistance() {\n\t\treturn 0;\n\t}",
"public long getPropertyBalanceMax();",
"public boolean nearMaxRescue() {\n double water = this.waterLevel;\n double no = (this.configuration.getMaximalLimitLevel()\n - this.configuration.getMaximalNormalLevel()) / 2;\n if (water > this.configuration.getMaximalLimitLevel()\n || water > this.configuration.getMaximalLimitLevel() - no) {\n return true;\n } else if (water < this.configuration.getMinimalLimitLevel()\n || water < this.configuration.getMinimalLimitLevel() + no) {\n\n return true;\n }\n return false;\n }",
"@Override\n public int getMaxJobsPerAcquisition() {\n return myMaxJobsPerAcquisition;\n }",
"public int getMaxFreezeTicks ( ) {\n\t\treturn extract ( handle -> handle.getMaxFreezeTicks ( ) );\n\t}",
"public void setMax(){\n for (int i = 0; i < Nodes.size(); i++){\n this.MinDistance.add(Double.MAX_VALUE);\n }\n }",
"public int getMaxActive();",
"public void setMiterLimit(float limit);",
"public void setMaxRotationVel(float maxVel, int xform) {\n\t\tm_xforms[xform].m_maxRotationVel = maxVel;\n\t}",
"public int donnePoidsMax() { return this.poidsMax; }",
"public void autoScoreBottomCenterPeg() {\n getRobotDrive().goForward(-.5); //Speed at which to back up\n Timer.delay(1); //Time to continue backing up\n getRobotDrive().stop(); //Stop backing up\n arm.armJag.set(.4); //Speed to lower arm *may need to be inverted*\n Timer.delay(.5); //Time to lower arm\n arm.grabTube(true); //Opens the claw to release Ub3r Tube\n getRobotDrive().goForward(-.5); //Speed at which to back up again\n arm.armJag.set(.3); //Lowers arm safely to ground.\n\n }",
"int getMaxCooldown();",
"public long limit();",
"public abstract int getMaximumValue();",
"private void notEligibleForRealMax() {\n eligibleForRealMax = false;\n }",
"public abstract int getMaxQlength();",
"@Override\n public void setSoftUpperLimit(double position)\n {\n final String funcName = \"setSoftUpperLimit\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API, \"position=%f\", position);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API);\n }\n\n softUpperLimit = position;\n }",
"public float getMaxCartSpeedOnRail() {\n return 1.2f;\n }",
"public void setMotorCurrentLimit() {\r\n final int motorCurrentLimit = 40;\r\n leftMotor_0.setSmartCurrentLimit(motorCurrentLimit);\r\n leftMotor_1.setSmartCurrentLimit(motorCurrentLimit);\r\n leftMotor_2.setSmartCurrentLimit(motorCurrentLimit);\r\n rightMotor_0.setSmartCurrentLimit(motorCurrentLimit);\r\n rightMotor_1.setSmartCurrentLimit(motorCurrentLimit);\r\n rightMotor_2.setSmartCurrentLimit(motorCurrentLimit);\r\n }",
"public int getPassivePoolSize(){return passivePoolSize;}",
"protected final int getMax() {\n\treturn(this.max);\n }",
"protected final void setMax(Comparable max)\r\n {\r\n myMax = max;\r\n }",
"int getMaxConcurrent();",
"private void setMax(int max) { this.max = new SimplePosition(false,false,max); }",
"public double getMaxSpeed() {\r\n return maxSpeed;\r\n }",
"default int getMaximumCount(int slot) {\n\t\treturn 64;\n\t}",
"int getMaximumDelay();",
"public int getMaxAdvance() {\n return -1;\n }",
"public void setMaximumPoints(int maximum);",
"public int getMaxAmount() {\n return _max;\n }",
"public void tensionRangeCheck(){\n if(motor.get() < 0){\n if(Bottom_Limit_Switch.get() | tenPot.pidGet()> tenPotMAX ){\n motor.set(0.0);\n }\n }else if(motor.get() > 0){\n if(Top_Limit_Switch.get() | tenPot.pidGet()< tenPotMIN){\n motor.set(0.0);\n }\n }\n }",
"@Override\n\tprotected void execute() {\n\t\t// Code for finding max velocity of a given motor\n\t\t// var currentVel = kDrive.getLeftVelocity();\n\t\t// if (currentVel > maxVelocity) {\n\t\t// maxVelocity = currentVel;\n\t\t// System.out.println(maxVelocity);\n\t\t// }\n\n\t\t// Joystick configuration\n\t\tvar throttle = -OI.joy.getY();\n\t\tvar curve = OI.joy.getX() * 0.85;\n\n\t\tdrivetrain.vbusArcade(throttle, curve);\n\n\t\tdrivetrain.sendDebugInfo();\n\t}",
"int getLimit();",
"int getLimit();",
"@Override\n protected int getMaxPossibleAttempts(){\n int choiceCt = questionData.getChoices().size();\n //if there's one choice, it's intentionally obvious\n return (choiceCt == 1 ? 1 : choiceCt - 1);\n }",
"int getMaxTicksLimit();",
"public float getMaxAlturaCM();",
"public float getMaxTranslationVel(int xform) {\n\t\treturn m_xforms[xform].m_maxTranslationVel;\n\t}",
"public void setMaxActive(int maxActive);",
"@Override\n\tprotected double getUpperBound() {\n\t\treturn 0;\n\t}",
"public long maxValue() {\n return 0;\n }",
"@Raw\n private void setMaxVelocity(double max){\n \tif (!isValidMaxVelocity(max)) this.maxVelocity = SPEED_OF_LIGHT;\n \telse this.maxVelocity = max;\n }",
"final int getMaximumSize(int axis) {\n if (max == UNSET) {\n max = constrain(calculateMaximumSize(axis));\n }\n return max;\n }",
"public float getMaxCY3();",
"public void setCost(int maxTemp) {\n\t\tthis.cost = 900 + (200 * (Math.pow( 0.7, ((double)maxTemp/5.0) )));\n\t}",
"public void setMinAlturaCM(float max);",
"public void setTradeMax(BigDecimal tradeMax) {\n this.tradeMax = tradeMax;\n }",
"int maxargs()\n {\n\t return Math.max(head.maxargs(),tail.maxargs());\n }",
"void updateMaxTick();",
"@Override\n public double getMaxSpeed() {\n return myMovable.getMaxSpeed();\n }",
"@Override\n public boolean isMaximum(){\n return super.isMaximum() || speciallyMaximized;\n }",
"public void PushTorque(float torqueValue,ForceMode mode)\n\t{\n\t\tboolean isThere = false;\n\t\tTorque newTorque = new Torque(torqueValue,mode);\n\t\tfor(int i=0; i<torqueList.size();i++)\n\t\t{\n\t\t\tif(torqueList.get(i).torqueVal == torqueValue) isThere=true;\n\t\t}\n\t\t\n\t\tif(!isThere) \n\t\t{\n\t\t\ttorqueList.add(newTorque);\n\t\t}\n\t}",
"float zMax();",
"public int getMaxChainLength(){\r\n return maxChainLength;\r\n }"
]
| [
"0.75900525",
"0.6848452",
"0.6723525",
"0.64550495",
"0.6212372",
"0.6068773",
"0.591187",
"0.58996075",
"0.58484846",
"0.5650797",
"0.55329067",
"0.55140305",
"0.54900664",
"0.5454065",
"0.5449",
"0.5446832",
"0.5389203",
"0.5369863",
"0.5348887",
"0.53033286",
"0.52678156",
"0.5261744",
"0.5243269",
"0.52316",
"0.5198196",
"0.51975334",
"0.5195049",
"0.5189333",
"0.51703763",
"0.516879",
"0.51458424",
"0.5134698",
"0.51322937",
"0.51301414",
"0.5121184",
"0.5115731",
"0.51152986",
"0.5111598",
"0.5102662",
"0.50962275",
"0.5092051",
"0.5091154",
"0.50909096",
"0.5079869",
"0.5074382",
"0.50737804",
"0.5070246",
"0.50663865",
"0.5054182",
"0.50357527",
"0.5029978",
"0.5028189",
"0.50198686",
"0.5018239",
"0.50136864",
"0.501213",
"0.50024766",
"0.49990928",
"0.4997285",
"0.49943087",
"0.49942312",
"0.49911708",
"0.49911657",
"0.49887332",
"0.49865472",
"0.49801633",
"0.49790904",
"0.49703622",
"0.49690014",
"0.4964034",
"0.49610686",
"0.4957988",
"0.49549338",
"0.49541965",
"0.4952917",
"0.49524945",
"0.49506128",
"0.49496022",
"0.49435562",
"0.49435562",
"0.49382553",
"0.4934547",
"0.49325728",
"0.49287498",
"0.4928617",
"0.4926595",
"0.49227494",
"0.49220282",
"0.4912346",
"0.49120557",
"0.49096236",
"0.4903014",
"0.48931336",
"0.4891086",
"0.48894727",
"0.4886341",
"0.48852804",
"0.4884994",
"0.48782286",
"0.48707423"
]
| 0.62782335 | 4 |
Inspects the changed resources and determines if and how to update the internal structures of the ModuleModelManage. | public void resourceChanged(IResourceChangeEvent event) {
int eventType = event.getType();
IResourceDelta delta = event.getDelta();
switch (eventType) {
case IResourceChangeEvent.POST_CHANGE:
checkProjectsAndDescriptorChanges(delta);
break;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void updateChildren() {\n modulesTableModel.clear();\n repositoriesTableModel.clear();\n if (modules != null) {\n repositoriesTableModel.set(modules.xgetRepositoryArray());\n modulesTableModel.set(modules.getModuleArray());\n } else {\n repositoriesTableModel.fireTableDataChanged();\n modulesTableModel.fireTableDataChanged();\n }\n }",
"@Override\n public void onInitRepositoryStructure() {\n if (model != null) {\n if (model.isMultiModule()) {\n doRepositoryStructureInitialization(DeploymentMode.VALIDATED);\n } else if (model.isSingleProject()) {\n repositoryManagedStatusUpdater.initSingleProject(projectContext.getActiveRepository(),\n projectContext.getActiveBranch());\n } else if (!model.isManaged()) {\n repositoryManagedStatusUpdater.updateNonManaged(projectContext.getActiveRepository(),\n projectContext.getActiveBranch());\n }\n }\n }",
"protected void handleChangedResources() {\r\n\t\tif (!changedResources.isEmpty()\r\n\t\t\t\t&& (!isDirty() || handleDirtyConflict())) {\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tif (isDirty()) {\r\n\t\t\t\tchangedResources.addAll(editingDomain.getResourceSet()\r\n\t\t\t\t\t\t.getResources());\r\n\t\t\t}\r\n\t\t\teditingDomain.getCommandStack().flush();\r\n\r\n\t\t\tupdateProblemIndication = false;\r\n\t\t\tfor (Resource resource : changedResources) {\r\n\t\t\t\tif (resource.isLoaded()) {\r\n\t\t\t\t\tresource.unload();\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tresource.load(Collections.EMPTY_MAP);\r\n\t\t\t\t\t} catch (IOException exception) {\r\n\t\t\t\t\t\tif (!resourceToDiagnosticMap.containsKey(resource)) {\r\n\t\t\t\t\t\t\tresourceToDiagnosticMap\r\n\t\t\t\t\t\t\t\t\t.put(resource, analyzeResourceProblems(\r\n\t\t\t\t\t\t\t\t\t\t\tresource, exception));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (AdapterFactoryEditingDomain.isStale(editorSelection)) {\r\n\t\t\t\tsetSelection(StructuredSelection.EMPTY);\r\n\t\t\t}\r\n\r\n//\t\t\tupdateProblemIndication = true;\r\n//\t\t\tupdateProblemIndication();\r\n\t\t}\r\n\t}",
"public void updateModel() {\n\t\t// Set the mode to validation\n\t\tmode = UPDATE;\n\t\t// Traverses the source and updates the model when UML elements are\n\t\t// missing\n\t\tinspect();\n\t}",
"public void refreshModules() {\n\t\tremoveAll();\n\t\tboxes.removeAll(boxes);\n\t\t\n//\t\tfor (ModulePanel panel : App.data.getModulePanels()) {\n//\t\t\t// Add the actual panel to the surface\n//\t\t\tadd(panel);\n//\t\t\t// Add the connectable panels to the list\n//\t\t\tboxes.addAll(panel.getConnectablePanels());\n//\t\t\tpanel.refresh();\n//\t\t}\n\t\t\n\t\tupdateUI();\n\t\trepaint();\n\t}",
"protected void handleModelChanged() {\n\t\t// refresh connections on the source edit part!\n\t\tif (isActive()) {\n//\t\t\tLink link = (Link)getModel();\n//\t\t\tEObject sourceActivity = FlowLinkUtil.getLinkSource(link); \n//\t\t\tif (sourceActivity != null) {\n//\t\t\t\tObject editPart = getViewer().getEditPartRegistry().get(sourceActivity);\n//\t\t\t\tif (editPart instanceof ActivityEditPart) {\n//\t\t\t\t\t((ActivityEditPart)editPart).refresh();\n//\t\t\t\t}\n//\t\t\t}\n//\t\t\tEObject targetActivity = FlowLinkUtil.getLinkTarget(link); \n//\t\t\tif (targetActivity != null) {\n//\t\t\t\tObject editPart = getViewer().getEditPartRegistry().get(targetActivity);\n//\t\t\t\tif (editPart instanceof ActivityEditPart) {\n//\t\t\t\t\t((ActivityEditPart)editPart).refresh();\n//\t\t\t\t}\n//\t\t\t}\n\t\t\t// If property name is children, refresh children.\n\t\t\t// If property name is size or location, refresh visuals.\n\t\t\trefreshVisuals();\n\t\t}\n\t}",
"protected void recheckDirty ()\n {\n // refresh the 'gbox' in each manager, the GroupItem will toString() differently if dirty\n for (int ii = 0, nn = _tabs.getComponentCount(); ii < nn; ii++) {\n SwingUtil.refresh(((ManagerPanel)_tabs.getComponentAt(ii)).gbox);\n }\n }",
"@Transactional(readOnly=true)\r\n\tprotected void addModuleInstructionIfNecessary(ModuleTransferObject currModule, \r\n\t\t\tList<ModuleTransferObject> existingModuledtos) {\r\n\t\t\r\n\t\tfor (ModuleTransferObject moduledto : existingModuledtos) {\r\n\t\t\t//These are the previously marked as \"matched\" in isExistingModule\r\n\t\t\tif (MARK_TO_KEEP_IN_UPDATE == moduledto.getDisplayOrder())\r\n\t\t\t\tcontinue;\r\n\t\t\t\r\n\t\t\tif (currModule.getLongName().equalsIgnoreCase(moduledto.getLongName())) {\r\n\t\t\t\t//get the newly added module's public id and version\r\n\t\t\t\tModuleTransferObject mod = moduleV2Dao.getModulePublicIdVersionBySeqid(currModule.getIdseq());\r\n\t\t\t\t\r\n\t\t\t\tString instr = \"New Module with public id \" + mod.getPublicId() + \" and version \" + mod.getVersion() + \r\n\t\t\t\t\t\t\" was created by Form Loader because the XML module public id value of \" +\r\n\t\t\t\t\t\tcurrModule.getPublicId() + \" and version \" + currModule.getVersion() + \" did not match an existing module. \" +\r\n\t\t\t\t\t\t\"Please review modules and delete any unnecessary module, this module may have been intended to \" +\r\n\t\t\t\t\t\t\"replace an existing module.\";\r\n\t\t\t\t\r\n\t\t\t\tInstructionTransferObject instdto = createInstructionDto(currModule, instr);\r\n\t\t\t\tmoduleInstructionV2Dao.createInstruction(instdto, currModule.getIdseq());\r\n\t\t\t\t\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\r\n\t\t}\r\n\t}",
"private void updateModules()\n throws Exception\n {\n LogUtil.put(LogFactory.getInstance(\"Start\", this, \"updateModules\"));\n \n Vector vector = this.findNewModules();\n Iterator iterator = vector.iterator();\n while(iterator.hasNext())\n {\n Bundle bundle = this.install((URL) iterator.next());\n \n if(bundle != null)\n {\n bundle.start(MODULES_START_LEVEL);\n }\n }\n }",
"public abstract void modelStructureChanged();",
"public void updateStructure()\n\t{\n\t\tboolean itWorked = true;\n\t\t\n\t\t// Get block's rotational information as a ForgeDirection\n\t\tForgeDirection rotation = ForgeDirection.getOrientation(Utils.backFromMeta(worldObj.getBlockMetadata(xCoord, yCoord, zCoord)));\n\t\t\n\t\t//\n\t\t// Step one: validate all blocks\n\t\t//\n\t\t\n\t\t// Get the MachineStructures from the MachineStructureRegistrar\n\t\t// But if the machine is already set up it should only check the desired structure.\n\t\tfor (MachineStructure struct : (structureComplete() ? MachineStructureRegistrar.getStructuresForMachineID(getMachineID()) : MachineStructureRegistrar.getStructuresForMachineID(getMachineID())))\n\t\t{\n\t\t\t// Check each block in requirements\n\t\t\tfor (PReq req : struct.requirements)\n\t\t\t{\n\t\t\t\t// Get the rotated block coordinates.\n\t\t\t\tBlockPosition pos = req.rel.getPosition(rotation, xCoord, yCoord, zCoord);\n\n\t\t\t\t// Check the requirement.\n\t\t\t\tif (!req.requirement.isMatch(tier, worldObj, pos.x, pos.y, pos.z, xCoord, yCoord, zCoord))\n\t\t\t\t{\n\t\t\t\t\t// If it didn't work, stop checking.\n\t\t\t\t\titWorked = false; break;\n\t\t\t\t}\n\t\t\t\t// If it did work keep calm and carry on\n\t\t\t}\n\t\t\t\n\t\t\t// We've gone through all the blocks. They all match up!\n\t\t\tif (itWorked)\n\t\t\t{\n\t\t\t\t// **If the structure is new only**\n\t\t\t\t// Which implies the blocks have changed between checks\n\t\t\t\tif (struct.ID != structureID)\n\t\t\t\t{\n\t\t\t\t\t//\n\t\t\t\t\t// This is only called when structures are changed/first created.\n\t\t\t\t\t//\n\t\t\t\t\t\n\t\t\t\t\t// Save what structure we have.\n\t\t\t\t\tstructureID = struct.ID;\n\t\t\t\t\t\n\t\t\t\t\t// Make an arraylist to save all teh structures\n\t\t\t\t\tArrayList<StructureUpgradeEntity> newEntities = new ArrayList<StructureUpgradeEntity>();\n\n\t\t\t\t\t// Tell all of the blocks to join us!\n\t\t\t\t\tfor (PReq req : struct.requirements)\n\t\t\t\t\t{\n\t\t\t\t\t\t// Get the blocks that the structure has checked.\n\t\t\t\t\t\tBlockPosition pos = req.rel.getPosition(rotation, xCoord, yCoord, zCoord);\n\t\t\t\t\t\tBlock brock = worldObj.getBlock(pos.x, pos.y, pos.z); if (brock == null) continue;\n\n\t\t\t\t\t\tif (brock instanceof IStructureAware)\n\t\t\t\t\t\t\t((IStructureAware)brock).onStructureCreated(worldObj, pos.x, pos.y, pos.z, xCoord, yCoord, zCoord);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// Check the tile entity for upgrades\n\t\t\t\t\t\tTileEntity ent = worldObj.getTileEntity(pos.x, pos.y, pos.z);\n\t\t\t\t\t\tif (ent != null && ent instanceof StructureUpgradeEntity)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tStructureUpgradeEntity structEnt = (StructureUpgradeEntity)ent;\n\t\t\t\t\t\t\tnewEntities.add(structEnt);\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t/* // Not sure about this.\n\t\t\t\t\t\t\tif (structEnt.coreX != xCoord && structEnt.coreY != yCoord && structEnt.coreZ != zCoord)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tstructEnt.onCoreConnected()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t*/\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// do stuff with that\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// I haven't figured out how the hell to do toArray() in this crap\n\t\t\t\t\t// so here's a weird combination of iterator and for loop\n\t\t\t\t\tupgrades = new StructureUpgradeEntity[newEntities.size()];\n\t\t\t\t\tfor (int i = 0; i < newEntities.size(); i++)\n\t\t\t\t\t\tupgrades[i] = newEntities.get(i);\n\n\t\t\t\t\t// Tell all of the structure blocks to stripe it up!\n\t\t\t\t\tfor (RelativeFaceCoords relPos : struct.relativeStriped)\n\t\t\t\t\t{\n\t\t\t\t\t\tBlockPosition pos = relPos.getPosition(rotation, xCoord, yCoord, zCoord);\n\t\t\t\t\t\tBlock brock = worldObj.getBlock(pos.x, pos.y, pos.z);\n\t\t\t\t\t\t\n\t\t\t\t\t\t// If it's a structure block tell it to stripe up\n\t\t\t\t\t\tif (brock != null && brock instanceof StructureBlock)\n\t\t\t\t\t\t\tworldObj.setBlockMetadataWithNotify(pos.x, pos.y, pos.z, 2, 2);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// If not, reset the loop and try again.\n\t\t\telse { itWorked = true; continue; }\n\t\t}\n\t\t\n\t\t//\n\t\t// None of the structures worked!\n\t\t//\n\t\t\n\t\t// If we had a structure before, we need to clear it\n\t\tif (structureComplete())\n\t\t{\n\t\t\tfor (PReq req : MachineStructureRegistrar.getMachineStructureByID(structureID).requirements)\n\t\t\t{\n\t\t\t\tBlockPosition pos = req.rel.getPosition(rotation, xCoord, yCoord, zCoord);\n\t\t\t\tBlock brock = worldObj.getBlock(pos.x, pos.y, pos.z);\n\t\t\t\t\n\t\t\t\t// This will also un-stripe all structure blocks.\n\t\t\t\tif (brock instanceof IStructureAware)\n\t\t\t\t\t((IStructureAware)brock).onStructureBroken(worldObj, pos.x, pos.y, pos.z, xCoord, yCoord, zCoord);\n\t\t\t}\n\t\t\t// We don't have a structure.\n\t\t\tstructureID = null;\n\t\t}\n\t\t\n\t}",
"@Override\n\tpublic Integer updateModules(Modules modules) {\n\t\treturn modulesMapper.updateModules(modules);\n\t}",
"@Override\n\t\t\t\tpublic void modelStructureChanged() {\n\n\t\t\t\t}",
"public void reInitializeModels () {\n this.model = new ModelManager(getTypicalAddressBook(), new UserPrefs());\n this.expectedModel = new ModelManager(model.getAddressBook(), new UserPrefs());\n }",
"public void edit() throws Exception {\n super.assertModelsExist();\n for (Model model : models) {\n gotoEditPage(model);\n populateValues(model);\n save(model);\n handlePostErrors();\n }\n }",
"private void update() {\n\n\t\tthis.projects.clear();\n\n\t\tfor (Project p : INSTANCE.getProjects()) {\n\t\t\tif (p instanceof Infrastructure) {\n\t\t\t\tthis.projects.addElement(p);\n\t\t\t}\n\t\t}\n\n\t\tfor (Project p : INSTANCE.getProjects()) {\n\t\t\tif (p instanceof Social) {\n\t\t\t\tthis.projects.addElement(p);\n\t\t\t}\n\t\t}\n\t}",
"private void updateOntChanges() {\r\n\t\ttry {\r\n\t\t\tString status = \"Status: [ACTION - Update Local Ontology]...\";\r\n\t\t\tstatusBar.setText(status);\r\n\t\t\tif (existingOntRadio.isSelected()) {\r\n\t\t\t\tOWLOntology ont = (OWLOntology) ontBox.getSelectedItem();\r\n\t\t\t\tList changes = swoopModel.getChangesCache().getChangeList(ont.getURI());\r\n\t\t\t\tfor (int i=0; i<changes.size(); i++) {\r\n\t\t\t\t\tSwoopChange swc = (SwoopChange) changes.get(i);\r\n\t\t\t\t\tif (!isPresent(ontChanges, swc)) ontChanges.add(swc.clone());\r\n\t\t\t\t}\r\n\t\t\t\tthis.sortChanges(ontChanges);\r\n\t\t\t\tthis.refreshOntTreeTable(); \r\n\t\t\t}\r\n\t\t\tstatusBar.setText(status+\"DONE\");\r\n\t\t}\r\n\t\tcatch (OWLException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t}",
"public void markRenderModelsModified() {\n\t\t\n\t\t// TODO dispose of the VBOs!!!\n\t\trenderUnits = null;\n\t\t\n\t}",
"private void CheckStructureIntegrity() {\n int size = 0;\n for (Module mod : modules) {\n size += mod.getAddresses().size();\n logger.info(\"BBS : {} Module {}\", mod.getAddresses().size(), mod.getName());\n }\n logger.info(\"Total BBS : {}\", size);\n }",
"public void upd2(Connection con, loginProfile prof) throws qdbException, qdbErrMessage, SQLException {\n res_id = mod_res_id;\n res_type = RES_TYPE_MOD;\n res_upd_user = prof.usr_id;\n\n super.checkTimeStamp(con);\n\n if (res_status.equalsIgnoreCase(RES_STATUS_ON) || res_status.equalsIgnoreCase(RES_STATUS_DATE)) {\n // Check if the question is ordered in 1,2,3....\n if (!checkQorder(con)) {\n //Questions are not in the correct order.\n throw new qdbErrMessage(\"MOD001\");\n }\n }\n\n //if the module is standard test or dynamic test\n //make sure that you can only turn the module online\n //if the test has question/criteria defined in it\n if (res_status.equalsIgnoreCase(RES_STATUS_ON)) {\n if (mod_type.equalsIgnoreCase(MOD_TYPE_TST)) {\n if (dbResourceContent.getResourceContentCount(con, mod_res_id) == 0) {\n res_status = RES_STATUS_OFF;\n }\n } else if (mod_type.equalsIgnoreCase(MOD_TYPE_DXT)) {\n if (dbModuleSpec.getModuleSpecCount(con, mod_res_id) == 0) {\n res_status = RES_STATUS_OFF;\n }\n }\n }\n\n super.updateStatus(con);\n\n // permission records have to be cleared no matter mod_instructor is specified or not\n dbResourcePermission.delUserRoleIsNull(con, mod_res_id);\n if (mod_instructor_ent_id_lst != null) {\n for (int i = 0; i < mod_instructor_ent_id_lst.length; i++) {\n dbResourcePermission.save(con, mod_res_id, mod_instructor_ent_id_lst[i], null, true, true, false);\n }\n }\n\n //Dennis, 2000-12-13, impl release control\n //If the new status == DATE, update the eff_start/end_datetime in Module\n //if(res_status.equalsIgnoreCase(RES_STATUS_DATE))\n //2001-01-05, all status will have eff datetime\n updateEffDatetime(con);\n }",
"public void ensureXmlObject() {\n if (modules == null) {\n removeListeners();\n modules = dsoClient.addNewModules();\n updateChildren();\n addListeners();\n }\n }",
"public void registerModification (int type) {\n final boolean forceUpdate = true;\r\n\r\n ConfigFile topFileConfig = (ConfigFile)getConfigs().get(ConfigGroup.TOP_MODEL_FILE);\r\n // In case of spurious events ignore them (possible?)\r\n if (!topFileConfig.isUserSpecified())\r\n return;\r\n\r\n // Update the run directory whenever the top file is updated\r\n ConfigFile runDirConfig = (ConfigFile)getConfigs().get(ConfigGroup.RUN_DIR);\r\n if (forceUpdate/* || !runDirConfig.isUserSpecified()*/)\r\n runDirConfig.setValue(topFileConfig.getValueFile().getParent(), true);\r\n runDir.updateValue();\r\n\r\n // Update the top level model name\r\n ConfigString topNameConfig = (ConfigString)getConfigs().get(ConfigGroup.TOP_MODEL_NAME);\r\n if (forceUpdate/* || !topNameConfig.isUserSpecified()*/)\r\n {\r\n String name = topFileConfig.getValueFile().getName();\r\n name = name.indexOf('.') > 0 ? name.substring(0, name.lastIndexOf('.')):name;\r\n topNameConfig.setValue(name, true);\r\n }\r\n topName.updateValue();\r\n\r\n // Ensure that the model path contains the run directory\r\n ConfigList modelPathConfig = (ConfigList)getConfigs().get(ConfigGroup.MODEL_PATH);\r\n if (!modelPathConfig.getValue().contains(runDirConfig.getValue()))\r\n {\r\n // The contract for setValue on collections is to append\r\n modelPathConfig.addValue(Collections.singletonList(runDirConfig.getValue()), modelPathConfig.isUserSpecified());\r\n }\r\n modelPath.updateValue();\r\n\r\n // Update the model parameters\r\n ConfigMap paramsConfig = (ConfigMap)getConfigs().get(ConfigGroup.TOP_MODEL_PARAMS);\r\n if (forceUpdate/* || !paramsConfig.isUserSpecified()*/)\r\n {\r\n String[] modelPathArr = (String[])modelPathConfig.getValue().toArray(new String[0]);\r\n try {\r\n List<TopModelParamParse.ModelParameter> params = TopModelParamParse.parseModel(topNameConfig.getValue(), modelPathArr);\r\n Map map = new HashMap();\r\n for (ModelParameter mp : params)\r\n map.put(mp.getName(), mp.getValue());\r\n paramsConfig.setValue(map, false);\r\n } catch (TopModelParamParse.ModelAnalysisException exc) {\r\n Logging.dbg().severe(\"Error loading top model \" + exc);\r\n }\r\n }\r\n modelParams.updateValue();\r\n }",
"private void checkStructure() {\n for (DatabaseUpdateType updateType : DatabaseUpdateType.values()) {\n checkDatabaseStructure(updateType);\n }\n }",
"@Override\r\n\tpublic void updateResourceInformation() {\n\t}",
"public void managerModelModified(ManagerEvent e);",
"@Override\n\tpublic void updateResourceInformation() {\n\t}",
"public interface ModulesController {\n\n public static final String MODULES_CONTROLLER_ATTRIBUTE_KEY =\n \"com.google.appengine.dev.modules_controller\";\n\n /**\n * Enum for tracking the state of a module (running/stopped).\n */\n public enum ModuleState {\n RUNNING,\n STOPPED;\n\n @Override\n public String toString() {\n return this.name().toLowerCase();\n }\n }\n\n /**\n * Returns all the known module names.\n */\n Iterable<String> getModuleNames();\n\n /**\n * Returns all known versions of the requested module.\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured\n */\n Iterable<String> getVersions(String moduleName) throws ApiProxy.ApplicationException;\n\n /**\n * Returns the default version for a named module.\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured\n */\n String getDefaultVersion(String moduleName) throws ApiProxy.ApplicationException;\n\n /**\n * Returns the number of instances for the requested module version.\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured and {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_VERSION_VALUE}\n * if the requested version is not configured.\n */\n int getNumInstances(String moduleName, String version) throws ApiProxy.ApplicationException;\n\n /**\n * Sets the number of instances for the requested module version.\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured and {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_VERSION_VALUE}\n * if the requested version is not configured for setting instances\n * {@link com.google.appengine.api.modules.ModulesServicePb.ModulesServiceError\n * .ErrorCode#INVALID_INSTANCES} if numInstances is not a legal value.\n */\n void setNumInstances(String moduleName, String version, int numInstances)\n throws ApiProxy.ApplicationException;\n\n\n /**\n * Returns the host name of the requested module version instance.\n *\n * @param moduleName the moduleName whose host we return.\n * @param version the version whose host we return.\n * @param instance the instance whose host we return or {@link com.google.appengine\n * .tools.development.LocalEnvironment#MAIN_INSTANCE}\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured and {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_VERSION_VALUE}\n * if the requested version is not configured and {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_INSTANCES_VALUE}\n * if the requested instance is not configured.\n */\n String getHostname(String moduleName, String version, int instance)\n throws ApiProxy.ApplicationException;\n\n /**\n * Starts the requested module version.\n * @throws ApiProxy.ApplicationException {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not a configured manual scaling module and\n * {@link com.google.appengine.api.modules.ModulesServicePb.ModulesServiceError\n * .ErrorCode#INVALID_VERSION_VALUE} if the requested version is not configured or is not a\n * manual scaling module and {@link com.google.appengine.api.modules.ModulesServicePb\n * .ModulesServiceError.ErrorCode#UNEXPECTED_STATE} if the module instance is\n * not stopped and ready to be started.\n */\n void startModule(String moduleName, String version) throws ApiProxy.ApplicationException;\n\n /**\n * Stops the requested module version.\n * @throws ApiProxy.ApplicationException {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not a configured manual scaling module and\n * {@link com.google.appengine.api.modules.ModulesServicePb\n * .ModulesServiceError.ErrorCode#INVALID_VERSION_VALUE} if the requested\n * version is not configured or is not a manual scaling module and\n * {@link com.google.appengine.api.modules.ModulesServicePb.ModulesServiceError\n * .ErrorCode#UNEXPECTED_STATE} if the module instance is not running and ready to be stopped.\n */\n void stopModule(String moduleName, String version) throws ApiProxy.ApplicationException;\n\n /**\n * Returns the type of scaling in use for this module.\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured\n */\n String getScalingType(String moduleName) throws ApiProxy.ApplicationException;\n\n /**\n * Returns the current state of this module.\n *\n * @throws ApiProxy.ApplicationException with error code {@link com.google.appengine.api\n * .modules.ModulesServicePb.ModulesServiceError.ErrorCode#INVALID_MODULE_VALUE} if\n * the requested module is not configured\n */\n ModuleState getModuleState(String moduleName) throws ApiProxy.ApplicationException;\n}",
"private void setexistingmodules() {\r\n\t\tmodulecombo.getItems().clear();\r\n\t\tmodulecombo.getItems().add(\"QA Modules\");\r\n\t\tmodulecombo.getSelectionModel().select(0);\r\n\t\tmoduleslist = new DAO().getModuleDetails(\"modules\", \"all\", Loggedinuserdetails.defaultproject);\r\n\t\tif (moduleslist != null && moduleslist.size() > 0) {\r\n\t\t\tfor (int i = 0; i < moduleslist.size(); i++) {\r\n\t\t\t\tmodulecombo.getItems().add(moduleslist.get(i).getModulename());\r\n\t\t\t}\r\n\t\t}\r\n\t\tmodulecombo.setStyle(\"-fx-text-fill: black; -fx-font-weight:bold;\");\r\n\t}",
"private void applyChanges() {\n mProgressBar.setVisibility(View.VISIBLE);\n\n String name = mNameBox.getText().toString().trim();\n String priceStr = mPriceBox.getText().toString().trim();\n\n if (!name.isEmpty() /* && !priceStr.isEmpty() */) {\n float price = Float.parseFloat(priceStr);\n ReformType reformType = new ReformType();\n reformType.setId(mReformTypeId);\n reformType.setName(name);\n reformType.setPrice(price);\n\n mReformTypeRepo.patchReformType(reformType).observe(this, isPatched -> {\n if (isPatched) {\n mReformType.setName(name);\n mReformType.setPrice(price);\n mReformTypeRepo.insertLocalReformType(mReformType);\n Toast.makeText(this, \"Reform type successfully updated.\", Toast.LENGTH_SHORT).show();\n } else {\n mIsError = true;\n mIsEditMode = !mIsEditMode;\n toggleSave();\n mNameBox.setText(mReformType.getName());\n mPriceBox.setText(String.valueOf(mReformType.getPrice()));\n }\n });\n }\n\n mProgressBar.setVisibility(GONE);\n }",
"public static void updateCoreModel(final Resource rootResource, HostControllerEnvironment environment) {\n final ModelNode rootModel = rootResource.getModel();\n rootModel.get(RELEASE_VERSION).set(Version.AS_VERSION);\n rootModel.get(RELEASE_CODENAME).set(Version.AS_RELEASE_CODENAME);\n rootModel.get(MANAGEMENT_MAJOR_VERSION).set(Version.MANAGEMENT_MAJOR_VERSION);\n rootModel.get(MANAGEMENT_MINOR_VERSION).set(Version.MANAGEMENT_MINOR_VERSION);\n\n // Community uses UNDEF values\n ModelNode nameNode = rootModel.get(PRODUCT_NAME);\n ModelNode versionNode = rootModel.get(PRODUCT_VERSION);\n\n if (environment != null) {\n String productName = environment.getProductConfig().getProductName();\n String productVersion = environment.getProductConfig().getProductVersion();\n\n if (productName != null) {\n nameNode.set(productName);\n }\n if (productVersion != null) {\n versionNode.set(productVersion);\n }\n }\n }",
"@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic void refreshModules()\n\t{\n\t\t// Scan each directory in turn to find JAR files\n\t\t// Subdirectories are not scanned\n\t\tList<File> jarFiles = new ArrayList<>();\n\n\t\tfor (File dir : moduleDirectories) {\n\t\t\tfor (File jarFile : dir.listFiles(jarFileFilter)) {\n\t\t\t\tjarFiles.add(jarFile);\n\t\t\t}\n\t\t}\n\n\t\t// Create a new class loader to ensure there are no class name clashes.\n\t\tloader = new GPIGClassLoader(jarFiles);\n\t\tfor (String className : loader.moduleVersions.keySet()) {\n\t\t\ttry {\n\t\t\t\t// Update the record of each class\n\t\t\t\tClass<? extends Interface> clz = (Class<? extends Interface>) loader.loadClass(className);\n\t\t\t\tClassRecord rec = null;\n\t\t\t\tfor (ClassRecord searchRec : modules.values()) {\n\t\t\t\t\tif (searchRec.clz.getName().equals(className)) {\n\t\t\t\t\t\trec = searchRec;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (rec != null) {\n\t\t\t\t\t// This is not an upgrade, ignore it\n\t\t\t\t\tif (rec.summary.moduleVersion >= loader.moduleVersions.get(className)) continue;\n\n\t\t\t\t\t// Otherwise update the version number stored\n\t\t\t\t\trec.summary.moduleVersion = loader.moduleVersions.get(className);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\trec = new ClassRecord();\n\t\t\t\t\trec.summary = new ModuleSummary(IDGenerator.getNextID(), loader.moduleVersions.get(className),\n\t\t\t\t\t\t\tclassName);\n\t\t\t\t\tmodules.put(rec.summary.moduleID, rec);\n\t\t\t\t}\n\t\t\t\trec.clz = clz;\n\n\t\t\t\t// Update references to existing objects\n\t\t\t\tfor (StrongReference<Interface> ref : instances.values()) {\n\t\t\t\t\tif (ref.get().getClass().getName().equals(className)) {\n\t\t\t\t\t\tConstructor<? extends Interface> ctor = clz.getConstructor(Object.class);\n\t\t\t\t\t\tref.object = ctor.newInstance(ref.get());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (NoSuchMethodException e) {\n\t\t\t\t// Thrown when trying to find a suitable constructor\n\t\t\t\tSystem.err.println(\"Discovered class which has no available upgrade constructor: \" + className + \"\\n\\t\"\n\t\t\t\t\t\t+ e.getLocalizedMessage());\n\t\t\t}\n\t\t\tcatch (InstantiationException | IllegalAccessException | IllegalArgumentException\n\t\t\t\t\t| InvocationTargetException e) {\n\t\t\t\t// All thrown by the instantiate call\n\t\t\t\tSystem.err.println(\"Unable to create new instance of class: \" + className + \"\\n\\t\"\n\t\t\t\t\t\t+ e.getLocalizedMessage());\n\t\t\t}\n\t\t\tcatch (ClassNotFoundException e) {\n\t\t\t\t// Should never occur but required to stop the compiler moaning\n\t\t\t\tSystem.err.println(\"Discovered class which has no available upgrade constructor: \" + className + \"\\n\\t\"\n\t\t\t\t\t\t+ e.getLocalizedMessage());\n\t\t\t}\n\t\t}\n\t}",
"private synchronized void refreshProductModel(ProductModel pm)\r\n {\r\n int idx = products_listmodel.indexOf(pm);\r\n if (idx >= 0) {\r\n DocmaSession docmaSess = mainWin.getDocmaSession();\r\n // Create new model object to force GUI update\r\n ProductModel pm_updated = new ProductModel(docmaSess, pm.getId(), false);\r\n products_listmodel.set(idx, pm_updated);\r\n boolean pending = pm_updated.isLoadPending();\r\n if (pending || (pm_updated.hasActivity() && !pm_updated.isActivityFinished())) {\r\n setListRefresh(true);\r\n if (pending) startDbConnectThread();\r\n }\r\n } else {\r\n Log.warning(\"ProductModel not contained in list: \" + pm.getId());\r\n }\r\n }",
"private void updateAll() {\n updateAction();\n updateQueryViews();\n }",
"private void updateTotal() {\r\n\t\t// We get the size of the model containing all the modules in the list.\r\n\t\tlabelTotal.setText(\"Total Modules: \" + String.valueOf(helperInstMod.model.size()));\r\n\t}",
"@CheckForNull\n ModuleUpdateStatus getModuleUpdateStatus(String moduleKey);",
"public void commitChanges(){\n\t\tskipRulesView.updateSkipRule();\n\t\tvalidationRulesView.updateValidationRule();\n\t\tdynamicListsView.updateDynamicLists();\n\t}",
"private void updateNames() {\n //Get all pack indexes.\t\t\n List<AItemPack<?>> packItems = PackParser.getAllItemsForPack(currentItem.definition.packID, true);\n int currentItemIndex = packItems.indexOf(currentItem);\n\n //Loop forwards in our pack to find the next item in that pack.\n nextSubItem = null;\n if (currentItemIndex < packItems.size()) {\n for (int i = currentItemIndex + 1; i < packItems.size() && nextSubItem == null; ++i) {\n if (packItems.get(i).definition.systemName.equals(currentItem.definition.systemName)) {\n nextSubItem = (AItemSubTyped<?>) packItems.get(i);\n break;\n }\n }\n }\n\n //Loop backwards in our pack to find the prev item in that pack.\n prevSubItem = null;\n if (currentItemIndex > 0) {\n for (int i = currentItemIndex - 1; i >= 0 && prevSubItem == null; --i) {\n if (packItems.get(i).definition.systemName.equals(currentItem.definition.systemName)) {\n prevSubItem = (AItemSubTyped<?>) packItems.get(i);\n break;\n }\n }\n }\n\n //All item bits are now set and updated. Update info labels and item icons.\n partName.text = currentItem.getItemName();\n\n //Parse crafting items and set icon items.\n //Check all possible recipes, since some might be for other mods or versions.\n String errorMessage = \"\";\n do {\n materials = PackMaterialComponent.parseFromJSON(currentItem, recipeIndex, false, true, false, false);\n if (materials == null) {\n if (++recipeIndex == currentItem.subDefinition.extraMaterialLists.size()) {\n recipeIndex = 0;\n }\n errorMessage += PackMaterialComponent.lastErrorMessage + \"\\n\";\n if (recipeIndex == 0) {\n InterfaceManager.coreInterface.logError(errorMessage);\n break;\n }\n }\n } while (materials == null);\n\n //Set model render properties.\n modelRender.modelLocation = currentItem.definition.getModelLocation(currentItem.subDefinition);\n modelRender.textureLocation = currentItem.definition.getTextureLocation(currentItem.subDefinition);\n }",
"@Override\n public void updateBys() { updateLabelLists(getRTParent().getEntityTagTypes()); fillCommonRelationshipsMenu(); }",
"private void updateStructure()\r\n {\r\n int id = 1;\r\n Integer outlineLevel = Integer.valueOf(1);\r\n for (Task task : m_project.getChildTasks())\r\n {\r\n id = updateStructure(id, task, outlineLevel);\r\n }\r\n }",
"public void updateManager();",
"@Override\n\tpublic void updateEntity()\n\t{\n\t\tif (structureComplete() && checkCountdown >= CHECK_MAX)\n\t\t{\n\t\t\tcheckCountdown = 0;\n\t\t\t\n\t\t\t// Refresh the core structure.\n\t\t\tupdateStructure();\n\t\t}\n\t\telse checkCountdown++;\n\t}",
"public boolean update() {\n if(0==modified) return false;\n \n final int res = modified;\n if( (res&DIRTY_MODELVIEW)!=0 ) {\n setMviMvit();\n }\n modified=0;\n return res!=0;\n }",
"@Override\n\tpublic Integer updateModules1(Modules modules) {\n\t\treturn modulesMapper.updateModules1(modules);\n\t}",
"public void \n\tupdateAll() throws EditorException{\n\t\tupdated.set(false);\n\t\t//Disable layer selection options if the model does not support them\n\t\tlayerBox.setDisable(!editor.model().allowsLayers());\n\t\tnewLayer.setDisable(!editor.model().allowsLayers());\n\t\t\n\t\tlayers.clear();\n\t\tlayers.add(Optional.empty());\n\t\tfor(int i : editor.model().layer_getLayerIDs()){\n\t\t\tlayers.add(Optional.of(i));\n\t\t}\n\t\tif(!layers.contains(currentLayer)){\n\t\t\tcurrentLayer = Optional.empty();\n\t\t}\n\t\tupdateProperties(currentLayer);\n\t\tupdated.set(true);\n\t}",
"private void checkForUpdates() {\n UpdateManager.register(this);\n }",
"private void checkForUpdates() {\n UpdateManager.register(this);\n }",
"public void update(){\r\n\t\tthis.loadRecords();\r\n\t}",
"public interface Model {\n /**\n * {@code Predicate} that always evaluate to true\n */\n Predicate<Module> PREDICATE_SHOW_ALL_MODULES = unused -> true;\n\n /**\n * Replaces user prefs data with the data in {@code userPrefs}.\n */\n void setUserPrefs(ReadOnlyUserPrefs userPrefs);\n\n /**\n * Returns the user prefs.\n */\n ReadOnlyUserPrefs getUserPrefs();\n\n /**\n * Returns the user prefs' GUI settings.\n */\n GuiSettings getGuiSettings();\n\n /**\n * Sets the user prefs' GUI settings.\n */\n void setGuiSettings(GuiSettings guiSettings);\n\n /**\n * Returns the user prefs' mod book file path.\n */\n Path getModBookFilePath();\n\n /**\n * Sets the user prefs' mod book file path.\n */\n void setModBookFilePath(Path modBookFilePath);\n\n /**\n * Replaces mod book data with the data in {@code modBook}.\n */\n void setModBook(ReadOnlyModBook modBook);\n\n /**\n * Returns the ModBook\n */\n ReadOnlyModBook getModBook();\n\n /**\n * Returns true if a module with the same identity as {@code module} exists in the mod book.\n */\n boolean hasModule(Module module);\n\n /**\n * Deletes the given module.\n * The module must exist in the mod book.\n */\n void deleteModule(Module module);\n\n /**\n * Adds the given module.\n * {@code module} must not already exist in the mod book.\n */\n void addModule(Module module);\n\n /**\n * Gets the requested module based on given modCode.\n *\n * @param modCode Used to find module.\n * @return Module.\n * @throws CommandException If module does not exist.\n */\n Module getModule(ModuleCode modCode) throws CommandException;\n\n /**\n * Deletes the Exam from the specified module's lessons list.\n */\n void deleteExam(Module module, Exam target);\n\n /**\n * Deletes the Lesson from the specified module's lessons list.\n */\n void deleteLesson(Module module, Lesson target);\n\n /**\n * Checks if a module has the lesson\n */\n boolean moduleHasLesson(Module module, Lesson lesson);\n\n /**\n * Adds a lesson to a module.\n */\n void addLessonToModule(Module module, Lesson lesson);\n\n /**\n * Checks if a module has the lesson\n */\n boolean moduleHasExam(Module module, Exam exam);\n\n /**\n * Adds a lesson to a module.\n */\n void addExamToModule(Module module, Exam exam);\n\n /**\n * Replaces the {@code target} Exam with {@code newExam} from the specified module's exams list.\n */\n void setExam(Module module, Exam target, Exam newExam);\n\n /**\n * Replaces the {@code target} Exam with {@code newLesson} from the specified module's lessons list.\n */\n void setLesson(Module module, Lesson target, Lesson newLesson);\n\n /**\n * Replaces the given module {@code target} with {@code editedModule}.\n * {@code target} must exist in the mod book.\n * The module identity of {@code editedModule} must not be the same as another existing module in the mod book.\n */\n void setModule(Module target, Module editedModule);\n\n /**\n * Returns an unmodifiable view of the filtered module list\n */\n ObservableList<Module> getFilteredModuleList();\n\n /**\n * Updates the filter of the filtered module list to filter by the given {@code predicate}.\n *\n * @throws NullPointerException if {@code predicate} is null.\n */\n void updateFilteredModuleList(Predicate<Module> predicate);\n}",
"private void fireContentModelModified(final String id, final String xmlData) throws SystemException {\r\n for (final ResourceListener contentModelListener : this.contentModelListeners) {\r\n contentModelListener.resourceModified(id, xmlData);\r\n }\r\n }",
"public void updateDependencyDataInSystem() {\n dependenciesMap.values()\n .forEach(set -> {\n set.forEach(item -> {\n if (items.containsKey(item.getName())) {\n Item actualItem = items.get(item.getName());\n item.setExplicitlyInstalled(actualItem.isExplicitlyInstalled());\n item.setImplicitlyInstalled(actualItem.isImplicitlyInstalled());\n }\n });\n });\n\n dependentsMap.values()\n .forEach(set -> {\n set.forEach(item -> {\n if (items.containsKey(item.getName())) {\n Item actualItem = items.get(item.getName());\n item.setExplicitlyInstalled(actualItem.isExplicitlyInstalled());\n item.setImplicitlyInstalled(actualItem.isImplicitlyInstalled());\n }\n });\n });\n }",
"public void modelsChanged(IModelProviderEvent event);",
"public interface ModuleService {\n\n /**\n * 获取所有模块信息\n * @return\n */\n List<Module> getAllModule();\n\n Show getModuleAndPart();\n\n List<Module> findModuleByPartId(int typeNum);\n\n /**\n * 添加模块\n * @param partId\n * @param name\n * @param description\n * @param photo\n * @return\n */\n Show addModule(int partId, String name, String description, String photo);\n\n /**\n * 模块图片上传至服务器\n * @param stream\n * @param path\n * @param file\n */\n void savepic(InputStream stream, String path, String file);\n\n /**\n * 修改模块名称\n * @param id\n * @param name\n * @return\n */\n Show changeModuleName(int id, String name);\n\n /**\n * 修改模块描述信息\n * @param id\n * @param description\n * @return\n */\n Show changeModuleDescription(int id, String description);\n\n /**\n * 修改模块图片信息\n * @param id\n * @param photo\n * @return\n */\n Show changeModulePhoto(int id, String photo);\n\n /**\n * 移除模块\n * @param id\n * @return\n */\n Show moveModule(int id);\n\n \n Module findModuleById(int moduleId);\n}",
"@Override\r\n\tpublic void updateModules(Modules modules) {\n\t\tModules m = getModulesById(modules.getModules_id());\r\n\t\tm.setModules_id(modules.getModules_id());\r\n\t\tm.setName(modules.getName());\r\n\t\tm.setDescription(modules.getDescription());\r\n\t\tm.setFunctionSet(modules.getFunctionSet());\r\n\t\tgetHibernateTemplate().update(m);\r\n\t}",
"protected void refreshFromProject() {\r\n\t\r\n\t\tif (fTreeViewer != null) {\r\n\t\t\tfTreeViewer.setInput(null);\r\n\t\t}\t\t\r\n\t\t\r\n\t\tif (fProjectObjects == null ) {\r\n\t\t\tResource resource = modelObject.eResource();\r\n\t\t\tIFile file = BPELUtil.getFileFromURI(resource.getURI());\t\t\t\t\t\r\n\t\t\tfProjectObjects = resourceContentProvider.getElements( file.getProject() );\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif (fFilteredList != null) {\r\n\t\t\t\r\n\t\t\tfFilteredList.setEnabled(true);\r\n\t\t\tfFilteredList.setAllowDuplicates(showDuplicates);\r\n\t\t\tfFilteredList.setElements( contentProvider.getElements( fProjectObjects ) );\r\n\t\t\t\r\n\t\t\tif (contentProvider.getElements( fProjectObjects ) != null && contentProvider.getElements( fProjectObjects ).length > 0) {\r\n\t\t\t\tupdateLowerViewWidget(fFilteredList.getSelection());\r\n\t\t\t}\t\t\r\n\t\t}\t\t\r\n\t}",
"public void upateResources() {\r\n\t\tResourceBase resourcesBase = parent.getResources();\r\n\t\tresourcesBase.getAll().forEach((key, value) -> {\r\n\t\t\tif(resources.containsKey(key))\t//ak už je vypísaná\r\n\t\t\t\tresources.get(key).updateValue();\t//aktualizuje ju to\r\n\t\t\telse{\t//ináč\r\n\t\t\t\tint need = resourcesBase.getRequired(key);\r\n\t\t\t\tint have = resourcesBase.getOwned(key);\r\n\t\t\t\tOtherResourceViewer newViewer = new OtherResourceViewer(key,need, have, parent);\t//vytvorí nový viewer \r\n\t\t\t\tresources.put(key, newViewer);\t//pridá ho do zoznamu viewerov\r\n\t\t\t\tadd(newViewer);\t//aj do panelu\r\n\t\t\t}\r\n\t\t});\r\n\t}",
"private void updateResourcesList() {\n this.resourcesJList.setModel(new ModelListSelectable(controller.getDemonstration().getResourcesList()));\n }",
"public void update() {\n manager.update();\n }",
"public void run() {\n if (infomap.containsKey(\"updateListFiles\")) {\n tblDocChanges.setModel(new DocumentApproveRejectChangesTableModel());\n List<String> odfdocs =\n (List<String>) infomap.get(\"updateListFiles\");\n changesInfo.reload(odfdocs.toArray(new String[odfdocs.size()]));\n ((DocApproveRejectListModel) listMembers.getModel()).resetModel();\n\n }\n\n if (infomap.containsKey(\"updateListFile\")) {\n tblDocChanges.setModel(new DocumentApproveRejectChangesTableModel());\n String odfdoc = (String) infomap.get(\"updateListFile\");\n changesInfo.reload(odfdoc);\n ((DocApproveRejectListModel) listMembers.getModel()).resetModel();\n }\n }",
"public static void doSavechanges ( RunData data)\n\t{\n\t\tSessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ());\n\t\tParameterParser params = data.getParameters ();\n\n\t\tString flow = params.getString(\"flow\").trim();\n\n\t\tif(flow == null || \"cancel\".equals(flow))\n\t\t{\n\t\t\tdoCancel(data);\n\t\t\treturn;\n\t\t}\n\n\t\t// get values from form and update STATE_STACK_EDIT_ITEM attribute in state\n\t\tcaptureValues(state, params);\n\n\t\tMap current_stack_frame = peekAtStack(state);\n\n\t\tEditItem item = (EditItem) current_stack_frame.get(STATE_STACK_EDIT_ITEM);\n\n\t\tif(flow.equals(\"showMetadata\"))\n\t\t{\n\t\t\tdoShow_metadata(data);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"hideMetadata\"))\n\t\t{\n\t\t\tdoHide_metadata(data);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"intentChanged\"))\n\t\t{\n\t\t\tdoToggle_intent(data);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"addInstance\"))\n\t\t{\n\t\t\tString field = params.getString(\"field\");\n\t\t\taddInstance(field, item.getProperties());\n\t\t\tResourcesMetadata form = item.getForm();\n\t\t\tList flatList = form.getFlatList();\n\t\t\titem.setProperties(flatList);\n\t\t\treturn;\n\t\t}\n\t\telse if(flow.equals(\"linkResource\"))\n\t\t{\n\t\t\t// captureMultipleValues(state, params, false);\n\t\t\tcreateLink(data, state);\n\t\t\t//Map new_stack_frame = pushOnStack(state);\n\t\t\t//new_stack_frame.put(ResourcesAction.STATE_RESOURCES_HELPER_MODE, ResourcesAction.MODE_ATTACHMENT_SELECT);\n\t\t\tstate.setAttribute(ResourcesAction.STATE_RESOURCES_HELPER_MODE, ResourcesAction.MODE_ATTACHMENT_SELECT);\n\n\t\t\treturn;\n\t\t}\n\n\n\t\tSet alerts = (Set) state.getAttribute(STATE_EDIT_ALERTS);\n\n//\t\tif(item.isStructuredArtifact())\n//\t\t{\n//\t\t\tSchemaBean bean = (SchemaBean) current_stack_frame.get(STATE_STACK_STRUCT_OBJ_SCHEMA);\n//\t\t\tSaveArtifactAttempt attempt = new SaveArtifactAttempt(item, bean.getSchema());\n//\t\t\tvalidateStructuredArtifact(attempt);\n//\n//\t\t\tIterator errorIt = attempt.getErrors().iterator();\n//\t\t\twhile(errorIt.hasNext())\n//\t\t\t{\n//\t\t\t\tValidationError error = (ValidationError) errorIt.next();\n//\t\t\t\talerts.add(error.getDefaultMessage());\n//\t\t\t}\n//\t\t}\n\n\t\tif(alerts.isEmpty())\n\t\t{\n\t\t\t// populate the property list\n\t\t\ttry\n\t\t\t{\n\t\t\t\t// get an edit\n\t\t\t\tContentCollectionEdit cedit = null;\n\t\t\t\tContentResourceEdit redit = null;\n\t\t\t\tGroupAwareEdit gedit = null;\n\t\t\t\tResourcePropertiesEdit pedit = null;\n\n\t\t\t\tif(item.isFolder())\n\t\t\t\t{\n\t\t\t\t\tcedit = ContentHostingService.editCollection(item.getId());\n\t\t\t\t\tgedit = cedit;\n\t\t\t\t\tpedit = cedit.getPropertiesEdit();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tredit = ContentHostingService.editResource(item.getId());\n\t\t\t\t\tgedit = redit;\n\t\t\t\t\tpedit = redit.getPropertiesEdit();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tBoolean preventPublicDisplay = (Boolean) state.getAttribute(STATE_PREVENT_PUBLIC_DISPLAY);\n\t\t\t\t\tif(preventPublicDisplay == null)\n\t\t\t\t\t{\n\t\t\t\t\t\tpreventPublicDisplay = Boolean.FALSE;\n\t\t\t\t\t\tstate.setAttribute(STATE_PREVENT_PUBLIC_DISPLAY, preventPublicDisplay);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(! preventPublicDisplay.booleanValue())\n\t\t\t\t\t{\n\t\t\t\t\t\tContentHostingService.setPubView(gedit.getId(), item.isPubview());\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tif(! AccessMode.GROUPED.toString().equals(item.getAccess()) && AccessMode.GROUPED == gedit.getAccess())\n\t\t\t\t\t{\n\t\t\t\t\t\tgedit.clearGroupAccess();\n\t\t\t\t\t}\n\t\t\t\t\telse if(AccessMode.GROUPED.toString().equals(item.getAccess()) && ! item.getEntityGroupRefs().isEmpty())\n\t\t\t\t\t{\n\t\t\t\t\t\tgedit.setGroupAccess(item.getEntityGroupRefs());\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tgedit.clearGroupAccess();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch(InconsistentException e)\n\t\t\t\t{\n\t\t\t\t\t// TODO: Should this be reported to user??\n\t\t\t\t\tlogger.debug(\"ResourcesAction.doSavechanges ***** InconsistentException changing groups ***** \" + e.getMessage());\n\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\tif(ContentHostingService.isAvailabilityEnabled())\n\t\t\t\t{\n\t\t\t\t\tTime releaseDate = null;\n\t\t\t\t\tTime retractDate = null;\n\t\t\t\t\t\n\t\t\t\t\tboolean hidden = item.isHidden();\n\t\t\t\t\t\n\t\t\t\t\tif(item.useReleaseDate())\n\t\t\t\t\t{\n\t\t\t\t\t\treleaseDate = item.getReleaseDate();\n\t\t\t\t\t}\n\t\t\t\t\tif(item.useRetractDate())\n\t\t\t\t\t{\n\t\t\t\t\t\tretractDate = item.getRetractDate();\n\t\t\t\t\t}\n\t\t\t\t\tgedit.setAvailability(hidden, releaseDate, retractDate);\n\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\tif(item.isFolder())\n\t\t\t\t{\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tif(item.isUrl())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContent(item.getFilename().getBytes());\n\t\t\t\t\t}\n\t\t\t\t\telse if(item.isStructuredArtifact())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContentType(item.getMimeType());\n\t\t\t\t\t\tredit.setContent(item.getContent());\n\t\t\t\t\t}\n\t\t\t\t\telse if(item.contentHasChanged())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContentType(item.getMimeType());\n\t\t\t\t\t\tredit.setContent(item.getContent());\n\t\t\t\t\t}\n\t\t\t\t\telse if(item.contentTypeHasChanged())\n\t\t\t\t\t{\n\t\t\t\t\t\tredit.setContentType(item.getMimeType());\n\t\t\t\t\t}\n\n\t\t\t\t\tBasicRightsAssignment rightsObj = item.getRights();\n\t\t\t\t\trightsObj.addResourceProperties(pedit);\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\tString copyright = StringUtil.trimToNull(params.getString (\"copyright\"));\n\t\t\t\t\tString newcopyright = StringUtil.trimToNull(params.getCleanString (NEW_COPYRIGHT));\n\t\t\t\t\tString copyrightAlert = StringUtil.trimToNull(params.getString(\"copyrightAlert\"));\n\t\t\t\t\tif (copyright != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (state.getAttribute(COPYRIGHT_NEW_COPYRIGHT) != null && copyright.equals(state.getAttribute(COPYRIGHT_NEW_COPYRIGHT)))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (newcopyright != null)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_COPYRIGHT, newcopyright);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\talerts.add(rb.getString(\"specifycp2\"));\n\t\t\t\t\t\t\t\t// addAlert(state, rb.getString(\"specifycp2\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (state.getAttribute(COPYRIGHT_SELF_COPYRIGHT) != null && copyright.equals (state.getAttribute(COPYRIGHT_SELF_COPYRIGHT)))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tString mycopyright = (String) state.getAttribute (STATE_MY_COPYRIGHT);\n\t\t\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_COPYRIGHT, mycopyright);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpedit.addProperty(ResourceProperties.PROP_COPYRIGHT_CHOICE, copyright);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (copyrightAlert != null)\n\t\t\t\t\t{\n\t\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_COPYRIGHT_ALERT, copyrightAlert);\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tpedit.removeProperty (ResourceProperties.PROP_COPYRIGHT_ALERT);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!(item.isFolder() && (item.getId().equals ((String) state.getAttribute (STATE_HOME_COLLECTION_ID)))))\n\t\t\t\t{\n\t\t\t\t\tpedit.addProperty (ResourceProperties.PROP_DISPLAY_NAME, item.getName());\n\t\t\t\t}\t// the home collection's title is not modificable\n\n\t\t\t\tpedit.addProperty (ResourceProperties.PROP_DESCRIPTION, item.getDescription());\n\t\t\t\t// deal with quota (collections only)\n\t\t\t\tif ((cedit != null) && item.canSetQuota())\n\t\t\t\t{\n\t\t\t\t\tif (item.hasQuota())\n\t\t\t\t\t{\n\t\t\t\t\t\t// set the quota\n\t\t\t\t\t\tpedit.addProperty(ResourceProperties.PROP_COLLECTION_BODY_QUOTA, item.getQuota());\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\t// clear the quota\n\t\t\t\t\t\tpedit.removeProperty(ResourceProperties.PROP_COLLECTION_BODY_QUOTA);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tList metadataGroups = (List) state.getAttribute(STATE_METADATA_GROUPS);\n\n\t\t\t\tstate.setAttribute(STATE_EDIT_ALERTS, alerts);\n\t\t\t\tsaveMetadata(pedit, metadataGroups, item);\n\t\t\t\talerts = (Set) state.getAttribute(STATE_EDIT_ALERTS);\n\n\t\t\t\t// commit the change\n\t\t\t\tif (cedit != null)\n\t\t\t\t{\n\t\t\t\t\tContentHostingService.commitCollection(cedit);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tContentHostingService.commitResource(redit, item.getNotification());\n\t\t\t\t}\n\n\t\t\t\tcurrent_stack_frame.put(STATE_STACK_EDIT_INTENT, INTENT_REVISE_FILE);\n\n\t\t\t\tBoolean preventPublicDisplay = (Boolean) state.getAttribute(STATE_PREVENT_PUBLIC_DISPLAY);\n\t\t\t\tif(preventPublicDisplay == null)\n\t\t\t\t{\n\t\t\t\t\tpreventPublicDisplay = Boolean.FALSE;\n\t\t\t\t\tstate.setAttribute(STATE_PREVENT_PUBLIC_DISPLAY, preventPublicDisplay);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (TypeException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"typeex\") + \" \" + item.getId());\n\t\t\t\t// addAlert(state,\" \" + rb.getString(\"typeex\") + \" \" + item.getId());\n\t\t\t}\n\t\t\tcatch (IdUnusedException e)\n\t\t\t{\n\t\t\t\talerts.add(RESOURCE_NOT_EXIST_STRING);\n\t\t\t\t// addAlert(state,RESOURCE_NOT_EXIST_STRING);\n\t\t\t}\n\t\t\tcatch (PermissionException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"notpermis10\") + \" \" + item.getId());\n\t\t\t\t// addAlert(state, rb.getString(\"notpermis10\") + \" \" + item.getId() + \". \" );\n\t\t\t}\n\t\t\tcatch (InUseException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"someone\") + \" \" + item.getId());\n\t\t\t\t// addAlert(state, rb.getString(\"someone\") + \" \" + item.getId() + \". \");\n\t\t\t}\n\t\t\tcatch (ServerOverloadException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"failed\"));\n\t\t\t}\n\t\t\tcatch (OverQuotaException e)\n\t\t\t{\n\t\t\t\talerts.add(rb.getString(\"changing1\") + \" \" + item.getId() + \" \" + rb.getString(\"changing2\"));\n\t\t\t\t// addAlert(state, rb.getString(\"changing1\") + \" \" + item.getId() + \" \" + rb.getString(\"changing2\"));\n\t\t\t}\n\t\t\tcatch(RuntimeException e)\n\t\t\t{\n\t\t\t\tlogger.debug(\"ResourcesAction.doSavechanges ***** Unknown Exception ***** \" + e.getMessage());\n\t\t\t\tlogger.debug(\"ResourcesAction.doSavechanges ***** Unknown Exception ***** \", e);\n\t\t\t\talerts.add(rb.getString(\"failed\"));\n\t\t\t}\n\t\t}\t// if - else\n\n\t\tif(alerts.isEmpty())\n\t\t{\n\t\t\t// modify properties sucessful\n\t\t\tString mode = (String) state.getAttribute(STATE_MODE);\n\t\t\tpopFromStack(state);\n\t\t\tresetCurrentMode(state);\n\t\t}\t//if-else\n\t\telse\n\t\t{\n\t\t\tIterator alertIt = alerts.iterator();\n\t\t\twhile(alertIt.hasNext())\n\t\t\t{\n\t\t\t\tString alert = (String) alertIt.next();\n\t\t\t\taddAlert(state, alert);\n\t\t\t}\n\t\t\talerts.clear();\n\t\t\tstate.setAttribute(STATE_EDIT_ALERTS, alerts);\n\t\t\t// state.setAttribute(STATE_CREATE_MISSING_ITEM, missing);\n\t\t}\n\n\t}",
"private Map getWebModuleInfo(ConfigContext ctx, String name) \n throws RepositoryException {\n\n // validate mandatory arguments\n if ( (ctx == null) || (name == null) ) {\n throw new IllegalArgumentException();\n }\n\n Map map = new HashMap();\n\n try {\n // module type is WEB\n map.put(WebServiceInfoProvider.MOD_TYPE_PROP_NAME,\n WebServiceInfoProvider.MOD_TYPE_WEB);\n\n // application id\n map.put(WebServiceInfoProvider.APP_ID_PROP_NAME, name);\n\n // bundle name\n map.put(WebServiceInfoProvider.BUNDLE_NAME_PROP_NAME, null);\n\n // APP_ROOT_LOCATION is not used\n // config bean\n //WebModule webapp = (WebModule)\n // ApplicationHelper.findApplication(ctx, name);\n //\n // applications/j2ee-modules/moduleName\n //String webModuleRoot = \n // RelativePathResolver.resolvePath(webapp.getLocation());\n //map.put(WebServiceInfoProvider.APP_ROOT_LOCATION_PROP_NAME, \n // webModuleRoot);\n\n // generated/xml/j2ee-modules/moduleName\n String xmlDir = instanceRoot\n + File.separator + PEFileLayout.GENERATED_DIR\n + File.separator + PEFileLayout.XML_DIR\n + File.separator + PEFileLayout.J2EE_MODULES_DIR\n + File.separator + name;\n map.put(WebServiceInfoProvider.BUNDLE_ROOT_LOCATION_PROP_NAME, \n xmlDir);\n\n // generated/xml/j2ee-modules/moduleName/WEB-INF/web.xml\n String webXML = xmlDir + File.separator + WEB_INF\n + File.separator + WEB_XML;\n map.put(WebServiceInfoProvider.WEB_XML_PROP_NAME,\n getFormattedFileContents(webXML));\n\n // generated/xml/j2ee-modules/moduleName/WEB-INF/sun-web.xml\n String sunWebXML = xmlDir + File.separator + WEB_INF\n + File.separator + SUN_WEB_XML;\n map.put(WebServiceInfoProvider.SUN_WEB_XML_LOCATION_PROP_NAME, \n sunWebXML);\n map.put(WebServiceInfoProvider.\n SUN_WEB_XML_PROP_NAME, getFormattedFileContents(sunWebXML));\n\n // generated/xml/j2ee-modules/moduleName/WEB-INF/webservices.xml\n String wsXML = xmlDir + File.separator + WEB_INF\n + File.separator + WEBSERVICES_XML;\n map.put(WebServiceInfoProvider.WS_XML_LOCATION_PROP_NAME, wsXML);\n map.put(WebServiceInfoProvider.WS_XML_PROP_NAME,\n getFormattedFileContents(wsXML));\n\n } catch (Exception e) {\n throw new RepositoryException(e);\n }\n\n return map;\n }",
"protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/html;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n\n String dispatchLink = \"\";\n String operation = request.getParameter(\"operation\");\n\n Module m = null;\n\n if (operation != null) {\n if (operation.equals(\"update\")) {\n dispatchLink = \"editModules.jsp\";\n }\n } else {\n dispatchLink = \"addModules.jsp\";\n }\n\n /**\n * Service class for add module functionality *\n */\n AddModuleService service;\n try {\n service = new AddModuleService();\n\n int modifiedRows = 0;\n try {\n if (operation == null || operation.isEmpty()) {\n m = getModuleParam(request, response);\n modifiedRows = service.addModule(m);\n if (modifiedRows > 0) {\n request.setAttribute(\"addMessage\", \"Module: \" + m.getModuleName() + \" added successfully.\");\n request.setAttribute(\"status\", \"200\");\n } else {\n request.setAttribute(\"addMessage\", \"Module: \" + m.getModuleName() + \" was not added due to internal error.\");\n }\n }\n request.getRequestDispatcher(dispatchLink).forward(request, response);\n } catch (SQLException ex) {\n if (ex.toString().contains(\"Duplicate\")) {\n if (ex.toString().contains(\"PRIMARY\")) {\n //System.out.println(\"PRIMARY KEY\");\n request.setAttribute(\"addMessage\", \"Module with same ID already exists.\");\n } else {\n //System.out.println(\"DUPLICATE NAME\");\n request.setAttribute(\"addMessage\", \"Module with same name already exists.\");\n }\n } else {\n request.setAttribute(\"addMessage\", \"Exception: \" + ex.getMessage());\n }\n request.getRequestDispatcher(dispatchLink).forward(request, response);\n }\n } catch (SQLException ex) {\n request.setAttribute(\"message\", ex.getMessage());\n request.getRequestDispatcher(dispatchLink).forward(request, response);\n } catch (ClassNotFoundException ex) {\n request.setAttribute(\"message\", ex.getMessage());\n request.getRequestDispatcher(dispatchLink).forward(request, response);\n }\n\n //out.println(modifiedRows);\n }",
"private void analyseSelf(final Result result) {\r\n\t\tfor (final AbstractChangeSetModule module : ModuleManager.getInstance().getChangeSetModules()) {\r\n\t\t\ttry {\r\n\t\t\t\tmodule.execute(changeSetDAO, result);\r\n\t\t\t} catch (Exception exception) { //NOPMD\r\n\t\t\t\tmodule.publishError(result, exception);\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"void updateModel() {\n updateModel(false);\n }",
"public Map getWebServiceModules() {\n Map map = new HashMap();\n\n // admin config context\n ConfigContext configCtx = AdminService.getAdminService().\n getAdminContext().getAdminConfigContext();\n\n CacheMgr mgr = CacheMgr.getInstance();\n\n // j2ee application\n Map apps = mgr.getJ2eeApplications();\n Collection aValues = apps.values();\n for (Iterator iter=aValues.iterator(); iter.hasNext();) {\n J2eeApplication app = (J2eeApplication) iter.next();\n\n // ejb bundles\n List ejbBundles = app.getEjbBundles();\n if (ejbBundles != null) {\n for (Iterator itr=ejbBundles.iterator(); itr.hasNext();) {\n String ejb = (String) itr.next();\n try {\n Map m = getEjbBundleInfo(configCtx, app.getName(), ejb);\n map.put(m.get(WebServiceInfoProvider.\n SUN_EJB_JAR_XML_LOCATION_PROP_NAME), m);\n } catch (RepositoryException re) { }\n }\n }\n\n // web bundles \n List webBundles = app.getWebBundles();\n if (webBundles != null) {\n for (Iterator itr=webBundles.iterator(); itr.hasNext();) {\n String web = (String) itr.next();\n try {\n Map m = getWebBundleInfo(configCtx, app.getName(), web);\n map.put(m.get(WebServiceInfoProvider.\n SUN_WEB_XML_LOCATION_PROP_NAME), m);\n } catch (RepositoryException re) { }\n }\n }\n }\n\n // stand alone ejb module\n Map ejbs = mgr.getEjbModules();\n Collection eValues = ejbs.values();\n for (Iterator iter=eValues.iterator(); iter.hasNext();) {\n String ejbMod = (String) iter.next();\n try {\n Map m = getEjbModuleInfo(configCtx, ejbMod);\n map.put(m.get(WebServiceInfoProvider.\n SUN_EJB_JAR_XML_LOCATION_PROP_NAME), m);\n } catch (RepositoryException re) { }\n }\n\n // stand alone web module\n Map webs = mgr.getWebModules();\n Collection wValues = webs.values();\n for (Iterator iter=wValues.iterator(); iter.hasNext();) {\n String webMod = (String) iter.next();\n\n try {\n Map m = getWebModuleInfo(configCtx, webMod);\n map.put(m.get(WebServiceInfoProvider.\n SUN_WEB_XML_LOCATION_PROP_NAME), m);\n } catch (RepositoryException re) { }\n }\n\n return map;\n }",
"private synchronized void refreshProductModel(String pm_id)\r\n {\r\n DocmaSession docmaSess = mainWin.getDocmaSession();\r\n for (int i=0; i < products_listmodel.size(); i++) {\r\n ProductModel pm = (ProductModel) products_listmodel.get(i);\r\n if (pm.getId().equals(pm_id)) {\r\n ProductModel pm_updated = new ProductModel(docmaSess, pm_id, false);\r\n products_listmodel.set(i, pm_updated);\r\n boolean pending = pm_updated.isLoadPending();\r\n if (pending || (pm_updated.hasActivity() && !pm_updated.isActivityFinished())) {\r\n setListRefresh(true);\r\n if (pending) startDbConnectThread();\r\n }\r\n break;\r\n }\r\n }\r\n }",
"protected void initModules()\n {\n\n }",
"@Override\n\tpublic void updateInfo(Integer moduleClassId, ModuleClassInfo moduleClassInfo) throws Exception {\n\n\t}",
"protected void reinitializeFields()\n\t\tthrows NbaBaseException{\n\t \tsetStatusProvider(new NbaProcessStatusProvider(user, getWork()));\n\t}",
"private void updateHighLevelInfo() {\n\t\t// update activities mapping at high level petri net\n\t\tfor (HLActivity activity : process.getActivities()) {\n\t\t\t// update the choice node itself\n\t\t\tTransition transNode = (Transition) highLevelPN.findModelGraphVertexForActivity(activity.getID());\n\t\t\tColoredTransition transNsim = (ColoredTransition) this.findTransition(transNode);\n\t\t\thighLevelPN.replaceModelGraphVertexForActivity(transNode, transNsim);\n\t\t}\n\t\t// update choices mapping at high level petri net\n\t\tfor (HLChoice choice : process.getChoices()) {\n\t\t\t// update the choice node itself\n\t\t\tPlace choiceNode = (Place) highLevelPN.findModelGraphVertexForChoice(choice.getID());\n\t\t\tColoredPlace choiceNsim = (ColoredPlace) this.findPlace(choiceNode.getIdentifier());\n\t\t\thighLevelPN.replaceModelGraphVertexForChoice(choiceNode, choiceNsim);\n\t\t}\n\t\t// update the hlActivity links at the ColoredTransition\n\t\tIterator it = this.getTransitions().iterator();\n\t\twhile (it.hasNext()) {\n\t\t\tColoredTransition simTrans = (ColoredTransition) it.next();\n\t\t\tHLActivity hlTrans = highLevelPN.findActivity(simTrans);\n\t\t\tsimTrans.setHighLevelTransition(hlTrans);\n\t\t}\n\t\t\n\t\t// Add the group for all resources to each transition and to the process\n\t\t// the group for all resources may only be attached to a transition in the case\n\t\t// that no group has been defined for that transition\n\t\tArrayList<HLID> allResourceIDs = new ArrayList<HLID>();\n\t\tIterator<HLResource> resourceIt = process.getResources().iterator();\n\t\twhile (resourceIt.hasNext()) {\n\t\t\tallResourceIDs.add(resourceIt.next().getID());\n\t\t}\n\t}",
"public void persist() {\r\n try {\r\n ComponentController componentController = new ComponentController();\r\n WorthController worthController = new WorthController();\r\n ParameterController parameterController = new ParameterController();\r\n AssemblyController assemblyController = new AssemblyController();\r\n for (Component component : components) {\r\n if (component.getId() == null) {\r\n componentController.create(component);\r\n } else {\r\n\r\n componentController.edit(component);\r\n\r\n }\r\n }\r\n for (int i = deletedComponents.size() - 1; i >= 0; i--) {\r\n if (deletedComponents.get(i).getId() != null) {\r\n for (int b = deletedComponents.get(i).getAssemblys().size() - 1; b >= 0; b--) {\r\n if (deletedComponents.get(i).getAssemblys().get(b).getId() != null) {\r\n try {\r\n assemblyController.destroy(deletedComponents.get(i).getAssemblys().get(b).getId());\r\n } catch (NonexistentEntityException ex) {\r\n\r\n }\r\n deletedComponents.get(i).getAssemblys().remove(i);\r\n }\r\n }\r\n\r\n try {\r\n componentController.destroy(deletedComponents.get(i).getId());\r\n } catch (NonexistentEntityException ex) {\r\n\r\n }\r\n }\r\n }\r\n deletedComponents.clear();\r\n\r\n if (ProjectViewController.isProjectOpened() == false) {\r\n worthController.create(new Worth(ProjectViewController.getOpenedProject(), parameterController.findParameterPByShortTerm(\"GP\"), getColmunSum(tc_Price)));\r\n worthController.create(new Worth(ProjectViewController.getOpenedProject(), parameterController.findParameterPByShortTerm(\"KZPG\"), getColmunSum(tc_CuttingPrice)));\r\n worthController.create(new Worth(ProjectViewController.getOpenedProject(), parameterController.findParameterPByShortTerm(\"GKV\"), getColmunSum(tc_CuttingPrice) + getColmunSum(tc_Price)));\r\n } else {\r\n Worth materialCost = worthController.findWorthByParameterIdAndProjectId(parameterController.findParameterPByShortTerm(\"GP\").getId(), ProjectViewController.getOpenedProject().getId());\r\n materialCost.setWorth(getColmunSum(tc_Price));\r\n Worth wageCost = worthController.findWorthByParameterIdAndProjectId(parameterController.findParameterPByShortTerm(\"KZPG\").getId(), ProjectViewController.getOpenedProject().getId());\r\n wageCost.setWorth(getColmunSum(tc_CuttingPrice));\r\n Worth totalCost = worthController.findWorthByParameterIdAndProjectId(parameterController.findParameterPByShortTerm(\"GKV\").getId(), ProjectViewController.getOpenedProject().getId());\r\n totalCost.setWorth(getColmunSum(tc_CuttingPrice) + getColmunSum(tc_Price));\r\n worthController.edit(materialCost);\r\n worthController.edit(wageCost);\r\n worthController.edit(totalCost);\r\n }\r\n } catch (Exception e) {\r\n Logging.getLogger().log(Level.SEVERE, \"Project_ConstructionMaterialListController: persist method didn't work.\", e);\r\n }\r\n }",
"@Override\n public void updateFromComponentModels(Optional componentModel) {\n }",
"public void willbeUpdated() {\n\t\t\n\t}",
"boolean isMapModuleChangeAllowed(MapModule oldMapModule, Mode oldMode,\n\t\t\t\tMapModule newMapModule, Mode newMode);",
"private void notifyListeners() {\n\t\tfor(ModelListener l:listeners) {\n\t\t\tl.update();\t// Tell the listener that something changed\n\t\t}\n\t}",
"protected void resetModified()\n {\n m_pool.resetModified();\n\n // reset all other VM sub-structures\n StringTable[] atbl = CONTAINED_TABLE;\n for (int i = 0; i < atbl.length; ++i)\n {\n Enumeration enmr = atbl[i].elements();\n while (enmr.hasMoreElements())\n {\n ((VMStructure) enmr.nextElement()).resetModified();\n }\n }\n\n m_fModified = false;\n }",
"private void initializeComponents() {\n\n RootConfig rootConfig = UAAppContext.getInstance().getRootConfig();\n\n if (rootConfig == null || rootConfig.mApplications == null) {\n // Error - Root Config inconsistencies\n Utils.logError(LogTags.PROJECT_LIST, \"No Root Config for user after AppStartupThread2\" +\n \"-- redirecting user to login screen\");\n invalidateLogin();\n moveToLoginScreen();\n }\n\n for (ProjectTypeModel projectTypeModel : rootConfig.mApplications) {\n if (projectTypeModel.mAppId.equals(mAppId)) {\n if (projectTypeModel.mSortType != null && !projectTypeModel.mSortType.isEmpty()) {\n mSortType = projectTypeModel.mSortType;\n }\n if (projectTypeModel.mFilteringAttributes != null && projectTypeModel.mFilteringAttributes.size() > 0) {\n mFilteringAttributes = projectTypeModel.mFilteringAttributes;\n }\n // Checking if Map Configuration is null or not\n if (UAAppContext.getInstance().getMapConfig() != null) {\n Map<String, List<MapInfo>> appSpecificMarkers = UAAppContext.getInstance().getMapConfig().mapMarkers;\n if (appSpecificMarkers != null && !appSpecificMarkers.isEmpty()) {\n mapMarkers = appSpecificMarkers.get(mAppId);\n }\n if (UAAppContext.getInstance().getMapConfig().files != null) {\n mapLayers = MapUtils.getInstance().getLayerFiles();\n }\n }\n break;\n }\n }\n\n if (mGroupingAttribute != null && !mGroupingAttribute.isEmpty()) {\n // Only show the projects that have this grouping attribute\n UAAppContext.getInstance().setProjectList(UAAppContext.getInstance().getDBHelper().getProjectsForUserForGroupingAttribute(UAAppContext\n .getInstance().getUserID(), mAppId, mGroupingAttributeValue.toLowerCase()));\n } else {\n UAAppContext.getInstance().setProjectList(UAAppContext.getInstance().getDBHelper().getProjectsForUser(UAAppContext\n .getInstance().getUserID(), mAppId));\n }\n mProjectList = UAAppContext.getInstance().getProjectList();\n }",
"public interface Constants {\n\n /**\n * Add new modules\n * params: \"Title\", \"Description\", \"Module Tag\", \"Image url\"\n */\n Module moduleMaps = new Module(\"Maps\", \"Google map integrations with geofencing & more...\", \"\", \"http://3.bp.blogspot.com/_ZaGO7GjCqAI/Rh47v0ZvaoI/AAAAAAAABjA/20hcUi_0XVo/s640/maps-building-layer.png\");\n Module moduleVolley = new Module(\"Volley\", \"Network calls, caching & queuing...\", \"personal.aron.devstuff.views.VolleyActivity\", \"http://4.bp.blogspot.com/-K7j65NVErX4/Vg1fo0yVl5I/AAAAAAAACIM/e9vbLaxqA-U/s1600/image00.png\");\n Module moduleDynamicForms = new Module(\"Dynamic Forms\", \"Creating forms using json...\", \"personal.aron.devstuff.views.DynamicFormActivity\", \"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQEXcK-FALJ2WYj0GM015I70-al_Xxe7rkXRqtczHs6bZqRiau1xQ\");\n Module modulePermissions = new Module(\"App Permissions\", \"Asking permissions and handling it...\", \"personal.aron.devstuff.views.PermissionsActivity\", \"https://i.kinja-img.com/gawker-media/image/upload/s--Mjlv9Tan--/c_fill,fl_progressive,g_center,h_450,q_80,w_800/18hvgdkyebym4jpg.jpg\");\n\n public Module[] moduleList = {moduleMaps, moduleVolley, moduleDynamicForms, modulePermissions};\n\n public int numColumnsGridHome = 2;\n public String homeBackDrop = \"http://wallarthd.com/wp-content/uploads/2014/08/Art-Android-Wallpaper-Background.jpg\";\n\n}",
"@Test\n public void testModuleOperations()\n throws Exception\n {\n // instance exists (auto-created)\n ModuleInfo info = moduleManager.getModuleInfo(MarketDataCoreModuleFactory.INSTANCE_URN);\n assertNotNull(info);\n assertNotNull(info.getCreated());\n assertNotNull(info.getStarted());\n // instance started (auto-started)\n assertEquals(ModuleState.STARTED,\n info.getState());\n new ExpectedFailure<ModuleStateException>(Messages.MODULE_NOT_STARTED_STATE_INCORRECT) {\n @Override\n protected void run()\n throws Exception\n {\n moduleManager.start(MarketDataCoreModuleFactory.INSTANCE_URN);\n }\n };\n new ExpectedFailure<ModuleException>(Messages.CANNOT_DELETE_SINGLETON) {\n @Override\n protected void run()\n throws Exception\n {\n moduleManager.deleteModule(MarketDataCoreModuleFactory.INSTANCE_URN);\n }\n };\n new ExpectedFailure<ModuleException>(Messages.CANNOT_CREATE_SINGLETON) {\n @Override\n protected void run()\n throws Exception\n {\n moduleManager.createModule(MarketDataCoreModuleFactory.PROVIDER_URN);\n }\n };\n moduleManager.stop(MarketDataCoreModuleFactory.INSTANCE_URN);\n info = moduleManager.getModuleInfo(MarketDataCoreModuleFactory.INSTANCE_URN);\n assertEquals(ModuleState.STOPPED,\n info.getState());\n moduleManager.start(MarketDataCoreModuleFactory.INSTANCE_URN);\n info = moduleManager.getModuleInfo(MarketDataCoreModuleFactory.INSTANCE_URN);\n assertEquals(ModuleState.STARTED,\n info.getState());\n }",
"private void addToDirtyResources(EObject modelElement) {\n\t\tResource resource = modelElement.eResource();\n\n\t\tif (resource != null) {\n\t\t\tdirtyResourceSet.addDirtyResource(resource);\n\t\t}\n\t}",
"public interface RepoModule {\n void saveModule(Module module) throws Exception;\n void saveLocalObj(Collection<Module> modules) throws Exception;\n void updateFinalStatus(String vehicleNo) throws Exception;\n void updateFlag(String vehicleNo, String checkPointName) throws Exception;\n void deleteTableData()throws Exception;\n void deleteTableData(String vehicleNo) throws Exception;\n Set<Module> uploadModuleData(String userId) throws Exception;\n Integer checkDataInspections() throws Exception;\n List<String> getLocalVehicleList()throws Exception;\n List<Module> uploadData(String userId)throws Exception;\n Set<Module> selectAll()throws Exception;\n}",
"void onModuleAdded(final ModularConfigurationModule<T> module) {\n for (ModularConfigurationEntry<T> newEntry : module.getAll()) {\n ModularConfigurationEntry<T> existing = entries.getIfExists(newEntry.getName());\n if (existing == null) {\n existing = removedEntries.remove(newEntry.getName());\n }\n\n // Directly store the module's entry. No change notification as there's\n // no listeners registered yet.\n if (existing == null) {\n this.entries.set(newEntry.getName(), newEntry);\n continue;\n }\n\n // Check whether the existing entry's module overrides the module that\n // we are adding to this store. If so, the entry isn't loaded.\n // Instead it's added to the \"shadow modules\" - a list modules are taken\n // from when the entry is removed from higher-priority modules.\n if (!existing.isRemoved() && !isModuleOverriding(module, existing.getModule())) {\n int index = 0;\n while (index < existing.shadowModules.size() &&\n isModuleOverriding(module, existing.shadowModules.get(index)))\n {\n index++;\n }\n existing.shadowModules.add(index, module);\n continue;\n }\n\n // Swap the entry for the existing one\n existing.loadFromModule(module);\n }\n }",
"@Override\n\tprotected void inspectModule(String label, ModuleAction action, Module module) {\n\t\tfinal Instant mark = timeService.now();\n\t\tfinal String modulePK = module.primaryKey();\n\t\tif (Stream.of(ignoredModules).anyMatch(ignorance -> !StringUtils.isEmpty(ignorance) && modulePK.startsWith(ignorance))) {\n\t\t\tlog.debug(\"Module '{}' is ignored for inspection.\", modulePK);\n\t\t\treturn;\n\t\t}\n\t\tlog.info(\"Scan module '{}'\", modulePK);\n\t\t// get health state of module\n\t\tmodule.getMetricsContainer().health().heartBeat(action, module);\n\t\t// collect and save all metrics of module\n\t\tAtomicInteger counter = new AtomicInteger(1);\n\t\tmodule.metrics().stream()\n\t\t\t\t.peek(metric -> log.debug(\"{}. metric '{}' processing\", counter.getAndIncrement(), metric.getName()))\n\t\t\t\t.filter(metric -> this.isWorking())\n\t\t\t\t.forEach(this::storeMetric);\n\n\t\t// save metric about module health check duration\n\t\tgetMetricsContainer().duration().simple(label, action, timeService.now(), modulePK, timeService.duration(mark));\n\t}",
"public void update()\n {\n for (Container container : containers)\n container.update(false);\n\n Gui.update(BanksGUI.class);\n Gui.update(BankGUI.class);\n Gui.update(ItemsGroupsGUI.class);\n }",
"public void updateAllVolumes() {\n for (final DrbdVolumeInfo dvi : drbdVolumes) {\n for (final BlockDevInfo bdi : dvi.getBlockDevInfos()) {\n if (bdi != null) {\n bdi.checkResourceFieldsChanged(null,\n bdi.getParametersFromXML());\n bdi.updateAdvancedPanels();\n }\n }\n }\n }",
"public synchronized static void loadModels() throws SchemaProviderException {\n if (logger.isDebugEnabled()) {\n logger.debug(\"Loading OXM Models\");\n }\n\n for (SchemaVersion oxmVersion : translator.getSchemaVersions().getVersions()) {\n DynamicJAXBContext jaxbContext = nodeIngestor.getContextForVersion(oxmVersion);\n if (jaxbContext != null) {\n loadModel(oxmVersion.toString(), jaxbContext);\n }\n }\n }",
"public synchronized void reset() {\n for (TreeManagementModel model : mgrModels.values()) {\n model.reset();\n }\n }",
"public void updateComponents(){\n adapter.updateItems();\n }",
"public void update()\n {\n this.controller.updateAll();\n theLogger.info(\"Update request recieved from UI\");\n }",
"@Override\r\n\tpublic void update(Resources resources) {\n\t\t\r\n\t}",
"@Override\n\tpublic void repositoryContentUpdated(AbstractRepoService<?, ?> abstractRepoService, List<Changeset> changes) {\n\t\tif (model != null) {\n\t\t\tif (abstractRepoService instanceof PlatformRepoService) {\n\n\t\t\t\tfor (Changeset change : changes) {\n\n\t\t\t\t\t// Platform removed\n\t\t\t\t\tif (change.getObject() instanceof PlatformFile && change.getOperation() == Operation.REMOVE) {\n\t\t\t\t\t\tPlatformModel removedModel = ((PlatformFile) (change.getObject())).getModel();\n\t\t\t\t\t\tif (removedModel != null) {\n\t\t\t\t\t\t\t// This code is different from DSCiliaChainView\n\t\t\t\t\t\t\t// because\n\t\t\t\t\t\t\t// two platforms can host a\n\t\t\t\t\t\t\t// chain with the same name !\n\t\t\t\t\t\t\tif (model.getPlatform() == removedModel) {\n\t\t\t\t\t\t\t\tupdateConfigAndModel(null);\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Chain removed\n\t\t\t\t\tif (change.getObject() instanceof PlatformChain && change.getOperation() == Operation.REMOVE) {\n\t\t\t\t\t\tif (model == change.getObject()) { // pointer equality\n\t\t\t\t\t\t\tupdateConfigAndModel(null);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (changes.size() != 0)\n\t\t\t\t\tupdateConfigAndModel(model);\n\t\t\t}\n\n\t\t\telse if (abstractRepoService instanceof AbstractCompositionsRepoService) {\n\t\t\t\tupdateConfigAndModel(model);\n\t\t\t}\n\t\t}\n\t}",
"private void updateHubModels() {\n this.hub.setWeight( this.hub.indexOf( this.modelHub1 ) , (Integer)this.jSpinnerModel1.getValue() );\n this.hub.setWeight( this.hub.indexOf( this.modelHub2 ) , (Integer)this.jSpinnerModel2.getValue() );\n this.hub.setWeight( this.hub.indexOf( this.modelHub3 ) , (Integer)this.jSpinnerModel3.getValue() );\n this.modelHub1.setValue( this.jSliderModel1.getValue() );\n this.modelHub2.setValue( this.jSliderModel2.getValue() );\n this.modelHub3.setValue( this.jSliderModel3.getValue() );\n\n this.updateHubHelps( this.modelHub1 , this.jLabelHelp1 );\n this.updateHubHelps( this.modelHub2 , this.jLabelHelp2 );\n this.updateHubHelps( this.modelHub3 , this.jLabelHelp3 );\n }",
"private void setNewStatusIfNeeded() {\n \t\tfor(FileDiffDirectory dir : directories ) {\n \t\t\tif (dir.getState() != DiffState.SAME) {\n \t\t\t\tsetState(DiffState.CHANGED);\n \t\t\t\treturn;\n \t\t\t}\n \t\t}\n \t\t\n \t\tfor(FileDiffFile file : files ) {\n \t\t\tif (file.getState() != DiffState.SAME) {\n \t\t\t\tsetState(DiffState.CHANGED);\n \t\t\t\treturn;\n \t\t\t}\n \t\t}\n \t}",
"private void scanProject() {\n ProjectResources resources = ResourceManager.getInstance().getProjectResources(mProject);\n if (resources != null) {\n Collection<ResourceItem> layouts = resources.getResourceItemsOfType(LAYOUT);\n for (ResourceItem layout : layouts) {\n List<ResourceFile> sources = layout.getSourceFileList();\n for (ResourceFile source : sources) {\n updateFileIncludes(source, false);\n }\n }\n\n return;\n }\n }",
"public void loadModules() throws IOException, ClassNotFoundException {\n \tString filename = \"test.modules\";\n \tFile in = new File(System.getProperty(\"user.home\") + \"\\\\test\\\\\" + filename);\n\t\t\n FileInputStream fileIn = new FileInputStream(in);\n ObjectInputStream objectIn = new ObjectInputStream(fileIn);\n Object o = objectIn.readObject();\n if (o instanceof CopyOnWriteArrayList<?>) {\n \tmodules = (CopyOnWriteArrayList<ModulePanel>) o;\n \tremoveAll();\n \tfor (ModulePanel modulePanel : modules) {\n \t\tadd(modulePanel);\n\t\t\t}\n }\n objectIn.close();\n fileIn.close();\t\n \n\t\tupdateUI();\n\t\trepaint();\n\t}",
"private void populateResources(GameModel model) {\n\t\tPlayer player = model.getLocalPlayer(facade.getPlayerId());\n\t\tResourceList resource = player.getResources();\n\t\tint wood = resource.getWood();\n\t\tint brick = resource.getBrick();\n\t\tint sheep = resource.getSheep();\n\t\tint wheat = resource.getWheat();\n\t\tint ore = resource.getOre();\n\t\t\n\t\tgetView().setElementAmount(ResourceBarElement.WOOD, wood);\n\t\tgetView().setElementAmount(ResourceBarElement.BRICK, brick);\n\t\tgetView().setElementAmount(ResourceBarElement.SHEEP, sheep);\n\t\tgetView().setElementAmount(ResourceBarElement.WHEAT, wheat);\n\t\tgetView().setElementAmount(ResourceBarElement.ORE, ore);\n\t\t\n\t\t\n\t\t\n\t\tint roads = player.getRoads();\n\t\tint settlements = player.getSettlements();\n\t\tint cities = player.getCities();\n\t\t\n\t\tgetView().setElementAmount(ResourceBarElement.ROAD, roads);\n\t\tgetView().setElementEnabled(ResourceBarElement.ROAD, currState.canBuyRoad());\n\t\tgetView().setElementAmount(ResourceBarElement.SETTLEMENT, settlements);\n\t\tgetView().setElementEnabled(ResourceBarElement.SETTLEMENT, currState.canBuySettlement());\n\t\tgetView().setElementAmount(ResourceBarElement.CITY, cities);\n\t\tgetView().setElementEnabled(ResourceBarElement.CITY, currState.canBuyCity());\n\t\t\n\t\tboolean clickable = currState.canBuyDevCard();\n\t\tgetView().setElementEnabled(ResourceBarElement.BUY_CARD, clickable);\n\t\t\n\t\tclickable = player.hasDevCards();\n\t\tgetView().setElementEnabled(ResourceBarElement.PLAY_CARD, clickable);\n\t\t\n\t\tint soldiers = player.getSoldiers();\n\t\tgetView().setElementAmount(ResourceBarElement.SOLDIERS, soldiers);\n\t\t\n\t\t\n\t}",
"public void initModules() {\n\t\tthis.loadAggregationModules();\n\t\tthis.loadOutputModules();\n\t\tthis.gui.setModules(aggregationModules, outputModules);\n\t}",
"private void checkDatabaseStructure(DatabaseUpdateType update) {\n }",
"private void updateButtonsState() {\r\n ISelection sel = mTableViewerPackages.getSelection();\r\n boolean hasSelection = sel != null && !sel.isEmpty();\r\n\r\n mUpdateButton.setEnabled(mTablePackages.getItemCount() > 0);\r\n mDeleteButton.setEnabled(hasSelection);\r\n mRefreshButton.setEnabled(true);\r\n }",
"protected void refreshFromRepository() {\n\t\t\r\n\t\tObject[] elements = new Object[]{};\r\n\t\tmodelObject.eContainer();\r\n\t\t\r\n\t\tif (fFilteredList != null) {\r\n\t\t\t\r\n\t\t\tfFilteredList.setAllowDuplicates(showDuplicates);\r\n\t\t\tfFilteredList.setElements(elements);\r\n\t\t\tfFilteredList.setEnabled(true);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tif (fTreeViewer != null) {\r\n\t\t\tfTreeViewer.setInput(null);\r\n\t\t}\t\t\r\n\t}",
"void scanModulesHealth() {\n\t\t// activate main module action\n\t\tactivateMainModuleAction();\n\n\t\tlog.debug(\"Scanning modules.\");\n\t\tactionsFactory.executeAtomicModuleAction(this, \"metrics-check\", () -> iterateRegisteredModules(ACTIVITY_LABEL), false);\n\n\t\tif (!isWorking() || Objects.isNull(runnerFuture)) {\n\t\t\tlog.debug(\"Scanning is stopped.\");\n\t\t\treturn;\n\t\t}\n\t\tlog.debug(\"Rescheduling service for {} millis\", delay);\n\t\trunnerFuture = activityRunner.schedule(this::scanModulesHealth, delay, TimeUnit.MILLISECONDS);\n\t}"
]
| [
"0.5911298",
"0.5816575",
"0.5777547",
"0.56985134",
"0.5557332",
"0.55191696",
"0.55088764",
"0.5482574",
"0.54617655",
"0.5441781",
"0.5437159",
"0.5422312",
"0.5404433",
"0.53839743",
"0.5357295",
"0.53503215",
"0.5339353",
"0.52581006",
"0.5221038",
"0.5201927",
"0.5174389",
"0.51698595",
"0.5154072",
"0.5140627",
"0.51223016",
"0.51173127",
"0.51166046",
"0.51129174",
"0.50941145",
"0.50868237",
"0.50828475",
"0.50789654",
"0.50772595",
"0.507447",
"0.5065684",
"0.5025078",
"0.50241745",
"0.5017685",
"0.5012771",
"0.4996804",
"0.49711198",
"0.4941287",
"0.49372062",
"0.49360934",
"0.49276346",
"0.49276346",
"0.4904016",
"0.49038684",
"0.48953724",
"0.4890954",
"0.48872146",
"0.48856127",
"0.48847124",
"0.4883555",
"0.4878163",
"0.4878139",
"0.486807",
"0.48642012",
"0.48628938",
"0.48269936",
"0.48192796",
"0.48138475",
"0.481121",
"0.48032132",
"0.47949603",
"0.47925225",
"0.47864848",
"0.47864375",
"0.4774195",
"0.47707358",
"0.47695485",
"0.47596064",
"0.47570476",
"0.4754918",
"0.47531414",
"0.4748124",
"0.47469503",
"0.4740072",
"0.47274756",
"0.47213665",
"0.4712952",
"0.47092432",
"0.46965918",
"0.4695155",
"0.46934238",
"0.46900874",
"0.4689771",
"0.468312",
"0.4678197",
"0.46779895",
"0.4675882",
"0.46730727",
"0.46691546",
"0.46676862",
"0.4664528",
"0.4661565",
"0.46540856",
"0.4653486",
"0.46524054",
"0.46496505"
]
| 0.47619462 | 71 |
In order to be compatible with ViewPagerIndicator | @Override
public PagerAdapter getAdapter() {
return wrappedPagerAdapter;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void m3173b() {\n ViewPager viewPager = (ViewPager) findViewById(R.id.viewpager);\n FixedIndicatorView fixedIndicatorView = (FixedIndicatorView) findViewById(R.id.indicator);\n C0597f.m819a(viewPager, 1000);\n this.f2478a = new IndicatorViewPager(fixedIndicatorView, viewPager);\n final OnClickListener c05551 = new C05551(this);\n this.f2479b = new IndicatorViewPagerAdapter(this) {\n /* renamed from: b */\n final /* synthetic */ IntroActivity f2304b;\n\n public int getCount() {\n return this.f2304b.f2485m.length;\n }\n\n public View getViewForTab(int i, View view, ViewGroup viewGroup) {\n return view == null ? this.f2304b.c.f1264l.inflate(R.layout.activity_intro_indicator_item, viewGroup, false) : view;\n }\n\n public View getViewForPage(int i, View view, ViewGroup viewGroup) {\n if (view == null) {\n view = this.f2304b.c.f1264l.inflate(R.layout.activity_intro_page_item_ko, viewGroup, false);\n viewGroup = new C1063b(view);\n view.setFocusable(false);\n view.setOnClickListener(c05551);\n view.setTag(viewGroup);\n } else {\n viewGroup = (C0556a) view.getTag();\n }\n ((C1063b) viewGroup).m2266a(this.f2304b.f2485m[i]);\n return view;\n }\n };\n this.f2478a.setAdapter(this.f2479b);\n this.f2478a.setOnIndicatorPageChangeListener(new C10623(this));\n }",
"private void addIndicator() {\n createIndicator(mCurrentAdapterSize);\n mViewPager.setCurrentItem(mViewPager.getAdapter().getCount() - 1);\n }",
"private void setupListViewPager() {\n\t\tmSeverityListPager = (ViewPager) getView().findViewById(\n\t\t\t\tR.id.severity_list_viewpager);\n\t\tmSeverityListPageIndicator = (TabPageIndicator) getView().findViewById(\n\t\t\t\tR.id.severity_list_tabindicator);\n\t\t// Bind the tab indicator to the adapter\n\t\tmSeverityListPagerAdapter = retrievePagerAdapter();\n\t\tLog.d(TAG,\n\t\t\t\t\"current severity: \"\n\t\t\t\t\t\t+ mSeverityListPagerAdapter.getCurrentObject());\n\t\tmSeverityListPagerAdapter.setFragmentManager(getChildFragmentManager());\n\t\tmSeverityListPager.setAdapter(mSeverityListPagerAdapter);\n\t\tmSeverityListPager.setOffscreenPageLimit(1);\n\t\tmSeverityListPageIndicator.setViewPager(mSeverityListPager);\n\n\t\tmSeverityListPageIndicator.setCurrentItem(mSeverityListPagerAdapter\n\t\t\t\t.getCurrentPosition());\n\t\t// mCallbackMain.onSeveritySelected(mSeverityListPagerAdapter.getCurrentObject());\n\n\t\tmSeverityListPageIndicator\n\t\t\t\t.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onPageSelected(int position) {\n\t\t\t\t\t\tLog.d(TAG, \"EventCategoryFragment:onPageSelected(\"\n\t\t\t\t\t\t\t\t+ position + \")\");\n\t\t\t\t\t\tmSeverityListPagerAdapter.setCurrentPosition(position);\n\n\t\t\t\t\t\tmCallbackMain\n\t\t\t\t\t\t\t\t.onSeveritySelected(mSeverityListPagerAdapter\n\t\t\t\t\t\t\t\t\t\t.getCurrentObject());\n\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onPageScrollStateChanged(int position) {\n\t\t\t\t\t}\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t}",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View oursellerpriceView = inflater.inflate(R.layout.fragment_our_seller_price, container, false);\n\n mCustomPagerAdapter = new CustomPagerAdapter(getContext());\n\n mViewPager = (ViewPager) oursellerpriceView.findViewById(R.id.pager);\n mViewPager.setAdapter(mCustomPagerAdapter);\n// TitlePageIndicator indicator = (TitlePageIndicator) oursellerpriceView.findViewById(R.id.indicator);\n// indicator.setViewPager(mViewPager);\n CirclePageIndicator indicator =(CirclePageIndicator) oursellerpriceView.findViewById(R.id.indicator);\n indicator.setFillColor(R.color.redToolbar);\n indicator.setViewPager(mViewPager);\n\n //indicator.setSelectedItem(int, true);\n// TabLayout tabLayout = (TabLayout) oursellerpriceView.findViewById(R.id.tabDots);\n// tabLayout.setupWithViewPager(mViewPager, true);\n // mRecyclerView = (RecyclerView) oursellerpriceView.findViewById(R.id.recycler_view);\n// mRecyclerView.setHasFixedSize(true);\n// mLayoutManager = new LinearLayoutManager(getContext());\n// mRecyclerView.setLayoutManager(mLayoutManager);\n return oursellerpriceView;\n }",
"private void initViewPager() {\n }",
"ProfileViewPager mo106366h();",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n }",
"@Override\r\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\r\n }",
"private void initViews() {\n\t\tmViewPager = (ViewPager) findViewById(R.id.view_pager); \n mIndicator = (IconTabPageIndicator) findViewById(R.id.indicator); \n fragments = initFragments(); \n FragmentAdapter adapter = new FragmentAdapter(fragments, getSupportFragmentManager()); \n mViewPager.setAdapter(adapter); \n mIndicator.setViewPager(mViewPager); \n mViewPager.setCurrentItem(whichPage);\n \n \n \n\t}",
"private void initialisePaging() {\n\nList<Fragment> fragments = new Vector<Fragment>();\nfragments.add(Fragment.instantiate(this, Fragment0.class.getName()));\nfragments.add(Fragment.instantiate(this, Fragment1.class.getName()));\nfragments.add(Fragment.instantiate(this, Fragment2.class.getName()));\nthis.mPagerAdapter = new MyPagerAdapter(super.getSupportFragmentManager(), fragments);\n\nViewPager pager = (ViewPager) super.findViewById(R.id.awesomepager);\npager.setAdapter(this.mPagerAdapter);\n}",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n \n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n \n }",
"@Override\n public void onPageScrolled(int position,\n float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n protected void onCreate(@Nullable Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n\n SID = (UUID) getIntent().getSerializableExtra(EXTRA_ID);\n\n mQurans = QueryUtilsList.get(this).getAllPages();\n\n mBinding = ActivitySurhPagerBinding.inflate(getLayoutInflater());\n setContentView(mBinding.getRoot());\n\n\n // setContentView(R.layout.activity_surh_pager);\n\n mainToolbar = findViewById(R.id.qourn_toolbar) ;\n\n setSupportActionBar(mainToolbar);\n\n getSupportActionBar().setDisplayHomeAsUpEnabled(true);\n\n\n\n // isActionBarHidden = false;\n mActionBarStatus.setActionBarStatus(false);\n\n\n int p = (int)getIntent().getSerializableExtra(EXTRA_SURH_START_PAGE) ;\n\n\n\n\n // QueryUtilsList queryUtilsList = QueryUtilsList.get(this);\n\n\n\n Spinner spinner = (Spinner) findViewById(R.id.spinner);\n\n\n mBinding.surhViewPager.setAdapter(new FragmentStateAdapter(this) {\n @NonNull\n @Override\n public Fragment createFragment(int position) {\n\n //quran = mQurans.get(position);\n\n // return QuranFragment.newInstance(quran.getId());\n return QuranFragment.arrayList.get(position);\n\n }\n\n @Override\n public int getItemCount() {\n //return mQurans.size();\n\n return QuranFragment.arrayList.size();\n }\n });\n\n mBinding.surhViewPager.registerOnPageChangeCallback(pageChangeCallback);\n mBinding.surhViewPager.setCurrentItem(p-1, false) ;\n\n\n\n\n// mViewPager = findViewById(R.id.surh_view_pager);\n/*\n\n mViewPager.setAdapter(new FragmentStateAdapter(this) {\n @NonNull\n @Override\n public Fragment createFragment(int position) {\n quran = mQurans.get(position);\n return QuranFragment.newInstance(quran.getId());\n }\n\n @Override\n public int getItemCount() {\n return mQurans.size();\n }\n\n\n });\n\n mPageChangeCallback = new ViewPager2.OnPageChangeCallback() {\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n super.onPageScrolled(position, positionOffset, positionOffsetPixels);\n\n }\n\n @Override\n public void onPageSelected(int position) {\n super.onPageSelected(position);\n Toast.makeText(SurhPagerActivity.this, \" position= \" +position , Toast.LENGTH_SHORT).show();\n\n\n }\n\n @Override\n public void onPageScrollStateChanged(int state) {\n super.onPageScrollStateChanged(state);\n }\n };*/\n\n\n\n\n\n\n\n\n\n\n }",
"@Override\n public void onPageChanged(int position) {\n }",
"private void initialize() {\n\r\n\t\tpagerContainer = (ViewPager) rootView.findViewById(R.id.pagercontainer);\r\n\t\tindicator = (LinePageIndicator) rootView.findViewById(R.id.indicator);\r\n\r\n\t\t_layoutInflater = getActivity().getLayoutInflater();\r\n\t\tpages = new Vector<View>();\r\n\r\n\t\tpage1 = _layoutInflater.inflate(R.layout.checkout_your_details, null);\r\n\t\tpage2 = _layoutInflater.inflate(R.layout.checkout_schedule_payment,\r\n\t\t\t\tnull);\r\n\r\n\t\tpages.add(page1);\r\n\r\n\t\tpagerAdapter = new MediaPagerAdapter(getActivity(), pages);\r\n\t\tpagerContainer.setAdapter(pagerAdapter);\r\n\r\n\t\tindicator.setViewPager(pagerContainer);\r\n\t\tindicator.setClickable(true);\r\n\r\n\t\tet_firstname = (EditText) page1.findViewById(R.id.et_firstname);\r\n\t\tet_lastname = (EditText) page1.findViewById(R.id.et_lastname);\r\n\t\tet_landmark = (EditText) page1.findViewById(R.id.et_landmark);\r\n\t\tet_street = (EditText) page1.findViewById(R.id.et_street);\r\n\t\tet_flatno = (EditText) page1.findViewById(R.id.et_flatno);\r\n\t\tet_address = (EditText) page1.findViewById(R.id.et_address);\r\n\t\tet_pincode = (EditText) page1.findViewById(R.id.et_pincode);\r\n\t\tet_phone = (EditText) page1.findViewById(R.id.et_phone);\r\n\t\tspin_state = (Spinner) page1.findViewById(R.id.spin_state);\r\n\t\tspin_city = (Spinner) page1.findViewById(R.id.spin_city);\r\n\t\tspin_location = (Spinner) page1.findViewById(R.id.spin_location);\r\n\t\ttv_next = (TextView) page1.findViewById(R.id.tv_next);\r\n\r\n\t\tet_select_date = (EditText) page2.findViewById(R.id.et_select_date);\r\n\t\tet_select_time = (EditText) page2.findViewById(R.id.et_select_time);\r\n\r\n\t\trdGroup = (RadioGroup) page2.findViewById(R.id.rdGroup);\r\n\t\trdbtnone = (RadioButton) page2.findViewById(R.id.rdbtnone);\r\n\t\trdbtntwo = (RadioButton) page2.findViewById(R.id.rdbtntwo);\r\n\t\trdbtnthree = (RadioButton) page2.findViewById(R.id.rdbtnthree);\r\n\t\tbtn_checkout = (Button) page2.findViewById(R.id.btn_checkout);\r\n\r\n\t\tsharedpreference = new SharedPreferenceClass(getActivity());\r\n\r\n\t\ttv_next.setOnClickListener(new View.OnClickListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onClick(View v) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\r\n\t\t\t\tfirstname = et_firstname.getText().toString();\r\n\t\t\t\tlastname = et_lastname.getText().toString();\r\n\t\t\t\tlandmark = et_landmark.getText().toString();\r\n\t\t\t\tpincode = et_pincode.getText().toString();\r\n\t\t\t\tphone = et_phone.getText().toString();\r\n\r\n\t\t\t\tif (firstname.equals(\"\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter First Name\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (lastname.equals(\"\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter Last Name\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (phone.equals(\"\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter Phone Number\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (phone.length() < 10) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(),\r\n\t\t\t\t\t\t\t\"Phone Number should be 10 digit\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (state_id.equals(\"0\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter State\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (city_id.equals(\"0\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter City\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (location_id.equals(\"0\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter Location\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (pincode.equals(\"\")) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Please Enter Pincode\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (pincode.length() < 6) {\r\n\r\n\t\t\t\t\tToast.makeText(getActivity(), \"Pincode should be 6 digit\",\r\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse {\r\n\r\n\t\t\t\t\tif (!pages.contains(page2)) {\r\n\r\n\t\t\t\t\t\tpages.add(page2);\r\n\r\n\t\t\t\t\t\tpagerAdapter = new MediaPagerAdapter(getActivity(),\r\n\t\t\t\t\t\t\t\tpages);\r\n\t\t\t\t\t\tpagerContainer.setAdapter(pagerAdapter);\r\n\r\n\t\t\t\t\t\tindicator.setViewPager(pagerContainer);\r\n\t\t\t\t\t\tindicator.setClickable(true);\r\n\r\n\t\t\t\t\t\tpagerContainer.setCurrentItem(1);\r\n\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\telse {\r\n\r\n\t\t\t\t\t\tpagerContainer.setCurrentItem(1);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t}",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"public void prepareCircularCarrusel() {\n ArrayList arrayList = new ArrayList();\n arrayList.add(((WebTextViewFragment) this.fragments.get(this.fragments.size() - 1)).getClone());\n arrayList.addAll(this.fragments);\n arrayList.add(((WebTextViewFragment) this.fragments.get(0)).getClone());\n this.fragments = arrayList;\n this.mPager.addOnPageChangeListener(new OnPageChangeListener() {\n public void onPageSelected(int i) {\n int currentItem = CircularCarruselPagerAdapter.this.getCurrentItem();\n if (CircularCarruselPagerAdapter.this.isListenerAvailable().booleanValue() && CircularCarruselPagerAdapter.this.isCurrentItemOnRange(currentItem).booleanValue()) {\n CircularCarruselPagerAdapter.this.mListener.onPageSelected(currentItem);\n }\n }\n\n public void onPageScrolled(int i, float f, int i2) {\n if (CircularCarruselPagerAdapter.this.isListenerAvailable().booleanValue()) {\n CircularCarruselPagerAdapter.this.mListener.onPageScrolled(i, f, i2);\n }\n }\n\n public void onPageScrollStateChanged(int i) {\n if (i == 0) {\n int count = CircularCarruselPagerAdapter.this.getCount();\n int currentItem = CircularCarruselPagerAdapter.this.mPager.getCurrentItem();\n if (currentItem == 0) {\n CircularCarruselPagerAdapter.this.mPager.setCurrentItem(count - 2, false);\n } else if (currentItem == count - 1) {\n CircularCarruselPagerAdapter.this.mPager.setCurrentItem(1, false);\n }\n }\n }\n });\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"public void initViewPager() {\n\n PagerAdapter adapter = new FragOrder.MyPagerAdapter();\n pager.setAdapter(adapter);\n pager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n\n @Override\n public void onPageSelected(int index) {\n // TODO Auto-generated method stub\n for (int i = 0; i < tvs.size(); i++) {\n if (i == index) {\n tvs.get(i).setTextColor(Color.BLUE);\n } else {\n tvs.get(i).setTextColor(Color.rgb(55, 55, 55));\n }\n }\n }\n\n @Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void onPageScrollStateChanged(int arg0) {\n // TODO Auto-generated method stub\n\n }\n });\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset,\n int positionOffsetPixels) {\n\n if (positionOffset > 0 && position < mTabIndicator.size() - 1) {\n ChangeColorIconWithTextView left = mTabIndicator.get(position);\n ChangeColorIconWithTextView right = mTabIndicator.get(position + 1);\n\n left.setIconAlpha(1 - positionOffset);\n right.setIconAlpha(positionOffset);\n }\n\n }",
"private void createIndicators() {\n this.removeAllViews();\n int n = this.mViewpager.getAdapter().getCount();\n if (n > 0) {\n int n2 = this.mViewpager.getCurrentItem();\n int n3 = this.getOrientation();\n for (int i = 0; i < n; ++i) {\n if (n2 == i) {\n this.addIndicator(n3, this.mIndicatorBackgroundResId, this.mImmediateAnimatorOut);\n continue;\n }\n this.addIndicator(n3, this.mIndicatorUnselectedBackgroundResId, this.mImmediateAnimatorIn);\n }\n }\n }",
"@Override\n public void onPageSelected(int position) {\n viewPager.getAdapter().notifyDataSetChanged();\n Log.d(\"ADebugTag\", \"***************notifyDataSetChanged*************** \");\n\n }",
"public void onChanged() {\n int n;\n super.onChanged();\n if (CircleIndicator.this.mViewpager == null || (n = CircleIndicator.this.mViewpager.getAdapter().getCount()) == CircleIndicator.this.getChildCount()) {\n return;\n }\n if (CircleIndicator.this.mLastPosition < n) {\n CircleIndicator.this.mLastPosition = CircleIndicator.this.mViewpager.getCurrentItem();\n } else {\n CircleIndicator.this.mLastPosition = -1;\n }\n CircleIndicator.this.createIndicators();\n }",
"@Override\n\t\t\tpublic void onPageSelected(int arg0) {\n\t\t\t\tLog.i(\"\", \"Enter hereeeeeeeeeeeeeeeeeeeee(onPageSelected!!!\");\n\t\t\t\t\n\t\t\t\t//adapter.instantiateItem(pager, arg0);\n\t\t\t\tadapter.notifyDataSetChanged();\n\t\t\t}",
"@Override\n public void onPageSelected(int position)\n {\n\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n public void onPageScrollStateChanged(int arg0) {\n System.out.println(\"onPageScrollStateChanged is called =\"+arg0);\n\n if(viewPager.getCurrentItem()!=0){\n back.setVisibility(View.VISIBLE);\n }\n else{\n back.setVisibility(View.INVISIBLE);\n }\n\n if(viewPager.getCurrentItem()==5){\n next.setVisibility(View.INVISIBLE);\n }\n else{\n next.setVisibility(View.VISIBLE);\n }\n }",
"private void startViewPagerThread() {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n int i = 0;\n View[] viewFlippers = new View[mWorkoutIds.size()];\n while (i < mWorkoutIds.size()) {\n viewFlippers[i] = new ViewWorkout(ActivityStopWatch.this,\n mWorkoutGalleries.get(mWorkoutIds.get(i)));\n i++;\n }\n mCircularBarPager.setViewPagerAdapter(new AdapterPagerWorkout(\n viewFlippers));\n mLytContainerLayout.setVisibility(View.VISIBLE);\n mToolbar.setVisibility(View.VISIBLE);\n mPrgLoading.setVisibility(View.GONE);\n }\n });\n\n }",
"private void setupViewPager(){\n viewPager = (ViewPager) findViewById(R.id.pager);\n\n SectionsPagerAdapter adapter = new SectionsPagerAdapter(getSupportFragmentManager());\n adapter.addFragment(new SearchFragment()); //index 0\n adapter.addFragment(new ARViewFragment()); //index 1\n adapter.addFragment(new UpdatedsFragment()); //index 2\n\n\n viewPager.setAdapter(adapter);\n viewPager.setCurrentItem(1);\n\n viewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\n }\n\n @Override\n public void onPageSelected(int position) {\n\n int C = viewPager.getCurrentItem();\n Fragment ARV = adapter.getItem(1);\n\n\n if (C != 1){\n ARV.onPause();\n }else\n ARV.onResume();\n\n\n }\n\n @Override\n public void onPageScrollStateChanged(int state) {\n\n }\n });\n\n }",
"@Override\n public void onPageSelected(int position) {\n footerIndicator1.setImageResource(R.drawable.page_dot_2);\n footerIndicator2.setImageResource(R.drawable.page_dot_2);\n footerIndicator3.setImageResource(R.drawable.page_dot_2);\n footerIndicator4.setImageResource(R.drawable.page_dot_2);\n indicatorAction(position);\n }",
"@Override\n protected void onPostExecute(Void result) {\n startViewPagerThread();\n\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n }",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n final int width = getWidth();\n PagerAdapter adapter = RtlViewPager.super.getAdapter();\n if (isRtl() && adapter != null) {\n int count = adapter.getCount();\n int remainingWidth = (int) (width * (1 - adapter.getPageWidth(position))) + positionOffsetPixels;\n while (position < count && remainingWidth > 0) {\n position += 1;\n remainingWidth -= (int) (width * adapter.getPageWidth(position));\n }\n position = count - position - 1;\n positionOffsetPixels = -remainingWidth;\n positionOffset = positionOffsetPixels / (width * adapter.getPageWidth(position));\n }\n mListener.onPageScrolled(position, positionOffset, positionOffsetPixels);\n }",
"public void initViewPager() {\n setWillNotDraw(false);\n setDescendantFocusability(262144);\n setFocusable(true);\n Context context = getContext();\n this.mScroller = new Scroller(context, sInterpolator);\n ViewConfiguration viewConfiguration = ViewConfiguration.get(context);\n float f = context.getResources().getDisplayMetrics().density;\n this.mTouchSlop = ViewConfigurationCompat.getScaledPagingTouchSlop(viewConfiguration);\n this.mMinimumVelocity = (int) (400.0f * f);\n this.mMaximumVelocity = viewConfiguration.getScaledMaximumFlingVelocity();\n this.mLeftEdge = new EdgeEffectCompat(context);\n this.mRightEdge = new EdgeEffectCompat(context);\n this.mFlingDistance = (int) (25.0f * f);\n this.mCloseEnough = (int) (2.0f * f);\n this.mDefaultGutterSize = (int) (f * 16.0f);\n ViewCompat.setAccessibilityDelegate(this, new MyAccessibilityDelegate());\n if (ViewCompat.getImportantForAccessibility(this) == 0) {\n ViewCompat.setImportantForAccessibility(this, 1);\n }\n }",
"private void setAdapterAndListener() {\r\n CustomPagerAdapter = new CustomPagerAdapter(getSupportFragmentManager(), PhotoViewActivity.this, dataModelArrayList);\r\n pager.setAdapter(CustomPagerAdapter);\r\n pager.setOffscreenPageLimit(3);\r\n pager.setCurrentItem(position);\r\n\r\n pager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {\r\n @Override\r\n public void onPageScrolled(final int pos, float positionOffset, int positionOffsetPixels) {\r\n /*\r\n * Setting the title on toolbar\r\n * */\r\n position = pos;\r\n String name = dataModelArrayList.get(position).getFile().getName();\r\n String actualName = FileUtils.getSecureFileName(name);\r\n if (actualName != null && !actualName.equalsIgnoreCase(\"\")) {\r\n updateTileBar(actualName);\r\n } else {\r\n updateTileBar(name);\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n @Override\r\n public void onPageSelected(int num) {\r\n int pos = 0;\r\n //Update the toolbar menu item on page change\r\n invalidateOptionsMenu();\r\n\r\n }\r\n\r\n @Override\r\n public void onPageScrollStateChanged(int state) {\r\n\r\n }\r\n });\r\n }",
"@Override\n\t\t\t\tpublic void onPageScrolled(final int pageSelected, final float positionOffset,\n\t\t\t\t\t\t\t\t\t\t final int positionOffsetPixel) {\n\t\t\t\t\tif (positionOffset == 0 && positionOffsetPixel == 0) {\n\t\t\t\t\t\tfinal int size = mTabs.size();\n\t\t\t\t\t\tif (size > 1) {\n\t\t\t\t\t\t\tif (pageSelected == 0) {\n\t\t\t\t\t\t\t\tmViewPager.setCurrentItem(size, false);\n\t\t\t\t\t\t\t} else if (pageSelected == size + 1) {\n\t\t\t\t\t\t\t\tmViewPager.setCurrentItem(1, false);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} \n\t\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\n\t\t\t}",
"@Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }",
"@Override\n\t\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_view_pager, container, false);\n\n getLoaderManager().initLoader(0, null, this);\n\n mPagerAdapter = new MyPagerAdapter(getFragmentManager(), mTwoPane);\n mPager = (ViewPager) rootView.findViewById(R.id.pager);\n mPager.setAdapter(mPagerAdapter);\n mPager.setPageMargin((int) TypedValue\n .applyDimension(TypedValue.COMPLEX_UNIT_DIP,\n 1,\n getResources().getDisplayMetrics()));//Margin between two pages\n mPager.setPageMarginDrawable(new ColorDrawable(0x22000000));\n\n mSimpleOnPageChangeListener = new ViewPager.SimpleOnPageChangeListener() {\n\n @Override\n public void onPageSelected(int position) {\n if (mPagerAdapter.mCursor != null) {\n mPagerAdapter.mCursor.moveToPosition(position);\n\n mSelectedItemId = mPagerAdapter.mCursor.getLong(ArticleLoader.Query._ID);\n }\n }\n };\n\n mPager.addOnPageChangeListener(mSimpleOnPageChangeListener);\n\n return rootView;\n }",
"@Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n\n }",
"public void SlidingTab(){\n adapter = new ViewPagerShoppingAdapter(getSupportFragmentManager(),Titles,Numboftabs);\r\n\r\n // Assigning ViewPager View and setting the adapter\r\n pager = (ViewPager) findViewById(R.id.pager);\r\n pager.setAdapter(adapter);\r\n\r\n // Assiging the Sliding Tab Layout View\r\n tabs = (SlidingTabLayout) findViewById(R.id.tabs);\r\n tabs.setDistributeEvenly(true); // To make the Tabs Fixed set this true, This makes the tabs Space Evenly in Available width\r\n\r\n // Setting Custom Color for the Scroll bar indicator of the Tab View\r\n tabs.setCustomTabColorizer(new SlidingTabLayout.TabColorizer() {\r\n @Override\r\n public int getIndicatorColor(int position) {\r\n return getResources().getColor(R.color.tabsScrollColor);\r\n }\r\n });\r\n\r\n // Setting the ViewPager For the SlidingTabsLayout\r\n tabs.setViewPager(pager);\r\n }",
"@Override\n public void onPageScrollStateChanged(int state) {\n if (state == ViewPager.SCROLL_STATE_IDLE) {\n //get current item on view pager\n int currentSelected = mViewPagerGallery.getCurrentItem();\n //scroll strip smoothly to current position of viewpager\n mGalleryStripLayoutManger.smoothScrollToPosition(recyclerViewGalleryStrip, null, currentSelected);\n //select current item of viewpager on gallery strip at bottom\n mGalleryStripAdapter.setSelected(currentSelected);\n\n }\n\n }",
"@Override\n public void onPageScrollStateChanged(int state) {\n if (state == ViewPager.SCROLL_STATE_IDLE) {\n //get current item on view pager\n int currentSelected = mViewPagerGallery.getCurrentItem();\n //scroll strip smoothly to current position of viewpager\n mGalleryStripLayoutManger.smoothScrollToPosition(recyclerViewGalleryStrip, null, currentSelected);\n //select current item of viewpager on gallery strip at bottom\n mGalleryStripAdapter.setSelected(currentSelected);\n\n }\n\n }",
"private void m22265Oj() {\n this.dLm = (LinearLayout) findViewById(R.id.dot_container);\n this.f3556yH = (ViewPager) findViewById(R.id.viewPager);\n azI();\n }",
"private void initPager(View v)\n {\n pager = (ViewPager) v.findViewById(R.id.pager);\n pager.setPageMargin(10);\n\n pager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n\n @Override\n public void onPageSelected(int pos) {\n if (vDots == null || vDots.getTag() == null)\n return;\n ((ImageView) vDots.getTag())\n .setImageResource(R.drawable.dot_gray);\n ((ImageView) vDots.getChildAt(pos))\n .setImageResource(R.drawable.dot_blue);\n vDots.setTag(vDots.getChildAt(pos));\n }\n\n @Override\n public void onPageScrolled(int arg0, float arg1, int arg2) {\n }\n\n @Override\n public void onPageScrollStateChanged(int arg0) {\n }\n });\n vDots = (LinearLayout) v.findViewById(R.id.vDots);\n\n pager.setAdapter(new PageAdapter());\n setupDotbar(v);\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_offer, container, false);\n\n mOfferViewPager = view.findViewById(R.id.offerViewPager);\n mImageView = view.findViewById(R.id.offerMainImage);\n mRTL = view.findViewById(R.id.offerRTL);\n mDb = FirebaseFirestore.getInstance();\n mList = new ArrayList<>();\n\n getData();\n\n Log.d(TAG, \"onCompleteMlist: \"+getmList().size());\n adapter = new OfferPagerAdapter(getFragmentManager(), 0, mList);\n Log.d(TAG, \"onCreateView: \"+mList.size());\n\n mOfferViewPager.setAdapter(adapter);\n mRTL.hasFixedSize();\n OfferRTLAdapter RTLadapter = new OfferRTLAdapter(mOfferViewPager);\n Log.d(TAG, \"onCreateView: position\"+ RTLadapter.getCurrentIndicatorPosition());\n Log.d(TAG, \"onCreateView: \"+mOfferViewPager.getCurrentItem());\n mRTL.setUpWithAdapter(RTLadapter);\n\n Log.d(TAG, \"onCreateView: \"+pos);\n mRTL.setIndicatorColor(Color.RED);\n Picasso.get().load(R.drawable.offer_main_pic).into(mImageView);\n return view;\n }",
"private void updateAdapterForViewPager() {\n\n// Stops the page loading animation when response is received successfully\n binding.shimmerFrameLayoutVP.stopShimmer();\n binding.shimmerFrameLayoutVP.setVisibility(View.GONE);\n\n if (vp_adapter == null) {\n vp_adapter = new MainActivityVP_Adapter(this, now_playing_movies, this);\n binding.homeViewPagerID.setAdapter(vp_adapter);\n vp_adapter.notifyDataSetChanged();\n } else if (movieNow_vm.getListLiveDataMovieNow().getValue() != null) {\n vp_adapter = new MainActivityVP_Adapter(this, movieNow_vm.getListLiveDataMovieNow().getValue(), this);\n binding.homeViewPagerID.setAdapter(vp_adapter);\n } else {\n vp_adapter.notifyDataSetChanged();\n }\n\n }",
"private void initViewPager() {\n\t RelativeLayout.LayoutParams rl = new RelativeLayout.LayoutParams(\n\t ContextUtil.getWidth(SecurityMonitorActivity.this) / 2, PixelUtils.dp2px(2));\n\t rl.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM, RelativeLayout.TRUE);\n\t cursor.setLayoutParams(rl);\n\t\toffset = (ContextUtil.getWidth(SecurityMonitorActivity.this) / 2 - cursor.getWidth()/2);// 计算偏移量\n\t\tbmpW = cursor.getWidth();\n\t\tMatrix matrix = new Matrix();\n\t\tmatrix.postTranslate(offset, 0);\n\t\tcursor.setImageMatrix(matrix);// 设置动画初始位置\n\n\t\tmonitorPreviewFragment = new MonitorPreviewFragment();\n\t\tvideoPlaybackFragment = new VideoPlaybackFragment();\n\n\t mFragments.add(monitorPreviewFragment);\n\t mFragments.add(videoPlaybackFragment);\n\t tv_title1.setTextColor(getResources().getColor(R.color.gray));\n\t pager.setOffscreenPageLimit(3);\n\t pager.setAdapter(new MyPagerAdapter(SecurityMonitorActivity.this.getSupportFragmentManager(), mFragments));\n\t pager.setCurrentItem(0);\n\t pager.setOnPageChangeListener(new MyOnPageChangeListener());\n\t}",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_slider, container, false);\n\n final ViewPager viewPager = view.findViewById(R.id.slider_view_pager);\n SliderFragmentAdapter sliderFragmentAdapter = new SliderFragmentAdapter(getContext());\n viewPager.setAdapter(sliderFragmentAdapter);\n viewPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\n }\n\n @Override\n public void onPageSelected(int position) {\n\n if(position==viewPager.getAdapter().getCount()-1){\n startActivity(new Intent(getContext(), UserActivity.class));\n }\n }\n\n @Override\n public void onPageScrollStateChanged(int state) {\n\n }\n });\n return view;\n }",
"@Override\n public void ref() {\n new Handler().post(new Runnable() {\n\n @Override\n public void run() {\n // TODO Auto-generated method stub\n if (mImagePagerAdapter.getImageIdList().size() > 0) {\n if (i == 0) {\n i = 1;\n viewPager.setInterval(2000);\n viewPager.startAutoScroll();\n }\n }\n }\n });\n }",
"private void setUpViewPager() {\n\n mDbProducts = realm.where(DbProduct.class).findAll();\n try {\n mViewPager.setAdapter(new FeedPagerAdapter(getChildFragmentManager()));\n } catch (Exception e) {\n// getFragmentManager().popBackStack();\n Log.e(LOG_TAG, e.toString());\n }\n\n int index = 0;\n\n try {\n long openingProductId = getActivity().getIntent().getLongExtra(MainActivity.EXTRA_PRODUCT_ID, 0);\n if (openingProductId != 0) {\n\n index = mDbProducts.indexOf(mDbProducts.where().equalTo(DbProduct.PRODUCT_ID, openingProductId).findFirst());\n }\n } catch (Exception e) {\n index = 0;\n }\n\n ViewPager.OnPageChangeListener onPageChangeListener = new ViewPager.OnPageChangeListener() {\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\n }\n\n @Override\n public void onPageSelected(int position) {\n try {\n setHeaderText(mDbProducts.get(position).getProductName());\n } catch (Exception e) {\n //\n }\n }\n\n @Override\n public void onPageScrollStateChanged(int state) {\n\n }\n };\n mViewPager.addOnPageChangeListener(onPageChangeListener);\n\n try {\n // indicator.setupWithViewPager(mViewPager);\n // indicator.addOnPageChangeListener(onPageChangeListener);\n\n } catch (Exception e)\n {\n\n }\n\n Log.d(LOG_TAG, \"Product Size: \" + mDbProducts.size() + \" Index: \" + index);\n\n mViewPager.setCurrentItem(index, true);\n setHeaderText(mDbProducts.get(index).getProductName());\n\n ivLeft.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n int currentPosition = mViewPager.getCurrentItem();\n try {\n mViewPager.setCurrentItem(currentPosition - 1, true);\n } catch (Exception e) {\n //do nothing\n }\n }\n });\n\n ivRight.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n int currentPosition = mViewPager.getCurrentItem();\n try {\n mViewPager.setCurrentItem(currentPosition + 1, true);\n } catch (Exception e) {\n //do nothing\n }\n }\n });\n }",
"@Override\r\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n\r\n switch (mPager.getCurrentItem()){\r\n case 0:\r\n mediaPlayer5.start();\r\n break;\r\n case 1:\r\n mediaPlayer4.start();\r\n break;\r\n case 2:\r\n mediaPlayer3.start();\r\n break;\r\n case 3:\r\n mediaPlayer2.start();\r\n break;\r\n case 4:\r\n mediaPlayer1.start();\r\n break;\r\n }\r\n }",
"@Override\n public void onPageScrollStateChanged(int arg0) {\n }",
"@Override\n public void onIndicatorSelected(int index) {\n mViewPager.setCurrentItem(index);\n }",
"@Override\r\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\r\n\t\t\t}",
"@NonNull\n protected abstract View onCreatePagerView(LayoutInflater inflater, ViewGroup container, int position);",
"@Override\n public boolean onTouch(View v, MotionEvent event) {\n return mPager.dispatchTouchEvent(event);\n }",
"@Override\n public void onPageSelected(int position) {\n// Toast.makeText(AlarmSettingActivity.this,\n// \"Selected page position: \" + position, Toast.LENGTH_SHORT).show();\n setIndicator(position);\n play(position);\n }",
"@Nullable\n @Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_recipe_slider, container, false);\n\n mSectionsPagerAdapter = new SectionsPagerAdapter(getActivity().getSupportFragmentManager());\n zero = (ImageView) rootView.findViewById(R.id.intro_indicator_0);\n one = (ImageView) rootView.findViewById(R.id.intro_indicator_1);\n two = (ImageView) rootView.findViewById(R.id.intro_indicator_2);\n\n indicators = new ImageView[]{zero, one, two};\n\n // Set up the ViewPager with the sections adapter.\n mViewPager = (ViewPager) rootView.findViewById(R.id.recipe_slider);\n mViewPager.setAdapter(mSectionsPagerAdapter);\n\n mViewPager.setCurrentItem(page);\n updateIndicators(page);\n\n final ArgbEvaluator evaluator = new ArgbEvaluator();\n\n mViewPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {\n @Override\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }\n\n @Override\n public void onPageSelected(int position) {\n\n page = position;\n\n updateIndicators(page);\n }\n\n @Override\n public void onPageScrollStateChanged(int state) {\n\n }\n });\n return rootView;\n }",
"@Override\n\t\t\t\t\t\tpublic void onLoadingStarted(String arg0, View arg1) {\n\t\t\t\t\t\t}",
"@Override\r\n\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\r\n\t}",
"@Override\r\n\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\r\n\t}",
"@Override\n public void onPageScrollStateChanged(int state) {\n }",
"@Override\n\tprotected void onResume() {\n\t\tmPager.setCurrentItem(tag);\n\t\tchecked(tag);\n\t\tmPager.setOnPageChangeListener(mListener);\n\t\t\n\t\tsuper.onResume();\n\t}",
"@Override\r\n\t\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\t\r\n\t\t\t}",
"private void initView() {\n\t\tfragment_viewpager = (ViewPager) findViewById(R.id.fragment_viewpager);\n\n\t\tMain_bottom_change one = (Main_bottom_change) findViewById(R.id.Main_bottom_1);\n\t\tMain_bottom_change two = (Main_bottom_change) findViewById(R.id.Main_bottom_2);\n\t\tMain_bottom_change three = (Main_bottom_change) findViewById(R.id.Main_bottom_3);\n\n\t\tmTabIndicator.add(one);\n\t\tmTabIndicator.add(two);\n\t\tmTabIndicator.add(three);\n\n\t\tone.setOnClickListener(this);\n\t\ttwo.setOnClickListener(this);\n\t\tthree.setOnClickListener(this);\n\n\t\tone.setIconAlpha(1.0f);\n\t}",
"@Override\n public void onLoadingStarted(String paramString, View paramView) {\n\n }",
"@Override\n public void onPageScrollStateChanged(int arg0) {\n \n }",
"@Override\n public void onPageScrollStateChanged(int arg0) {\n \n }",
"public NonSwipeableViewPager(Context context) {\n super(context);\n setMyScroller();\n }",
"@Override\n\t\t\tpublic void onPageScrolled(int position, float positionOffset,\n\t\t\t\t\tint positionOffsetPixels) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\tpublic void onPageScrolled(int arg0, float arg1, int arg2) {\n\t\t\t\n\t\t}",
"@Override\r\n public void onPageScrolled(int row, int column, float rowOffset,\r\n float columnOffset, int rowOffsetPixels,\r\n int columnOffsetPixels) {\n mPageIndicator.onPageScrolled(row, column, rowOffset,\r\n columnOffset, rowOffsetPixels, columnOffsetPixels);\r\n }"
]
| [
"0.7112266",
"0.67833245",
"0.67012477",
"0.6601639",
"0.6581639",
"0.6546491",
"0.6478264",
"0.6445035",
"0.6422908",
"0.6414378",
"0.6385149",
"0.6367434",
"0.6367434",
"0.63662106",
"0.63408864",
"0.6325444",
"0.63190156",
"0.6316864",
"0.6316864",
"0.63057655",
"0.62997234",
"0.6276854",
"0.6276854",
"0.6276854",
"0.6276854",
"0.6276854",
"0.6276854",
"0.6276854",
"0.6276854",
"0.6276854",
"0.62687004",
"0.6268358",
"0.626104",
"0.62602365",
"0.62505245",
"0.62502396",
"0.6216743",
"0.62132585",
"0.62132585",
"0.62132585",
"0.62132585",
"0.62132585",
"0.6201772",
"0.6199611",
"0.61964273",
"0.61898357",
"0.61793",
"0.6166689",
"0.6166689",
"0.61662996",
"0.6163602",
"0.61554193",
"0.61429715",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6133026",
"0.6128047",
"0.61277646",
"0.6123136",
"0.61195636",
"0.6109389",
"0.6101196",
"0.6101196",
"0.6097784",
"0.6096862",
"0.60858697",
"0.6084147",
"0.60740364",
"0.60665435",
"0.60636085",
"0.6062079",
"0.6055489",
"0.60548276",
"0.6045644",
"0.60433185",
"0.6033486",
"0.6028792",
"0.6026304",
"0.60190636",
"0.6017729",
"0.60121065",
"0.60121065",
"0.60070324",
"0.6006401",
"0.60007757",
"0.59859866",
"0.5983676",
"0.59825987",
"0.59825987",
"0.59813184",
"0.5972298",
"0.5970906",
"0.5967754"
]
| 0.60339963 | 82 |
Get current item of the outer wrapper adapter. | private int getCurrentItemOfWrapper() {
return super.getCurrentItem();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCurrentItem() {\n\t\treturn currentItem;\n\t}",
"public Item getItem() { return this; }",
"public Item getItem() {\n\t\treturn this.item;\n\t}",
"public Item getItem() {\n\t\treturn this.item;\n\t}",
"public Item current() {\n return curr;\n }",
"public Item getItem() {\r\n\t\treturn this.item;\r\n\t}",
"public Item getItem ()\n\t{\n\t\treturn item;\n\t}",
"public T getItem() {\n\t\treturn item;\n\t}",
"public T getItem() {\n\t\treturn item;\n\t}",
"public ArrayOfItem getItem() {\r\n return localItem;\r\n }",
"public T getItem() {\n return item;\n }",
"public Item getItem() {\n\t\treturn item;\n\t}",
"public BoxItem.Info getItem() {\n return this.item;\n }",
"public Item getItem() { \n return myItem;\n }",
"public Holder getHolder() {\r\n\t\tif(!holder.isSupremeHolder())\r\n\t\t\treturn ((Item)holder).getHolder();\r\n\t\telse return holder;\r\n\t}",
"public T getItem() {\r\n return item;\r\n }",
"@Override\n public synchronized WebHistoryItem getCurrentItem() {\n return getItemAtIndex(mCurrentIndex);\n }",
"public Item getItem() {\n return item;\n }",
"public Item getItem() {\n return item;\n }",
"public Item getItem() {\n return mItem;\n }",
"public int getITEM() {\r\n return item;\r\n }",
"public PlayableItem getCurrentPlayingItem() {\n\t\treturn currentPlayingItem;\n\t}",
"public String getItem() {\r\n\t\treturn item;\r\n\t}",
"public RepositoryItem getItem() {\n\t\t\treturn item;\n\t\t}",
"public Item getItem() {\n return Bootstrap.getInstance().getItemRepository().fetchAll().stream()\n .filter(i -> i.getId() == this.itemId)\n .findFirst().orElse(null);\n }",
"public SpItem getItem() {\n return _spItem;\n }",
"public String getItem() {\r\n return item;\r\n }",
"@Override\n public E getCurrent() {\n if (isCurrent()) { return cursor.getData(); }\n else { throw new IllegalStateException(\"There is no current element.\"); }\n }",
"protected ResourceReference getItem()\n\t{\n\t\treturn ITEM;\n\t}",
"public Object getRootItem();",
"public HelpTopic getCurrentItem() {\n return position < 0 ? null : getItem(position);\n }",
"public Object peek()\r\n {\n assert !this.isEmpty();\r\n return this.top.getItem();\r\n }",
"private Item getCurrentItem(Iterator entriesIterator){\r\n\t\tMap.Entry mapping = (Map.Entry) entriesIterator.next();\r\n\t\treturn (Item) mapping.getValue();\r\n\t}",
"public InputStream getItemAsInputStream() {\r\n\t\treturn item;\r\n\t}",
"public ItemStack getItemOnCursor ( ) {\n\t\treturn extract ( handle -> handle.getItemOnCursor ( ) );\n\t}",
"public ItemType getItem() {\n\t return this.item;\n\t}",
"public ItemType getItem() {\n\t return this.item;\n\t}",
"public IPrivateTestCompView.IContextElement currentContextElement() {\r\n return (IPrivateTestCompView.IContextElement) getCurrentElement();\r\n }",
"public Item[] getItem() {\r\n return localItem;\r\n }",
"public GraphicsObjectWrapper<?> getCurrentWrapper(\n )\n {return GraphicsObjectWrapper.get(this);}",
"public List<Item> getCurrentItems() {\n return currentItems;\n }",
"public CPRIMITIVEALTERNATIVES getItem()\n {\n return item;\n }",
"@Override\n\t\tpublic Object getItem(int arg0) {\n\t\t\treturn listadapter.get(arg0);\n\t\t}",
"public T getCurrent(){\r\n if(curr != null){\r\n return curr.data;\r\n }\r\n return null;\r\n }",
"public Item getData()\r\n\t{\r\n\t\treturn theItem;\r\n\t}",
"protected Member current() {\r\n if (resultItems == null || resultItems.isEmpty()) {\r\n String msg = \"The resultItems had no item so DON'T invoke this method: resultItems=\" + resultItems;\r\n throw new IllegalStateException(msg);\r\n }\r\n return resultItems.get(resultIndex);\r\n }",
"public Object getDataItem() {\n return this.dataItem;\n }",
"@Override\r\n\t\tpublic Item getItem() {\n\t\t\treturn null;\r\n\t\t}",
"public E getCurrent()\n {\n if (size != 0)\n {\n return current.data();\n }\n else\n {\n throw new NoSuchElementException(\"The list is empty\");\n }\n }",
"public jkt.hms.masters.business.MasStoreItem getItem () {\n\t\treturn item;\n\t}",
"@Override\n public T getItemVO() {\n return this.itemVO;\n }",
"public Item getSelectedItem() {\n return this.itemList.getSelectedValue();\n }",
"public de.engehausen.crazygolf.model.Element getCurrent() {\r\n\t\treturn current;\r\n\t}",
"public T getSelectedItem() {\n\t\tT selectedItem = null;\n\t\tint position = spinner.getSelectedItemPosition();\n\t\tif(position >= 0) {\n\t\t\tselectedItem = adapter.getItem(position);\n\t\t}\n\t\treturn selectedItem;\n\t}",
"public int getItemID()\n {\n return itemID;\n }",
"public ItemT getSelectedItem() {\n return selectedItem;\n }",
"@Override\n public Object getItem(int index) {\n return internalList.get(index);\n }",
"public item getI() {\n return i;\n }",
"ILitePackItem getParent();",
"private ArrayList<StoryItemUnit> getAdapter() {\n return ((TwitterTimeLineFlipAdapter) mAdapter).getAdapter();\r\n }",
"public AbstractListItem getSelectedItem() {\n for (int i = 0; i < getWidgetCount(); i++) {\n Widget item = getWidget(i);\n\n if (item instanceof AbstractListItem && ((AbstractListItem) item).isActive()) {\n return (AbstractListItem) item;\n }\n }\n return null;\n }",
"public Integer getCurrent() {\n return this.current;\n }",
"private PlantZoekItem getPlantzoekItem() {\n\t\tPlantZoekItem sesiePlantZoekItem = (PlantZoekItem) Session.get().getAttribute(Constanten.PLANTZOEKITEM);\n\t\tif (null != sesiePlantZoekItem) {\n\t\t\treturn sesiePlantZoekItem;\n\t\t}\n\t\treturn new PlantZoekItem();\n\t}",
"@Override\n\tpublic galleryiterms getItem(int position) {\n\t\treturn iterms.get(position);\n\t}",
"public Page getCurrentPageObject() {\n return getPageObject(this.currentIndex.viewIndex);\n }",
"public int getItemIndex() {\n return this.itemIndex;\n }",
"public Adapter getAdapter() {\n\t\treturn mAdapter;\n\t}",
"@Nullable\n public T getSelectedItem() {\n return SerDes.unmirror(getElement().getSelectedItem(), getItemClass());\n }",
"@Override\n\tpublic Object getItem(int position) {\n\t\treturn parentList.get(position);\n\t}",
"public IClassHolder getOuterClass() {\n return m_outerClass;\n }",
"public UserItem getUserItem() {\n return userItem;\n }",
"Identifiable item();",
"public Integer getItemid() {\n return itemid;\n }",
"public Integer getItemid() {\n return itemid;\n }",
"public String getItemID() {\n\t return this.itemID;\n\t}",
"public int currentindex() {\n\t\treturn currentElement;\n\t}",
"@Override\n public Object getItem(int item) {\n return dataList.get(item);\n }",
"public int getMapItem() {\n\t\treturn mapItem;\n\t}",
"TileItem getCurrentTile();",
"ContentItemContractInner innerModel();",
"public BSPageinationListItem getListItem()\n {\n return (BSPageinationListItem) getParent();\n }",
"com.google.apps.drive.activity.v2.DriveItem getParent();",
"public interface WrapperAdapter {\n\n RecyclerView.Adapter getWrappedAdapter();\n}",
"public ItemInfoDTO getItemInfo() {\n return itemInfo;\n }",
"ICpItem getCpItem();",
"public Object getNext() {\n\t\tif (current != null) {\n\t\t\tcurrent = current.next; // Get the reference to the next item\n\t\t}\n\t\treturn current == null ? null : current.item;\n\t}",
"public Context getThis()\r\n {\r\n return this.context;\r\n }",
"public Object peek() {\r\n\t\treturn al.getElementAt(al.listSize - 1);\r\n\t}",
"public String getAdapter() {\n return adapter;\n }",
"public IVirtualBookRef currentVirtualBook() {\n\t\tif (currentElement >= 0 && currentElement < size()) {\n\t\t\treturn get(currentElement);\n\t\t}\n\t\treturn null;\n\t}",
"IMenuItem getParent();",
"public int getItemIndex() {\n return itemIndex;\n }",
"@Override\n public Object getItem(int arg0) {\n return getItem(arg0);\n }",
"public Page getCurrentPageObject() {\n return getPageObject(this.currentIndex.viewIndex);\n }",
"public ContentObject getCurrent(\n )\n {\n if(index < 0 || index >= objects.size())\n return null;\n\n return objects.get(index);\n }",
"public ItemStack getItem() {\n return this.item;\n }",
"public Object getItem ()\r\n {\r\n return editor.getText ();\r\n }",
"int getItem(int index);",
"public final Object getCurrent()\n\t{\n\t\treturn getCapture();\n\t}",
"@Override\n public Item getBack() {\n int lastActualItemIndex = size - 1;\n return items[lastActualItemIndex];\n }"
]
| [
"0.6818184",
"0.67122394",
"0.650742",
"0.650742",
"0.64992434",
"0.649695",
"0.64893913",
"0.64352256",
"0.64352256",
"0.6403783",
"0.63973516",
"0.63855",
"0.63723713",
"0.6363512",
"0.63567114",
"0.6351221",
"0.63218343",
"0.632043",
"0.63063866",
"0.6296887",
"0.6234392",
"0.6185555",
"0.6156747",
"0.6153841",
"0.6096177",
"0.60961455",
"0.6078252",
"0.60759073",
"0.6063912",
"0.60497445",
"0.600385",
"0.5981219",
"0.5960542",
"0.59373254",
"0.5922615",
"0.5886796",
"0.5886796",
"0.5858063",
"0.5824201",
"0.5813696",
"0.5812897",
"0.5798457",
"0.57871133",
"0.5782924",
"0.5779477",
"0.5776012",
"0.5739461",
"0.57289404",
"0.5718659",
"0.57151246",
"0.5679173",
"0.5668275",
"0.5663384",
"0.56593466",
"0.5649086",
"0.5646139",
"0.5645356",
"0.5643479",
"0.5622319",
"0.55921793",
"0.55853856",
"0.55795425",
"0.55451286",
"0.5532155",
"0.55262625",
"0.55215186",
"0.55093116",
"0.55085635",
"0.54867077",
"0.54806924",
"0.5469277",
"0.5461779",
"0.5451794",
"0.5451794",
"0.54380023",
"0.54345924",
"0.5421165",
"0.5408331",
"0.540098",
"0.53977937",
"0.5384574",
"0.5382947",
"0.5379543",
"0.5377422",
"0.5375049",
"0.53746116",
"0.5356696",
"0.53516155",
"0.5349184",
"0.53459",
"0.5344021",
"0.534257",
"0.53368974",
"0.5316481",
"0.53124386",
"0.53081983",
"0.53081024",
"0.5307462",
"0.53065467",
"0.5305236"
]
| 0.8131463 | 0 |
Get item count of the outer wrapper adapter. | private int getCountOfWrapper() {
if (wrapperPagerAdapter != null) {
return wrapperPagerAdapter.getCount();
}
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getItemCount() {\n checkWidget();\n return OS.SendMessage(handle, OS.TCM_GETITEMCOUNT, 0, 0);\n }",
"public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }",
"public int getNumberOfItems() {\r\n return decorItems.size();\r\n }",
"int getItemsCount();",
"int getItemsCount();",
"public Integer getInterestedInItemsCount();",
"@Override\n\tpublic Integer getItemCount() {\n\t\t\n\t\tInteger countRows = 0;\n\t\t\n\t\t/*\n\t\t * Count of items will be retrieved from MainQuery.xml\n\t\t */\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(QueryUtil.queryByID(CommonConstants.QUERY_ID_GET_ITEM_COUNT));\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\twhile(resultSet.next()){\n\t\t\t\tcountRows = resultSet.getInt(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t} finally {\n\t\t\t/*\n\t\t\t * Close prepared statement and database connectivity at the end of transaction\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tif (preparedStatement != null) {\n\t\t\t\t\tpreparedStatement.close();\n\t\t\t\t}\n\t\t\t\tif (connection != null) {\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn countRows;\n\t}",
"@Override\n\tpublic Integer getItemCount() {\n\t\t\n\t\tInteger countRows = 0;\n\t\t\n\t\t/*\n\t\t * Count of items will be retrieved from MainQuery.xml\n\t\t */\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(QueryUtil.queryByID(CommonConstants.QUERY_ID_GET_ITEM_COUNT));\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\twhile(resultSet.next()){\n\t\t\t\tcountRows = resultSet.getInt(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t} finally {\n\t\t\t/*\n\t\t\t * Close prepared statement and database connectivity at the end of transaction\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tif (preparedStatement != null) {\n\t\t\t\t\tpreparedStatement.close();\n\t\t\t\t}\n\t\t\t\tif (connection != null) {\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn countRows;\n\t}",
"public long getItemCount() {\n\t\treturn this.getSize(data);\n\t}",
"public Integer getItemcount() {\n return itemcount;\n }",
"public int getItemCount() {\n if (itemBuilder_ == null) {\n return item_.size();\n } else {\n return itemBuilder_.getCount();\n }\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getCount() {\n return app.getItems().length;\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getCount() {\n \t Log.i(TAG, \"getCount() called\");\n return provide.getItemCache().getCount();\n }",
"public int getCount() {\n \t\tint total = 0;\n \t\tfor(Adapter adapter : this.sections.values())\n \t\t\ttotal += adapter.getCount() + 1;\n \t\treturn total;\n \t}",
"int getNumItems();",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public int getCount() {\n\t\treturn this.count;\n\t}",
"public int getCount() {\n\t\treturn this.count;\n\t}",
"public Integer getCount() {\n return this.count;\n }",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n return count;\n }",
"public int getCount() {\n\t\t\treturn this.count;\n\t\t}",
"public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\n\t\treturn count;\n\t}",
"int getItemCount();",
"int getItemCount();",
"int getItemCount();",
"public int numItemInList() {\n return nextindex - startIndex;\n }",
"public int getItemCount() {\n checkWidget();\n return itemHolder.size();\n }",
"public int getCount() {\n return count_;\n }",
"public int getCount() {\n\t\t\treturn count;\n\t\t}",
"public int getCount() {\n\t\treturn _count;\n\t}",
"public Integer getTotalItemCount() {\n return totalItemCount;\n }",
"public int getCount() {\n return mCount;\n }",
"public int getCount() {\n\t\treturn count;\r\n\t}",
"public synchronized int getCount()\n\t{\n\t\treturn count;\n\t}",
"private int getCount() {\n if (wrappedPagerAdapter != null) {\n return wrappedPagerAdapter.getCount();\n }\n return 0;\n }",
"public int size()\r\n\t{\r\n\t\treturn numItems;\r\n\r\n\t}",
"public int getCount() {\n return this.count;\n }",
"public int getItemCount() {\n return itemCount(root);\n }",
"public int size() {\n return numItems;\n }",
"default int countItems() {\n return countItems(StandardStackFilters.ALL);\n }",
"public long getCount() {\r\n return count;\r\n }",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\n\t}",
"public static int getCount() {\n return count;\n }",
"public int getItemCount() {\n /*\n r3 = this;\n java.util.List<com.kantv.ui.bean.MovieBean> r0 = r3.mData\n if (r0 == 0) goto L_0x000d\n int r0 = r0.size()\n int r1 = r3.DISPLAY_NUM\n if (r0 < r1) goto L_0x000d\n goto L_0x000e\n L_0x000d:\n r1 = 0\n L_0x000e:\n java.util.List<com.kantv.ui.bean.MovieBean> r0 = r3.mData\n if (r0 == 0) goto L_0x0020\n int r0 = r0.size()\n int r2 = r3.DISPLAY_NUM\n if (r0 >= r2) goto L_0x0020\n java.util.List<com.kantv.ui.bean.MovieBean> r0 = r3.mData\n int r1 = r0.size()\n L_0x0020:\n android.view.View r0 = r3.VIEW_FOOTER\n if (r0 == 0) goto L_0x0026\n int r1 = r1 + 1\n L_0x0026:\n android.view.View r0 = r3.VIEW_HEADER\n if (r0 == 0) goto L_0x002c\n int r1 = r1 + 1\n L_0x002c:\n return r1\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.kantv.ui.adapter.VideoClassAdapter.getItemCount():int\");\n }",
"public int size()\r\n {\r\n return nItems;\r\n }",
"public NM getNumberOfItemsPerUnit() { \r\n\t\tNM retVal = this.getTypedField(14, 0);\r\n\t\treturn retVal;\r\n }",
"public int size() {\n return nItems;\n }",
"@Override\n public int getItemCount() {\n if (addedHeader()) {\n return getData() == null ? 0 : (getData().size() + 1);\n } else {\n return getData() == null ? 0 : getData().size();\n }\n }",
"public int getCount() {\n return definition.getInteger(COUNT, 1);\n }",
"public int getCount()\n\t{\n\t\treturn count;\n\t}",
"public int getCount() {\n return count_;\n }",
"public long getCount() {\n return count;\n }",
"public long getCount() {\n return count;\n }",
"public long getCount()\n\t{\n\t\treturn count;\n\t}",
"public static int getCount() {\n return count;\n }",
"public static int getCount() {\n return count;\n }",
"public static int getCount() {\n return count;\n }",
"public int getCount() {\r\n return Count;\r\n }",
"@Override\n\t\tpublic int getCount() {\n\t\t\treturn listAdapterSize;\n\t\t}",
"public int size() {\r\n if (NumItems > Integer.MAX_VALUE) {\r\n return Integer.MAX_VALUE;\r\n }\r\n return NumItems;\r\n }",
"public int size() {\n \treturn numItems;\n }",
"@Override\n\t\tpublic int getCount() {\n\t\t\treturn ITEM_NUM;\n\t\t}",
"public int getCount() {\n return myCount;\n }",
"public int getItemCount() {\n return item_.size();\n }",
"public int getCount() {\n\t\treturn super.getCount();\n\t}",
"public int getCount() \r\n\t{\r\n\t\tSystem.out.print(\"The number of book in the Array is \");\r\n\t\treturn numItems;\r\n\t\t\r\n\t}",
"public int getCount()\n {\n \treturn count;\n }",
"public int getCount() {\n if (mDataValid) {\n return mCount;\n } else {\n return 0;\n }\n }",
"public int getCount()\r\n {\r\n return counts.peekFirst();\r\n }",
"public int getCount() {\n if(data.size()<=0) return 1;\n return data.size();\n }",
"public int getItemCount() {\n return item_.size();\n }",
"public int getItemCount() {\n return item_.size();\n }",
"public int getTotalItems()\n {\n return totalItems;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n\t\treturn count;\n\t}",
"public Long getCount() {\r\n return count;\r\n }",
"public int getCount() {\n\t\t\treturn list.size();\r\n\t\t}",
"public Long getCount() {\n return count;\n }",
"public abstract int getItemCount();"
]
| [
"0.7546552",
"0.72990406",
"0.7175843",
"0.7172874",
"0.7172874",
"0.7167071",
"0.7131012",
"0.7131012",
"0.7095355",
"0.70452464",
"0.70212466",
"0.6926054",
"0.6926054",
"0.6921588",
"0.6883886",
"0.68023175",
"0.67805976",
"0.67073494",
"0.66885376",
"0.66885376",
"0.66885376",
"0.66831154",
"0.66831154",
"0.66831154",
"0.66831154",
"0.66831154",
"0.66831154",
"0.6677538",
"0.6677538",
"0.6676269",
"0.66642064",
"0.66642064",
"0.6659841",
"0.664776",
"0.6626904",
"0.66160136",
"0.66160136",
"0.6613627",
"0.6612058",
"0.6612058",
"0.6612058",
"0.6606752",
"0.6593492",
"0.6586379",
"0.65744877",
"0.65711015",
"0.657079",
"0.6565968",
"0.6563825",
"0.6557635",
"0.65475965",
"0.6546791",
"0.65418434",
"0.6538533",
"0.6537122",
"0.65357834",
"0.65184754",
"0.6516934",
"0.6516934",
"0.6516934",
"0.6516934",
"0.6513988",
"0.651268",
"0.65062076",
"0.6504575",
"0.6504084",
"0.65019923",
"0.6499885",
"0.64947724",
"0.6487797",
"0.647468",
"0.647468",
"0.64673007",
"0.64602447",
"0.64602447",
"0.64602447",
"0.64511925",
"0.6430581",
"0.6430185",
"0.64297915",
"0.6428706",
"0.6426505",
"0.6425273",
"0.64190954",
"0.6411026",
"0.64096826",
"0.64024055",
"0.6396214",
"0.6395255",
"0.6393286",
"0.6393286",
"0.6391378",
"0.6386359",
"0.6386359",
"0.6386359",
"0.6384936",
"0.6384028",
"0.6377",
"0.63748163",
"0.63654137"
]
| 0.71290296 | 8 |
Get item count of the adapter which is set by user | private int getCount() {
if (wrappedPagerAdapter != null) {
return wrappedPagerAdapter.getCount();
}
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getItemCount() {\n checkWidget();\n return OS.SendMessage(handle, OS.TCM_GETITEMCOUNT, 0, 0);\n }",
"public int getCount() {\n \t Log.i(TAG, \"getCount() called\");\n return provide.getItemCache().getCount();\n }",
"int getItemsCount();",
"int getItemsCount();",
"public Integer getItemcount() {\n return itemcount;\n }",
"int getItemCount();",
"int getItemCount();",
"int getItemCount();",
"public long getItemCount() {\n\t\treturn this.getSize(data);\n\t}",
"@Override\n\tpublic Integer getItemCount() {\n\t\t\n\t\tInteger countRows = 0;\n\t\t\n\t\t/*\n\t\t * Count of items will be retrieved from MainQuery.xml\n\t\t */\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(QueryUtil.queryByID(CommonConstants.QUERY_ID_GET_ITEM_COUNT));\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\twhile(resultSet.next()){\n\t\t\t\tcountRows = resultSet.getInt(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t} finally {\n\t\t\t/*\n\t\t\t * Close prepared statement and database connectivity at the end of transaction\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tif (preparedStatement != null) {\n\t\t\t\t\tpreparedStatement.close();\n\t\t\t\t}\n\t\t\t\tif (connection != null) {\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn countRows;\n\t}",
"@Override\n\tpublic Integer getItemCount() {\n\t\t\n\t\tInteger countRows = 0;\n\t\t\n\t\t/*\n\t\t * Count of items will be retrieved from MainQuery.xml\n\t\t */\n\t\ttry {\n\t\t\tconnection = DBConnectionUtil.getDBConnection();\n\t\t\tpreparedStatement = connection.prepareStatement(QueryUtil.queryByID(CommonConstants.QUERY_ID_GET_ITEM_COUNT));\n\t\t\tResultSet resultSet = preparedStatement.executeQuery();\n\t\t\t\n\t\t\twhile(resultSet.next()){\n\t\t\t\tcountRows = resultSet.getInt(1);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException | SAXException | IOException | ParserConfigurationException | ClassNotFoundException e) {\n\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t} finally {\n\t\t\t/*\n\t\t\t * Close prepared statement and database connectivity at the end of transaction\n\t\t\t */\n\t\t\ttry {\n\t\t\t\tif (preparedStatement != null) {\n\t\t\t\t\tpreparedStatement.close();\n\t\t\t\t}\n\t\t\t\tif (connection != null) {\n\t\t\t\t\tconnection.close();\n\t\t\t\t}\n\t\t\t} catch (SQLException e) {\n\t\t\t\tlog.log(Level.SEVERE, e.getMessage());\n\t\t\t}\n\t\t}\n\t\treturn countRows;\n\t}",
"public int getCount() {\n return app.getItems().length;\n }",
"public int getItemCount();",
"public int getItemCount() {\n if (itemBuilder_ == null) {\n return item_.size();\n } else {\n return itemBuilder_.getCount();\n }\n }",
"public int getItemsCount() {\n if (itemsBuilder_ == null) {\n return items_.size();\n } else {\n return itemsBuilder_.getCount();\n }\n }",
"public int getItemCount() {\n checkWidget();\n return itemHolder.size();\n }",
"public int getItemCount() {\n\n if (getRealmAdapter() != null) {\n return getRealmAdapter().getCount();\n }\n return 0;\n }",
"public abstract int getItemCount();",
"@Override\n\tpublic int numerOfItems() {\n\t\treturn usersDAO.numerOfItems();\n\t}",
"public int getCount() {\n return mCount;\n }",
"public int getCount() {\n\t\treturn this.count;\n\t}",
"public int getCount() {\n\t\treturn this.count;\n\t}",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public static int getCount() {\r\n\t\treturn count;\r\n\t}",
"public int getCount() {\n return this.count;\n }",
"public static int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\r\n\t}",
"public int getCount()\n\t{\n\t\treturn count;\n\t}",
"public int getItemCount() {\n return item_.size();\n }",
"public static int getCount() {\n return count;\n }",
"@Override\n\tpublic int getItemCount()\n\t{\n\t\treturn (userList != null) ? userList.size() + (doneLoading ? 0 : 1) : 0;\n\t}",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getItemsCount() {\n return items_.size();\n }",
"public int getCount() {\n return count_;\n }",
"public int getCount() {\n\t\treturn _count;\n\t}",
"public int getCount() {\n if (mDataValid) {\n return mCount;\n } else {\n return 0;\n }\n }",
"public int getCount() {\n return myCount;\n }",
"public int getCount() {\n\t\t\treturn this.count;\n\t\t}",
"public int getItemCount() {\n return item_.size();\n }",
"public int getItemCount() {\n return item_.size();\n }",
"@Override\n public int getItemCount() {\n if (addedHeader()) {\n return getData() == null ? 0 : (getData().size() + 1);\n } else {\n return getData() == null ? 0 : getData().size();\n }\n }",
"public int getCount() {\n\t\t\treturn count;\n\t\t}",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getCount() {\n\t\treturn count;\n\t}",
"public int getItemsCount() {\n return items_.size();\n }",
"public static int getCount() {\n return count;\n }",
"public static int getCount() {\n return count;\n }",
"public static int getCount() {\n return count;\n }",
"public int getItemCount () {\r\n\tcheckWidget();\r\n\treturn itemCount;\r\n}",
"public int getItemCount() {\n\t\treturn _items.size();\n\t}",
"public int getCount() {\n return count_;\n }",
"@Override\n public int getItemCount() {\n //int size = dataset.size();\n int size = coupons.size();\n return size;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public Integer getCount() {\n return count;\n }",
"public int getCount()\n {\n \treturn count;\n }",
"public int getCount() {\r\n return Count;\r\n }",
"public int getCount() {\r\n\t\tif(!isValid)\r\n\t\t\treturn -1;\r\n\t\treturn count;\r\n\t}",
"public int getCount(){\r\n\t\treturn count;\r\n\t}",
"public int getCount(){\r\n\t\treturn count;\r\n\t}",
"public int getCount() {\n return usersArrayList.size();\n }",
"public int getCount() {\n\t\treturn count;\n\t}",
"public long getCount() {\r\n return count;\r\n }",
"public int getCount() {\n\t\treturn Dispatch.get(object, \"Count\").getInt();\n\t}",
"@Override\n public int getItemCount() {\n if (itemList == null) {\n App.ShowMessage().ShowToast(Resorse.getString(R.string.error_adapter_item_count), ToastEnum.TOAST_SHORT_TIME);\n return 0;\n }\n return itemList.size();\n }",
"public Integer getCount() {\n return this.count;\n }",
"public synchronized int getCount()\n\t{\n\t\treturn count;\n\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"public Integer getCount() {\n\t\treturn count;\n\t}",
"@Override\n\t\tpublic int getCount() {\n\t\t\treturn listAdapterSize;\n\t\t}",
"@Override\n public int getItemCount() {\n return mNumberItems;\n }",
"int getNumItems();",
"public int getNumberOfItems() {\r\n return decorItems.size();\r\n }",
"public long getCount() {\n return count;\n }",
"public long getCount() {\n return count;\n }",
"public int getItemCount() {\n\t\treturn itemCount;\n\t}",
"public int getCount();",
"public int getCount();",
"public int getCount();",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public int getCount() {\n return count;\n }",
"public static int getCount(){\n\t\treturn countFor;\n\t}",
"@Override\n public int getItemCount() {\n Log.i(\"TestingAdapter\", String.valueOf(taskList.getSize()));\n return taskList.getSize();\n }",
"public int getCount() {\n if(data.size()<=0) return 1;\n return data.size();\n }"
]
| [
"0.7955629",
"0.75519633",
"0.7531022",
"0.7531022",
"0.75193334",
"0.75118804",
"0.75118804",
"0.75118804",
"0.74793065",
"0.74067515",
"0.74067515",
"0.73366755",
"0.7333273",
"0.73288053",
"0.7248046",
"0.7211994",
"0.72104007",
"0.7201109",
"0.718883",
"0.7127483",
"0.7124419",
"0.7124419",
"0.7115433",
"0.7115433",
"0.71121496",
"0.71121496",
"0.71121496",
"0.71040523",
"0.7083515",
"0.7075116",
"0.7073264",
"0.7070822",
"0.7070362",
"0.70690864",
"0.70595664",
"0.70595664",
"0.70535463",
"0.7053516",
"0.70532745",
"0.7051252",
"0.70487326",
"0.70420605",
"0.70420605",
"0.70412356",
"0.70402336",
"0.7038035",
"0.7038035",
"0.7038035",
"0.7038035",
"0.7038035",
"0.7038035",
"0.7033709",
"0.7033709",
"0.7033709",
"0.7033709",
"0.70321786",
"0.70281434",
"0.70281434",
"0.70281434",
"0.7027911",
"0.70237404",
"0.7019114",
"0.7017728",
"0.70170563",
"0.70170563",
"0.70170563",
"0.7014459",
"0.7003644",
"0.7002009",
"0.69838274",
"0.69811803",
"0.69811803",
"0.6976734",
"0.6972328",
"0.6969331",
"0.6967901",
"0.69669974",
"0.6953286",
"0.6950195",
"0.6944873",
"0.6944873",
"0.69432217",
"0.69430125",
"0.69422233",
"0.6941509",
"0.6932294",
"0.6932294",
"0.69276166",
"0.69191504",
"0.69191504",
"0.69191504",
"0.6912654",
"0.6912654",
"0.6912654",
"0.6912654",
"0.6912654",
"0.6912654",
"0.6912654",
"0.69077337",
"0.6904619",
"0.68913776"
]
| 0.0 | -1 |
String firstLeter = str.substring(0, 1); String firstLeterUpperCase = firstLeter.toUpperCase(); String tailOfText = str.substring(1); return firstLeterUpperCase + tailOfText.toLowerCase(); | public static String toTitleCase(String str) {
return str.substring(0, 1).toUpperCase()+
str.substring(1).toLowerCase();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String cup(String str) {\n\t\treturn str.substring(0,1).toLowerCase() + str.substring(1); \n\t}",
"private static String firstLetterCapital(final String text)\n {\n return (null == text ? null : text.substring(0, 1).toUpperCase() + text.substring(1, text.length()));\n }",
"private static String firstUpperCase(String word) {\n\t\tif (word == null || word.isEmpty()) {\n\t\t\treturn \"\";\n\t\t}\n\t\treturn word.substring(0, 1).toUpperCase() + word.substring(1);\n\t}",
"private String makeFirstLetterCapital(String str) {\n\t\tchar ch[] = str.toCharArray();\r\n\t\tfor (int i = 0; i < str.length(); i++) {\r\n\r\n\t\t\t// If first character of a word is found\r\n\t\t\tif (i == 0 && ch[i] != ' ' || ch[i] != ' ' && ch[i - 1] == ' ') {\r\n\r\n\t\t\t\t// If it is in lower-case\r\n\t\t\t\tif (ch[i] >= 'a' && ch[i] <= 'z') {\r\n\r\n\t\t\t\t\t// Convert into Upper-case\r\n\t\t\t\t\tch[i] = (char) (ch[i] - 'a' + 'A');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// If apart from first character\r\n\t\t\t// Any one is in Upper-case\r\n\t\t\telse if (ch[i] >= 'A' && ch[i] <= 'Z')\r\n\r\n\t\t\t\t// Convert into Lower-Case\r\n\t\t\t\tch[i] = (char) (ch[i] + 'a' - 'A');\r\n\t\t} \r\n\r\n\t\t// Convert the char array to equivalent String\r\n\t\tString st = new String(ch);\r\n\t\treturn st;\r\n\r\n\t\t// return sb.toString();\r\n\t}",
"private String capitalizeFirstLetter(String aString){\n\t\t// pre-conditon\n\t\tif(aString == null || aString.length() == 0) return aString;\n\t\t// Main code\n\t\treturn aString.substring(0, 1).toUpperCase() + aString.substring(1);\n\t}",
"private static String capitaliseSingleWord(String word) {\n String capitalisedFirstLetter = word.substring(0, 1).toUpperCase();\n String lowercaseRemaining = word.substring(1).toLowerCase();\n return capitalisedFirstLetter + lowercaseRemaining;\n }",
"private static String capitalize(String str) {\n return Character.toUpperCase(str.charAt(0)) + str.substring(1);\n }",
"public void firstToUpperCase() {\n \n }",
"public static String capitaliseFirstLetter(String input) {\n\n\t\t// Check if 1st char is already Uppercase\n\t\tif (!Character.isUpperCase(input.charAt(0))) {\n\t\t\tinput = input.substring(0, 1).toUpperCase() + input.substring(1).toLowerCase();\n\t\t}\n\t\treturn input;\n\t}",
"public static String upperFirst(String value) {\r\n\t\tif(value == null || value.length() == 0) {\r\n\t\t\treturn value;\r\n\t\t}\r\n\t\tif(value.length() == 1) {\r\n\t\t\treturn value.toUpperCase();\r\n\t\t}\r\n\t\treturn Character.toUpperCase(value.charAt(0)) + value.substring(1); \r\n\t}",
"public static String lowerCaseFirstChar(String str){\r\n\t\treturn str.substring(0, 1).toLowerCase() + str.substring(1); \r\n\t}",
"public static String firstUpperCase(String value) {\n\t\tif (value == null || value.length() == 0) {\n\t return value;\n\t }\n\t\t\n\t\treturn value.substring(0, 1).toUpperCase() + value.substring(1);\n\t}",
"private String upFirstLetter(){\n\t\tString firstLetter = nameField.substring(0,1);\n\t\tfirstLetter = firstLetter.toUpperCase();\n\t\treturn firstLetter + nameField.substring(1,nameField.length());\n\t}",
"String nombreDeClase(String s) {\n return s.substring(0, 1).toUpperCase() + s.substring(1).toLowerCase();\n }",
"static String capitalizeFirstLetter( String str ) {\n if ( str == null || str.length() <= 0 )\n return str;\n\n char chars[] = str.toCharArray();\n chars[0] = Character.toUpperCase(chars[0]);\n return new String(chars);\n }",
"public static void main(String[] args) {\n\n\n\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Enter your name here: \");\n String name = scan.next();\n System.out.println(\"Your name corrected is: \");\n String name2 = name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();\n System.out.println(name2);\n\n // make whole name uppercase the get the first character\n // get the rest of the characters starting from 2nd character\n /// then make it lowercase\n // eventually concatenate them\n\n\n }",
"public static String A(String str)\n\t{\t\t\n\t\tString aStr = Format.a(str);\n\t\treturn aStr.substring(0, 1).toUpperCase();\n\t}",
"public static String firstLettertoUpperCase(String letter) {\n return letter.substring(0, 1).toUpperCase() + letter.substring(1);\n }",
"public static String firstUpcase(String s) {\n if (s.equals(\"\")) {\n return \"\";\n } else {\n return new String(Character.toUpperCase(s.charAt(0))+s.substring(1));\n }\n }",
"public static String cap(String w) {\n if (w.toLowerCase().equals(w)){ //if there are no capitals\n return w; // //then just return the word as is\n }\n else{\n // for (int i=0; i<w.length(); i++) {\n \n return w.substring(0,1).toUpperCase() + w.substring(1).toLowerCase(); //if there is a capital then make the first only the first letter capital and the rest lowercase\n }\n }",
"private String upperCaseFL(String in) {\n\t\treturn in.substring(0,1).toUpperCase() + in.substring(1,in.length());\n\t}",
"public String endUp(String str) {\n if (str.length() <= 3) {\n return str.toUpperCase();\n } else {\n return str.substring(0, str.length()-3) + str.substring(str.length()-3).toUpperCase();\n }\n}",
"public static void main(String[] args) {\n\t\t\n\t\tString str = \"hello world\";\n\t\t\n\t\tString output = str.substring(0,1).toUpperCase()+str.substring(1);\n\t\tSystem.out.println(output);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t/*String str = \"hello world!\";\n\n\t\t// capitalize first letter\n\t\tString output = str.substring(0, 1).toUpperCase() + str.substring(1);\n\n\t\t// print the string\n\t\tSystem.out.println(output);\n\t\t*/\n\t\t\n\t}",
"public static String lowerCase(String s){\n\t\tString lower= \" \";\n\t\tfor (int i=0; i<s.length(); i++){\n\t\t\tString letter=s.substring(i, i+1);\n\t\t\tif (Constants.UPPER_CASE.indexOf(letter)!= -1){\n\t\t\t\tint indexLetter=Constants.UPPER_CASE.indexOf(letter);\n\t\t\t\tString lowerLetter= Constants.UPPER_CASE.substring(indexLetter, indexLetter+1);\n\t\t\t\tlower=lower+lowerLetter;\n\t\t\t} else {\n\t\t\t\tlower=lower+letter;\n\t\t\t}\n\t\t}\n\t\treturn lower;\n\t}",
"static String pascalCase(String s){\n\t\treturn s.substring(0, 1).toUpperCase() + s.substring(1);\n\t}",
"public String tweakFront(String str) {\n\n if(str.substring(0, 1).equalsIgnoreCase(\"a\")){\n\n if(!str.substring(1, 2).equalsIgnoreCase(\"b\")){\n str = str.substring(0, 1) + str.substring(2,str.length());\n }\n \n }else{\n str = str.substring(1);\n \n if(str.substring(0, 1).equalsIgnoreCase(\"b\")){\n \n }else{\n str = str.substring(1);\n }\n }\n \n \n \n return str;\n \n}",
"public static String getCapitalized(String str) {\n if (str != null && !str.equals(\"\")) {\n str = str.substring(0, 1).toUpperCase() + str.substring(1);\n for (int i = 1; i < str.length(); i++) {\n if (str.charAt(i) == ' ') {\n str = str.substring(0, i + 1) + str.substring(i + 1, i + 2).toUpperCase() + str.substring(i + 2);\n }\n }\n }\n return str;\n }",
"public static String textFormat(String s){\r\n s =s.toLowerCase();\r\n s = s.substring(0, 1).toUpperCase() + s.substring(1);\r\n return(s);\r\n }",
"public static String capitalizeFirstLetter(String input) {\n return output;\n }",
"public static String lowerFirst(String value) {\r\n\t\tif(value == null || value.length() == 0) {\r\n\t\t\treturn value;\r\n\t\t}\r\n\t\tif(value.length() == 1) {\r\n\t\t\treturn value.toLowerCase();\r\n\t\t}\r\n\t\treturn Character.toLowerCase(value.charAt(0)) + value.substring(1); \r\n\t}",
"public static String upperCaseFirst(String value) {\n char[] array = value.toCharArray();\n // Modify first element in array.\n array[0] = Character.toUpperCase(array[0]);\n // Return string.\n return new String(array);\n }",
"public static String upperCaseFirst(String value) {\r\n\r\n // Convert String to char array.\r\n char[] array = value.toCharArray();\r\n // Modify first element in array.\r\n array[0] = Character.toUpperCase(array[0]);\r\n // Return string.\r\n return new String(array);\r\n }",
"static String convert(String str)\n {\n char ch[] = str.toCharArray();\n for (int i = 0; i < str.length(); i++) {\n \n // If first character of a word is found\n if (i == 0 && ch[i] != ' ' || \n ch[i] != ' ' && ch[i - 1] == ' ') {\n \n // If it is in lower-case\n if (ch[i] >= 'a' && ch[i] <= 'z') {\n \n // Convert into Upper-case\n ch[i] = (char)(ch[i] - 'a' + 'A');\n }\n }\n \n // If apart from first character\n // Any one is in Upper-case\n else if (ch[i] >= 'A' && ch[i] <= 'Z') \n \n // Convert into Lower-Case\n ch[i] = (char)(ch[i] + 'a' - 'A'); \n }\n \n // Convert the char array to equivalent String\n String st = new String(ch);\n return st;\n }",
"public static String toLower(String s) {\n if(s.length() <= 1) {\n return s.toLowerCase();\n }\n char first = s.charAt(0);\n if((first == 'n' || first == 't') && isIrishUpperVowel(s.charAt(1))) {\n return first + \"-\" + s.substring(1).toLowerCase();\n } else {\n return s.toLowerCase();\n }\n }",
"public String acronym(String phrase) {\n /*StringBuilder acronymFeed = new StringBuilder(\"\");\n String wordHolder = \"\";\n int spaceIndex;\n char firstLetter;\n do{\n spaceIndex = phrase.indexOf(\" \");\n wordHolder = phrase.substring(0,spaceIndex);\n acronymFeed.append(wordHolder.charAt(0));\n phrase = phrase.replaceFirst(wordHolder, \"\");\n } while (spaceIndex != -1 && wordHolder != \"\" && phrase != \"\");\n \n \n \n \n \n String acronymResult = acronymFeed.toString().toUpperCase();\n return acronymResult;\n */\n \n char[] letters = phrase.toCharArray();\n String firstLetters = \"\";\n firstLetters += String.valueOf(letters[0]);\n for (int i = 1; i < phrase.length();i++){\n if (letters[i-1] == ' '){\n firstLetters += String.valueOf(letters[i]);\n }\n }\n firstLetters = firstLetters.toUpperCase();\n return firstLetters;\n }",
"public static String upperCase(String s) {\n\t\tString upper= \" \";\n\t\tfor (int i=0; i<s.length(); i++){\n\t\t\tString letter=s.substring(i, i+1);\n\t\t\tif (Constants.LOWER_CASE.indexOf(letter)!=-1){\n\t\t\t\tint indexLetter= Constants.LOWER_CASE.indexOf(letter);\n\t\t\t\tString upperLetter= Constants.UPPER_CASE.substring(indexLetter, indexLetter+1);\n\t\t\t\tupper=upper+upperLetter;\n\t\t\t} else {\n\t\t\t\tupper=upper+letter;\n\t\t\t}\n\t\t}\n\t\treturn upper;\n\n\t}",
"public static String capitalizeAllFirstLetters(String s)\n {\n char firstLetter;\n String result, word, capitalizedWord;\n String [] array;\n\n result = \"\";\n\n if(s.length() > 0)\n {\n array = s.split(\" \");\n\n for(int i =0; i < array.length; i++)\n {\n word = array[i];\n firstLetter = Character.toUpperCase(word.charAt(0));\n capitalizedWord = firstLetter + word.substring(1);\n\n result += capitalizedWord + \" \";\n }\n }\n\n return result;\n }",
"public static String uppercaseFirstLetters(String str) {\n boolean prevWasWhiteSp = true;\n char[] chars = str.toCharArray();\n for (int i = 0; i < chars.length; i++) {\n if (Character.isLetter(chars[i])) {\n if (prevWasWhiteSp) {\n chars[i] = Character.toUpperCase(chars[i]);\n }\n prevWasWhiteSp = false;\n } else {\n prevWasWhiteSp = Character.isWhitespace(chars[i]);\n }\n }\n return new String(chars);\n }",
"public static void main(String[] args){\r\n String first = \"jin\";\r\n String last = \"jung\";\r\n String ay = \"ay\";\r\n/*\r\n use substring() and toUpperCase methods to reorder and capitalize\r\n*/\r\n\r\n String letFirst = first.substring(0,1);\r\n String capFirst = letFirst.toUpperCase();\r\n String letLast = last.substring(0,1);\r\n String capLast = letLast.toUpperCase();\r\n\r\n String nameInPigLatin = first.substring(1,3) + capFirst + ay + \" \" + last.substring(1,4) + capLast + ay;\r\n\r\n/*\r\n output resultant string to console\r\n*/\r\n\r\n System.out.println(nameInPigLatin);\r\n\r\n }",
"public String convertToUpperCase(String word);",
"private static String convert(String word) {\n\n char[] charArray = word.toCharArray();\n\n for (int letter = 0; letter < word.length(); letter++) {\n // Finding the first letter of a word.\n if (letter == 0 && charArray[letter] != ' ' || charArray[letter] != ' ' && charArray[letter - 1] == ' ') {\n // Checking if the first letter is lower case.\n if (charArray[letter] >= 'a' && charArray[letter] <= 'z') {\n // Converting first letter to upper case\n charArray[letter] = (char)(charArray[letter] - 'a' + 'A');\n }\n }\n // Checking if the letters other than the first letter are capital\n else if (charArray[letter] >= 'A' && charArray[letter] <= 'Z')\n // Converting uppercase other letters to lower case.\n charArray[letter] = (char)(charArray[letter] + 'a' - 'A');\n }\n // Returning a Title cased String.\n return new String(charArray);\n }",
"private static String capitalize(String s) {\n if (s == null || s.length() == 0) {\n return \"\";\n }\n char first = s.charAt(0);\n if (Character.isUpperCase(first)) {\n return s;\n } else {\n return Character.toUpperCase(first) + s.substring(1);\n }\n }",
"private static String capitalize(String s) {\n if (s == null || s.length() == 0) {\n return \"\";\n }\n\n char first = s.charAt(0);\n if (Character.isUpperCase(first)) {\n return s;\n } else {\n return Character.toUpperCase(first) + s.substring(1);\n }\n }",
"public static String convert1(String input) {\n\t\tString sRes = \"\";\n\t\tString[] splitInput = input.split(\"\\n\");\n\n\t\tfor (String s : splitInput) {\n\t\t\tString[] splitStr = s.split(\" \");\n\t\t\tfor (int i = 0; i < splitStr.length; i++) {\n\t\t\t\tsplitStr[i] = firstUpperCase(splitStr[i].toLowerCase());\n\t\t\t\tsRes = sRes.concat(splitStr[i] + \" \");\n\t\t\t}\n\t\t\tsRes += \"\\n\";\n\t\t}\n\n\t\treturn sRes;\n\t}",
"public static String capitalizeFirstLetter(String str) {\n if (TextUtils.isEmpty(str)) {\n return str;\n }\n\n char c = str.charAt(0);\n return (!Character.isLetter(c) || Character.isUpperCase(c)) ? str\n : new StringBuilder(str.length()).append(Character.toUpperCase(c)).append(str.substring(1)).toString();\n }",
"private static String convertToLatin(String word)\n {\n return word.substring(1) + word.substring(0,1) + \"ay\";\n }",
"private static String zzty(String string2) {\n StringBuffer stringBuffer = new StringBuffer();\n int n = 0;\n while (n < string2.length()) {\n char c = string2.charAt(n);\n if (n == 0) {\n stringBuffer.append(Character.toLowerCase(c));\n } else if (Character.isUpperCase(c)) {\n stringBuffer.append('_').append(Character.toLowerCase(c));\n } else {\n stringBuffer.append(c);\n }\n ++n;\n }\n return stringBuffer.toString();\n }",
"private static String capName(String name) { return name.substring(0, 1).toUpperCase() + name.substring(1); }",
"public static String upperFirst(String target) {\n\t\tString temp = target.substring(0, 1);\n\t\treturn temp.toUpperCase() + target.substring(1);\n\t}",
"public String upperCase(String word){\n return word.toUpperCase();\n }",
"private static String wordCap(String str) {\r\n\t\tif(str.isEmpty()) {\r\n\t\t\treturn \"\";\r\n\t\t}else if(str.length()==1) {\r\n\t\t\treturn str.toUpperCase();\r\n\t\t}else {\r\n\t\t\treturn (str.substring(0,1)).toUpperCase() + (str.substring(1,str.length()).toLowerCase());\r\n\t\t}\r\n\t}",
"private String capitalize(final String word) {\n return Character.toUpperCase(word.charAt(0)) + word.substring(1);\n }",
"public static String formatString(String str){\n String[] arr = str.split(\" \");\n String resultant = \"\";\n for(int i = 0; i < arr.length;i++){\n if(arr[i].length() == 1)\n arr[i] = arr[i].toUpperCase();\n else if(arr[i].length() == 0)\n continue;\n else{\n arr[i] = Character.toUpperCase(arr[i].charAt(0)) + arr[i].substring(1);\n }\n }\n for(String s : arr)\n resultant += s + \" \";\n return resultant.trim();\n }",
"private static String capitalize (String input) {\n\n String output = WordUtils.capitalize(input.toLowerCase());\n\n return output;\n }",
"public void upperString() {\n\t\t\tString sentence = \"I am studying\";\n\t\t\t//have to assign it to new string with = to change string\n\t\t\tsentence = sentence.toLowerCase();\n\t\t\t//have to assign it to sentence\n\t\t\tSystem.out.println(\"lower case sentence \" + sentence);\n\t\t}",
"int lower();",
"public static void main(String[] args) {\n String S1=\"THE QUICK BROWN FOR JUMPS OVER THE LAZY DOG.\";//convert into lowercase\n String result = S1.toLowerCase();//formula to convert\n System.out.println(result);//print the outcome\n }",
"private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }",
"private String fixupCase(String s) {\r\n boolean nextIsUpper = true;\r\n StringBuffer sb = new StringBuffer();\r\n\r\n for (int i = 0; i < s.length(); i++) {\r\n char c = s.charAt(i);\r\n if (nextIsUpper) {\r\n c = Character.toUpperCase(c);\r\n } else {\r\n c = Character.toLowerCase(c);\r\n }\r\n sb.append(c);\r\n nextIsUpper = Character.isWhitespace(c);\r\n }\r\n return sb.toString();\r\n }",
"public void conversionTest(){\n String test = \"ABCDEFabcdef123!#\";\n for(int k=0; k < test.length(); k++){\n char ch = test.charAt(k);\n char uch = Character.toUpperCase(ch);\n char lch = Character.toLowerCase(ch);\n System.out.println(ch+\" \"+uch+\" \"+lch);\n }\n }",
"public static String lcfirst(String input) {\n return withFirst(input, first -> String.valueOf(Character.toLowerCase(first)));\n }",
"public String frontBack(String str) {\n if (str.length() <= 1) return str;\n \n String middle = str.substring(1, str.length()-1);\n \n return (str.charAt(str.length()-1) + middle + str.charAt(0));\n}",
"public String capitalCaseToSnakeCase(String text) {\n String textArray[] = text.split(\"(?=\\\\p{Upper})\");\n String capitalcaseToSnakeCase = \"\";\n for (String word: textArray) {\n if(!word.equals(\"\"))\n capitalcaseToSnakeCase += \"_\" + word.toLowerCase();\n }\n capitalcaseToSnakeCase = \"categorias\" + capitalcaseToSnakeCase;\n return capitalcaseToSnakeCase;\n }",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Enter your word :\");\n String word = scanner.nextLine();\n word = word.toUpperCase();\n// word = Character.toString((char)(word.charAt(0)-32));\n String word1 =Character.toString(word.charAt(0));\n word = word.toLowerCase();\n for (int i = 1; i <word.length() ; i++) {\n word1 += Character.toString(word.charAt(i));\n }\n System.out.println(word1);\n }",
"public static void upperCaseFirstOfWord() {\n\t\tString isExit = \"\";\n\t\twhile (!isExit.equals(\"N\")) {\n\t\t\tStringBuffer bf = readInput();\n\t\t\tStringBuffer result = new StringBuffer();\n\t\t\tString str = bf.toString();\n\t\t\tString char_prev = \"\";\n\t\t\tString char_current = \"\";\n\t\t\tString key = \" ,.!?:\\\"\";\n\t\t\tresult.append(String.valueOf(str.charAt(0)).toUpperCase());\n\t\t\tfor (int i = 1; i < str.length(); i++) {\n\t\t\t\tchar_prev = String.valueOf(str.charAt(i - 1));\n\t\t\t\tchar_current = String.valueOf(str.charAt(i));\n\t\t\t\tif (key.contains(char_prev)) {\n\t\t\t\t\tchar_current = char_current.toUpperCase();//uppercase first letter each word\n\t\t\t\t}\n\t\t\t\tresult.append(char_current);\n\t\t\t}\n\t\t\tSystem.out.println(\"Chuỗi có chữ cái đầu viết hoa: \\n\" + result);\n\t\t\tSystem.out.println(\"Bạn có muốn nhập tiếp không(0/1):\");\n\t\t\tisExit= scan.next().toString();\n\t\t}\n\t}",
"public String deFront(String str) {\r\n if (!str.isEmpty()) {\r\n if (str.length() > 1) {\r\n if (str.charAt(0) == 'a' && str.charAt(1) != 'b') {\r\n\r\n return \"a\" + str.substring(2);\r\n } else if (str.charAt(0) != 'a' && str.charAt(1) == 'b') {\r\n\r\n return str.substring(1);\r\n } else if (str.charAt(1) != 'b') {\r\n\r\n return str.substring(2);\r\n }\r\n }\r\n if (str.length() == 1) {\r\n if (str.charAt(0) != 'a') {\r\n\r\n return \"\";\r\n }\r\n }\r\n }\r\n\r\n return str;\r\n }",
"public String toString() {return name().charAt(0) + name().substring(1).toLowerCase();}",
"public static String camelCase(String str) {\n StringBuilder builder = new StringBuilder();\n\n // keep track if next value should become uppercase\n boolean upperConvert = true;\n\n // loop through each letter\n for(int counter = 0; counter < str.length(); counter++) {\n\n // if this character is space, set upperConvert to true\n if(str.charAt(counter) == ' ') {\n upperConvert = true;\n } else { // if this character is a letter\n\n // if we need to capitalize this letter, add its capital to builder\n if(upperConvert) {\n\n builder.append(Character.toUpperCase(str.charAt(counter)));\n\n // set upperConvert to false to keep only one capital letter\n upperConvert = false;\n } else // if we dont need to capitalize, just add character to builder\n builder.append(str.charAt(counter));\n\n }\n }\n\n return builder.toString();\n }",
"private final static String toTitleCase( String s ) {\n\n char[] ca = s.toCharArray();\n\n boolean changed = false;\n boolean capitalise = true;\n\n for ( int i=0; i<ca.length; i++ ) {\n char oldLetter = ca[i];\n if ( oldLetter <= '/'\n || ':' <= oldLetter && oldLetter <= '?'\n || ']' <= oldLetter && oldLetter <= '`' ) {\n /* whitespace, control chars or punctuation */\n /* Next normal char should be capitalized */\n capitalise = true;\n } else {\n char newLetter = capitalise\n ? Character.toUpperCase(oldLetter)\n : Character.toLowerCase(oldLetter);\n ca[i] = newLetter;\n changed |= (newLetter != oldLetter);\n capitalise = false;\n }\n } // end for\n\n return new String (ca);\n\n }",
"public String acronym(String phrase) {\n\t\tString[] p = phrase.split(\"[\\\\W\\\\s]\");\n\t\tString returner = \"\";\n\t\tfor (String s : p) {\n\t\t\tif (!s.isEmpty())\n\t\t\t\treturner = returner + s.charAt(0);\n\t\t}\n\t\treturn returner.toUpperCase();\n\t}",
"private static String capitalize(String input) {\n StringBuilder out = new StringBuilder();\n if (input.length() < 0) {\n return \"\";\n }\n out.append(Character.toUpperCase(input.charAt(0)));\n int dotAndSpace = 0;\n for (int i = 1; i < input.length(); i++) {\n if (input.charAt(i) == '.') {\n dotAndSpace = 1;\n out.append(input.charAt(i));\n } else if (input.charAt(i) == ' ' && dotAndSpace == 1) {\n dotAndSpace = 2;\n out.append(input.charAt(i));\n } else {\n if (dotAndSpace == 2) {\n out.append(Character.toUpperCase(input.charAt(i)));\n dotAndSpace = 0;\n } else {\n out.append(input.charAt(i));\n }\n\n }\n }\n return out.toString();\n }",
"public static String ucfirst(String input) {\n return withFirst(input, first -> String.valueOf(Character.toUpperCase(first)));\n }",
"public static void main(String[] args) {\nString s = \"HElLo WoRlD WelCOMe To JaVa\";\nSystem.out.println(s.toLowerCase());\n\t}",
"public String EndUp(String s) {\r\n if (s.length() >= 3) {\r\n return s.substring(0, s.length()-3)+s.substring(s.length()-3).toUpperCase();\r\n } else {\r\n return s.toUpperCase();\r\n }\r\n }",
"public String letraCapital(String texto){\n String resultado = \"\";\n if(!texto.isEmpty()){\n texto = texto.toLowerCase(); //pasamos a minuscula\n String[] palabras = texto.split(\"\\\\s\"); //partimos si tiene mas de una palabra\n for(String palabra : palabras) {\n resultado += palabra.substring(0, 1).toUpperCase() + palabra.substring(1)+ \" \";\n }\n }\n return resultado;\n }",
"public static String firstLowerCase(String value) {\n\t\tif (value == null || value.length() == 0) {\n\t return value;\n\t }\n\t\tchar[] c = value.toCharArray();\n\t\tc[0] += 32;\n\t\treturn new String(c);\n\t}",
"public static String capitalize(String str) {\r\n\t\t// Check for null values.\r\n\t\tif (isEmpty(str))\r\n\t\t\treturn str;\r\n\t\telse\r\n\t\t\treturn str.substring(0, 1).toUpperCase() + str.substring(1);\t\t\r\n\t}",
"public String front22(String str) {\n String front2;\n if (str.length() <= 2) {\n front2 = str;\n } else {\n front2 = str.substring(0, 2);\n }\n \n return front2 + str + front2;\n}",
"private void useCapitalLettersFromType(String type, StringBuffer buffer) {\r\n for (int ndx = 0; ndx < type.length(); ndx++) {\r\n char ch = type.charAt(ndx);\r\n if (Character.isUpperCase(ch)) {\r\n buffer.append(Character.toLowerCase(ch));\r\n }\r\n }\r\n }",
"public String firstAlphabeticalTitleLetter(String title){\n\t\t int first = 0;\n if ( title.toLowerCase().startsWith(\"the \") ) { first = 4; }\n\t\t return title.substring(first, (first + 1));\n\t }",
"private static String qualifiedName2FirstCharacterUppercasedString(final String s) {\n final StringBuffer result = new StringBuffer();\n final Matcher m = Pattern.compile(\"(?:\\\\.|^)(.)\").matcher(s);\n while (m.find()) {\n m.appendReplacement(result,\n m.group(1).toUpperCase());\n }\n m.appendTail(result);\n return result.toString().replaceAll(\"\\\\[\\\\]\", \"Array\");\n }",
"public static String camel(final String value) {\r\n\t\tif (!isBlank(value)) {\r\n\t\t\treturn value.substring(0, 1).toLowerCase() + value.substring(1);\r\n\t\t} else {\r\n\t\t\treturn value;\r\n\t\t}\r\n\t}",
"public String acronym(String phrase) {\n\t\t// TODO Write an implementation for this method declaration\n\t\tString acronymString = \"\";\n\t\tfor(int i = 0; i < phrase.length(); i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tif(Character.isUpperCase(phrase.charAt(i))) {\n\t\t\t\t\tacronymString = acronymString + phrase.charAt(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(i > 0){\n\t\t\t\tif(Character.isUpperCase(phrase.charAt(i)) && phrase.charAt(i-1) == ' ') {\n\t\t\t\t\tacronymString = acronymString + phrase.charAt(i);\n\t\t\t\t}\n\t\t\t\telse if(Character.isLowerCase(phrase.charAt(i)) && phrase.charAt(i-1) == ' ') {\n\t\t\t\t\tacronymString = acronymString + Character.toUpperCase(phrase.charAt(i));\n\t\t\t\t}\n\t\t\t\telse if(Character.isLowerCase(phrase.charAt(i)) && phrase.charAt(i-1) == '-') {\n\t\t\t\t\tacronymString = acronymString + Character.toUpperCase(phrase.charAt(i));\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t\t//System.out.println(acronymString);\n\t\t\n\t\t\n\t\t\n\t\treturn acronymString;\n\t}",
"public static void main(String[] args) {\n\n\n String ad=\"erdogan\";\n String soyad= \"HOZAN\";\n\n System.out.println(\"ad: \"+ ad.toUpperCase());\n System.out.println(\"soyad:\" + soyad.toLowerCase());\n\n }",
"public String prefix(String s) {\n\t\tString tmp = methodBase();\n\t\treturn s+tmp.substring(0,1).toUpperCase()+tmp.substring(1);\n\t}",
"@Test\n public final void testCapitalize1() {\n Object target = \"abc\";\n String expResult = \"Abc\";\n String result = StringUtils.capitalize(target);\n Assertions.assertEquals(expResult, result);\n }",
"@Test\n public void testUnCapitalize1() {\n Object target = \"ABC\";\n String expResult = \"aBC\";\n String result = StringUtils.unCapitalize(target);\n Assertions.assertEquals(expResult, result);\n }",
"public static String toggleCase(String str){\n\t\tStringBuilder sb = new StringBuilder(str);\n\t\tfor(int i=0;i<str.length() ;i++ ){\n\t\t char ch = str.charAt(i);\n\t\t if(ch>='a' && ch<='z')\n\t\t {\n\t\t char upr = (char)('A'+ch-'a');\n\t\t sb.setCharAt(i,upr);\n\t\t }\n\t\t else if(ch>='A' && ch<='Z')\n\t\t {\n\t\t char upr = (char)('a'+ch-'A');\n\t\t sb.setCharAt(i,upr);\n\t\t }\n\t\t}\n\t\t\n\n\t\treturn sb.toString();\n\t}",
"public static String capitalize(String name) {\n/* 72 */ if (name == null || name.length() == 0) {\n/* 73 */ return name;\n/* */ }\n/* 75 */ char[] chars = name.toCharArray();\n/* 76 */ chars[0] = Character.toUpperCase(chars[0]);\n/* 77 */ return new String(chars);\n/* */ }",
"public static String capitalizeWordsFirstLetter(String aInString, String aInSeparator) {\n String[] lWords = aInString.split(aInSeparator);\n StringBuilder lStringBuilder = new StringBuilder();\n int lWordsCount = 0;\n for (String lWord : lWords) {\n if (++lWordsCount == 1) {\n lStringBuilder.append(lWord.toLowerCase());\n } else {\n if (lWord.length() > 0)\n lStringBuilder.append(lWord.substring(0, 1).toUpperCase()).append(lWord.substring(1).toLowerCase());\n }\n }\n return lStringBuilder.toString();\n }",
"public static String makeUpper(String str) {\n\t\tstr = str.trim();\r\n\t\tPattern p1 = Pattern.compile(\"[a-z A-Z/. ]*\");\r\n\t\tMatcher match = p1.matcher(str);\r\n\r\n\t\tif (match.matches()) {\r\n\t\t\tStringBuffer strBf = new StringBuffer();\r\n\t\t\tMatcher m = Pattern.compile(\"([a-z])([a-z]*)\", Pattern.CASE_INSENSITIVE).matcher(str);\r\n\t\t\twhile (m.find())\r\n\t\t\t\tm.appendReplacement(strBf, m.group(1).toUpperCase() + m.group(2).toLowerCase());\r\n\t\t\treturn m.appendTail(strBf).toString();\r\n\t\t} else\r\n\t\t\treturn null;\r\n\t}",
"public static String toTitleCase(String givenString) {\n String[] arr = givenString.split(\" \");\n StringBuffer sb = new StringBuffer();\n for (int i = 0; i < arr.length; i++) {\n sb.append(Character.toUpperCase(arr[i].charAt(0)))\n .append(arr[i].substring(1)).append(\" \");\n }\n return sb.toString().trim();\n }",
"private String capitalize(String title) {\n return title.substring(0, 1).toUpperCase() + title.substring(1);\n }",
"public static String the(String str)\n\t{\t\t\n\t\tif (str.startsWith(\"the \")) return str;\n\t\telse if (str.startsWith(\"The \")) return str;\n\t\telse if (str.toLowerCase().charAt(0) == str.charAt(0)) return \"the \" + str;\n\t\telse return \"The \" + str.toLowerCase();\n\t}",
"public static void main(String[] args)\n {\n String fruit = \"strawberry\";\n String s = fruit.substring(0, 5);\n System.out.println(s);\n \n // Extract the string \"berry\"\n String u = fruit.substring(5, 10);\n System.out.println(u);\n \n String v = fruit.substring(5);\n System.out.println(v);\n \n // Extract the first character\n String w = fruit.substring(0, 1);\n System.out.println(w);\n \n // Extract the last character\n String x = fruit.substring(9, 10);\n System.out.println(x);\n \n String z = fruit.substring(9);\n System.out.println(z);\n \n // We want to turn the inital \"s\" in\n // \"strawberry\" to an uppercase \"S\"\n \n String uc = \"S\" + fruit.substring(1, 10);\n System.out.println(uc);\n \n String ud = \"S\" + fruit.substring(1);\n System.out.println(ud);\n \n String ue = \"S\" + fruit.substring(1, fruit.length());\n System.out.println(ue);\n }",
"private String createInitials(String firstName, String lastName) {\n final String firstInitial = Character.toString(firstName.charAt(0));\n final String lastInitial = Character.toString(lastName.charAt(0));\n final String initials = firstInitial.toUpperCase() + lastInitial.toUpperCase();\n return initials;\n }",
"public static String primeraMayus(String s){\n\t\treturn s.substring(0, 1).toUpperCase() + s.substring(1);\n\t}",
"public static String capitalize(String input)\n {\n if (input.length() == 0)\n return input;\n \n return input.substring(0, 1).toUpperCase() + input.substring(1);\n }",
"@Override\n public final char first() {\n if (upper == lower) {\n return DONE;\n }\n return text.charAt(index = lower);\n }",
"public static boolean beginsWithCapital( String w ) \r\n { String t = w.substring(0,1);\r\n\treturn t.toUpperCase().equals(t);\r\n }"
]
| [
"0.7709548",
"0.74902177",
"0.7456004",
"0.74183863",
"0.73436666",
"0.7300422",
"0.7152924",
"0.7125348",
"0.7116499",
"0.7115324",
"0.70758957",
"0.70602554",
"0.70322907",
"0.70187426",
"0.6962175",
"0.69311583",
"0.6909236",
"0.68959135",
"0.6877354",
"0.686284",
"0.685595",
"0.68466705",
"0.6822883",
"0.6822859",
"0.68188137",
"0.68112767",
"0.6790692",
"0.67687017",
"0.6748432",
"0.6742043",
"0.674172",
"0.6732059",
"0.67150253",
"0.67089623",
"0.6701476",
"0.6667396",
"0.6653733",
"0.6651185",
"0.66211414",
"0.6612904",
"0.6582289",
"0.65811276",
"0.6563051",
"0.65584975",
"0.6543605",
"0.6543433",
"0.6535245",
"0.64927065",
"0.64652044",
"0.64616895",
"0.64569324",
"0.64473134",
"0.64424074",
"0.64099",
"0.6400802",
"0.6392404",
"0.6384883",
"0.6368837",
"0.63532424",
"0.6346296",
"0.6344264",
"0.63318616",
"0.63179266",
"0.63156295",
"0.6302802",
"0.6284644",
"0.6275735",
"0.62736464",
"0.6267658",
"0.62569934",
"0.6251302",
"0.62444985",
"0.6239473",
"0.62222296",
"0.62210995",
"0.6210857",
"0.62079775",
"0.6194635",
"0.6188153",
"0.6184055",
"0.6182493",
"0.61774045",
"0.61664873",
"0.616293",
"0.6157087",
"0.61495715",
"0.612699",
"0.6103172",
"0.6100184",
"0.6097608",
"0.60932255",
"0.60845214",
"0.6080437",
"0.6074619",
"0.6072531",
"0.6067832",
"0.6058617",
"0.604017",
"0.6031536",
"0.6030193"
]
| 0.64488584 | 51 |
Every stat will automatically get a gene associated with it, this method can be used to obtain the corresponding gene for a given stat | Optional<IAgriGene<Integer>> get(@Nullable IAgriStat stat); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getGeneId();",
"public String getGeneName() {\n return geneName;\n }",
"public int randomGene();",
"protected Gene getGene(int innovation) {\n\t\treturn genes.get(innovation);\n\t}",
"protected Gene getRandomGene() {\n\t\tArrayList<Gene> genearr = new ArrayList<Gene>();\n\t\tgenearr.addAll(genes.values());\n\t\treturn genearr.get(Braincraft.randomInteger(genearr.size()));\n\t}",
"public String getGeneName(int row);",
"public abstract Genome getGenome();",
"Optional<IAgriStat> getStatForGene(@Nullable IAgriGene<Integer> gene);",
"public String get_gene_id() {\n return m_gene_id;\n }",
"public static void stringToGene( String gene ){}",
"public RefSeq getGeneAnn() {\n\t\treturn geneAnn;\n\t}",
"public double getGene(int x)\n {\n return this.vectOfCoef.get(x);\n }",
"public String getStringOfGene()\n {\n String print = \"\";\n for(int x = 0; x < numOfCoef; x++)\n {\n print = print +\"||\"+ vectOfCoef.get(x);\n }\n return print;\n }",
"private static List<Gene> getGenePool() {\n List<Gene> list = new ArrayList<>();\n\n Item item1 = new Item();\n item1.setName(\"Swiss Army Knife\");\n item1.setWeight(0.08125);\n item1.setVal(15);\n Gene gene1 = new Gene(item1);\n\n Item item2 = new Item();\n item2.setName(\"Duct Tape\");\n item2.setWeight(1.3);\n item2.setVal(3);\n Gene gene2 = new Gene(item2);\n\n Item item3 = new Item();\n item3.setName(\"Rope (50 feet)\");\n item3.setWeight(7);\n item3.setVal(10);\n Gene gene3 = new Gene(item3);\n\n Item item4 = new Item();\n item4.setName(\"Satellite phone\");\n item4.setWeight(2);\n item4.setVal(8);\n Gene gene4 = new Gene(item4);\n\n Item item5 = new Item();\n item5.setName(\"Elmer's Glue\");\n item5.setWeight(0.25);\n item5.setVal(2);\n Gene gene5 = new Gene(item5);\n\n Item item6 = new Item();\n item6.setName(\"Toilet Paper Roll\");\n item6.setWeight(.5);\n item6.setVal(4);\n Gene gene6 = new Gene(item6);\n\n Item item7 = new Item();\n item7.setName(\"Binoculars\");\n item7.setWeight(3);\n item7.setVal(5);\n Gene gene7 = new Gene(item7);\n\n Item item8 = new Item();\n item8.setName(\"Compass\");\n item8.setWeight(0.0573202);\n item8.setVal(15);\n Gene gene8 = new Gene(item8);\n\n Item item9 = new Item();\n item9.setName(\"Jug (pre-filled with water)\");\n item9.setWeight(4);\n item9.setVal(6);\n Gene gene9 = new Gene(item9);\n\n Item item10 = new Item();\n item10.setName(\"Flashlight\");\n item10.setWeight(2);\n item10.setVal(4);\n Gene gene10 = new Gene(item10);\n\n Item item11 = new Item();\n item11.setName(\"Box of paper clips\");\n item11.setWeight(.9);\n item11.setVal(2);\n Gene gene11 = new Gene(item11);\n\n Item item12 = new Item();\n item12.setName(\"Gloves (1 pair)\");\n item12.setWeight(.8125);\n item12.setVal(3);\n Gene gene12 = new Gene(item12);\n\n Item item13 = new Item();\n item13.setName(\"Scissors\");\n item13.setWeight(0.2);\n item13.setVal(2);\n Gene gene13 = new Gene(item13);\n\n Item item14 = new Item();\n item14.setName(\"Signal Flair (4pk)\");\n item14.setWeight(4);\n item14.setVal(5);\n Gene gene14 = new Gene(item14);\n\n Item item15 = new Item();\n item15.setName(\"Water Purifying System\");\n item15.setWeight(0.5125);\n item15.setVal(4);\n Gene gene15 = new Gene(item15);\n\n Item item16 = new Item();\n item16.setName(\"Whistle\");\n item16.setWeight(0.075);\n item16.setVal(2);\n Gene gene16 = new Gene(item16);\n\n Item item17 = new Item();\n item17.setName(\"Sleeping Bag\");\n item17.setWeight(0.38125);\n item17.setVal(4);\n Gene gene17 = new Gene(item17);\n\n Item item18 = new Item();\n item18.setName(\"Insect Repellent\");\n item18.setWeight(1.15);\n item18.setVal(3);\n Gene gene18 = new Gene(item18);\n\n Item item19 = new Item();\n item19.setName(\"Trowel\");\n item19.setWeight(0.31875);\n item19.setVal(3);\n Gene gene19 = new Gene(item19);\n\n Item item20 = new Item();\n item20.setName(\"Lighter\");\n item20.setWeight(.2);\n item20.setVal(4);\n Gene gene20 = new Gene(item20);\n\n Item item21 = new Item();\n item21.setName(\"Safety Horn\");\n item21.setWeight(.21);\n item21.setVal(3);\n Gene gene21 = new Gene(item21);\n\n Item item22 = new Item();\n item22.setName(\"Headlamp\");\n item22.setWeight(.8);\n item22.setVal(4);\n Gene gene22 = new Gene(item22);\n\n Item item23 = new Item();\n item23.setName(\"Freeze Dried Food Kit\");\n item23.setWeight(2);\n item23.setVal(6);\n Gene gene23 = new Gene(item23);\n\n Item item24 = new Item();\n item24.setName(\"Sunscreen\");\n item24.setWeight(.5);\n item24.setVal(4);\n Gene gene24 = new Gene(item24);\n\n Item item25 = new Item();\n item25.setName(\"Trekking Pole (Adjustable)\");\n item25.setWeight(1.3);\n item25.setVal(4);\n Gene gene25 = new Gene(item25);\n\n Item item26 = new Item();\n item26.setName(\"Counter Assault Bear Spray\");\n item26.setWeight(.5);\n item26.setVal(4);\n Gene gene26 = new Gene(item26);\n\n Item item27 = new Item();\n item27.setName(\"Insect Spray\");\n item27.setWeight(.5);\n item27.setVal(3);\n Gene gene27 = new Gene(item27);\n\n Item item28 = new Item();\n item28.setName(\"Hand sanitizer\");\n item28.setWeight(.625);\n item28.setVal(3);\n Gene gene28 = new Gene(item28);\n\n Item item29 = new Item();\n item29.setName(\"Mirror\");\n item29.setWeight(.5);\n item29.setVal(3);\n Gene gene29 = new Gene(item29);\n\n Item item30 = new Item();\n item30.setName(\"First Aid Kit\");\n item30.setWeight(3);\n item30.setVal(6);\n Gene gene30 = new Gene(item30);\n\n list.add(gene1);\n list.add(gene2);\n list.add(gene3);\n list.add(gene4);\n list.add(gene5);\n list.add(gene6);\n list.add(gene7);\n list.add(gene8);\n list.add(gene9);\n list.add(gene10);\n list.add(gene11);\n list.add(gene12);\n list.add(gene13);\n list.add(gene14);\n list.add(gene15);\n list.add(gene16);\n list.add(gene17);\n list.add(gene18);\n list.add(gene19);\n list.add(gene20);\n list.add(gene21);\n list.add(gene22);\n list.add(gene23);\n list.add(gene24);\n list.add(gene25);\n list.add(gene26);\n list.add(gene27);\n list.add(gene28);\n list.add(gene29);\n list.add(gene30);\n\n return list;\n }",
"@Override\n public String getName() {\n return \"Genetic\";\n }",
"public abstract double getFitness(Genotype genotype);",
"public Map<String, Gene> getGenes() {\n return genes;\n }",
"public String getName() {\n return \"GA binary individual\";\n }",
"public abstract double getGen(int i);",
"public String getGenus() {\n return genus;\n }",
"private Gene createGene( String[] fields, Taxon taxon ) {\n\n assert fields.length > 1;\n\n String geneSymbol = fields[0];\n String geneName = fields[1];\n String uniProt = \"\";\n if ( fields.length > 2 )\n uniProt = fields[2];\n Gene gene;\n // need at least the gene symbol and gene name\n if ( StringUtils.isBlank( geneSymbol ) || StringUtils.isBlank( geneName ) ) {\n log.warn( \"Line did not contain valid gene information; GeneSymbol=\" + geneSymbol + \"GeneName=\" + geneName\n + \" UniProt=\" + uniProt );\n return null;\n }\n\n if ( log.isDebugEnabled() )\n log.debug( \"Creating gene \" + geneSymbol );\n gene = geneService.findByOfficialSymbol( geneSymbol, taxon );\n\n if ( gene != null ) {\n Collection<GeneProductValueObject> existingProducts = geneService.getProducts( gene.getId() );\n if ( existingProducts.isEmpty() ) {\n log.warn( \"Gene \" + gene + \" exists, but has no products; adding one\" );\n gene = geneService.thaw( gene );\n GeneProduct newgp = createGeneProduct( gene );\n newgp = geneProductService.create( newgp );\n gene.getProducts().add( newgp );\n geneService.update( gene );\n return gene;\n }\n log.info( gene + \" already exists and is valid, will not update\" );\n return null; // no need to create it, though we ignore the name.\n\n }\n\n gene = Gene.Factory.newInstance();\n gene.setName( geneSymbol );\n gene.setOfficialSymbol( geneSymbol );\n gene.setOfficialName( StringUtils.lowerCase( geneName ) );\n gene.setDescription( \"Imported from external annotation file\" );\n gene.setTaxon( taxon );\n gene.getProducts().add( createGeneProduct( gene ) );\n gene = ( Gene ) persisterHelper.persistOrUpdate( gene );\n return gene;\n }",
"ItemStack getEggItem(IGeneticMob geneticMob);",
"public String getGeneList() {\n return geneList;\n }",
"public int findGeneStart()\n {\n return findGeneStart(0);\n }",
"int load( String geneFile, String taxonName ) throws Exception;",
"public GeneticCode getGeneticCode() {\n\t\treturn _geneticCode;\n\t}",
"public int mutateGene(int gene);",
"public String execGetMapGeneFunc(){\n Map map = new HashMap();\n\n if(this.searchParam != null && this.searchParam.length()> 0 ){\n System.out.println(this.searchParam );\n map.put(\"searchParam\",this.searchParam);\n }\n\n if(this.searchSpecies!= null && this.searchSpecies.equals(\"all\") == false){\n map.put(\"species\",this.searchSpecies);\n }\n\n\n\n int offset = -1;\n int limit = -1;\n\n int pageno = 0;\n int pagesize = 0;\n int totalcount = -1;\n\n if( (this.totalCount!=null && this.totalCount.equals(\"-1\")==false)){\n totalcount = Integer.parseInt(totalCount);\n }\n\n if(this.isFirstSearchFlag == 0){\n if(totalCount != null && totalCount.length()>0){\n totalcount = Integer.parseInt(totalCount);\n }\n }\n\n if(this.pageNo != null ){\n pageno = (int)this.pageNo;\n }\n\n if(this.pageSize != null ){\n pagesize = (int) this.pageSize;\n }\n\n\n if(totalcount != -1){\n page = new Page(totalcount, pageno, pagesize, 0);\n\n if (this.page.getPageSize() > totalcount){\n offset = this.page.getRowFrom() -1 ;\n limit = totalcount ;\n }else {\n offset = this.page.getRowFrom() -1;\n limit = this.page.getPageSize() ;\n }\n }else{\n //first compute count\n offset = 0 ;\n limit =10;\n\n map.put(\"count\",\"count\");\n GwasAssociationBean gwasbean = (GwasAssociationBean) baseService.findObjectByObject(\"cn.big.gvk.dm.GwasAssociation.selecTraitByFuzzySearch\",map);\n if(gwasbean!=null ){\n System.out.println(\"count=\"+gwasbean.getTraitCount());\n totalcount = gwasbean.getTraitCount();\n }\n map.remove(\"count\");\n }\n\n\n List<GwasAssociationBean> t_gwasAssociationList =(List<GwasAssociationBean>) baseService.findResultList(\"cn.big.gvk.dm.GwasAssociation.selecTraitByFuzzySearch\",map);\n\n if(t_gwasAssociationList != null && t_gwasAssociationList.size()>0) {\n\n List traitlist = new ArrayList();\n for (GwasAssociationBean gwas : t_gwasAssociationList) {\n System.out.println(\"gwas.getGenotypeId()\"+gwas.getGenotypeId());\n traitlist.add(gwas.getGenotypeId());\n }\n Map t = new HashMap();\n t.put(\"genotypelist\",traitlist);\n\n this.genotypeAnnotateGeneViewList = (List<GenotypeAnnotateGeneView>) baseService.findResultList(\"cn.big.gvk.dm.Genotype.selectGenotypeByList\",t);\n\n }\n\n return SUCCESS;\n\n }",
"public ECP getGen(){return gen;}",
"void update(String selectedGene);",
"MaterialStatsId getStatType();",
"public SubGeneHitGraphInfo(String[ ] sourceStrings, DNA.Translator trans) throws RetroTectorException {\n\n\t\tTHETRANSLATOR = trans;\n\t\tint index = sourceStrings[0].indexOf(PAD2);\n\t\tSUBGENENAME = sourceStrings[0].substring(PAD1.length(), index);\n\t\tint index2 = sourceStrings[0].indexOf(PAD3);\n\t\tSUBGENEGENUS = sourceStrings[0].substring(index + PAD2.length(), index2);\n index = sourceStrings[0].indexOf(PAD4);\n\t\tHITSCORE = Utilities.decodeInt(sourceStrings[0].substring(index2 + PAD3.length(), index));\n\t\tHITHOTSPOT = THETRANSLATOR.internalize(Utilities.decodeInt(sourceStrings[0].substring(index + PAD4.length())));\n\t\tmotifhitinfo = new MotifHitGraphInfo[(sourceStrings.length - 1) / 3];\n\t\tString[ ] ss = new String[3];\n\t\tfor (int m=0; m<motifhitinfo.length; m++) {\n\t\t\tss[0] = sourceStrings[3 * m + 1];\n\t\t\tss[1] = sourceStrings[3 * m + 2];\n\t\t\tss[2] = sourceStrings[3 * m + 3];\n\t\t\tmotifhitinfo[m] = new MotifHitGraphInfo(ss, THETRANSLATOR);\n\t\t}\n\t}",
"public int getStat(Stat stat) {\n return stats.get(stat);\n }",
"public SubGeneHitGraphInfo(SubGeneHit theHit) throws RetroTectorException {\n\t\tSUBGENENAME = theHit.PARENTSUBGENE.SUBGENENAME;\n\t\tSUBGENEGENUS = theHit.RVGENUS;\n\t\tHITSCORE = Math.round(theHit.SCORE);\n HITHOTSPOT = theHit.SGHITHOTSPOT;\n\t\tTHETRANSLATOR = theHit.SOURCEDNA.TRANSLATOR;\n\t\tmotifhitinfo = new MotifHitGraphInfo[theHit.MOTIFHITS.length];\n\t\tfor (int m=0; m<motifhitinfo.length; m++) {\n\t\t\tmotifhitinfo[m] = new MotifHitGraphInfo(theHit.getMotifHit(m));\n\t\t}\n\t}",
"public FloatMatrix getSimilarGeneExpressionProfile(\t) {\r\n\t\treturn averageExpressionProfile;\r\n\t}",
"public Individual getBest() {\n\t\treturn individuals[0];\n\t}",
"private Vertex getVertexFor(Agent ag) {\n return getDataFor(ag).vertex;\n }",
"protected float[] getGenes() {\n\t\t\treturn genes;\n\t\t}",
"protected Gene newGeneInternal() {\n try {\n \tFloatGene result = new FloatGene(getConfiguration(), m_lowerBound,\n m_upperBound);\n return result;\n }\n catch (InvalidConfigurationException iex) {\n throw new IllegalStateException(iex.getMessage());\n }\n }",
"double fitness(int gene) {\r\n \tint sum = 0;\r\n \tint prod= 1;\r\n \tfor (int j=0; j<LEN; j++) {\r\n \t\tif (oldpop[gene][j]==0) {\r\n \t\t\tsum += (j+1);\r\n \t\t} else {\r\n \t\t\tprod *= (j+1);\r\n \t\t}\r\n \t}\r\n \treturn Math.abs(sum - SUMTARG)/SUMTARG \r\n \t + Math.abs(prod - PRODTARG)/PRODTARG;\r\n }",
"private void CreateGenomeData()\n {\n SymbolList blankList = new BlankSymbolList(totalLength);\n SimpleSequenceFactory seqFactory = new SimpleSequenceFactory();\n blankSequence = seqFactory.createSequence(blankList, null, null, null);\n \n try {\n \n for(int i =0;i<chromosomeCount;i++)\n {\n ArrayList<GeneDisplayInfo> currentChr = outputGenes.get(i);\n int geneCount = currentChr.size();\n\n for(int j =0; j < geneCount ; j++)\n {\n \n GeneDisplayInfo gene = currentChr.get(j);\n StrandedFeature.Template stranded = new StrandedFeature.Template();\n\n if(gene.Complement)\n stranded.strand = StrandedFeature.NEGATIVE;\n else\n stranded.strand = StrandedFeature.POSITIVE;\n stranded.location = new RangeLocation(gene.Location1,gene.Location2);\n //String s = \"Source\n \n stranded.type = \"Source\" + Integer.toString(i);\n if(gene.name ==\"Circular\")\n stranded.type = \"CircularF\" + Integer.toString(i);\n stranded.source = gene.name;\n Feature f = blankSequence.createFeature(stranded);\n \n }\n \n } \n \n \n int totalfeature =sourceGene.size(); \n for(int i =0; i < totalfeature ; i++)\n {\n\n GeneDisplayInfo gene = GeneData.targetGene.get(i);\n StrandedFeature.Template stranded = new StrandedFeature.Template();\n \n if(gene.Complement)\n stranded.strand = StrandedFeature.NEGATIVE;\n else\n stranded.strand = StrandedFeature.POSITIVE;\n stranded.location = new RangeLocation(gene.Location1,gene.Location2);\n stranded.type = \"Target\";\n stranded.source = gene.name;\n blankSequence.createFeature(stranded);\n \n }\n \n \n }\n catch (BioException ex) {\n Logger.getLogger(GeneData.class.getName()).log(Level.SEVERE, null, ex);\n } catch (ChangeVetoException ex) {\n Logger.getLogger(GeneData.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n\t\tcurdata = GenomeDataFactory.createGenomeData(blankSequence);\t\n \n \n }",
"@Test\n public void testConvertGeneSet() {\n searchService.loadValueObject( SearchResult.from( GeneSet.class, gs, 1.0, \"test object\" ) );\n verify( geneSetService ).loadValueObject( gs );\n }",
"@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic List<Gene> getAllTargetsByTf(String id) {\n\n\t\tXRefsHibernateDBAdaptor xrefsAdaptor = new XRefsHibernateDBAdaptor(this.getSessionFactory());\n\t\tList<Xref> xrefs = xrefsAdaptor.getByDBNameList(id, Arrays.asList(\"ensembl_gene\"));\n\t\tList<String> ensemblIds = new ArrayList<String>();\n\t\tfor(Xref xref: xrefs) {\n\t\t\tensemblIds.add(xref.getDisplayId());\n\t\t}\n\t\t\n\t\tList<Gene> genes = new ArrayList<Gene>();\n\t\tQuery query = null;\n\t\tSession session = this.openSession();\n\t\tif(ensemblIds != null && ensemblIds.size() > 0) {\n\t\t\tfor(String key: ensemblIds) {\n\t\t\t\tquery = session.createQuery(\"select g from Gene g, Tfbs tf, Transcript t1, Transcript t2, Xref x, TranscriptToXref tx where x.displayId= :KEY and x.xrefId=tx.xref and tx.transcript=t1.transcriptId and t1.gene=tf.gene and tf.transcript=t2.transcriptId and t2.gene=g.geneId group by g.geneId\").setParameter(\"KEY\", key);\n\t\t\t\tgenes.addAll((List<Gene>)execute(query));\n\t\t\t}\t\n\t\t}else {\n\t\t\tquery = session.createQuery(\"select g from Tfbs t, Transcript tr, Gene g where t.tfName= :KEY and t.transcript=tr.transcriptId and tr.gene=g.geneId group by g.geneId\").setParameter(\"KEY\", id);\n\t\t\tgenes.addAll((List<Gene>)execute(query));\n\t\t}\n\t\t\n\t\tsession.close();\n\t\treturn genes;\n\t\t\n\t\t\n//\t\tt0 = System.currentTimeMillis();\n//\t\tfor (Tfbs tfbs : result) {\n//\t\t\tif (tfbs != null && !keys.contains(tfbs.getTranscript().getStableId())){\n//\t\t\t\tkeys.add(tfbs.getTranscript().getStableId());\n//\t\t\t}\n//\t\t}\n//\t\tSystem.out.println(\"******************* Transcripts: \"+(System.currentTimeMillis()-t0));\n//\t\t\n//\t\tList<Gene> genes = new ArrayList<Gene>();\n//\t\tList<Gene> auxGene = new ArrayList<Gene>();\n//\t\tQuery query = null;\n//\t\tString transcriptId = null;\n//\t\tSet<String> visitedGenes = new HashSet<String>();\n//\t\tSet<String> visitedTranscripts = new HashSet<String>();\n//\t\tIterator<String> iter = keys.iterator();\n//\t\tSession session = this.openSession();\n//\t\tt0 = System.currentTimeMillis();\n//\t\twhile(iter.hasNext()) {\n//\t\t\ttranscriptId = iter.next();\n//\t\t\tif(!visitedTranscripts.contains(transcriptId)) {\n//\t\t\t\tquery = session.createQuery(\"select g from Gene g, Transcript t where t.gene=g.geneId and t.stableId = :KEY\").setParameter(\"KEY\", transcriptId);\n//\t\t\t\tauxGene = (List<Gene>)execute(query);\n//\t\t\t\tif(!visitedGenes.contains(auxGene.get(0).getStableId())) {\n//\t\t\t\t\tgenes.addAll(auxGene);\n//\t\t\t\t\tvisitedGenes.add(auxGene.get(0).getStableId());\n//\t\t\t\t}\n//\t\t\t\tvisitedTranscripts.add(transcriptId);\n//\t\t\t}\n//\t\t}\n//\t\tSystem.out.println(\"******************* Genes: \"+(System.currentTimeMillis()-t0));\n//\t\tsession.close();\n//\t\treturn genes;\n\t}",
"public Evolvable getIndividual(int index){\n\t\treturn population[index];\n\t}",
"public String getStat() {\r\n\t\treturn stat;\r\n\t}",
"public static GenomeAdapter getGenome() {\n return genomeController.getGenome();\n }",
"public void setGeneSetName(String name) {\r\n\t\tgeneSetName=name;\r\n\r\n\t}",
"public abstract void updateCurGene(int mid);",
"private int getExpectedStat(Stat stat, int individualValue, int natureValue) {\n return getExpectedStat(stat, getLevel(), individualValue, getTotalEvs(stat), baseValues, natureValue);\n\n }",
"String gini_GetEntityID(int ent_id) {\n String name;\n switch (ent_id) {\n case 2:\n name = \"Miscellaneous\";\n break;\n case 3:\n name = \"JERS\";\n break;\n case 4:\n name = \"ERS/QuikSCAT/Scatterometer\";\n break;\n case 5:\n name = \"POES/NPOESS\";\n break;\n case 6:\n name = \"Composite\";\n break;\n case 7:\n name = \"DMSP satellite Image\";\n break;\n case 8:\n name = \"GMS satellite Image\";\n break;\n case 9:\n name = \"METEOSAT satellite Image\";\n break;\n case 10:\n name = \"GOES-7 satellite Image\";\n break;\n case 11:\n name = \"GOES-8 satellite Image\";\n break;\n case 12:\n name = \"GOES-9 satellite Image\";\n break;\n case 13:\n name = \"GOES-10 satellite Image\";\n break;\n case 14:\n name = \"GOES-11 satellite Image\";\n break;\n case 15:\n name = \"GOES-12 satellite Image\";\n break;\n case 16:\n name = \"GOES-13 satellite Image\";\n break;\n case 17:\n name = \"GOES-14 satellite Image\";\n break;\n case 18:\n name = \"GOES-15 satellite Image\";\n break;\n case 19: // GOES-R\n name = \"GOES-16 satellite Image\";\n break;\n case 99: // special snowflake GEMPAK Composite Images generated by Unidata\n name = \"RADAR-MOSIAC Composite Image\";\n break;\n default:\n name = \"Unknown\";\n }\n\n return name;\n }",
"public void setGeneName(String geneName) {\n this.geneName = geneName;\n }",
"public int findGeneStart(int startAt)\n {\n //TODO: find the location, if any of the first\n // ATG sequence starting at startAt\n return -1;\n }",
"public void execFunzzySearchMapGeneByRangeFunc(){\n Map map = new HashMap();\n\n if(this.searchParam != null && this.searchParam.length()> 0 ){\n if(this.searchParam.contains(\":\")==true || this.searchParam.startsWith(\"chr\") == true){\n String chrom = \"\";\n int pstart = -1;\n int pend = -1;\n if(this.searchParam.indexOf(\":\") > -1 ){\n int idex = this.searchParam.indexOf(\":\");\n chrom = this.searchParam.substring(0,idex );\n System.out.println(\"chrom=\"+chrom);\n map.put(\"chrom\",chrom);\n if(this.searchParam.indexOf(\"-\") > -1 ){\n int idex1 = this.searchParam.indexOf(\"-\");\n pstart = Integer.parseInt(this.searchParam.substring(idex+1, idex1));\n pend = Integer.parseInt(this.searchParam.substring(idex1+1, this.searchParam.length()));\n map.put(\"startpos\",pstart);\n map.put(\"endpos\",pend);\n }else {\n pstart = Integer.parseInt(this.searchParam.substring(idex+1, this.searchParam.length()));\n map.put(\"startpos\",pstart);\n }\n\n }else if(this.searchParam.startsWith(\"chr\") == true){\n map.put(\"chrom\",this.searchParam);\n\n\n }\n }\n }\n\n if(this.searchSpecies!= null && this.searchSpecies.equals(\"null\") ==false && this.searchSpecies.equals(\"all\") == false){\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"species\",this.searchSpecies);\n }\n\n if(this.searchTrait != null && this.searchTrait.equals(\"null\") ==false && this.searchTrait.length()>0){\n\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"searchTrait\", this.searchTrait) ;\n }\n\n if(this.pvalue != null && this.pvalue.equals(\"null\") ==false && this.pvalue.length()>0){\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"psitu\", this.psitu);\n map.put(\"pval\", this.pvalue) ;\n }\n\n\n List<MapGeneBean> tmplist = (List<MapGeneBean>) baseService.findResultList(\"cn.big.gvk.dm.MapGene.selectMapGeneCountByPosition\",map);\n if(tmplist != null && tmplist.size()>0){\n mapGeneBeanList = new ArrayList<MapGeneBean>();\n\n for(MapGeneBean tbean: tmplist){\n Map cmp = new HashMap();\n cmp.put(\"gid\",tbean.getGid());\n MapGeneBean genebean = (MapGeneBean) baseService.findObjectByObject(\"cn.big.gvk.dm.MapGene.selectMapGeneCount\",cmp);\n if(genebean != null ){\n\n Map t = new HashMap();\n t.put(\"gId\",genebean.getGid()) ;\n t.put(\"count\",\"count\");\n\n //trait count\n GwasAssociationView gwas = (GwasAssociationView) baseService.findObjectByObject(\"cn.big.gvk.dm.GwasAssociation.selectGwasViewByGeneInfo\",t);\n if(gwas != null){\n genebean.setTraitCount(gwas.getTraitCount());\n }\n\n //study count\n StudyBean study = (StudyBean) baseService.findObjectByObject(\"cn.big.gvk.dm.study.selectStudyByMapGeneId\",t);\n if(study != null ){\n genebean.setStudyCount(study.getStudyCount());\n }\n\n //publication count\n PublicationBean publication = (PublicationBean)baseService.findObjectByObject(\"cn.big.gvk.dm.publication.selectPubByGeneId\",t);\n if (publication != null ){\n genebean.setPublicationCount(publication.getPublicationCount());\n }\n mapGeneBeanList.add(genebean) ;\n }\n\n }\n }\n\n StringBuffer sb = new StringBuffer() ;\n\n if(mapGeneBeanList != null && mapGeneBeanList.size()>0){\n for(MapGeneBean mapgene: mapGeneBeanList){\n sb.append(mapgene.getMapGeneId()).append(\"\\t\").append(mapgene.getMapGeneChrom()).append(\":\")\n .append(mapgene.getMapGeneStart()).append(\"-\").append(mapgene.getMapGeneEnd()).append(\"\\t\").append(mapgene.getTraitCount()).append(\"\\t\")\n .append(mapgene.getStudyCount()).append(\"\\n\");\n }\n }\n\n if(format == 1 ){ //export txt\n this.response.reset();\n this.response.setHeader(\"Content-Disposition\",\n \"attachment;filename=export.txt\");\n this.response.setContentType(\"application/ms-txt\");\n try {\n PrintWriter pr = this.response.getWriter();\n pr.print(sb.toString());\n pr.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }",
"public void generateGenes() {\n\t\tfor(int i = 0; i < geneNumber; i++){\n\t\t\tdouble[] vector = new double[NUM_HEURISTICS];\n\t\t\tfor(int j = 0; j < NUM_HEURISTICS; j++){\n\t\t\t\t// To get a number in [-0.5, 0.5)\n\t\t\t\tvector[j] = Math.random() - 0.5;\n\t\t\t}\n\t\t\tGene newGene = new Gene(vector, true);\n\t\t\tgenepool.add(newGene);\n\t\t}\n\t}",
"private void processGeneFile(String inputFilename, String taxonID) throws IOException {\n BufferedReader reader = createInputFileReader(inputFilename);\n String line;\n String[] columns;\n \n \t// Skip the first line\n line = reader.readLine();\n while (reader.ready()) {\n line = reader.readLine();\n \t\t//writeToDebugFile(line);\n \t\tif (line.substring(0,1).equals(\"#\")) {\n \t\twriteToErrorFile(line, \"Comment\");\n \t\t\tcontinue;\n \t\t}\n columns = line.split(INPUT_COLUMN_DELIM);\n \n String rgdID = columns[0].trim();\n \n // If line contains column names (usually first line), skip it\n if (rgdID.equals(\"GENE_RGD_ID\")) continue;\n \n String geneSymbol = columns[1].trim();\n String chromosome = columns[6].trim(); \n \n \t\t// columns[14] == start base pair\n \t\t// columns[15] == end base pair\n \t\t// columns[16] == strand (- or +)\n \n String mapLocation = getMapLocation(columns[14], columns[15], columns[16].trim());\n \n // The following columns may contain multiple items\n String[] entrezGeneIDs = splitListColumn(columns[20]);\n String[] swissProtIDs = splitListColumn(columns[21]);\n String[] genBankRNAIDs = splitListColumn(columns[23]);\n String[] genBankProteinIDs = splitListColumn(columns[25]);\n String[] unigeneIDs = splitListColumn(columns[26]);\n String[] ensemblIDs;\n \n // if columns.length < 38, the last column (Ensembl ID) is missing\n // from the input file\n if (columns.length < 38) {\n // since there are no EnsemblIDs, set the variable to an empty array,\n // which is what splitListColumn() would do\n ensemblIDs = EMPTY_STRING_ARRAY;\n } else {\n //ensemblIDs = columns[37].split(INPUT_LIST_DELIM);\n ensemblIDs = splitListColumn(columns[37]);\n }\n \n // Write RGD Info\n writeToInfoFile(taxonID, RGD_ID_TYPE, rgdID, chromosome, mapLocation);\n \n // Write Gene Symbol and Ensembl ID Info and Links\n if (!geneSymbol.equals(\"\")) {\n writeToInfoFile(taxonID, \"Gene Symbol\", geneSymbol, chromosome, mapLocation);\n writeToLinksFile(RGD_ID_TYPE,rgdID,\"Gene Symbol\",geneSymbol);\n }\n for (int i = 0; i < ensemblIDs.length; i++) {\n writeToInfoFile(taxonID, \"Ensembl ID\", ensemblIDs[i], chromosome, mapLocation);\n writeToLinksFile(RGD_ID_TYPE,rgdID,\"Ensembl ID\",ensemblIDs[i]);\n }\n \n // Handle NCBI RefSeq and non-RefSeq IDs (both RNA and Protein)\n for (int i = 0; i < genBankRNAIDs.length; i++) {\n String genBankRNAID = genBankRNAIDs[i];\n if (isRefSeq(genBankRNAID)) {\n writeToLinksFile(RGD_ID_TYPE,rgdID,\"RefSeq RNA ID\",genBankRNAIDs[i]);\n } else {\n writeToLinksFile(RGD_ID_TYPE,rgdID,\"NCBI RNA ID\",genBankRNAIDs[i]);\n }\n }\n for (int i = 0; i < genBankProteinIDs.length; i++) {\n String genBankProteinID = genBankProteinIDs[i];\n if (isRefSeq(genBankProteinID)) {\n writeToLinksFile(RGD_ID_TYPE,rgdID,\"RefSeq Protein ID\",genBankProteinIDs[i]);\n } else {\n writeToLinksFile(RGD_ID_TYPE,rgdID,\"NCBI Protein ID\",genBankProteinIDs[i]);\n }\n } \n \n // create Links entries for the rest\n writeCollectionToLinksFile(RGD_ID_TYPE,rgdID,\"Entrez Gene ID\",Arrays.asList(entrezGeneIDs));\n writeCollectionToLinksFile(RGD_ID_TYPE,rgdID,\"SwissProt ID\",Arrays.asList(swissProtIDs));\n writeCollectionToLinksFile(RGD_ID_TYPE,rgdID,\"UniGene ID\",Arrays.asList(unigeneIDs));\n } \n reader.close();\n }",
"@Override\n public Individual selectIndividual(Population population, Individual individual, MersenneTwister rnd, ExperimentalData expData, Statistics stats) {\n List<Integer> indexIndividuals = new ArrayList<>();\n Integer bigger = -1;\n double[] outputs = expData.getDataset(Utils.DatasetType.TRAINING).getOutputs();\n int index = identifyCloserIndividual(population, individual, outputs, indexIndividuals, bigger, rnd);\n getStatisticsDim(individual, population.get(index), stats, outputs);\n return population.get(index);\n }",
"protected float getFitness()\t\t\t{\treturn fitness;\t\t}",
"public interface GAIndividual\r\n{\r\n public void mutate(double rate);\r\n public GAIndividual directReproduce();\r\n public GAIndividual reproduce( GAIndividual i );\r\n \r\n public int getFitness();\r\n public void setFitness ( int fitness );\r\n public void setRoulette (int start, int finish);\r\n public boolean hasRouletteNumber (int winner);\r\n public String toString();\r\n}",
"public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }",
"@SuppressWarnings(\"unchecked\")\n\tprivate List<Gene> getAllByName(String name, Session session) {\n\t\tQuery query = session.createQuery(\"select distinct(g) from Xref as x1, Xref as x2, TranscriptToXref as tx1, TranscriptToXref as tx2, Dbname as db, Gene as g where\" +\n\t\t\t\t\" x1.displayId= :name and\" +\n\t\t\t\t\" x1.xrefId=tx1.xref and\" +\n\t\t\t\t\" tx1.transcript=tx2.transcript and\" +\n\t\t\t\t\" tx2.xref=x2.xrefId and\" +\n\t\t\t\t\" x2.dbname=db.dbnameId and\" +\n\t\t\t\t\" db.name='ensembl_gene' and\" +\n\t\t\t\t\" x2.displayId=g.stableId\").setParameter(\"name\", name.trim()); //and t.gene=g.geneId\" , Transcript as t\n\t\treturn (List<Gene>)query.list();\n\t}",
"public static String findGeneNew(String dna) {\n int startIdx = dna.indexOf(\"ATG\");\n if (startIdx == -1) {\n return \"\";\n }\n int taAIdx = findStopCodonIDX(dna,startIdx,\"TAA\");\n int taGIdx = findStopCodonIDX(dna,startIdx,\"TAG\");\n int tGAIdx = findStopCodonIDX(dna,startIdx,\"TGA\");\n\n\n int minIdx = 0;\n // bool 1\n if (taAIdx == -1 || (tGAIdx != -1 && tGAIdx < taAIdx)) {\n minIdx = tGAIdx;\n }\n else {\n minIdx = taAIdx;\n }\n\n // bool 2\n if (minIdx == -1 || (taGIdx != -1 && taGIdx < minIdx)) {\n minIdx = taGIdx;\n }\n\n\n if (minIdx == -1) {return \"\";}\n\n\n return dna.substring(startIdx,minIdx+3);\n }",
"GeometricalObject getObject(int index);",
"public abstract String getBiomeName();",
"public ResponseEntity<Resource> getGeneSet(\t String user\n\t\t\t\t\t\t\t\t\t\t\t\t, List<String> geneSymbols\n\t\t\t\t\t\t\t\t\t\t\t\t, UUID UUID\n\t\t\t\t\t\t\t\t\t\t\t\t, boolean directed) {\n\t\tResource resource = this.networkResourceService.getNetwork(UUID.toString(), geneSymbols, directed);\n\t\tif(resource == null) {\n\t\t\treturn new ResponseEntity<Resource>(HttpStatus.NO_CONTENT); \n\t\t} else {\n\t\t\tString contentType = \"application/octet-stream\";\n\t\t\treturn ResponseEntity.ok() .contentType(MediaType.parseMediaType(contentType))\n\t\t\t\t .header(HttpHeaders.CONTENT_DISPOSITION, \"attachment; filename=\\\"geneset.graphml\\\"\").body(resource) ;\n\t\t} \t\t\n\t}",
"public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }",
"public void execFunzzySearchMapGeneFunc(){\n Map map = new HashMap();\n\n if(this.searchParam != null && this.searchParam.length()> 0 ){\n System.out.println(this.searchParam );\n map.put(\"searchParam\",this.searchParam);\n }\n\n if(this.searchSpecies!= null && this.searchSpecies.equals(\"all\") == false){\n map.put(\"species\",this.searchSpecies);\n }\n\n if(this.searchTrait != null && this.searchTrait.equals(\"null\")==false && this.searchTrait.length()>0){\n\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"searchTrait\", this.searchTrait) ;\n }\n\n if(this.pvalue != null && this.pvalue.equals(\"null\")==false && this.pvalue.length()>0){\n\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"psitu\", this.psitu);\n map.put(\"pval\", this.pvalue) ;\n }\n\n\n\n mapGeneBeanList = (List<MapGeneBean>) baseService.findResultList(\"cn.big.gvk.dm.MapGene.selectMapGeneCount\",map);\n if(mapGeneBeanList != null ){\n for(MapGeneBean mgb: mapGeneBeanList){\n //get count\n\n Map t = new HashMap();\n t.put(\"gId\",mgb.getGid()) ;\n t.put(\"count\",\"count\");\n\n //trait count\n GwasAssociationView gwas = (GwasAssociationView) baseService.findObjectByObject(\"cn.big.gvk.dm.GwasAssociation.selectGwasViewByGeneInfo\",t);\n if(gwas != null){\n mgb.setTraitCount(gwas.getTraitCount());\n }\n\n //study count\n StudyBean study = (StudyBean) baseService.findObjectByObject(\"cn.big.gvk.dm.study.selectStudyByMapGeneId\",t);\n if(study != null ){\n mgb.setStudyCount(study.getStudyCount());\n }\n\n //publication count\n PublicationBean publication = (PublicationBean)baseService.findObjectByObject(\"cn.big.gvk.dm.publication.selectPubByGeneId\",t);\n if (publication != null ){\n mgb.setPublicationCount(publication.getPublicationCount());\n }\n }\n }\n\n StringBuffer sb = new StringBuffer() ;\n\n if(mapGeneBeanList != null && mapGeneBeanList.size()>0){\n for(MapGeneBean mapgene: mapGeneBeanList){\n sb.append(mapgene.getMapGeneId()).append(\"\\t\").append(mapgene.getMapGeneChrom()).append(\":\")\n .append(mapgene.getMapGeneStart()).append(\"-\").append(mapgene.getMapGeneEnd()).append(\"\\t\").append(mapgene.getTraitCount()).append(\"\\t\")\n .append(mapgene.getStudyCount()).append(\"\\n\");\n }\n }\n\n if(format == 1 ){ //export txt\n this.response.reset();\n this.response.setHeader(\"Content-Disposition\",\n \"attachment;filename=export.txt\");\n this.response.setContentType(\"application/ms-txt\");\n try {\n PrintWriter pr = this.response.getWriter();\n pr.print(sb.toString());\n pr.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }",
"public GenoSet getObservedGenoSet(int i) {\r\n\t\treturn ObservedGenoSet.get(i);\r\n\t}",
"@Override\n public Map<String, Tuple2<String, String>> get() {\n\n Map<String, Tuple2<String, String>> ensemblMap = Maps.newHashMap();\n try {\n final CSVParser parser = new CSVParser(this.reader, CSVFormat.TDF.withHeader());\n for (CSVRecord record : parser) {\n ensemblMap\n .put(record.get(\"Ensembl\"), new Tuple2(record.get(\"Symbol\"), record.get(\"Entrez\")));\n }\n\n } catch (IOException e) {\n log.error(e.getMessage());\n e.printStackTrace();\n }\n\n return ensemblMap;\n\n }",
"public int getG();",
"String getFor();",
"@SideOnly(Side.CLIENT)\n\tpublic BiomeGenBase getBiomeGenForCoords(final int x, final int z) {\n\t\treturn this.worldObj.getBiomeGenForCoords(x, z);\n\t}",
"public Gene(double value){\n\t\tthis(value, -1, 1, 1);\n\t}",
"public static GFDnetResult evaluateGeneNames(Graph<String> network, String genus, String species, String ontology, int version, TaskMonitor tm){\n Organism organism = new Organism(genus, species);\n if (!organism.isValid()){\n throw new IllegalArgumentException(\"The organism cannot be recognised\");\n }\n return evaluateGeneNames(network, organism, ontology, version, tm);\n }",
"public static double getSingleStat(MimsPlus image, String statname, UI ui) {\n\n ImageStatistics stats = image.getStatistics(MimsJTable.mOptions);\n\n if (statname.equals(\"area\")) {\n return stats.area;\n }\n if (statname.equals(\"mean\")) {\n return stats.mean;\n }\n if (statname.equals(\"stddev\")) {\n return stats.stdDev;\n }\n if (statname.equals(\"N/D\")) {\n return getNoverDstat(image, ui);\n }\n if (statname.equals(\"mode\")) {\n return stats.mode;\n }\n if (statname.equals(\"min\")) {\n return stats.min;\n }\n if (statname.equals(\"max\")) {\n return stats.max;\n }\n if (statname.equals(\"xcentroid\")) {\n return stats.xCentroid;\n }\n if (statname.equals(\"ycentroid\")) {\n return stats.yCentroid;\n }\n if (statname.equals(\"xcentermass\")) {\n return stats.xCenterOfMass;\n }\n if (statname.equals(\"ycentermass\")) {\n return stats.yCenterOfMass;\n }\n if (statname.equals(\"roix\")) {\n return stats.roiX;\n }\n if (statname.equals(\"roiy\")) {\n return stats.roiY;\n }\n if (statname.equals(\"roiwidth\")) {\n return stats.roiWidth;\n }\n if (statname.equals(\"roiheight\")) {\n return stats.roiHeight;\n }\n if (statname.equals(\"major\")) {\n return stats.major;\n }\n if (statname.equals(\"minor\")) {\n return stats.minor;\n }\n if (statname.equals(\"angle\")) {\n return stats.angle;\n }\n if (statname.equals(\"sum\")) {\n return (stats.pixelCount * stats.mean);\n }\n if (statname.equals(\"median\")) {\n return stats.median;\n }\n if (statname.equals(\"kurtosis\")) {\n return stats.kurtosis;\n }\n\n return -999;\n }",
"public interface GeneFunctions {\n /**\n * Metoda zwraca randomowy gen\n * \n * @return randomowy gen\n */\n public int randomGene();\n\n /**\n * Metoda mutuje gen i zwraca go\n * \n * @param gene\n * gen\n * @return zmutowany gen\n */\n public int mutateGene(int gene);\n}",
"private static Genome readGenomeFromPool(String fileName)\n {\n return readGenome(GENE_POOL_LOCATION + fileName);\n }",
"public IAgent getAgent(final IScope scope) {\n\t\tfinal ITopLevelAgent root = scope.getRoot();\n\t\tIPopulation<? extends IAgent> pop = root.getPopulation();\n\t\tIAgent currentAgent = pop.getAgent(indexes[indexes.length - 1]);\n\t\tif (species.length == 1)\n\t\t\treturn currentAgent;\n\n\t\tfor (int i = species.length - 2; i >= 0; i--) {\n\t\t\tpop = currentAgent.getPopulationFor(species[i]);\n\t\t\tcurrentAgent = pop.getAgent(indexes[i]);\n\t\t}\n\t\treturn currentAgent;\n\n\t}",
"public Pair<List<Genotype>, GenotypeLocusData> calculateGenotype(RefMetaDataTracker tracker, char ref, AlignmentContext context, DiploidGenotypePriors priors) {\n HashMap<String, AlignmentContextBySample> contexts = splitContextBySample(context);\n if ( contexts == null )\n return null;\n \n initializeAlleleFrequencies(contexts.size());\n \n // run joint estimation for the full GL contexts\n initializeGenotypeLikelihoods(ref, contexts, StratifiedContext.OVERALL);\n calculateAlleleFrequencyPosteriors(ref, context.getLocation());\n return createCalls(tracker, ref, contexts, context.getLocation());\n }",
"@Test\n public void testGetChromosome() throws Exception {\n Stats stat = sf.ofChromosome(chromosome);\n\n // Check that the chromosome was added to the stats object\n assertEquals(chromosome, stat.getChromosome());\n }",
"private static List<String> getGenOneChaos(Connection conn) {\n\t\tList<String> genOneNames = new ArrayList<String>();\n\t\tString sqlQuery = \"SELECT name FROM Chao WHERE generation = 1;\";\n\t\tResultSet rs = SQLManager.queryFromDB(conn, sqlQuery); \n\t\ttry {\n\t\t\twhile (rs.next()) {\n\t\t\t\tgenOneNames.add(rs.getString(1));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn genOneNames;\n\t}",
"public Genero getGenero()\r\n/* 143: */ {\r\n/* 144:261 */ return this.genero;\r\n/* 145: */ }",
"ParticipantVisit getSampleInfo(Container studyContainer, User user, String globalUniqueId) throws SQLException;",
"public Family getFamily() {\r\n return pic_.getFamily();\r\n }",
"private Set<String> getSubNetGenes(String organism, String file) {\n\n\t\tSet<String> localSubNetGenes = Sets.newHashSet();\n\t\tDocument doc = openDoc(file);\n\n\t\t// Now I got the doc. So I can traverse the file\n\t\tElement root = doc.getDocumentElement();\n\n\t\tNodeList nodes = root.getChildNodes();\n\n\t\tfor (int i = 0; i < nodes.getLength(); i++) {\n\t\t\tNode node = nodes.item(i);\n\n\t\t\tif (node.getNodeName().equals(\"entry\")) {\n\n\t\t\t\tString localName = null;\n\t\t\t\tString objType = null;\n\n\t\t\t\tNamedNodeMap localAttrs = node.getAttributes();\n\n\t\t\t\tfor (int k = 0; k < localAttrs.getLength(); k++) {\n\n\t\t\t\t\tNode localAt = localAttrs.item(k);\n\n\t\t\t\t\tif (localAt.getNodeName().equals(\"name\")) {\n\t\t\t\t\t\tlocalName = localAt.getNodeValue();\n\t\t\t\t\t} else if (localAt.getNodeName().equals(\"type\")) {\n\t\t\t\t\t\tobjType = localAt.getNodeValue();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tprocessEntry(localSubNetGenes, localName, objType);\n\t\t\t}\n\n\t\t}\n\t\treturn localSubNetGenes;\n\t}",
"public gov.nih.nlm.ncbi.www.SeqIdDocument.SeqId.Genbank getGenbank()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n gov.nih.nlm.ncbi.www.SeqIdDocument.SeqId.Genbank target = null;\r\n target = (gov.nih.nlm.ncbi.www.SeqIdDocument.SeqId.Genbank)get_store().find_element_user(GENBANK$8, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target;\r\n }\r\n }",
"public UGen getGUGen() {\r\n\t\tif (isGStatic) {\r\n\t\t\treturn null;\r\n\t\t} else {\r\n\t\t\treturn gUGen;\r\n\t\t}\r\n\t}",
"protected String retrieveOrganismScientificName(String taxId) throws BridgeFailedException {\n if (this.taxIdToScientificName.containsKey(taxId)){\n return this.taxIdToScientificName.get(taxId);\n }\n\n Organism term = this.taxonomyService.fetchByTaxID(Integer.parseInt(taxId));\n\n if (term == null){\n this.taxIdToScientificName.put(taxId, null);\n return null;\n }\n\n String scientificName = term.getScientificName();\n this.taxIdToScientificName.put(taxId, scientificName);\n\n return scientificName;\n }",
"public String getAllele1(int index);",
"public GeometricalObject getObject(int index);",
"private void getInitialGeneData(String fileName) {\n Scanner scanner = null;\n try {\n scanner = new Scanner(new FileReader(fileName));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n assert scanner != null;\n while (scanner.hasNextLine()) {\n String line = scanner.nextLine();\n String[] parts = line.split(\",\");\n String geneName = parts[0];\n int geneDuration = Integer.parseInt(parts[1]);\n Gene gene = new Gene(geneName, geneDuration);\n genes.put(geneName, gene);\n if (!durationGenes.containsKey(geneDuration)) {\n durationGenes.put(geneDuration, new ArrayList<String>() {{\n add(geneName);\n }});\n }\n else {\n ArrayList<String> temp = durationGenes.get(geneDuration);\n temp.add(geneName);\n }\n }\n }",
"public String getStatName() {\n return statName;\n }",
"public static GenomeAdapter createGenome(File f) throws Throwable {\n return createGenome(TrackUtils.createTrack(f)[0]);\n }",
"public Integer getStat() {\r\n return stat;\r\n }",
"protected boolean hasGene(int innovation) {\n\t\treturn genes.containsKey(innovation);\n\t}",
"public Bio getBio() {\n return bio;\n }",
"public String toString()\n {\n return statName + \": \" + statValue + \"\\n\";\n }",
"@NonNull\n public @EntityType String getEntity(int index) {\n return mEntityConfidence.getEntities().get(index);\n }",
"public RobotInfo get(int id){\n \treturn info[id % HASH];\n }",
"public java.math.BigInteger getGi()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GI$22, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getBigIntegerValue();\r\n }\r\n }",
"public String getParentGenus() {\n return parentGenus;\n }"
]
| [
"0.6561237",
"0.6162974",
"0.61601925",
"0.61585665",
"0.6093429",
"0.59923863",
"0.5975429",
"0.58568984",
"0.5726579",
"0.5723101",
"0.569237",
"0.56726557",
"0.55992824",
"0.55295616",
"0.54954237",
"0.54302335",
"0.5388552",
"0.5357359",
"0.533688",
"0.5335798",
"0.53226274",
"0.53018314",
"0.52893734",
"0.52641195",
"0.52541614",
"0.5240333",
"0.5237561",
"0.5229366",
"0.5216136",
"0.5158749",
"0.5095973",
"0.5055536",
"0.50470996",
"0.50470996",
"0.5039787",
"0.50278497",
"0.49931064",
"0.49780217",
"0.49168253",
"0.49153385",
"0.49121803",
"0.49119994",
"0.4878018",
"0.48654282",
"0.48569843",
"0.4854965",
"0.4845237",
"0.48387542",
"0.4837067",
"0.48352998",
"0.48274735",
"0.4784437",
"0.47823316",
"0.47797117",
"0.477078",
"0.47622117",
"0.47432026",
"0.47278753",
"0.4727609",
"0.47256166",
"0.4725549",
"0.4717485",
"0.46954736",
"0.46912238",
"0.469072",
"0.46898422",
"0.46887797",
"0.4682795",
"0.46744323",
"0.46734256",
"0.4665879",
"0.46479988",
"0.46450052",
"0.46425584",
"0.46278185",
"0.46207947",
"0.46200842",
"0.46129087",
"0.46095765",
"0.46063808",
"0.45973423",
"0.45960122",
"0.45925888",
"0.45831466",
"0.45802635",
"0.45764056",
"0.45607945",
"0.45593128",
"0.45587677",
"0.45571667",
"0.45566207",
"0.45537412",
"0.4552703",
"0.45509806",
"0.45507511",
"0.4548239",
"0.45475447",
"0.45460936",
"0.45450482",
"0.45423046"
]
| 0.6684951 | 0 |
Fetches the stat corresponding to a gene | Optional<IAgriStat> getStatForGene(@Nullable IAgriGene<Integer> gene); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Optional<IAgriGene<Integer>> get(@Nullable IAgriStat stat);",
"int getGeneId();",
"public String getGeneName(int row);",
"public String getStat() {\r\n\t\treturn stat;\r\n\t}",
"public String execGetMapGeneFunc(){\n Map map = new HashMap();\n\n if(this.searchParam != null && this.searchParam.length()> 0 ){\n System.out.println(this.searchParam );\n map.put(\"searchParam\",this.searchParam);\n }\n\n if(this.searchSpecies!= null && this.searchSpecies.equals(\"all\") == false){\n map.put(\"species\",this.searchSpecies);\n }\n\n\n\n int offset = -1;\n int limit = -1;\n\n int pageno = 0;\n int pagesize = 0;\n int totalcount = -1;\n\n if( (this.totalCount!=null && this.totalCount.equals(\"-1\")==false)){\n totalcount = Integer.parseInt(totalCount);\n }\n\n if(this.isFirstSearchFlag == 0){\n if(totalCount != null && totalCount.length()>0){\n totalcount = Integer.parseInt(totalCount);\n }\n }\n\n if(this.pageNo != null ){\n pageno = (int)this.pageNo;\n }\n\n if(this.pageSize != null ){\n pagesize = (int) this.pageSize;\n }\n\n\n if(totalcount != -1){\n page = new Page(totalcount, pageno, pagesize, 0);\n\n if (this.page.getPageSize() > totalcount){\n offset = this.page.getRowFrom() -1 ;\n limit = totalcount ;\n }else {\n offset = this.page.getRowFrom() -1;\n limit = this.page.getPageSize() ;\n }\n }else{\n //first compute count\n offset = 0 ;\n limit =10;\n\n map.put(\"count\",\"count\");\n GwasAssociationBean gwasbean = (GwasAssociationBean) baseService.findObjectByObject(\"cn.big.gvk.dm.GwasAssociation.selecTraitByFuzzySearch\",map);\n if(gwasbean!=null ){\n System.out.println(\"count=\"+gwasbean.getTraitCount());\n totalcount = gwasbean.getTraitCount();\n }\n map.remove(\"count\");\n }\n\n\n List<GwasAssociationBean> t_gwasAssociationList =(List<GwasAssociationBean>) baseService.findResultList(\"cn.big.gvk.dm.GwasAssociation.selecTraitByFuzzySearch\",map);\n\n if(t_gwasAssociationList != null && t_gwasAssociationList.size()>0) {\n\n List traitlist = new ArrayList();\n for (GwasAssociationBean gwas : t_gwasAssociationList) {\n System.out.println(\"gwas.getGenotypeId()\"+gwas.getGenotypeId());\n traitlist.add(gwas.getGenotypeId());\n }\n Map t = new HashMap();\n t.put(\"genotypelist\",traitlist);\n\n this.genotypeAnnotateGeneViewList = (List<GenotypeAnnotateGeneView>) baseService.findResultList(\"cn.big.gvk.dm.Genotype.selectGenotypeByList\",t);\n\n }\n\n return SUCCESS;\n\n }",
"public String getGeneName() {\n return geneName;\n }",
"public int randomGene();",
"public Integer getStat() {\r\n return stat;\r\n }",
"public Integer getStat() {\n return stat;\n }",
"public Integer getStat() {\n return stat;\n }",
"public String getStringOfGene()\n {\n String print = \"\";\n for(int x = 0; x < numOfCoef; x++)\n {\n print = print +\"||\"+ vectOfCoef.get(x);\n }\n return print;\n }",
"public int getStat(Stat stat) {\n return stats.get(stat);\n }",
"public String get_gene_id() {\n return m_gene_id;\n }",
"public RefSeq getGeneAnn() {\n\t\treturn geneAnn;\n\t}",
"public double getGene(int x)\n {\n return this.vectOfCoef.get(x);\n }",
"double fitness(int gene) {\r\n \tint sum = 0;\r\n \tint prod= 1;\r\n \tfor (int j=0; j<LEN; j++) {\r\n \t\tif (oldpop[gene][j]==0) {\r\n \t\t\tsum += (j+1);\r\n \t\t} else {\r\n \t\t\tprod *= (j+1);\r\n \t\t}\r\n \t}\r\n \treturn Math.abs(sum - SUMTARG)/SUMTARG \r\n \t + Math.abs(prod - PRODTARG)/PRODTARG;\r\n }",
"protected Gene getGene(int innovation) {\n\t\treturn genes.get(innovation);\n\t}",
"public int getStat() {\n return statUse.getNumerator();\n }",
"int load( String geneFile, String taxonName ) throws Exception;",
"public abstract double getFitness(Genotype genotype);",
"MaterialStatsId getStatType();",
"public int mutateGene(int gene);",
"public Map<String, Gene> getGenes() {\n return genes;\n }",
"@Override\n\tpublic void getStat(Map<String, String> map) {\n\t\t\n\t}",
"protected abstract String getStatistics();",
"public String getGeneList() {\n return geneList;\n }",
"public abstract Genome getGenome();",
"Map<String, Set<String>> stat(String arg);",
"@Updatable\n public String getExtendedStatistic() {\n return extendedStatistic;\n }",
"Map<String, Object> getStats();",
"org.hl7.fhir.Integer getReadCoverage();",
"protected Gene getRandomGene() {\n\t\tArrayList<Gene> genearr = new ArrayList<Gene>();\n\t\tgenearr.addAll(genes.values());\n\t\treturn genearr.get(Braincraft.randomInteger(genearr.size()));\n\t}",
"public int getG();",
"private static List<Gene> getGenePool() {\n List<Gene> list = new ArrayList<>();\n\n Item item1 = new Item();\n item1.setName(\"Swiss Army Knife\");\n item1.setWeight(0.08125);\n item1.setVal(15);\n Gene gene1 = new Gene(item1);\n\n Item item2 = new Item();\n item2.setName(\"Duct Tape\");\n item2.setWeight(1.3);\n item2.setVal(3);\n Gene gene2 = new Gene(item2);\n\n Item item3 = new Item();\n item3.setName(\"Rope (50 feet)\");\n item3.setWeight(7);\n item3.setVal(10);\n Gene gene3 = new Gene(item3);\n\n Item item4 = new Item();\n item4.setName(\"Satellite phone\");\n item4.setWeight(2);\n item4.setVal(8);\n Gene gene4 = new Gene(item4);\n\n Item item5 = new Item();\n item5.setName(\"Elmer's Glue\");\n item5.setWeight(0.25);\n item5.setVal(2);\n Gene gene5 = new Gene(item5);\n\n Item item6 = new Item();\n item6.setName(\"Toilet Paper Roll\");\n item6.setWeight(.5);\n item6.setVal(4);\n Gene gene6 = new Gene(item6);\n\n Item item7 = new Item();\n item7.setName(\"Binoculars\");\n item7.setWeight(3);\n item7.setVal(5);\n Gene gene7 = new Gene(item7);\n\n Item item8 = new Item();\n item8.setName(\"Compass\");\n item8.setWeight(0.0573202);\n item8.setVal(15);\n Gene gene8 = new Gene(item8);\n\n Item item9 = new Item();\n item9.setName(\"Jug (pre-filled with water)\");\n item9.setWeight(4);\n item9.setVal(6);\n Gene gene9 = new Gene(item9);\n\n Item item10 = new Item();\n item10.setName(\"Flashlight\");\n item10.setWeight(2);\n item10.setVal(4);\n Gene gene10 = new Gene(item10);\n\n Item item11 = new Item();\n item11.setName(\"Box of paper clips\");\n item11.setWeight(.9);\n item11.setVal(2);\n Gene gene11 = new Gene(item11);\n\n Item item12 = new Item();\n item12.setName(\"Gloves (1 pair)\");\n item12.setWeight(.8125);\n item12.setVal(3);\n Gene gene12 = new Gene(item12);\n\n Item item13 = new Item();\n item13.setName(\"Scissors\");\n item13.setWeight(0.2);\n item13.setVal(2);\n Gene gene13 = new Gene(item13);\n\n Item item14 = new Item();\n item14.setName(\"Signal Flair (4pk)\");\n item14.setWeight(4);\n item14.setVal(5);\n Gene gene14 = new Gene(item14);\n\n Item item15 = new Item();\n item15.setName(\"Water Purifying System\");\n item15.setWeight(0.5125);\n item15.setVal(4);\n Gene gene15 = new Gene(item15);\n\n Item item16 = new Item();\n item16.setName(\"Whistle\");\n item16.setWeight(0.075);\n item16.setVal(2);\n Gene gene16 = new Gene(item16);\n\n Item item17 = new Item();\n item17.setName(\"Sleeping Bag\");\n item17.setWeight(0.38125);\n item17.setVal(4);\n Gene gene17 = new Gene(item17);\n\n Item item18 = new Item();\n item18.setName(\"Insect Repellent\");\n item18.setWeight(1.15);\n item18.setVal(3);\n Gene gene18 = new Gene(item18);\n\n Item item19 = new Item();\n item19.setName(\"Trowel\");\n item19.setWeight(0.31875);\n item19.setVal(3);\n Gene gene19 = new Gene(item19);\n\n Item item20 = new Item();\n item20.setName(\"Lighter\");\n item20.setWeight(.2);\n item20.setVal(4);\n Gene gene20 = new Gene(item20);\n\n Item item21 = new Item();\n item21.setName(\"Safety Horn\");\n item21.setWeight(.21);\n item21.setVal(3);\n Gene gene21 = new Gene(item21);\n\n Item item22 = new Item();\n item22.setName(\"Headlamp\");\n item22.setWeight(.8);\n item22.setVal(4);\n Gene gene22 = new Gene(item22);\n\n Item item23 = new Item();\n item23.setName(\"Freeze Dried Food Kit\");\n item23.setWeight(2);\n item23.setVal(6);\n Gene gene23 = new Gene(item23);\n\n Item item24 = new Item();\n item24.setName(\"Sunscreen\");\n item24.setWeight(.5);\n item24.setVal(4);\n Gene gene24 = new Gene(item24);\n\n Item item25 = new Item();\n item25.setName(\"Trekking Pole (Adjustable)\");\n item25.setWeight(1.3);\n item25.setVal(4);\n Gene gene25 = new Gene(item25);\n\n Item item26 = new Item();\n item26.setName(\"Counter Assault Bear Spray\");\n item26.setWeight(.5);\n item26.setVal(4);\n Gene gene26 = new Gene(item26);\n\n Item item27 = new Item();\n item27.setName(\"Insect Spray\");\n item27.setWeight(.5);\n item27.setVal(3);\n Gene gene27 = new Gene(item27);\n\n Item item28 = new Item();\n item28.setName(\"Hand sanitizer\");\n item28.setWeight(.625);\n item28.setVal(3);\n Gene gene28 = new Gene(item28);\n\n Item item29 = new Item();\n item29.setName(\"Mirror\");\n item29.setWeight(.5);\n item29.setVal(3);\n Gene gene29 = new Gene(item29);\n\n Item item30 = new Item();\n item30.setName(\"First Aid Kit\");\n item30.setWeight(3);\n item30.setVal(6);\n Gene gene30 = new Gene(item30);\n\n list.add(gene1);\n list.add(gene2);\n list.add(gene3);\n list.add(gene4);\n list.add(gene5);\n list.add(gene6);\n list.add(gene7);\n list.add(gene8);\n list.add(gene9);\n list.add(gene10);\n list.add(gene11);\n list.add(gene12);\n list.add(gene13);\n list.add(gene14);\n list.add(gene15);\n list.add(gene16);\n list.add(gene17);\n list.add(gene18);\n list.add(gene19);\n list.add(gene20);\n list.add(gene21);\n list.add(gene22);\n list.add(gene23);\n list.add(gene24);\n list.add(gene25);\n list.add(gene26);\n list.add(gene27);\n list.add(gene28);\n list.add(gene29);\n list.add(gene30);\n\n return list;\n }",
"public String getStato() {\n\t\t\treturn stato;\n\t\t}",
"public Statistic<?> getStatistic() {\n return statistic;\n }",
"public FileDesc getFileDescByGid(String fileGID) {\n\t\tFileDesc result = null;\n\n\t\ttry {\n\t\t\tjava.sql.PreparedStatement ps = ((org.inria.jdbc.Connection) db).prepareStatement(TCell_QEP_IDs.QEP.EP_getFileDescByGid);\n\t\t\tps.setString(1, fileGID);\n\t\t\tResultSet rs = ps.executeQuery();\n\n\t\t\tString query = \"SELECT FILEID, SECRETKEY, IV FROM FILE WHERE FILEGID =\"+ fileGID +\")\";\n\t\t\tSystem.out.println(\"Executing query : \" + query);\t\t\t\n\n\n\t\t\twhile (rs.next()) {\n\t\t\t\tString fileID = rs.getString(1);\n\t\t\t\tString sKey = rs.getString(2);\n\t\t\t\tString iv = rs.getString(3);\n\t\t\t\tresult = new FileDesc(fileGID,fileID, sKey, iv,\"\",\"\");\n\t\t\t}\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\t// Uncomment when the close function will be implemented\n\t\t\t// attemptToClose(ps);\n\n\t\t}\n\n\t\treturn result;\n\t}",
"Energy getLoad();",
"static ProcStat fetch(Sigar sigar) throws SigarException {\n ProcStat procStat = new ProcStat();\n procStat.gather(sigar);\n return procStat;\n }",
"int getG();",
"@DISPID(6) //= 0x6. The runtime will prefer the VTID if present\r\n @VTID(13)\r\n short stat();",
"public GeneticCode getGeneticCode() {\n\t\treturn _geneticCode;\n\t}",
"public String getVeriStat()\n\t{\n\t\treturn veriStat;\n\t}",
"public int findGeneStart()\n {\n return findGeneStart(0);\n }",
"public int getHealth() {\n return getStat(health);\n }",
"void update(String selectedGene);",
"@GET\n @Path(\"/generation/{generationId}\")\n @Produces(MediaType.APPLICATION_JSON)\n @Consumes(MediaType.APPLICATION_JSON)\n public CommonGenerationDTO getGeneration(@PathParam(\"generationId\") final Long generationId) {\n\n CcGenerationEntity generationEntity = service.findGenerationById(generationId);\n return sensitiveInfoService.filterSensitiveInfo(conversionService.convert(generationEntity, CommonGenerationDTO.class),\n Collections.singletonMap(Constants.Variables.SOURCE, generationEntity.getSource()));\n }",
"public int getGold();",
"public double getAttribute(ExtendedStatistic statistic) {\n try {\n return cacheStatisticManager.getAttribute(statistic);\n } catch (ExtendedStatisticNotFoundException e) {\n log.unableToGetStatistic(statistic, e);\n }\n return 0;\n }",
"public String getStat( String strStatName ) throws StatNotFoundException\r\n {\r\n _listStat = SpringContextService.getBeansOfType( ISqlStat.class );\r\n String strResult = (String) getFromCache( strStatName.toLowerCase( ) );\r\n\r\n if ( strResult == null )\r\n {\r\n boolean bFound = false;\r\n\r\n for ( ISqlStat stat : _listStat )\r\n {\r\n if ( strStatName.equalsIgnoreCase( stat.getName( ) ) )\r\n {\r\n JsonResponse json = new JsonResponse( stat.getResult( ) );\r\n strResult = JsonUtil.buildJsonResponse( json );\r\n putInCache( strStatName, strResult );\r\n bFound = true;\r\n\r\n break;\r\n }\r\n }\r\n\r\n if ( !bFound )\r\n {\r\n throw new StatNotFoundException( strStatName );\r\n }\r\n }\r\n\r\n return strResult;\r\n }",
"@Override\n public void retrieveStats() throws Exception {\n if (!this.useStats) {\n throw new IllegalStateException(\"Accessor is not using statistics in current context.\");\n }\n /*\n * We are using file-level stats therefore if file has multiple splits,\n * it's enough to return count for a first split in file.\n * In case file has multiple splits - we don't want to duplicate counts.\n */\n if (context.getFragmentIndex() == 0) {\n this.count = this.orcReader.getNumberOfRows();\n rowToEmitCount = readNextObject();\n }\n statsInitialized = true;\n }",
"DGUsage getUsage();",
"public void updateGeneFile(String species,String szoutfile,int[] npercentdone,int nstatusfield,\n\t\t\t Object lockpd) throws IOException \n {\t \n // try opening the configuration file\n BufferedReader brspecies = new BufferedReader(new FileReader(m_file));\n\t \n // read line by line and try to find the species\n String ln = \"\";\n String[] fields = null;\n boolean bfound = false;\n while ((!bfound)&&((ln = brspecies.readLine()) != null)) \n {\n fields = ln.split(\",\");\n\t String[] szIDpre = fields[0].split(\"_\");\n\t // is this the right species?\n\t if (szIDpre[0].equalsIgnoreCase(species))\n\t {\n\t bfound = true;\n\t }\n }\n // close the file\n brspecies.close();\n\n if (!bfound) \n {\n\t //species was not found throw an errir\n throw new IllegalArgumentException(\"The species provided - \" + species + \" - is not found in \"+m_file);\n } \n\n if (fields.length < 2)\n {\n\t throw new IllegalArgumentException(\"Line \"+ln+\" in \"+m_file+\" only has one entry, no delimiting ',' found\");\n } \n\t \n String xmlMessagePre, //The initial part of the message needed for both \n\t xmlMessagePost, //The part of the message immediately after the query params\n\t //These are the non-alias attributes\n \t xmlMessageEnding, //The last part of the message needed\n\t xmlMessageCount1, //Specifies query params where count=1 \n\t //meaning just a count of numrecords satisfying query is returned\n\t xmlMessageCountEmpty; //Specifies query params where count is empty meaning \n //the query actually returns the records\n\n // construct the xml message for the request\n xmlMessagePre = \"<?xml version = \\\"1.0\\\" encoding = \\\"UTF-8\\\"?>\";\n xmlMessagePre += \"<!DOCTYPE Query>\";\n\n xmlMessageCount1 = \"<Query virtualSchemaName = \\\"default\\\" uniqueRows = \\\"1\\\" count = \\\"1\\\" softwareVersion = \\\"0.6\\\" >\";\n xmlMessageCountEmpty = \"<Query virtualSchemaName = \\\"default\\\" uniqueRows = \\\"1\\\" count = \\\"\\\" softwareVersion = \\\"0.6\\\" >\";\n\n xmlMessagePost = \"<Dataset name = \\\"\" + fields[0] + \"\\\" interface = \\\"default\\\" >\";\n xmlMessagePost += \"<Attribute name = \\\"chromosome_name\\\" />\";\n xmlMessagePost += \"<Attribute name = \\\"start_position\\\" />\";\n xmlMessagePost += \"<Attribute name = \\\"end_position\\\" />\";\n xmlMessagePost += \"<Attribute name = \\\"strand\\\" />\";\n xmlMessagePost += \"<Attribute name = \\\"ensembl_gene_id\\\" />\";\n\n xmlMessageEnding = \"</Dataset>\";\n xmlMessageEnding += \"</Query>\";\n\n String xmlMessageCount = xmlMessagePre + xmlMessageCount1 + xmlMessagePost + xmlMessageEnding;\n nsingleset = executeCountQuery(xmlMessageCount);\n\n // output file writer\n BufferedOutputStream bos = new BufferedOutputStream(new\n\t \t\t\t GZIPOutputStream(new FileOutputStream(szoutfile)));\n //write in the species name in the first line of the file\n \n //writes the species field to the file \n String szeol = System.getProperty(\"line.separator\");\n String szspecieseol = fields[1] + szeol;\n byte[] lnb = szspecieseol.getBytes();\n bos.write(lnb,0,lnb.length);\n\n\n String xmlMessage = xmlMessagePre + xmlMessageCountEmpty + xmlMessagePost;\n // messages can contain at most 3 alias attributes\n // if we have more than that, need too break\n // up into several requests\n boolean run_last = true;\n nline = 0; //we haven't read any lines yet\n String query;\n\n HashSet hsvalidAttributes = getValidAttributes(fields[0]);\n\n // add in species-specific gene ids\n if (fields.length > 2) \n {\n String[] aliases = fields[2].split(\":\");\n\t numrecs = nsingleset*((int) Math.ceil(aliases.length/(double)NMAXATTR));\n\t query = xmlMessage;\n\t for (int i = 0; i < aliases.length; i++) \n {\n\t if (hsvalidAttributes.contains(aliases[i]))\n\t { \n\t query += \"<Attribute name = \\\"\" + aliases[i] + \"\\\" />\";\n\t // a query is being constructed. It might\n\t // need to be run through the last request\n\t run_last = true;\n\t\t \n\t if (i % NMAXATTR == (NMAXATTR-1)) \n {\n\t\t //last alias attribute of the query, going to execute it\n\t query += xmlMessageEnding;\n\t // close the xml doc\n\t executeQuery(bos, query,npercentdone,nstatusfield,lockpd);\n\t\n\t // reset query for reuse\n\t query = xmlMessage;\n\t // all attributes so far have been processed\n\t // no need to run the last request\n\t run_last = false;\n\t }\n\t }\n\t }\n }\n else\n {\n query = xmlMessage;\n } \n\t \n // last request. Picks up everything not processed by loop above.\n // including if the loop above wasn't executed at all because\n // there were no extra aliases to query.\n if (run_last)\n {\n\t query += xmlMessageEnding;\t\n\t executeQuery(bos, query,npercentdone,nstatusfield,lockpd);\n }\n // close the xml doc\t\n bos.close();\t\n }",
"public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }",
"public void execFunzzySearchMapGeneFunc(){\n Map map = new HashMap();\n\n if(this.searchParam != null && this.searchParam.length()> 0 ){\n System.out.println(this.searchParam );\n map.put(\"searchParam\",this.searchParam);\n }\n\n if(this.searchSpecies!= null && this.searchSpecies.equals(\"all\") == false){\n map.put(\"species\",this.searchSpecies);\n }\n\n if(this.searchTrait != null && this.searchTrait.equals(\"null\")==false && this.searchTrait.length()>0){\n\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"searchTrait\", this.searchTrait) ;\n }\n\n if(this.pvalue != null && this.pvalue.equals(\"null\")==false && this.pvalue.length()>0){\n\n map.put(\"gwas\",\"gwas\") ;\n map.put(\"gwasend\",\"gwasend\") ;\n map.put(\"psitu\", this.psitu);\n map.put(\"pval\", this.pvalue) ;\n }\n\n\n\n mapGeneBeanList = (List<MapGeneBean>) baseService.findResultList(\"cn.big.gvk.dm.MapGene.selectMapGeneCount\",map);\n if(mapGeneBeanList != null ){\n for(MapGeneBean mgb: mapGeneBeanList){\n //get count\n\n Map t = new HashMap();\n t.put(\"gId\",mgb.getGid()) ;\n t.put(\"count\",\"count\");\n\n //trait count\n GwasAssociationView gwas = (GwasAssociationView) baseService.findObjectByObject(\"cn.big.gvk.dm.GwasAssociation.selectGwasViewByGeneInfo\",t);\n if(gwas != null){\n mgb.setTraitCount(gwas.getTraitCount());\n }\n\n //study count\n StudyBean study = (StudyBean) baseService.findObjectByObject(\"cn.big.gvk.dm.study.selectStudyByMapGeneId\",t);\n if(study != null ){\n mgb.setStudyCount(study.getStudyCount());\n }\n\n //publication count\n PublicationBean publication = (PublicationBean)baseService.findObjectByObject(\"cn.big.gvk.dm.publication.selectPubByGeneId\",t);\n if (publication != null ){\n mgb.setPublicationCount(publication.getPublicationCount());\n }\n }\n }\n\n StringBuffer sb = new StringBuffer() ;\n\n if(mapGeneBeanList != null && mapGeneBeanList.size()>0){\n for(MapGeneBean mapgene: mapGeneBeanList){\n sb.append(mapgene.getMapGeneId()).append(\"\\t\").append(mapgene.getMapGeneChrom()).append(\":\")\n .append(mapgene.getMapGeneStart()).append(\"-\").append(mapgene.getMapGeneEnd()).append(\"\\t\").append(mapgene.getTraitCount()).append(\"\\t\")\n .append(mapgene.getStudyCount()).append(\"\\n\");\n }\n }\n\n if(format == 1 ){ //export txt\n this.response.reset();\n this.response.setHeader(\"Content-Disposition\",\n \"attachment;filename=export.txt\");\n this.response.setContentType(\"application/ms-txt\");\n try {\n PrintWriter pr = this.response.getWriter();\n pr.print(sb.toString());\n pr.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n }",
"public G getData (){\n return this._data;\n }",
"public static void stringToGene( String gene ){}",
"public String getCoverage() {\n/* 98 */ return getValue(\"coverage\");\n/* */ }",
"ItemStack getEggItem(IGeneticMob geneticMob);",
"public static String getUsageByOption(String resid, String date, String option) {\n URL url = null;\n HttpURLConnection connection = null;\n String textResult = \"\";\n String methodPath = \"/entities.electricityusage/dailyUsage2/\";\n try {\n url = new URL(BASE_URI + methodPath + resid + \"/\" + date + \"/\" + option);\n // open the connection\n connection = (HttpURLConnection) url.openConnection();\n // set the time out\n connection.setReadTimeout(10000);\n connection.setConnectTimeout(15000);\n // set the connection method to GET\n connection.setRequestMethod(\"GET\");\n //add http headers to set your response type to json\n connection.setRequestProperty(\"Content-Type\", \"application/json\");\n connection.setRequestProperty(\"Accept\", \"application/json\");\n //Read the response\n Scanner inStream = new Scanner(connection.getInputStream());\n //read the input stream and store it as string\n while (inStream.hasNextLine()) {\n textResult += inStream.nextLine();\n }\n } catch (Exception e) {\n e.printStackTrace();\n }finally {\n connection.disconnect();\n }\n return textResult;\n }",
"HarvestingStatus getHarvestingStatus(String dsID) throws RepoxException;",
"@ServiceMethod(returns = ReturnType.SINGLE)\n public void getHealthStatus() {\n getHealthStatusAsync().block();\n }",
"public String getGenreName(int g) {\n this.connect();\n String sqlGenre = \"SELECT genreType FROM genres WHERE genreID = ?\";\n String genreName = \"\";\n\n try (Connection conn = this.getConnection();\n PreparedStatement genre = conn.prepareStatement(sqlGenre)) {\n genre.setInt(1,g);\n ResultSet rsG = genre.executeQuery();\n //gets genreID\n if (rsG.next()) {\n genreName = rsG.getString(\"genreType\");\n } else {\n System.out.println(\"Genre not in database!\");\n }\n } catch(SQLException e) {\n System.out.println(e.getMessage());\n }\n return genreName;\n }",
"public static double getSingleStat(MimsPlus image, String statname, UI ui) {\n\n ImageStatistics stats = image.getStatistics(MimsJTable.mOptions);\n\n if (statname.equals(\"area\")) {\n return stats.area;\n }\n if (statname.equals(\"mean\")) {\n return stats.mean;\n }\n if (statname.equals(\"stddev\")) {\n return stats.stdDev;\n }\n if (statname.equals(\"N/D\")) {\n return getNoverDstat(image, ui);\n }\n if (statname.equals(\"mode\")) {\n return stats.mode;\n }\n if (statname.equals(\"min\")) {\n return stats.min;\n }\n if (statname.equals(\"max\")) {\n return stats.max;\n }\n if (statname.equals(\"xcentroid\")) {\n return stats.xCentroid;\n }\n if (statname.equals(\"ycentroid\")) {\n return stats.yCentroid;\n }\n if (statname.equals(\"xcentermass\")) {\n return stats.xCenterOfMass;\n }\n if (statname.equals(\"ycentermass\")) {\n return stats.yCenterOfMass;\n }\n if (statname.equals(\"roix\")) {\n return stats.roiX;\n }\n if (statname.equals(\"roiy\")) {\n return stats.roiY;\n }\n if (statname.equals(\"roiwidth\")) {\n return stats.roiWidth;\n }\n if (statname.equals(\"roiheight\")) {\n return stats.roiHeight;\n }\n if (statname.equals(\"major\")) {\n return stats.major;\n }\n if (statname.equals(\"minor\")) {\n return stats.minor;\n }\n if (statname.equals(\"angle\")) {\n return stats.angle;\n }\n if (statname.equals(\"sum\")) {\n return (stats.pixelCount * stats.mean);\n }\n if (statname.equals(\"median\")) {\n return stats.median;\n }\n if (statname.equals(\"kurtosis\")) {\n return stats.kurtosis;\n }\n\n return -999;\n }",
"public java.util.List<java.lang.String> getGeneIds() {\n return geneIds;\n }",
"public Bag getStats(){\n\treturn stats;\n }",
"public void setStat(String stat) {\r\n\t\tthis.stat = stat;\r\n\t}",
"public int getHealth();",
"public String toString()\n {\n return statName + \": \" + statValue + \"\\n\";\n }",
"public int getG(Estado e)\n{\n return e.getProfundidad();\n}",
"public ResponseEntity<Resource> getGeneSet(\t String user\n\t\t\t\t\t\t\t\t\t\t\t\t, List<String> geneSymbols\n\t\t\t\t\t\t\t\t\t\t\t\t, UUID UUID\n\t\t\t\t\t\t\t\t\t\t\t\t, boolean directed) {\n\t\tResource resource = this.networkResourceService.getNetwork(UUID.toString(), geneSymbols, directed);\n\t\tif(resource == null) {\n\t\t\treturn new ResponseEntity<Resource>(HttpStatus.NO_CONTENT); \n\t\t} else {\n\t\t\tString contentType = \"application/octet-stream\";\n\t\t\treturn ResponseEntity.ok() .contentType(MediaType.parseMediaType(contentType))\n\t\t\t\t .header(HttpHeaders.CONTENT_DISPOSITION, \"attachment; filename=\\\"geneset.graphml\\\"\").body(resource) ;\n\t\t} \t\t\n\t}",
"public String getGenus() {\n return genus;\n }",
"public String getStatistics() throws IOException{\n initiateWordCount();\n getHamStatistics(); \n getSpamStatistics();\n return printStatistics(); \n }",
"public Integer getHealth();",
"public void obtenerHistoricoEstatusCliente(Cliente cliente)\n throws MareException {\n UtilidadesLog.info(\" DAOSolicitudes.obtenerHistoricoEstatusCliente(\"\n +\"Cliente cliente):Entrada\");\n BelcorpService bs;\n RecordSet respuesta;\n String codigoError;\n StringBuffer query = new StringBuffer();\n\n try {\n bs = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError));\n }\n\n try {\n query.append(\" SELECT ESTA_OID_ESTA_CLIE, OID_HIST_ESTA, \");\n query.append(\" PERD_OID_PERI, \");\n query.append(\" PERD_OID_PERI_PERI_FIN, \");\n query.append(\" PED.FEC_INIC as PED_FEC_INIC, \");\n query.append(\" PED.FEC_FINA as PED_FEC_FINA, \");\n query.append(\" PED.MARC_OID_MARC as PED_MARC_OID_MARC, \");\n query.append(\" PED.CANA_OID_CANA as PED_CANA_OID_CANA, \");\n query.append(\" PED.PAIS_OID_PAIS as PED_PAIS_OID_PAIS, \");\n query.append(\" PCD.COD_PERI as PCD_COD_PERI, \");\n query.append(\" PEH.FEC_INIC as PEH_FEC_INIC, \");\n query.append(\" PEH.FEC_FINA as PEH_FEC_FINA, \");\n query.append(\" PEH.MARC_OID_MARC as PEH_MARC_OID_MARC, \");\n query.append(\" PEH.CANA_OID_CANA as PEH_CANA_OID_CANA, \");\n query.append(\" PEH.PAIS_OID_PAIS as PEH_PAIS_OID_PAIS, \");\n query.append(\" PCH.COD_PERI as PCH_COD_PERI \");\n query.append(\" FROM MAE_CLIEN_HISTO_ESTAT, \");\n query.append(\" CRA_PERIO PED, \");\n query.append(\" SEG_PERIO_CORPO PCD, \");\n query.append(\" CRA_PERIO PEH, \");\n query.append(\" SEG_PERIO_CORPO PCH \");\n query.append(\" WHERE PERD_OID_PERI = PED.OID_PERI \");\n query.append(\" AND PED.PERI_OID_PERI = PCD.OID_PERI \");\n query.append(\" AND PERD_OID_PERI_PERI_FIN = PEH.OID_PERI(+) \");\n query.append(\" AND PEH.PERI_OID_PERI = PCH.OID_PERI(+) \");\n query.append(\" AND CLIE_OID_CLIE = \").append(cliente\n .getOidCliente());\n respuesta = bs.dbService.executeStaticQuery(query.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\" obtenerHistoricoEstatusCliente respuesta \" + respuesta); \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e, UtilidadesError.armarCodigoError(\n codigoError));\n }\n\n if (respuesta.esVacio()) {\n cliente.setHistoricoEstatusCliente(new HistoricoEstatusCliente[0]);\n } else {\n HistoricoEstatusCliente[] historico = new HistoricoEstatusCliente[\n respuesta.getRowCount()];\n\n for (int i = 0; i < respuesta.getRowCount(); i++) {\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"Pongo un historico\");\n\n Periodo periodoDesde = new Periodo();\n periodoDesde.setOidPeriodo(new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PERD_OID_PERI\")).longValue()));\n periodoDesde.setFechaDesde((Date) respuesta\n .getValueAt(i, \"PED_FEC_INIC\"));\n periodoDesde.setFechaHasta((Date) respuesta\n .getValueAt(i, \"PED_FEC_FINA\"));\n periodoDesde.setOidMarca(new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PED_MARC_OID_MARC\")).longValue()));\n periodoDesde.setOidCanal(new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PED_CANA_OID_CANA\")).longValue()));\n periodoDesde.setOidPais(new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PED_PAIS_OID_PAIS\")).longValue()));\n periodoDesde.setCodperiodo((String) respuesta\n .getValueAt(i, \"PCD_COD_PERI\"));\n\n Periodo periodoHasta;\n BigDecimal periodoFin = (BigDecimal) respuesta\n .getValueAt(i, \"PERD_OID_PERI_PERI_FIN\");\n\n if (periodoFin == null) {\n periodoHasta = null;\n } else {\n periodoHasta = new Periodo();\n periodoHasta.setOidPeriodo(new Long(periodoFin\n .longValue()));\n periodoHasta.setFechaDesde((Date) respuesta\n .getValueAt(i, \"PEH_FEC_INIC\"));\n periodoHasta.setFechaHasta((Date) respuesta\n .getValueAt(i, \"PEH_FEC_FINA\"));\n periodoHasta.setOidMarca((respuesta\n .getValueAt(i, \"PEH_MARC_OID_MARC\") != null)\n ? new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PEH_MARC_OID_MARC\")).longValue()) \n : null);\n periodoHasta.setOidCanal((respuesta\n .getValueAt(i, \"PEH_CANA_OID_CANA\") != null) \n ? new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PEH_CANA_OID_CANA\")).longValue()) \n : null);\n periodoHasta.setOidPais((respuesta\n .getValueAt(i, \"PEH_PAIS_OID_PAIS\") != null)\n ? new Long(((BigDecimal) respuesta\n .getValueAt(i, \"PEH_PAIS_OID_PAIS\")).longValue()) \n : null);\n periodoHasta.setCodperiodo((String) respuesta\n .getValueAt(i, \"PCH_COD_PERI\"));\n }\n\n historico[i] = new HistoricoEstatusCliente();\n historico[i].setOidEstatus(respuesta.getValueAt(i, \"ESTA_OID_ESTA_CLIE\")==null?null:\n new Long(((BigDecimal) respuesta.getValueAt(i, \"ESTA_OID_ESTA_CLIE\")).longValue()));\n historico[i].setPeriodoInicio(periodoDesde);\n historico[i].setPeriodoFin(periodoHasta);\n \n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 23/03/2010 \n UtilidadesLog.debug(\"Pongo un historico historico[i].setOidEs\"\n +\"tatus \" + historico[i].getOidEstatus());\n UtilidadesLog.debug(\"Pongo un historico historico[i].setPerio\"\n +\"doInicio \" + historico[i].getPeriodoInicio());\n UtilidadesLog.debug(\"Pongo un historico historico[i].setPerio\"\n +\"doFin \" + historico[i].getPeriodoFin());\n } \n }\n\n cliente.setHistoricoEstatusCliente(historico);\n }\n UtilidadesLog.info(\" DAOSolicitudes.obtenerHistoricoEstatusCliente(\"\n +\"Cliente cliente):Salida\");\n }",
"java.lang.String getBadge();",
"public String GetStatoNaveS() {\n if (this.stato == statonave.INDENNE) {\r\n return \"indenne\";\r\n }\r\n if (this.stato == statonave.COLPITA) {\r\n return \"colpita\";\r\n }\r\n if (this.stato == statonave.AFFONDATA) {\r\n return \"affondata\";\r\n } else {\r\n return \"non c'è alcuna nave!\";\r\n }\r\n }",
"com.rpg.framework.database.Protocol.BonusStats getBonusStats();",
"private int getStat(int index) {\n return Integer.parseInt(getStringStat(index));\n }",
"private BufferedReader readFile( String geneFile ) throws IOException {\n File f = new File( geneFile );\n if ( !f.canRead() ) {\n throw new IOException( \"Cannot read from \" + geneFile );\n }\n BufferedReader b = new BufferedReader( new FileReader( geneFile ) );\n log.info( \"File \" + geneFile + \" read successfully\" );\n return b;\n\n }",
"public SubGeneHitGraphInfo(SubGeneHit theHit) throws RetroTectorException {\n\t\tSUBGENENAME = theHit.PARENTSUBGENE.SUBGENENAME;\n\t\tSUBGENEGENUS = theHit.RVGENUS;\n\t\tHITSCORE = Math.round(theHit.SCORE);\n HITHOTSPOT = theHit.SGHITHOTSPOT;\n\t\tTHETRANSLATOR = theHit.SOURCEDNA.TRANSLATOR;\n\t\tmotifhitinfo = new MotifHitGraphInfo[theHit.MOTIFHITS.length];\n\t\tfor (int m=0; m<motifhitinfo.length; m++) {\n\t\t\tmotifhitinfo[m] = new MotifHitGraphInfo(theHit.getMotifHit(m));\n\t\t}\n\t}",
"@Override\r\n\tpublic HashMap<String, String> getGeunTaeData(HashMap<String, String> params) {\n\t\treturn sqlsession.selectOne(\"GeuntaeMgnt.getGeunTaeData\",params);\r\n\t}",
"int getHealth();",
"public int getCoin() {\n return getStat(coin);\n }",
"public ResponseEntity<Object> getCoverageAvailableGET( \n String lat,\n String lon) {\n long start = System.currentTimeMillis();\n CoverageAvailableType response = null;\n\n try {\n LOGGER.info(\"Processing CoverageAvailable GET endpoint request for \"\n + \"input arguments: latitude [ \"\n + lat\n + \" ], longitude [ \"\n + lon\n + \" ].\");\n response = coverageService.getCoveragesAvailable(lat, lon);\n LOGGER.info(\"CoverageAvailable GET endpoint processed in [ \"\n + (System.currentTimeMillis() - start)\n + \" ] ms.\");\n }\n catch (ApplicationException ae) {\n LOGGER.error(\"ApplicationException encountered while processing \"\n + \"CoverageAvailable GET endpoint. Input arguments: \"\n + \"latitude [ \"\n + lat\n + \" ], longitude [ \"\n + lon\n + \" ]. Error message => [ \"\n + ae.toString()\n + \" ].\");\n Error err = new Error();\n err.setCode(ae.getErrorCode());\n err.setMessage(ae.getErrorMessage());\n return new ResponseEntity<Object>(err, HttpStatus.BAD_REQUEST);\n }\n \n if (response == null) {\n LOGGER.error(\"Unable to generate a valid response for \"\n + \"CoverageAvailable GET endpoint. Input arguments: \"\n + \"latitude [ \"\n + lat\n + \" ], longitude [ \"\n + lon \n + \" ].\");\n Error err = new Error();\n err.setCode(ErrorCodes.INTERNAL_EXCEPTION.getErrorCode());\n err.setMessage(ErrorCodes.INTERNAL_EXCEPTION.getErrorMessage());\n return new ResponseEntity<Object>(err, HttpStatus.INTERNAL_SERVER_ERROR);\n }\n return new ResponseEntity<Object>(response, HttpStatus.OK);\n }",
"public JSONObject getAllStatistics() throws UnirestException;",
"int getIndividualStamina();",
"public String getStatName() {\n return statName;\n }",
"@Override\n\t@Transactional(propagation = Propagation.REQUIRED)\n\tpublic String stats(QualityQuery data) throws Exception {\n\t\treturn metaDataFetchService.stats(data);\n\t}",
"public static String findTemp(String lat, String lon) {\n //final String methodPath = \"/entities.electricityusage/\";\n //initialize\n URL url = null;\n String appid = \"appid=f93bd59bea3ab44fb8dba0d95596adfc\";\n HttpURLConnection conn = null;\n String textResult = \"\";\n //making http request\n try {\n url = new URL(WEATHER_URI + \"lat=\" + lat + \"&\" + \"lon=\" + lon + \"&\" +appid);\n // open the connection\n conn = (HttpURLConnection) url.openConnection();\n // set the time out\n conn.setReadTimeout(10000);\n conn.setConnectTimeout(15000);\n // set the connection method to GET\n conn.setRequestMethod(\"GET\");\n //add http headers to set your response type to json\n conn.setRequestProperty(\"Content-Type\", \"application/json\");\n conn.setRequestProperty(\"Accept\", \"application/json\");\n //Read the response\n Scanner inStream = new Scanner(conn.getInputStream());\n //read the input stream and store it as string\n while (inStream.hasNextLine()) {\n textResult += inStream.nextLine();\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n conn.disconnect();\n }\n return textResult;\n }",
"@Test\n public void testGetChromosome() throws Exception {\n Stats stat = sf.ofChromosome(chromosome);\n\n // Check that the chromosome was added to the stats object\n assertEquals(chromosome, stat.getChromosome());\n }",
"Status stat() throws IOException {\n Protocol protocol = this;\n synchronized (protocol) {\n Status status;\n String string2;\n Response response = this.simpleCommand(\"STAT\");\n status = new Status();\n if (response.ok && (string2 = response.data) != null) {\n try {\n StringTokenizer stringTokenizer = new StringTokenizer(response.data);\n status.total = Integer.parseInt((String)stringTokenizer.nextToken());\n status.size = Integer.parseInt((String)stringTokenizer.nextToken());\n }\n catch (Exception exception) {}\n }\n return status;\n }\n }",
"private int searchForAnnotatedRna(Genome genome) {\n int retVal = 0;\n for (Feature feat : genome.getFeatures()) {\n if (feat.getType().contentEquals(\"rna\") && Genome.SSU_R_RNA.matcher(feat.getPegFunction()).find()) {\n RnaDescriptor descriptor = new RnaDescriptor(genome, feat);\n this.reporter.recordHit(descriptor);\n retVal++;\n }\n }\n return retVal;\n }",
"public int getGenreID(String gen) {\n this.connect();\n String sqlGenre = \"SELECT genreID FROM genres WHERE genres.genreType = ?\";\n int genID = 0;\n\n try (Connection conn = this.getConnection();\n PreparedStatement genre = conn.prepareStatement(sqlGenre)) {\n genre.setString(1,gen);\n ResultSet rsG = genre.executeQuery();\n //gets genreID\n if (rsG.next()) {\n genID = rsG.getInt(\"genreID\");\n } else {\n System.out.println(\"Genre not in database!\");\n genID = addGenre(gen);\n }\n } catch(SQLException e) {\n System.out.println(e.getMessage());\n }\n return genID;\n }",
"public java.lang.String getRevStat() {\n return revStat;\n }",
"@Override\n\tpublic Statistic getStatistic() {\n\t\treturn null;\n\t}",
"private int getExpectedStat(Stat stat, int individualValue, int natureValue) {\n return getExpectedStat(stat, getLevel(), individualValue, getTotalEvs(stat), baseValues, natureValue);\n\n }",
"public void getInformation() throws IOException {\n\t\tList<Fire> listFeux = new ArrayList<Fire>();\n\t listFeux = this.collectData();\n\t \n\t if(this.previousIntensity > this.real_intensity) {\n\t \tthis.previousIntensity = this.real_intensity;\n\t }\n\t\t\n\t\tthis.alerte.resetIntensity();\t//on reset l'intensite\n\t\tthis.real_intensity = 0;\n\t\t\n\t for (Fire feu: listFeux) {\t\t//on recalcul l'intensite\n\t \tfor (CoordEntity coord: feu.getLocation()) {\n\t\t \tif ( (Math.abs(coord.getX() - this.localisation.x) < this.range) &&\n\t\t \t\t\t(Math.abs(coord.getY() - this.localisation.y) < this.range) ) {\n\t\t \t\tint intensity = this.getIntensityFromFire(feu);\n\t\t \t\tthis.addRealIntensity(intensity);\n\t\t \t\tif (this.isDetectable(feu) == true) {\n\t\t \t\t\tSystem.out.println(\"Detectable\");\n\t\t\t \t\tif (this.applyErrors() == true) {\n\t\t\t \t\t\tthis.alerte.setIntensity(intensity);\t\n\t\t\t \t\t}\n\t\t \t\t}\n\t }\t\t\n\t }\n\t }\n\t System.err.println(previousIntensity + \"/\" + this.real_intensity + \"/\" + this.alerte.getIntensity() );\n\t\t if (this.alerte.getIntensity() > previousIntensity) {\n\t\t \tthis.previousIntensity = this.real_intensity;\t//on recupere l'intensite mesuree precedement\n\t\t \tSystem.err.println(\"Alarme\");\n\t\t \tthis.triggerAlarm();\t//si il y a eu aggravation de l'etat du feu\n\t\t }\n\t}",
"private static double fitness(PMCGenotype gene, int trials)\n\t{\n\t\tController<MOVE> btc = new PacManBTController(decode(gene));\n\t\treturn runExperiment(btc, ghostController, trials);\n\t}",
"public int CalculateGeneModifications(int percent) {\n\t\treturn Math.floorDiv(percent * moveOrder.length, 100);\n\t}"
]
| [
"0.6215477",
"0.5826224",
"0.5590251",
"0.5370154",
"0.5321608",
"0.5304572",
"0.52988386",
"0.5279597",
"0.52317303",
"0.52317303",
"0.51857954",
"0.51643956",
"0.5159534",
"0.5144617",
"0.51183",
"0.5108673",
"0.509717",
"0.5073289",
"0.5072274",
"0.5058784",
"0.5003001",
"0.4998234",
"0.49717525",
"0.49655876",
"0.49649456",
"0.49500382",
"0.4916612",
"0.49067253",
"0.49046347",
"0.48894978",
"0.48878348",
"0.48866642",
"0.4838778",
"0.48178107",
"0.4802322",
"0.47973886",
"0.4793118",
"0.4764881",
"0.47385395",
"0.4736046",
"0.4729894",
"0.4722225",
"0.47082096",
"0.4705281",
"0.4703951",
"0.4699801",
"0.4696613",
"0.46672267",
"0.4648206",
"0.4635953",
"0.46266308",
"0.46148473",
"0.46117085",
"0.46086186",
"0.4603721",
"0.45919052",
"0.45809084",
"0.4567709",
"0.45547414",
"0.45501858",
"0.45473814",
"0.45473033",
"0.45463485",
"0.45386738",
"0.45379144",
"0.45342305",
"0.45324165",
"0.45265624",
"0.45245913",
"0.45212317",
"0.45201746",
"0.45135045",
"0.45044127",
"0.4502202",
"0.4500355",
"0.44948414",
"0.44921264",
"0.4486968",
"0.44857752",
"0.44855228",
"0.4483501",
"0.44813833",
"0.44727376",
"0.44724327",
"0.4468595",
"0.44658062",
"0.4463595",
"0.44626456",
"0.44602257",
"0.44563216",
"0.44499302",
"0.44477668",
"0.44455",
"0.44440585",
"0.44430715",
"0.4442116",
"0.443738",
"0.44345605",
"0.44335622",
"0.4433084"
]
| 0.67194855 | 0 |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_ID | public long getInvoice_dictionary_id() {
return invoice_dictionary_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _dictData.getPrimaryKey();\n\t}",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"Long getInvoiceId();",
"public int getC_Invoice_ID();",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public int getID(OrderItem oi){\n int id;\n id=findID(oi);\n return id;\n }",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public long getDictDataId();",
"public Integer getInvoiceDetailId() {\r\n return this.invoiceDetailId;\r\n }",
"public int getInvoiceID(){\n return invoiceID;\n }",
"public StrColumn getIprId() {\n return delegate.getColumn(\"ipr_id\", DelegatingStrColumn::new);\n }",
"public long getIdentificationDocumentID(){\n\t\treturn identificationDocumentID;\n\t}",
"Object getPrimaryKeyIDForForeignKeyID(Object foreignKeyID) throws Exception;",
"public int getLBR_DocLine_ICMS_ID();",
"public int getJP_BankDataLine_ID();",
"@Override\n\tpublic long getDictDataId() {\n\t\treturn _dictData.getDictDataId();\n\t}",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice();",
"public java.lang.String getInvoiceNo () {\n\t\treturn invoiceNo;\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"public Object getID()\n {\n return data.siObjectID;\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"public String getId ()\n {\n org.omg.CORBA.portable.InputStream $in = null;\n try {\n org.omg.CORBA.portable.OutputStream $out = _request (\"getId\", true);\n $in = _invoke ($out);\n String $result = $in.read_string ();\n return $result;\n } catch (org.omg.CORBA.portable.ApplicationException $ex) {\n $in = $ex.getInputStream ();\n String _id = $ex.getId ();\n throw new org.omg.CORBA.MARSHAL (_id);\n } catch (org.omg.CORBA.portable.RemarshalException $rm) {\n return getId ( );\n } finally {\n _releaseReply ($in);\n }\n }",
"public int getJP_BankData_ID();",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public int getLBR_DocLine_Details_ID();",
"public int getCodiceID() \r\n\t\t{\r\n\t\t\treturn CodiceID;\r\n\t\t}",
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n if (invoiceBuilder_ == null) {\n return invoice_;\n } else {\n return invoiceBuilder_.getMessage();\n }\n }",
"public int getDictID() {\n\t\treturn dictID;\n\t}",
"io.dstore.values.IntegerValue getOrderPersonId();",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n if (invoiceBuilder_ != null) {\n return invoiceBuilder_.getMessageOrBuilder();\n } else {\n return invoice_;\n }\n }",
"public long getVocubalaryId();",
"public java.lang.Long getIntBusinessID()\n\t{\n\t\treturn intBusinessID;\n\t}",
"public Integer getBiObjectID() {\r\n\t\treturn biObjectID;\r\n\t}",
"public Integer getId()\r\n\t\t{ return mapping.getId(); }",
"private Integer obtainWarehouseId(Invoice invoice) {\r\n\t\ttry {\r\n\t\t\tIManagerBean invoiceDetailBean = BeanManager.getManagerBean(InvoiceDetail.class);\r\n\t\t\tCriteria criteria = new Criteria();\r\n\t\t\tcriteria.addEqualExpression(invoiceDetailBean.getFieldName(IFinanceAlias.INVOICE_DETAIL_INVOICE_ID), invoice.getId());\r\n\t\t\tcriteria.addEqualExpression(invoiceDetailBean.getFieldName(IFinanceAlias.INVOICE_DETAIL_SOURCE), InvoiceSource.DIRECT_PURCHASE);\r\n\t\t\tIterator iter = invoiceDetailBean.getList(criteria, 0, 1).iterator();\r\n\t\t\tIncomeDetail incomeDetail = null;\r\n\t\t\tif(iter.hasNext()){\r\n\t\t\t\tInvoiceDetail invoiceDetail = (InvoiceDetail)iter.next();\r\n\t\t\t\tincomeDetail = obtainIncomeDetail(invoiceDetail.getDeliveryDetail());\r\n\t\t\t}else{\r\n\t\t\t\tcriteria = new Criteria();\r\n\t\t\t\tcriteria.addEqualExpression(invoiceDetailBean.getFieldName(IFinanceAlias.INVOICE_DETAIL_INVOICE_ID), invoice.getId());\r\n\t\t\t\titer = invoiceDetailBean.getList(criteria, 0, 1).iterator();\r\n\t\t\t\tif(iter.hasNext()){\r\n\t\t\t\t\tInvoiceDetail invoiceDetail = (InvoiceDetail)iter.next();\r\n\t\t\t\t\tincomeDetail = obtainIncomeDetail(invoiceDetail.getDeliveryDetail());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif(incomeDetail != null){\r\n\t\t\t\treturn incomeDetail.getWarehouse().getId();\r\n\t\t\t}\r\n\t\t} catch (ManagerBeanException e) {\r\n\t\t\tLOGGER.log(Level.SEVERE, \"Error obtaining warehouse for invoice with id= \" + invoice.getId(), e);\r\n\t\t}\r\n\t\treturn null;\r\n\t}",
"io.dstore.values.IntegerValue getValueLanguageId();",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder();",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public String getInoId();",
"public int getC_BankAccountDoc_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_BankAccountDoc_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}",
"public EI getHealthDocumentReferenceIdentifier() { \r\n\t\tEI retVal = this.getTypedField(19, 0);\r\n\t\treturn retVal;\r\n }",
"public Long getInvoiceNumber(String companyId) throws EntityException\n\t{\n\t\tDatastore ds = null;\n\t\tCompany cmp = null;\n\t\tInwardEntity invoice = null;\n\t\tObjectId oid = null;\n\t\tLong number = null;\n\n\t\ttry\n\t\t{\n\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\toid = new ObjectId(companyId);\n\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\tcmp = query.get();\n\t\t\tif(cmp == null)\n\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\n\t\t\tQuery<InwardEntity> invoiceQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isInvoice\", true).order(\"-invoiceSerialId\");\n\t\t\tinvoice = invoiceQuery .get();\n\n\t\t\tif(invoice == null)\n\t\t\t\tnumber = Long.valueOf(1);\n\t\t\telse\n\t\t\t\tnumber = invoice.getInvoiceSerialId() + 1;\n\t\t}\n\t\tcatch(EntityException e){\n\t\t\tthrow e;\n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tthrow new EntityException(500, null, e.getMessage(), null);\n\t\t}\n\n\t\treturn number;\n\n\t}",
"public int getInvoiceNumber() {\n return invoiceNumber;\n }",
"public int getInvoiceNumber() {\n return invoiceNumber;\n }",
"int getID()\n throws RemoteException;",
"public Integer getId() {\n return (Integer) get(\"id\");\n }",
"public Invoice getInvoiceByID(int invoiceID) throws SQLException {\n Invoice invoice;\n try (\n Connection conn = DriverManager.getConnection(Main.getDBPath());\n PreparedStatement stmt = conn.prepareStatement(\"SELECT * FROM invoice WHERE invoice_id = ?\");\n PreparedStatement productStmt = conn.prepareStatement(\"SELECT product FROM invoice_items WHERE invoice = ?\")\n ) {\n stmt.setInt(1, invoiceID);\n try (ResultSet result = stmt.executeQuery()) {\n\n //add result data to invoice object\n invoice = new Invoice(invoiceID, result.getInt(\"customer\"), result.getString(\"dato\"));\n //add all the product ids to the invoice\n productStmt.setInt(1, invoiceID);\n ResultSet productResult = productStmt.executeQuery();\n while (productResult.next()) {\n invoice.addProduct(productResult.getInt(\"product\"));\n }\n }\n }\n return invoice;\n }",
"public Number getBookDocId() {\n return (Number)getAttributeInternal(BOOKDOCID);\n }",
"public java.lang.Integer getVaccinId () {\n\t\treturn vaccinId;\n\t}",
"public final native int getId() /*-{\n\t\treturn this.id;\n\t}-*/;",
"public int getC_BPartnerRelation_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_BPartnerRelation_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}",
"public String getImpulseId() {\n return impulseId;\n }",
"public java.lang.String getPrimaryKey() {\n\t\treturn _imageCompanyAg.getPrimaryKey();\n\t}",
"public Integer getId() {\n return (Integer) get(0);\n }",
"public Integer getREC_ID() {\n return REC_ID;\n }",
"private int ricavaID(String itemSelected){\n String ogg = ricavaNome(itemSelected);\n String schema = ricavaSchema(itemSelected);\n int id = -1;\n \n Statement stmt; \n ResultSet rst;\n \n try{\n stmt = Database.getDefaultConnection().createStatement();\n \n if(modalita == TRIGGER)\n rst = stmt.executeQuery(\"SELECT T.id_trigger FROM trigger1 T WHERE T.nomeTrigger = '\" + ogg + \"' AND T.schema = '\" + schema + \"'\");\n else\n rst = stmt.executeQuery(\"SELECT P.ID_procedura FROM Procedura P WHERE P.nomeProcedura = '\" + ogg + \"' AND P.schema = '\" + schema + \"'\");\n \n while(rst.next()){\n id = rst.getInt(1);\n }\n \n stmt.close();\n }catch(SQLException e){\n mostraErrore(e);\n }\n \n return id;\n }",
"public Integer getId()\n\t{\n\t\treturn this.id; \n\t}",
"public EI getPsl19_HealthDocumentReferenceIdentifier() { \r\n\t\tEI retVal = this.getTypedField(19, 0);\r\n\t\treturn retVal;\r\n }",
"public final int getId() {\n\t\treturn this.accessor.getId();\n\t}",
"public io.dstore.values.IntegerValue getOrderPersonId() {\n return orderPersonId_ == null ? io.dstore.values.IntegerValue.getDefaultInstance() : orderPersonId_;\n }",
"com.google.protobuf.ByteString\n getRecognitionIdBytes();",
"public com.google.protobuf.ByteString\n getRecognitionIdBytes() {\n java.lang.Object ref = recognitionId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n recognitionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public Integer getId_inventario() {\r\n return id_inventario;\r\n }",
"public io.dstore.values.IntegerValue getOrderPersonId() {\n if (orderPersonIdBuilder_ == null) {\n return orderPersonId_ == null ? io.dstore.values.IntegerValue.getDefaultInstance() : orderPersonId_;\n } else {\n return orderPersonIdBuilder_.getMessage();\n }\n }",
"public java.lang.String getInsolvency_id() {\n return insolvency_id;\n }",
"public String getJP_BankData_ReferenceNo();",
"public Integer getId() {\n\t\treturn this.id;\n\t}",
"public Integer getInteger(String key) throws AgentBuilderRuntimeException {\n\t\tif (!extContainsKey(key))\n\t\t\tthrow new AgentBuilderRuntimeException(\n\t\t\t\t\t\"Dictionary does not contain key \\\"\" + key + \"\\\"\");\n\t\treturn (Integer) extGet(key);\n\t}",
"public int getLBR_NotaFiscal_ID();",
"public int getM_Warehouse_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Warehouse_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public Integer getId() {\n\t\treturn loanId; //changed LoAn_Id to loanId\r\n\t}",
"@Override\n\tpublic long getCompanyId() {\n\t\treturn _dictData.getCompanyId();\n\t}",
"public Integer getOrderItemId() {\n return orderItemId;\n }",
"@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _phieugiahan.getPrimaryKey();\n\t}",
"public int getId() {\n\t\treturn definition.get().getId();\n\t}",
"public String getId() {\n return mBundle.getString(KEY_ID);\n }",
"public int getId() {\n\t\treturn this.data.getId();\n\t}",
"public DBSequence getNotiId() {\r\n return (DBSequence)getAttributeInternal(NOTIID);\r\n }",
"public long getWordId()\n\t{\n\t\tassert this.cursor != null;\n\t\treturn this.cursor.getLong(1);\n\t}",
"public int id () {\r\n int iId;\r\n\r\n if (isNull(\"id_term1\"))\r\n \tiId = getInt(DB.id_term+\"0\");\r\n else if (isNull(\"id_term2\"))\r\n \tiId = getInt(DB.id_term+\"1\");\r\n else if (isNull(\"id_term3\"))\r\n \tiId = getInt(DB.id_term+\"2\");\r\n else if (isNull(\"id_term4\"))\r\n \tiId = getInt(DB.id_term+\"3\");\r\n else if (isNull(\"id_term5\"))\r\n \tiId = getInt(DB.id_term+\"4\");\r\n else if (isNull(\"id_term6\"))\r\n \tiId = getInt(DB.id_term+\"5\");\r\n else if (isNull(\"id_term7\"))\r\n \tiId = getInt(DB.id_term+\"6\");\r\n else if (isNull(\"id_term8\"))\r\n \tiId = getInt(DB.id_term+\"7\");\r\n else if (isNull(\"id_term9\"))\r\n \tiId = getInt(DB.id_term+\"8\");\r\n else\r\n \tiId = getInt(DB.id_term+\"9\");\r\n\r\n return iId;\r\n }",
"public String getId() {\n\t\treturn docid;\n\t}",
"public java.lang.Integer getId () {\n\t\treturn _id;\n\t}",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"ch.crif_online.www.webservices.crifsoapservice.v1_00.IdVerificationResponseData getIdVerificationResponseData();",
"protected final int get_INTEGER(int column) {\n // @AGG had to get integer as Little Endian\n if (metadata.isZos())\n return dataBuffer_.getInt(columnDataPosition_[column - 1]);\n else\n return dataBuffer_.getIntLE(columnDataPosition_[column - 1]);\n// return SignedBinary.getInt(dataBuffer_,\n// columnDataPosition_[column - 1]);\n }",
"@Override\n public Propiedad getPropiedadId(String pNumFinca) throws SQLException {\n ArrayList<Propiedad> resultado = new ArrayList<Propiedad>();\n resultado = (ArrayList<Propiedad>) bdPropiedad.selectQuery(\"SELECT * FROM PROPIEDAD WHERE \"\n + \"ID_PROPIEDAD = '\" + pNumFinca + \"'\");\n Propiedad propiedadSeleccionada = resultado.get(0);\n return propiedadSeleccionada;\n }",
"public java.lang.String getBusinessDocumentId() {\n return businessDocumentId;\n }",
"io.dstore.values.IntegerValueOrBuilder getOrderPersonIdOrBuilder();",
"public java.lang.String getID_NO() {\r\n return ID_NO;\r\n }",
"public final Integer getId() {\n\t\treturn this.id;\n\t}",
"public com.google.protobuf.ByteString\n getRecognitionIdBytes() {\n java.lang.Object ref = recognitionId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n recognitionId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public java.lang.String getBusinessDocumentId() {\n return businessDocumentId;\n }",
"public int getObjId() {\n return instance.getObjId();\n }"
]
| [
"0.6314471",
"0.6314365",
"0.63009965",
"0.6027891",
"0.5727424",
"0.56033826",
"0.5558819",
"0.55423933",
"0.5479535",
"0.5471198",
"0.5448862",
"0.53858393",
"0.5357527",
"0.5323018",
"0.53154445",
"0.5310482",
"0.5283224",
"0.5276339",
"0.52539533",
"0.5252862",
"0.5171796",
"0.5162274",
"0.51178986",
"0.5102513",
"0.50861853",
"0.5076607",
"0.5073157",
"0.507284",
"0.5058511",
"0.5041338",
"0.50225735",
"0.50119644",
"0.5009817",
"0.4997464",
"0.4996384",
"0.49902454",
"0.49893788",
"0.49301746",
"0.49242154",
"0.4918783",
"0.4909499",
"0.49081665",
"0.48956442",
"0.48784783",
"0.48669797",
"0.4863823",
"0.48588607",
"0.48312002",
"0.4830231",
"0.482949",
"0.482949",
"0.4825631",
"0.48121276",
"0.4812123",
"0.4785024",
"0.47845381",
"0.47765344",
"0.4773677",
"0.47611114",
"0.47605494",
"0.47507873",
"0.47468868",
"0.47424644",
"0.47412038",
"0.4735458",
"0.47313547",
"0.4718529",
"0.47107464",
"0.4706028",
"0.47037908",
"0.4703356",
"0.47021145",
"0.47008514",
"0.46980852",
"0.46937954",
"0.46923998",
"0.46912584",
"0.46830022",
"0.468092",
"0.46787053",
"0.4674018",
"0.46721312",
"0.4669338",
"0.46691775",
"0.46624395",
"0.4661278",
"0.46584758",
"0.46562684",
"0.46553597",
"0.46437413",
"0.4642111",
"0.46363467",
"0.46347496",
"0.46338746",
"0.46337146",
"0.46329072",
"0.4627477",
"0.46238494",
"0.46162125",
"0.4616052"
]
| 0.71170807 | 0 |
This method was generated by Apache iBATIS ibator. This method sets the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_ID | public void setInvoice_dictionary_id(long invoice_dictionary_id) {
this.invoice_dictionary_id = invoice_dictionary_id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public static void setInvoiceData (final InvoiceData id)\n {\n invoiceData = id;\n }",
"public void setLBR_DocLine_ICMS_ID (int LBR_DocLine_ICMS_ID);",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"void setInvoiceId(Long invoiceId);",
"public void setJP_BankData_ID (int JP_BankData_ID);",
"public void setJP_BankDataLine_ID (int JP_BankDataLine_ID);",
"public void setUlIdInvoInvoice(int ulIdInvoInvoice)\r\n {\r\n this._ulIdInvoInvoice = ulIdInvoInvoice;\r\n this._has_ulIdInvoInvoice = true;\r\n }",
"@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_dictData.setPrimaryKey(primaryKey);\n\t}",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public void setM_Warehouse_ID (int M_Warehouse_ID)\n{\nset_Value (\"M_Warehouse_ID\", new Integer(M_Warehouse_ID));\n}",
"public void setInvoiceID(String invoiceID) {\n\t\tINVOICE_ID = invoiceID;\n\t}",
"public void setJP_BankData_ReferenceNo (String JP_BankData_ReferenceNo);",
"public void setDictDataId(long dictDataId);",
"public void setInvoiceDictionaryComment(String invoiceDictionaryComment) {\r\n this.invoiceDictionaryComment = invoiceDictionaryComment;\r\n }",
"public void setDictContentId(String value) {\r\n setAttributeInternal(DICTCONTENTID, value);\r\n }",
"public void privateSetI13nActKey(com.hps.july.persistence.DocumentKey inKey) {\n\tboolean i13nAct_NULLTEST = (inKey == null);\n\tif (i13nAct_NULLTEST) i13nAct_document = null; else i13nAct_document = (new Integer(inKey.document));\n}",
"public void setInoId(String pId);",
"public void setLBR_DocLine_Details_ID (int LBR_DocLine_Details_ID);",
"@Override\n\tpublic void setDictDataId(long dictDataId) {\n\t\t_dictData.setDictDataId(dictDataId);\n\t}",
"public void setInvoice(rules.engine.example.SalaryInvoice _invoice)\n {\n invoice = _invoice;\n }",
"public IBusinessObject setAccessIID(IIID access)\n throws ORIOException;",
"public int getInvoiceID(){\n return invoiceID;\n }",
"private void setObjId(int value) {\n \n objId_ = value;\n }",
"private void setObjId(int value) {\n \n objId_ = value;\n }",
"private void setObjId(int value) {\n \n objId_ = value;\n }",
"private void setObjId(int value) {\n \n objId_ = value;\n }",
"private void setObjId(int value) {\n \n objId_ = value;\n }",
"private void setObjId(int value) {\n \n objId_ = value;\n }",
"public void setM_Product_ID (int M_Product_ID)\n{\nset_Value (\"M_Product_ID\", new Integer(M_Product_ID));\n}",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public void setInvoiceNumber(int invoicenum) {\n invoiceNumber = invoicenum;\n }",
"public void setM_Locator_ID (int M_Locator_ID)\n{\nset_Value (\"M_Locator_ID\", new Integer(M_Locator_ID));\n}",
"public void setdictContentID(String value) {\r\n setNamedWhereClauseParam(\"dictContentID\", value);\r\n }",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public void setLanguageRelatedByCustLanguageIdKey(ObjectKey key) throws TorqueException\n {\n \n setCustLanguageId(((NumberKey) key).intValue());\n }",
"public Builder setInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n invoice_ = value;\n onChanged();\n } else {\n invoiceBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public void setC_UOM_ID (int C_UOM_ID)\n{\nset_Value (\"C_UOM_ID\", new Integer(C_UOM_ID));\n}",
"@Override\n\tpublic void setCompanyId(long companyId) {\n\t\t_dictData.setCompanyId(companyId);\n\t}",
"public void setBiObjectID(Integer biObjectID) {\r\n\t\tthis.biObjectID = biObjectID;\r\n\t}",
"public void setDictID(int dictID) {\n\t\tthis.dictID = dictID;\n\t}",
"public void setID(String idIn) {this.id = idIn;}",
"public void setMPC_Order_BOMLine_ID(int MPC_Order_BOMLine_ID) {\n\t\tif (MPC_Order_BOMLine_ID <= 0)\n\t\t\tset_Value(\"MPC_Order_BOMLine_ID\", null);\n\t\telse\n\t\t\tset_Value(\"MPC_Order_BOMLine_ID\", new Integer(MPC_Order_BOMLine_ID));\n\t}",
"public void setVocubalaryId(long vocubalaryId);",
"public void setAsicIdentifier(au.gov.asic.types.DocumentIdentifierType asicIdentifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.DocumentIdentifierType target = null;\n target = (au.gov.asic.types.DocumentIdentifierType)get_store().find_element_user(ASICIDENTIFIER$0, 0);\n if (target == null)\n {\n target = (au.gov.asic.types.DocumentIdentifierType)get_store().add_element_user(ASICIDENTIFIER$0);\n }\n target.set(asicIdentifier);\n }\n }",
"public void setC_DocType_ID(boolean isReceipt) {\n setIsReceipt(isReceipt);\n String sql = \"SELECT C_DocType_ID FROM C_DocType WHERE AD_Client_ID=? AND DocBaseType=? ORDER BY IsDefault DESC\";\n try {\n PreparedStatement pstmt = DB.prepareStatement(sql, get_TrxName());\n pstmt.setInt(1, getAD_Client_ID());\n if (isReceipt) {\n pstmt.setString(2, MDocType.DOCBASETYPE_ARReceipt);\n } else {\n pstmt.setString(2, MDocType.DOCBASETYPE_APPayment);\n }\n ResultSet rs = pstmt.executeQuery();\n if (rs.next()) {\n setC_DocType_ID(rs.getInt(1));\n } else {\n log.warning(\"setDocType - NOT found - isReceipt=\" + isReceipt);\n }\n rs.close();\n pstmt.close();\n } catch (SQLException e) {\n log.log(Level.SEVERE, sql, e);\n }\n }",
"public void setCodiceID(int codiceID) \r\n\t\t{\r\n\t\t\tCodiceID = codiceID;\r\n\t\t}",
"public void setICID(int value) {\n this.icid = value;\n }",
"public void setItineraryReference(int value) {\n this.itineraryReference = value;\n }",
"void setID(int val)\n throws RemoteException;",
"public void setInvoiceDetailId(Integer invoiceDetailId) {\r\n this.invoiceDetailId = invoiceDetailId;\r\n }",
"@Override\n\tpublic void setPrimaryKey(int primaryKey) {\n\t\t_keHoachKiemDemNuoc.setPrimaryKey(primaryKey);\n\t}",
"public void setImpulseId(String impulseId) {\n this.impulseId = impulseId == null ? null : impulseId.trim();\n }",
"public void setForeignkeyArray(int i, com.guidewire.datamodel.ForeignkeyDocument.Foreignkey foreignkey)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.guidewire.datamodel.ForeignkeyDocument.Foreignkey target = null;\r\n target = (com.guidewire.datamodel.ForeignkeyDocument.Foreignkey)get_store().find_element_user(FOREIGNKEY$4, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(foreignkey);\r\n }\r\n }",
"public void setOrderID(int orderID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORDERID$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORDERID$0);\n }\n target.setIntValue(orderID);\n }\n }",
"public void setId(String idIn) {\n this.id = idIn;\n }",
"public void setC_Conversion_UOM_ID (int C_Conversion_UOM_ID)\n{\nset_Value (\"C_Conversion_UOM_ID\", new Integer(C_Conversion_UOM_ID));\n}",
"private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }",
"private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }",
"private void setID(gw.pl.persistence.core.Key value) {\n __getInternalInterface().setFieldValue(ID_PROP.get(), value);\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar276(java.lang.Integer value) {\n validate(fields()[277], value);\n this.var276 = value;\n fieldSetFlags()[277] = true;\n return this;\n }",
"Long getInvoiceId();",
"public void seti_ordertrx_temp_ID (int i_ordertrx_temp_ID);",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public void setAdditionalInternalData(byte[] additionalIntData) {\n\t\tthis.additionalIntData=additionalIntData;\n\t}",
"public void setObjid(int newValue) {\n\tthis.objid = newValue;\n}",
"public void setC_Decoris_PreSalesLine_ID (int C_Decoris_PreSalesLine_ID);",
"public void setSalesRep_ID (int SalesRep_ID);",
"public void setSalesRep_ID (int SalesRep_ID);",
"public void setC_BankAccount_ID (int C_BankAccount_ID);",
"public void setDictKey(Long dictKey) {\r\n\t\tthis.dictKey = dictKey;\r\n\t}",
"public void setIdAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI(int idAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI)\r\n/* 85: */ {\r\n/* 86:118 */ this.idAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI = idAutorizacionDocumentoPuntoDeVentaAutoimpresorSRI;\r\n/* 87: */ }",
"public void setVoice(String pVoiceID) throws DynamicCallException, ExecutionException{\n call(\"setVoice\", pVoiceID).get();\n }",
"public void setM_InOut_ID (int M_InOut_ID);",
"public void setExternalData(PDExternalDataDictionary externalData) {\n/* 365 */ getCOSObject().setItem(\"ExData\", externalData);\n/* */ }",
"public void setDataDictionaryService(DataDictionaryService dataDictionaryService) {\r\n this.dataDictionaryService = dataDictionaryService;\r\n }",
"public void setDataDictionaryService(DataDictionaryService dataDictionaryService) {\r\n this.dataDictionaryService = dataDictionaryService;\r\n }",
"public void setC_OrderLine_ID (int C_OrderLine_ID);",
"public void setId_inventario(Integer id_inventario) {\r\n this.id_inventario = id_inventario;\r\n }",
"private void setPoId(Long id) {\r\n this.poId = id;\r\n }",
"public final native void setId(int id) /*-{\n\t\tthis.id = id;\n\t}-*/;",
"public Builder setRecognitionIdBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n recognitionId_ = value;\n onChanged();\n return this;\n }",
"public void setID(Integer iD) {\n ID = iD;\n }",
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_scienceApp.setPrimaryKey(primaryKey);\n\t}",
"final public void setId(int idp) {\n\t\tid = idp;\n\t\tidSet = true;\n\t}",
"public gr.grnet.aquarium.message.avro.gen.UserAgreementMsg.Builder setRelatedIMEventOriginalID(java.lang.String value) {\n validate(fields()[1], value);\n this.relatedIMEventOriginalID = value;\n fieldSetFlags()[1] = true;\n return this; \n }",
"public int getLBR_DocLine_ICMS_ID();",
"public void setLanguageRelatedByLanguageIdKey(ObjectKey key) throws TorqueException\n {\n \n setLanguageId(((NumberKey) key).intValue());\n }",
"public void setId(Long objectId) {\r\n\t\tthis.objectId = objectId;\r\n\t}",
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public void xsetOrderID(org.apache.xmlbeans.XmlInt orderID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlInt target = null;\n target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(ORDERID$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(ORDERID$0);\n }\n target.set(orderID);\n }\n }",
"@Override\n public void setPrimaryKey(java.lang.Object key) {\n\n mnDbmsType = ((int[]) key)[0];\n mnPkYearId = ((int[]) key)[1];\n mnPkTypeCostObjectId = ((int[]) key)[2];\n mnPkRefCompanyBranchId = ((int[]) key)[3];\n mnPkRefReferenceId = ((int[]) key)[4];\n mnPkRefEntityId = ((int[]) key)[5];\n mnPkBizPartnerId = ((int[]) key)[6];\n mtDbmsDateStart = ((java.util.Date[]) key)[7];\n mtDbmsDateEnd = ((java.util.Date[]) key)[8];\n }"
]
| [
"0.6250278",
"0.61662626",
"0.5853367",
"0.57378155",
"0.5621281",
"0.56183994",
"0.5482769",
"0.54468846",
"0.5303693",
"0.5255346",
"0.5179501",
"0.5150184",
"0.51320565",
"0.50669014",
"0.5058337",
"0.5050087",
"0.5009443",
"0.500358",
"0.49926338",
"0.49850088",
"0.49617508",
"0.4926106",
"0.48790798",
"0.48622534",
"0.47987315",
"0.47907683",
"0.47861415",
"0.47310036",
"0.4727644",
"0.47035378",
"0.47010687",
"0.47010687",
"0.47010687",
"0.47010687",
"0.47010687",
"0.47010687",
"0.46992263",
"0.46860304",
"0.46699357",
"0.46624112",
"0.46544024",
"0.46466565",
"0.46461567",
"0.4631564",
"0.4623525",
"0.4604497",
"0.46007478",
"0.45932734",
"0.45406458",
"0.45400637",
"0.45391586",
"0.45285332",
"0.45264912",
"0.45257226",
"0.45238903",
"0.4512146",
"0.45051247",
"0.44732732",
"0.44679114",
"0.44664872",
"0.4463576",
"0.4461836",
"0.4455095",
"0.44516793",
"0.4440591",
"0.4440591",
"0.4440591",
"0.44366083",
"0.44294435",
"0.4423252",
"0.44208437",
"0.4420293",
"0.44165087",
"0.4414643",
"0.44105116",
"0.44105116",
"0.44058618",
"0.4398993",
"0.4392748",
"0.43893608",
"0.4386494",
"0.43842062",
"0.43797022",
"0.43797022",
"0.43768346",
"0.43755454",
"0.43729687",
"0.4372712",
"0.43670908",
"0.4360196",
"0.43554884",
"0.43519935",
"0.4345508",
"0.4344841",
"0.43442774",
"0.4341008",
"0.43290704",
"0.43176407",
"0.431716",
"0.43170053"
]
| 0.68549687 | 0 |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_TYPE | public Long getInvoiceDictionaryType() {
return invoiceDictionaryType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public InvoiceType getInvoiceType()\n {\n return INVOICE_TYPE;\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"@objid (\"4c85b6a2-3431-4b71-8fba-640038bf6503\")\n EList<NoteType> getDefinedNoteType();",
"public com.cdoframework.cdolib.database.xsd.types.IfTypeType getType() {\n return this.type;\n }",
"public Object getExtensionType(String columnName) {\n FieldVector vector = table.getVector(columnName);\n return vector.getObject(rowNumber);\n }",
"public java.lang.Long getOpcintype() {\n\t\treturn getValue(test.generated.pg_catalog.tables.PgOpclass.PG_OPCLASS.OPCINTYPE);\n\t}",
"public String getImpulseType() {\n return impulseType;\n }",
"public int type() {\n return Element.PHRASE;\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedDocumentType getDocumentType();",
"@RestrictTo(RestrictTo.Scope.LIBRARY)\n @DataType\n public int getDataType() {\n return mBundle.getInt(DATA_TYPE_FIELD, -1);\n }",
"public String getType() {\n if(iType == null){\n ArrayList<Identification_to_quantitation> lLinkers = this.getQuantitationLinker();\n for (int j = 0; j < lLinkers.size(); j++) {\n if (lLinkers.get(j).getL_identificationid() == this.getIdentificationid()) {\n this.setType(lLinkers.get(j).getType());\n }\n }\n }\n return iType;\n }",
"public Integer getType() {\n\t\treturn (Integer) getValue(3);\n\t}",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public ID getPharmacyOrderType() { \r\n\t\tID retVal = this.getTypedField(26, 0);\r\n\t\treturn retVal;\r\n }",
"public int getData_type_id() {\n return data_type_id;\n }",
"public com.opentext.bn.converters.avro.entity.IntrospectionType getIntrospectionType() {\n return introspectionType;\n }",
"public com.opentext.bn.converters.avro.entity.IntrospectionType getIntrospectionType() {\n return introspectionType;\n }",
"x0401.oecdStandardAuditFileTaxPT1.ProductTypeDocument.ProductType.Enum getProductType();",
"public String getLBR_ICMS_TaxReliefType();",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"public ObjType getType () {\n\t\tif (type == null) {\n\t\t\ttype = Virtue.getInstance().getConfigProvider().getObjTypes().list(id);\n\t\t}\n\t\treturn type;\n\t}",
"public int getC_DocType_ID() {\n\t\tInteger ii = (Integer) get_Value(\"C_DocType_ID\");\n\t\tif (ii == null)\n\t\t\treturn 0;\n\t\treturn ii.intValue();\n\t}",
"public java.lang.String getDocumentType() {\n return documentType;\n }",
"public java.lang.String getDocumentType() {\n return documentType;\n }",
"public java.lang.String getDocumentTypeCode() {\n return documentTypeCode;\n }",
"fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType getType();",
"private byte getInsuranceType() {\n\t\tString insuranceType = cbInsurance.getText();\n\n\t\t//Check with optionA\n\t\tfor (byte i = 0; i < 3; i++) {\n\t\t\tif (optionA[i].equals(insuranceType))\n\t\t\t\treturn i;\n\t\t}\n\n\t\treturn 0;\n\t}",
"public org.omg.CORBA.TypeCode _type()\r\n {\r\n return PropositionHelper.type();\r\n }",
"public org.omg.CORBA.TypeCode _type()\n {\n return autorisationCollabInterditeHelper.type();\n }",
"public Integer getType() {\r\n\t\treturn type;\r\n\t}",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"x0401.oecdStandardAuditFileTaxPT1.ProductTypeDocument.ProductType xgetProductType();",
"com.google.privacy.dlp.v2.StoredType getStoredType();",
"public String getDocumentType() {\n return this.documentType;\n }",
"public Integer getTypeCode() {\n return typeCode;\n }",
"public Integer getType() {\n\t\treturn type;\n\t}",
"public Integer getTypeCode() {\n return (Integer) getAttributeInternal(TYPECODE);\n }",
"public fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType getType() {\n return type_;\n }",
"public String getFinancialDocumentColumnTypeCode() {\r\n return financialDocumentColumnTypeCode;\r\n }",
"public fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType getType() {\n return type_;\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedDocumentType getDocumentType() {\n return documentType_;\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedDocumentType getDocumentType() {\n return documentType_;\n }",
"public Object getExtensionType(int vectorIndex) {\n FieldVector vector = table.getVector(vectorIndex);\n return vector.getObject(rowNumber);\n }",
"public String getDocumentType() {\n return documentType;\n }",
"public DocumentType getDocumentType() {\n return documentType;\n }",
"Type getForPersistentMapping_Type() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public Integer getType() {\n return type;\n }",
"public String getType() {\n return (String) getObject(\"type\");\n }",
"public int getC_DocType_ID();",
"public int getC_DocType_ID();",
"public int getType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);\n if (target == null)\n {\n return 0;\n }\n return target.getIntValue();\n }\n }",
"public int getType() throws SQLException\n {\n return m_rs.getType();\n }",
"public String getFinancialDocumentTypeCode() {\r\n return financialDocumentTypeCode;\r\n }",
"public java.lang.String getVoucherType() {\n return voucherType;\n }",
"public String getTypeString() {\r\n return Prediction.getTypeString(type);\r\n }",
"public org.omg.CORBA.TypeCode _type()\r\n {\r\n return FactoryValueHelper.type();\r\n }",
"public java.lang.String getFieldDBType() {\n return fieldDBType;\n }",
"public ArrayType getType() {\n\tif (this.arrayType == null) {\n\t // lazy init must be thread-safe for readers\n\t synchronized (this) {\n\t\tif (this.arrayType == null) {\n\t\t preLazyInit();\n\t\t this.arrayType = this.ast.newArrayType(this.ast.newPrimitiveType(PrimitiveType.INT));\n\t\t postLazyInit(this.arrayType, TYPE_PROPERTY);\n\t\t}\n\t }\n\t}\n\treturn this.arrayType;\n }",
"@java.lang.Override\n public int getTypeValue() {\n return type_;\n }",
"@java.lang.Override\n public int getTypeValue() {\n return type_;\n }",
"@java.lang.Override public int getTypeValue() {\n return type_;\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"@java.lang.Override public int getTypeValue() {\n return type_;\n }",
"public io.opencannabis.schema.commerce.CommercialOrder.OrderType getType() {\n @SuppressWarnings(\"deprecation\")\n io.opencannabis.schema.commerce.CommercialOrder.OrderType result = io.opencannabis.schema.commerce.CommercialOrder.OrderType.valueOf(type_);\n return result == null ? io.opencannabis.schema.commerce.CommercialOrder.OrderType.UNRECOGNIZED : result;\n }",
"io.dstore.values.IntegerValue getFieldTypeId();",
"public int getTypeValue() {\n\t\t\t\t\treturn type_;\n\t\t\t\t}",
"public String obtenirType() {\n\t\treturn this.type;\n\t}",
"@java.lang.Override\n public int getTypeValue() {\n return type_;\n }",
"@java.lang.Override\n public int getTypeValue() {\n return type_;\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder();",
"public String getId_type() {\n return id_type;\n }",
"public String getDocumentType();",
"public Long getMTBTypesKeyOriginal() {\n return MTBTypesKeyOriginal; \n }",
"com.google.cloud.datacatalog.FieldType getType();",
"public int getC_POSDocType_ID() \n{\nInteger ii = (Integer)get_Value(COLUMNNAME_C_POSDocType_ID);\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public String getSelectedDocumentType() {\n\t\treturn (String) combBoxDocumentTypes.getSelectedItem();\n\t}",
"public io.opencannabis.schema.commerce.CommercialOrder.OrderType getType() {\n @SuppressWarnings(\"deprecation\")\n io.opencannabis.schema.commerce.CommercialOrder.OrderType result = io.opencannabis.schema.commerce.CommercialOrder.OrderType.valueOf(type_);\n return result == null ? io.opencannabis.schema.commerce.CommercialOrder.OrderType.UNRECOGNIZED : result;\n }",
"public String getFieldType()\n {\n return m_strFieldType;\n }",
"public HashMap<String, Integer> getId_types() {\n return id_types;\n }",
"@Override\r\n\t\tpublic Map<String, Class<?>> getTypeMap() throws SQLException {\n\t\t\treturn null;\r\n\t\t}",
"@Override\r\n\tpublic String typeV() {\n\t\treturn hio.TyreType();\r\n\t}",
"public String getTypeCode() {\n return typeCode;\n }",
"public String getTypeCode() {\n return typeCode;\n }",
"public String getTypeCode() {\n return typeCode;\n }",
"public String getTypeCode() {\n return typeCode;\n }",
"public java.lang.Integer getType() {\n return type;\n }",
"public java.lang.Integer getType() {\n return type;\n }",
"public int getType() {\r\n return typ;\r\n }",
"public String getLBR_MDFeDocType();",
"@Override\n\tpublic Type getType() {\n\t\treturn Type.INT_TYPE;\n\t}"
]
| [
"0.63143027",
"0.6193657",
"0.5530643",
"0.5528017",
"0.5311858",
"0.5259728",
"0.52514756",
"0.5231618",
"0.51505566",
"0.50976276",
"0.5096704",
"0.50883347",
"0.50303376",
"0.502121",
"0.50148493",
"0.5013192",
"0.5004696",
"0.4975001",
"0.49668956",
"0.49667647",
"0.49519116",
"0.49511978",
"0.49451682",
"0.49434355",
"0.49393144",
"0.49346554",
"0.49273676",
"0.4925805",
"0.49240386",
"0.49180624",
"0.4915004",
"0.4907893",
"0.49049175",
"0.4900652",
"0.48995054",
"0.48979956",
"0.48953894",
"0.48946384",
"0.48931235",
"0.4873021",
"0.4867259",
"0.4863949",
"0.48618075",
"0.48594034",
"0.48552743",
"0.48426792",
"0.4840868",
"0.48384923",
"0.48354113",
"0.48331425",
"0.48331425",
"0.48331425",
"0.48331425",
"0.48331425",
"0.48331425",
"0.48331425",
"0.48331425",
"0.48324326",
"0.48237184",
"0.48237184",
"0.48230317",
"0.48214728",
"0.4813596",
"0.4813269",
"0.48088062",
"0.4801558",
"0.4798396",
"0.47862938",
"0.47767583",
"0.47767583",
"0.47760376",
"0.47697768",
"0.47696406",
"0.47694904",
"0.47625336",
"0.47594056",
"0.4752029",
"0.4750013",
"0.4750013",
"0.47498402",
"0.474888",
"0.4747736",
"0.47449213",
"0.47420564",
"0.47409177",
"0.47402462",
"0.4739843",
"0.47364074",
"0.4733097",
"0.47318906",
"0.47301802",
"0.4728983",
"0.4728983",
"0.4728983",
"0.4728983",
"0.47268996",
"0.47268996",
"0.47244233",
"0.47236842",
"0.472023"
]
| 0.7036268 | 0 |
This method was generated by Apache iBATIS ibator. This method sets the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_TYPE | public void setInvoiceDictionaryType(Long invoiceDictionaryType) {
this.invoiceDictionaryType = invoiceDictionaryType;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public void setC_DocType_ID(boolean isReceipt) {\n setIsReceipt(isReceipt);\n String sql = \"SELECT C_DocType_ID FROM C_DocType WHERE AD_Client_ID=? AND DocBaseType=? ORDER BY IsDefault DESC\";\n try {\n PreparedStatement pstmt = DB.prepareStatement(sql, get_TrxName());\n pstmt.setInt(1, getAD_Client_ID());\n if (isReceipt) {\n pstmt.setString(2, MDocType.DOCBASETYPE_ARReceipt);\n } else {\n pstmt.setString(2, MDocType.DOCBASETYPE_APPayment);\n }\n ResultSet rs = pstmt.executeQuery();\n if (rs.next()) {\n setC_DocType_ID(rs.getInt(1));\n } else {\n log.warning(\"setDocType - NOT found - isReceipt=\" + isReceipt);\n }\n rs.close();\n pstmt.close();\n } catch (SQLException e) {\n log.log(Level.SEVERE, sql, e);\n }\n }",
"public InvoiceType getInvoiceType()\n {\n return INVOICE_TYPE;\n }",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public void setC_DocType_ID (int C_DocType_ID);",
"public void setC_DocType_ID (int C_DocType_ID);",
"private void setC_DocType_ID() {\n setC_DocType_ID(isReceipt());\n }",
"public void setType(String inType)\n {\n\ttype = inType;\n }",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public void setC_DocType_ID(int C_DocType_ID) {\n //\tif (getDocumentNo() != null && getC_DocType_ID() != C_DocType_ID)\n //\t\tsetDocumentNo(null);\n super.setC_DocType_ID(C_DocType_ID);\n }",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public void setImpulseType(String impulseType) {\n this.impulseType = impulseType == null ? null : impulseType.trim();\n }",
"void setForPersistentMapping_Type(Type type) {\n this.type = type;\n }",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public void setType(final com.cdoframework.cdolib.database.xsd.types.IfTypeType type) {\n this.type = type;\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public void setData_type_id(int data_type_id) {\n this.data_type_id = data_type_id;\n }",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public Integer updatePaymentType(PaymentTypeObject paymentTypeObject) throws AppException;",
"void setDataType(int type );",
"public void setIOType(final String iOTypeValue) {\n this.iOType = iOTypeValue;\n }",
"public void setIOType(final String iOTypeValue) {\n this.iOType = iOTypeValue;\n }",
"public void setIOType(final String iOTypeValue) {\n this.iOType = iOTypeValue;\n }",
"public void setType( int type ) {\r\n typ = type;\r\n }",
"@Override\n\tpublic void setType(int type) {\n\t\t_expandoColumn.setType(type);\n\t}",
"public void setBookJurisdiction(typekey.Jurisdiction value);",
"public void setDocumentType (String DocumentType);",
"public void setType(int type)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$2);\n }\n target.setIntValue(type);\n }\n }",
"public void setType(final int evidenceType) {\r\n\t\ttype = evidenceType;\r\n\t}",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public int updateDictDataType(@Param(\"oldDictType\") String oldDictType, @Param(\"newDictType\") String newDictType);",
"public void setType(int type) throws DBException {\n _type = type;\n }",
"public void setType(int type) throws DBException {\n _type = type;\n }",
"gov.nih.nlm.ncbi.www.MedlineSiDocument.MedlineSi.Type addNewType();",
"void setForPersistentMapping_BaseType(Type baseType) {\n this.baseType = baseType;\n }",
"public final native void setType(String type) /*-{\n this.setType(type);\n }-*/;",
"public void setLBR_ICMS_TaxReliefType (String LBR_ICMS_TaxReliefType);",
"public void setType(Object type)\r\n {\r\n\tthis.type = type;\r\n }",
"public void setType(String aType) {\n iType = aType;\n }",
"public void setType(int pType) {\n mType = pType;\n }",
"@Override\n\tpublic void setType(String type) {\n\t}",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setIntrospectionType(com.opentext.bn.converters.avro.entity.IntrospectionType value) {\n validate(fields()[17], value);\n this.introspectionType = value;\n fieldSetFlags()[17] = true;\n return this;\n }",
"void setOrderType(OrderType inOrderType);",
"public void setId_type(String id_type) {\n this.id_type = id_type;\n }",
"public void setType(int atype)\n {\n type = atype;\n }",
"public void setType(int type) {\n type_ = type;\n }",
"public void setType(Integer type) {\r\n\t\tthis.type = type;\r\n\t}",
"public void setType(gov.nih.nci.calims2.domain.common.Type type) {\n this.type = type;\n }",
"public void setDocumentType(String documentType);",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setType(Integer type) {\n this.type = type;\n }",
"public void setVALUATION_TYPE(java.lang.String VALUATION_TYPE) {\r\n this.VALUATION_TYPE = VALUATION_TYPE;\r\n }",
"public void setType(Integer type) {\n\t\tthis.type = type;\n\t}",
"public void setIdType(Integer idType) {\n this.idType = idType;\n }",
"public void setType (String typ) {\n type = typ;\n }",
"public void setType(String type){\n \tthis.type = type;\n }",
"void xsetProductType(x0401.oecdStandardAuditFileTaxPT1.ProductTypeDocument.ProductType productType);",
"public void setContractTypeItems(){\r\n\t\tComboItem[] comboItems;\r\n\t\t//array list is used as interim solution due to the fact that regular arrays size is immutable\r\n\t\tArrayList<ComboItem> itemList = new ArrayList<ComboItem>();\r\n\t\t\r\n\t\ttry {\r\n\t\t\t//Query database and populate array list with values. \r\n\t\t\tResultSet result = CONTRACT_TYPE_OPTIONS.executeQuery();\r\n\t\t\twhile(result.next()){\r\n\t\t\t\titemList.add(new ComboItem(result.getInt(1), result.getString(2)));\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//Initialise new array with needed size\r\n\t\t\tcomboItems = new ComboItem[itemList.size()];\r\n\t\t\t//convert arraylist object into array\r\n\t\t\tcomboItems = itemList.toArray(comboItems);\r\n\t\t} catch (SQLException e) {\r\n\t\t\t//initialise empty array to be returned\r\n\t\t\tcomboItems = new ComboItem[0];\r\n\t\t\tlogger.log(Level.SEVERE, e.getMessage());\r\n\t\t} \r\n\t\t\r\n\t\tthis.contract_types = comboItems;\r\n\t}",
"public void setType(String type) throws JAXRException{\n this.type = type;\n }",
"public void setType(String type);",
"public void setType(String type);",
"public void setType(String type);",
"void xsetInstallmentType(org.apache.xmlbeans.XmlInteger installmentType);",
"public void setType(java.lang.Integer type) {\n this.type = type;\n }",
"public void setType(java.lang.Integer type) {\n this.type = type;\n }",
"public final void setType(String type){\n\t\tthis.type = type;\t\n\t}",
"public void setIdType(int idType) {\r\n this.idType = idType;\r\n }",
"public void setType(int type) {\r\n this.type = type;\r\n }",
"public void setType(int type) {\r\n this.type = type;\r\n }",
"public void setType(type type) {\r\n\t\tthis.Type = type;\r\n\t}",
"public void setType(String type) {\n this.type = type;\n }",
"public void setType(String type) \n {\n this.type = type;\n }",
"public void setType(String type) {\n m_Type = type;\n }",
"final public void setType(String type)\n {\n setProperty(TYPE_KEY, (type));\n }",
"void setObject(int index, Object value, int sqlType)\n throws SQLException;",
"@JsonProperty(\"data_type\")\n public void setDataType(Term dataType) {\n this.dataType = dataType;\n }",
"public void setType(String type)\r\n {\r\n this.mType = type;\r\n }",
"public void setInvoiceNumber(int invoicenum) {\n invoiceNumber = invoicenum;\n }",
"protected void setType(String requiredType){\r\n type = requiredType;\r\n }",
"public void setType(String type){\n this.type = type;\n }",
"void setProductType(x0401.oecdStandardAuditFileTaxPT1.ProductTypeDocument.ProductType.Enum productType);",
"public void setType (int type) {\n this.type = type;\n }",
"public void setType (int type) {\n this.type = type;\n }",
"public void setType(String type) {\r\n this.type = type;\r\n }",
"public void setType(String type) {\n\t this.mType = type;\n\t}",
"private void setType(String type) {\n mType = type;\n }",
"public void setType(int type) {\n this.type = type;\n }",
"public void setType(String type) {\r\n\t\tthis.type=type;\r\n\t}",
"public void setC_DocType_ID(int C_DocType_ID) {\n\t\tif (C_DocType_ID < 0)\n\t\t\tthrow new IllegalArgumentException(\"C_DocType_ID is mandatory.\");\n\t\tset_Value(\"C_DocType_ID\", new Integer(C_DocType_ID));\n\t}",
"public Integer addPaymentType(PaymentTypeObject paymentTypeObject) throws AppException;",
"public void setMetaType(ARecordType metaType);",
"public void setType( String type )\n {\n this.type = type;\n }",
"public void setM_Warehouse_ID (int M_Warehouse_ID)\n{\nset_Value (\"M_Warehouse_ID\", new Integer(M_Warehouse_ID));\n}",
"public void setType(String type){\n\t\tthis.type = type;\n\t}"
]
| [
"0.61397153",
"0.563171",
"0.54919976",
"0.5360378",
"0.5331804",
"0.5312306",
"0.5312306",
"0.5306059",
"0.5201872",
"0.51730984",
"0.5115097",
"0.50668997",
"0.505617",
"0.50355136",
"0.50244313",
"0.4952204",
"0.49477586",
"0.49265516",
"0.49204543",
"0.49140444",
"0.48921302",
"0.48650238",
"0.48650238",
"0.48649663",
"0.48629978",
"0.48435035",
"0.4835202",
"0.48331115",
"0.48086777",
"0.48080382",
"0.48036513",
"0.47971588",
"0.4773881",
"0.4773881",
"0.4755492",
"0.4744424",
"0.47323707",
"0.47224197",
"0.47140026",
"0.4703956",
"0.4703473",
"0.47023806",
"0.47022787",
"0.470073",
"0.46935505",
"0.4682227",
"0.46767715",
"0.4671202",
"0.46703178",
"0.46472368",
"0.4645571",
"0.4645571",
"0.4645571",
"0.4645571",
"0.4645571",
"0.4645571",
"0.4645571",
"0.46409017",
"0.4632972",
"0.46248642",
"0.46142787",
"0.4611413",
"0.46069428",
"0.4592885",
"0.4592349",
"0.45892915",
"0.45892915",
"0.45892915",
"0.45832348",
"0.4578743",
"0.4578743",
"0.4566649",
"0.45555007",
"0.45386246",
"0.45386246",
"0.45380458",
"0.45323303",
"0.45313165",
"0.4529905",
"0.45264655",
"0.45242813",
"0.45145258",
"0.45119238",
"0.45062882",
"0.4505543",
"0.45030054",
"0.45014945",
"0.4499087",
"0.4499087",
"0.44990557",
"0.44951093",
"0.4493512",
"0.44921684",
"0.4491103",
"0.44865626",
"0.44860944",
"0.4476725",
"0.4474835",
"0.4474303",
"0.4463197"
]
| 0.6912153 | 0 |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_KEY | public Long getInvoiceDictionaryKey() {
return invoiceDictionaryKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public Long getDictKey() {\r\n\t\treturn dictKey;\r\n\t}",
"public BigInteger getKeyBI() {\n return new BigInteger(this.getEncoded());\n }",
"public String getKey() {\n\t\treturn this.isbn13;\n\t}",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public com.hps.july.persistence.DocumentKey getI13nActKey() {\n\tcom.hps.july.persistence.DocumentKey temp = null;\n\ttemp = new com.hps.july.persistence.DocumentKey();\n\tboolean i13nAct_NULLTEST = true;\n\ti13nAct_NULLTEST &= (i13nAct_document == null);\n\ttemp.document = ((i13nAct_document == null) ? 0 : i13nAct_document.intValue());\n\tif (i13nAct_NULLTEST) temp = null;\n\treturn temp;\n}",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"@Override\n\tpublic long getPrimaryKey() {\n\t\treturn _dictData.getPrimaryKey();\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n if (invoiceBuilder_ == null) {\n return invoice_;\n } else {\n return invoiceBuilder_.getMessage();\n }\n }",
"public int getC_Invoice_ID();",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n if (invoiceBuilder_ != null) {\n return invoiceBuilder_.getMessageOrBuilder();\n } else {\n return invoice_;\n }\n }",
"public java.lang.String getInvoiceNo () {\n\t\treturn invoiceNo;\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice();",
"public org.vcell.util.document.KeyValue getCompoundKey() {\r\n\treturn formalCompound.getDBFormalSpeciesKey();\r\n}",
"public Integer getInteger(String key) throws AgentBuilderRuntimeException {\n\t\tif (!extContainsKey(key))\n\t\t\tthrow new AgentBuilderRuntimeException(\n\t\t\t\t\t\"Dictionary does not contain key \\\"\" + key + \"\\\"\");\n\t\treturn (Integer) extGet(key);\n\t}",
"public String getI18Key() {\r\n\t\treturn i18Key;\r\n\t}",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public org.apache.calcite.avatica.proto.Common.DatabaseProperty getKey() {\n return key_ == null ? org.apache.calcite.avatica.proto.Common.DatabaseProperty.getDefaultInstance() : key_;\n }",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public byte getValueInRowKey() {\n return valueInRowKey;\n }",
"public org.apache.calcite.avatica.proto.Common.DatabaseProperty getKey() {\n if (keyBuilder_ == null) {\n return key_ == null ? org.apache.calcite.avatica.proto.Common.DatabaseProperty.getDefaultInstance() : key_;\n } else {\n return keyBuilder_.getMessage();\n }\n }",
"public Object getAlternateKeyName() {\n return this.alternateKeyName;\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder();",
"public static Invoice getInvoiceByKey(int invoiceKey) {\n\t\tInvoice invoice = null;\n\t\tConnection conn = ConnectionFactory.getConnection();\n\t\tPreparedStatement ps = null;\n\t\tResultSet rs = null;\n\t\t\n\t\tString query = \"SELECT invoiceKey, invoiceUuid, customerKey, personKey \"\n\t\t\t\t\t + \"FROM Invoice WHERE invoiceKey = ?\";\n\t\t\n\t\t// this try/catch executes the query from above to get the invoice.\n\t\ttry {\n\t\t\tps = conn.prepareStatement(query);\n\t\t\tps.setInt(1, invoiceKey);\n\t\t\trs = ps.executeQuery();\n\t\t\t// \"if\" executes if the above query finds an invoice in the database.\n\t\t\tif(rs.next()) {\n\t\t\t\tString invoiceUuid = rs.getString(\"invoiceUuid\");\n\t\t\t\tint customerKey = rs.getInt(\"customerKey\");\n\t\t\t\tint personKey = rs.getInt(\"personKey\");\n\t\t\t\tCustomer customer = Customer.getCustomerByKey(customerKey);\n\t\t\t\tPerson salesPerson = Person.getPersonByKey(personKey);\n\t\t\t\tinvoice = new Invoice(invoiceUuid, customer, salesPerson);\n\t\t\t\t\n\t\t\t\t//Inner query to retrieve the productKey to store the product list in invoice\n\t\t\t\tString plQuery = \"SELECT productKey FROM InvoiceProduct WHERE invoiceKey = ?\";\n\t\t\t\t\n\t\t\t\tPreparedStatement ps2 = null;\n\t\t\t\tResultSet rs2 = null;\n\t\t\t\t\n\t\t\t\t//This try/catch executes the query from above to return a list of products on a given invoiceKey.\n\t\t\t\ttry {\n\t\t\t\t\tps2 = conn.prepareStatement(plQuery);\n\t\t\t\t\tps2.setInt(1, invoiceKey);\n\t\t\t\t\trs2 = ps2.executeQuery();\n\t\t\t\t\t// \"if\" executes if the corresponding product is in the database\n\t\t\t\t\twhile(rs2.next()) {\n\t\t\t\t\t\tint productKey = rs2.getInt(\"productKey\");\n\t\t\t\t\t\tProduct product = Product.getProductByKey(productKey);\n\t\t\t\t\t\tinvoice.addProduct(product);\n\t\t\t\t\t}\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tSystem.out.println(\"SQLException: \");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t} finally {\n\t\t\t\t\t//Close the connections opened in this method.\n\t\t\t\t\tConnectionFactory.closeConnection(ps2, rs2);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrow new IllegalStateException(\"No such invoice in database with id = \" + invoiceKey);\n\t\t\t}\n\t\t\trs.close();\n\t\t\tps.close();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"SQLException: \");\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(e);\n\t\t} finally {\n\t\t\t//Close the connections opened in this method.\n\t\t\tConnectionFactory.closeConnection(conn, ps, rs);\n\t\t}\n\t\treturn invoice;\n\t}",
"Long getInvoiceId();",
"public String getKey() {\n\t\tString t = doc.get(\"key\");\n\n\t\tif (t == null) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn t;\n\t\t}\n\t}",
"@java.lang.Override\n public POGOProtos.Rpc.HoloInventoryKeyProto getDeletedItemKey() {\n if (deletedItemKeyBuilder_ == null) {\n if (inventoryItemCase_ == 2) {\n return (POGOProtos.Rpc.HoloInventoryKeyProto) inventoryItem_;\n }\n return POGOProtos.Rpc.HoloInventoryKeyProto.getDefaultInstance();\n } else {\n if (inventoryItemCase_ == 2) {\n return deletedItemKeyBuilder_.getMessage();\n }\n return POGOProtos.Rpc.HoloInventoryKeyProto.getDefaultInstance();\n }\n }",
"org.apache.calcite.avatica.proto.Common.DatabaseProperty getKey();",
"public java.lang.String getInvoice() {\r\n return invoice;\r\n }",
"public InvoiceType getInvoiceType()\n {\n return INVOICE_TYPE;\n }",
"com.icare.eai.schema.om.evSORequest.EvSORequestDocument.EvSORequest.Key[] getKeyArray();",
"private Object _getRowKey()\n {\n Object data = getRowData();\n \n assert (_rowKeyProperty != null);\n return __resolveProperty(data, _rowKeyProperty);\n }",
"public Integer getKeyValue() {\r\n\t\treturn new Integer(this.name.hashCode());\r\n\t}",
"public int getInvoiceID(){\n return invoiceID;\n }",
"public int getLBR_DocLine_ICMS_ID();",
"@java.lang.Override\n public POGOProtos.Rpc.HoloInventoryKeyProto getDeletedItemKey() {\n if (inventoryItemCase_ == 2) {\n return (POGOProtos.Rpc.HoloInventoryKeyProto) inventoryItem_;\n }\n return POGOProtos.Rpc.HoloInventoryKeyProto.getDefaultInstance();\n }",
"public org.apache.calcite.avatica.proto.Common.DatabasePropertyOrBuilder getKeyOrBuilder() {\n if (keyBuilder_ != null) {\n return keyBuilder_.getMessageOrBuilder();\n } else {\n return key_ == null ?\n org.apache.calcite.avatica.proto.Common.DatabaseProperty.getDefaultInstance() : key_;\n }\n }",
"public IntegrationRuntimeAuthKeyName keyName() {\n return this.keyName;\n }",
"com.icare.eai.schema.om.evSORequest.EvSORequestDocument.EvSORequest.Key getKeyArray(int i);",
"public Long getObjectKey()\n\t{\n\t\treturn objectKey;\n\t}",
"public org.apache.calcite.avatica.proto.Common.DatabasePropertyOrBuilder getKeyOrBuilder() {\n return getKey();\n }",
"private int getKey(final DataInputStream in) throws IOException {\n int inkey = Integer.parseInt(in.readUTF());\n System.out.println(inkey);\n return inkey;\n }",
"public String getIntermidiateCode(){\r\n\t\treturn iCode;\r\n\t}",
"private String getDocumentoKey(PreDocumentoEntrata preDoc) {\n\t\t\n\t\treturn (preDoc.getStrutturaAmministrativoContabile()!=null?preDoc.getStrutturaAmministrativoContabile().getUid() :\"null\") + \" \" \n\t\t\t\t+ (preDoc.getCausaleEntrata()!=null?preDoc.getCausaleEntrata().getUid():\"null\") + \" \" \n\t\t\t\t//+ (preDoc.getContoTesoreria()!=null?preDoc.getContoTesoreria().getUid():\"null\") + \" \" \n\t\t\t\t+ (preDoc.getPeriodoCompetenza()!=null?preDoc.getPeriodoCompetenza():\"null\") + \" \"\n\t\t\t\t+ (preDoc.getSoggetto()!=null?preDoc.getSoggetto().getUid():\"null\");\n\t}",
"public String getLookupKey() {\n return queryLookupKey(contactId);\n }",
"public int getInvoiceNumber() {\n return invoiceNumber;\n }",
"public int getInvoiceNumber() {\n return invoiceNumber;\n }",
"public java.lang.String getPrimaryKey() {\n\t\treturn _imageCompanyAg.getPrimaryKey();\n\t}",
"public int getKeyInventory() {\r\n return Input.Keys.valueOf(keyInventoryName);\r\n }",
"public Integer getInvoiceDetailId() {\r\n return this.invoiceDetailId;\r\n }",
"public Map<String, Object> getRelatedKeys() throws ODataJPAProcessorException;",
"public String naturalKeyName() {\n return idName();\n }",
"public int getKey() {\n\t\treturn 0;\n\t}",
"public String getKey(Object obj) {\n\t\tString result = null;\n\t\ttry {\n\t\t\tint pos = this.keyValue.indexOfValue(obj);\n\t\t\tif (pos >= 0) {\n\t\t\t\treturn this.keyValue.getKeyByIndex(pos);\n\t\t\t}\n\t\t} catch (ConcurrentModificationException e) {\n\t\t}\n\t\treturn result;\n\t}",
"@Column(name = \"BUSINESS_KEY_\", length = 250)\n public String getBusinessKey() {\n return businessKey;\n }",
"public String getInvoiceNumber() {\n return invoiceNumber;\n }",
"public Integer getKey()\r\n {\r\n return key;\r\n }",
"public String getObjectKey()\n {\n return objectKey;\n }",
"public String getObjectKey()\n {\n return objectKey;\n }",
"public InvoiceStatus getInvoiceStatus()\n {\n return INVOICE_STATUS;\n }",
"public String getInvoice() {\n return invoice;\n }",
"public String getKey() {\n if (model == null)\n return strKey;\n return model.getKey();\n }",
"public int getApplication() {\n\treturn com.hps.july.constants.Applications.DICTIONARY;\n}",
"public int getKey() {\n\t\t\treturn this.key; // to be replaced by student code\n\t\t}",
"public final Blob\n getKeyDer() { return keyDer_; }",
"public Object getRowKey()\n {\n if (isRowAvailable())\n {\n Object rowKey = _getRowKey();\n return rowKey;\n }\n else\n {\n return null;\n }\n }",
"public StrColumn getIprId() {\n return delegate.getColumn(\"ipr_id\", DelegatingStrColumn::new);\n }",
"Object getPrimaryKeyIDForForeignKeyID(Object foreignKeyID) throws Exception;",
"public String getJP_BankData_ReferenceNo();",
"public DictionaryVOImpl getDictionaryVO1() {\r\n return (DictionaryVOImpl)findViewObject(\"DictionaryVO1\");\r\n }",
"public void setInvoiceDictionaryComment(String invoiceDictionaryComment) {\r\n this.invoiceDictionaryComment = invoiceDictionaryComment;\r\n }",
"@NotNull\n @Generated\n @Selector(\"keyData\")\n public native NSData keyData();",
"private String getSubDocumentoKey(PreDocumentoEntrata preDoc) {\n\t\t\n\t\treturn (preDoc.getCapitoloEntrataGestione()!=null?preDoc.getCapitoloEntrataGestione().getUid() :\"null\") + \" \" \n\t\t\t\t+ (preDoc.getAccertamento()!=null?preDoc.getAccertamento().getUid():\"null\") + \" \" \n\t\t\t\t+ (preDoc.getSubAccertamento()!=null?preDoc.getSubAccertamento().getUid():\"null\") + \" \"\n\t\t\t\t+ (preDoc.getProvvisorioDiCassa() !=null?preDoc.getProvvisorioDiCassa().getUid() :\"null\") + \" \";\n\t}",
"@NullableDecl\n public K getInverse(@NullableDecl Object obj) {\n int findEntryByValue = findEntryByValue(obj);\n if (findEntryByValue == -1) {\n return null;\n }\n return this.keys[findEntryByValue];\n }",
"public long getDictDataId();",
"com.hps.july.persistence.OrganizationKey getOrganizationKey() throws java.rmi.RemoteException;",
"public int getJP_BankDataLine_ID();",
"@Override\n\tpublic int getPrimaryKey() {\n\t\treturn _keHoachKiemDemNuoc.getPrimaryKey();\n\t}",
"public java.util.Map<java.lang.CharSequence,java.lang.Object> getVoiDpreds() {\n return voiDpreds;\n }",
"public Long getRowKey() {\n return (Long) getAttributeInternal(ROWKEY);\n }",
"public int getJP_BankData_ID();",
"protected XmlElement getSelectKey(IntrospectedColumn introspectedColumn,\n GeneratedKey generatedKey) {\n String identityColumnType = introspectedColumn.getFullyQualifiedJavaType().getFullyQualifiedName();\n\n XmlElement answer = new XmlElement(\"selectKey\"); //$NON-NLS-1$\n answer.addAttribute(new Attribute(\"resultType\", identityColumnType)); //$NON-NLS-1$\n answer.addAttribute(new Attribute(\n \"keyProperty\", introspectedColumn.getJavaProperty())); //$NON-NLS-1$\n answer.addAttribute(new Attribute(\"order\", generatedKey.getMyBatis3Order())); //$NON-NLS-1$\n\n answer.addElement(new TextElement(generatedKey.getRuntimeSqlStatement()));\n\n return answer;\n }",
"public Integer getBiObjectID() {\r\n\t\treturn biObjectID;\r\n\t}",
"public java.util.Map<java.lang.CharSequence,java.lang.Object> getVoiDpreds() {\n return voiDpreds;\n }",
"String getLookupKey();",
"public String getKeyId() {\n return getProperty(KEY_ID);\n }",
"public String getItskey() {\n return itskey;\n }",
"@Override\n\tpublic java.lang.String getDataCode() {\n\t\treturn _dictData.getDataCode();\n\t}",
"public String getKey() { \n\t\treturn getKeyElement().getValue();\n\t}",
"public String getFirstKeyColumnName() {\n\t\treturn \"wishlistItemId\";\n\t}"
]
| [
"0.66599786",
"0.65529966",
"0.6091736",
"0.58819675",
"0.5881908",
"0.5876334",
"0.57472605",
"0.54227996",
"0.5373127",
"0.53606784",
"0.5335893",
"0.5282909",
"0.5248861",
"0.52467084",
"0.51647496",
"0.5139084",
"0.5118518",
"0.5068211",
"0.506619",
"0.505285",
"0.5051266",
"0.50264287",
"0.5017346",
"0.49803573",
"0.4976123",
"0.4960595",
"0.49536228",
"0.4945619",
"0.4917903",
"0.48945993",
"0.48797238",
"0.4858059",
"0.48368198",
"0.48037836",
"0.4802711",
"0.47875512",
"0.4750212",
"0.47494063",
"0.47477645",
"0.47431704",
"0.47279668",
"0.47253498",
"0.4712687",
"0.47101632",
"0.47090736",
"0.47079378",
"0.46966448",
"0.46767807",
"0.46705556",
"0.465497",
"0.4653168",
"0.46482337",
"0.46401218",
"0.46297067",
"0.4628334",
"0.4609219",
"0.4609219",
"0.46010453",
"0.45950434",
"0.45938691",
"0.45935664",
"0.45915002",
"0.45909217",
"0.45776966",
"0.45711038",
"0.45686996",
"0.4563183",
"0.4559165",
"0.4559165",
"0.45566958",
"0.45315593",
"0.4524696",
"0.45193395",
"0.45161957",
"0.45160466",
"0.4512895",
"0.45126167",
"0.4505343",
"0.45048413",
"0.4500839",
"0.44911245",
"0.4478042",
"0.44675288",
"0.4463889",
"0.4458175",
"0.44539368",
"0.4453704",
"0.44457278",
"0.44425088",
"0.44385502",
"0.44371393",
"0.44333988",
"0.442738",
"0.4424726",
"0.44241658",
"0.4421906",
"0.44138044",
"0.44124508",
"0.44100294",
"0.4409147"
]
| 0.6967637 | 0 |
This method was generated by Apache iBATIS ibator. This method sets the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_KEY | public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {
this.invoiceDictionaryKey = invoiceDictionaryKey;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public void privateSetI13nActKey(com.hps.july.persistence.DocumentKey inKey) {\n\tboolean i13nAct_NULLTEST = (inKey == null);\n\tif (i13nAct_NULLTEST) i13nAct_document = null; else i13nAct_document = (new Integer(inKey.document));\n}",
"public void setInvoiceDictionaryComment(String invoiceDictionaryComment) {\r\n this.invoiceDictionaryComment = invoiceDictionaryComment;\r\n }",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_dictData.setPrimaryKey(primaryKey);\n\t}",
"public void setInvoiceID(String invoiceID) {\n\t\tINVOICE_ID = invoiceID;\n\t}",
"public void setLBR_DocLine_ICMS_ID (int LBR_DocLine_ICMS_ID);",
"public void setInvoiceNumber(int invoicenum) {\n invoiceNumber = invoicenum;\n }",
"public static void setInvoiceData (final InvoiceData id)\n {\n invoiceData = id;\n }",
"public void setDictKey(Long dictKey) {\r\n\t\tthis.dictKey = dictKey;\r\n\t}",
"void setInvoiceId(Long invoiceId);",
"public void setUlIdInvoInvoice(int ulIdInvoInvoice)\r\n {\r\n this._ulIdInvoInvoice = ulIdInvoInvoice;\r\n this._has_ulIdInvoInvoice = true;\r\n }",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public void setInvoice(rules.engine.example.SalaryInvoice _invoice)\n {\n invoice = _invoice;\n }",
"void privateSetOrganizationKey(com.hps.july.persistence.OrganizationKey inKey) throws java.rmi.RemoteException;",
"public void setJP_BankData_ReferenceNo (String JP_BankData_ReferenceNo);",
"public Builder setInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n invoice_ = value;\n onChanged();\n } else {\n invoiceBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public void setKey(String isbn13) {\n\t\tthis.isbn13 = isbn13;\n\t}",
"public void setCountryKey(ObjectKey key) throws TorqueException\n {\n \n setCustCountryId(((NumberKey) key).intValue());\n }",
"public void setLanguageRelatedByCustLanguageIdKey(ObjectKey key) throws TorqueException\n {\n \n setCustLanguageId(((NumberKey) key).intValue());\n }",
"public void setExternalData(PDExternalDataDictionary externalData) {\n/* 365 */ getCOSObject().setItem(\"ExData\", externalData);\n/* */ }",
"public void setJP_BankData_ID (int JP_BankData_ID);",
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public void setJP_BankDataLine_ID (int JP_BankDataLine_ID);",
"@Override\n public void setPrimaryKey(java.lang.Object key) {\n\n mnDbmsType = ((int[]) key)[0];\n mnPkYearId = ((int[]) key)[1];\n mnPkTypeCostObjectId = ((int[]) key)[2];\n mnPkRefCompanyBranchId = ((int[]) key)[3];\n mnPkRefReferenceId = ((int[]) key)[4];\n mnPkRefEntityId = ((int[]) key)[5];\n mnPkBizPartnerId = ((int[]) key)[6];\n mtDbmsDateStart = ((java.util.Date[]) key)[7];\n mtDbmsDateEnd = ((java.util.Date[]) key)[8];\n }",
"private int setDictionaryValue(final PdfObject pdfObject,int i, final byte[] raw, final boolean ignoreRecursion) {\n int end=i;\n int nextC=i;\n \n //ignore any gaps\n while(raw[nextC]==10 || raw[nextC]==32 || raw[nextC]==9) {\n nextC++;\n }\n \n //allow for null object\n if(raw[nextC]=='n' && raw[nextC+1]=='u' && raw[nextC+2]=='l' && raw[nextC+3]=='l'){\n i=nextC+4;\n return i;\n }else if(raw[nextC]=='[' && raw[nextC+1]==']'){ //allow for empty object []\n i=nextC;\n return i;\n }\n \n if(raw[i]!='<' && raw[i+1]!='<') {\n end += 2;\n }\n \n boolean inDictionary=true;\n final boolean isKey=raw[end-1]=='/';\n \n while(inDictionary){\n \n if(raw[end]=='<'&& raw[end+1]=='<'){\n int level2=1;\n end++;\n while(level2>0){\n \n if(raw[end]=='<'&& raw[end+1]=='<'){\n level2++;\n end += 2;\n }else if(raw[end-1]=='>'&& raw[end]=='>'){\n level2--;\n if(level2>0) {\n end += 2;\n }\n }else if(raw[end]=='('){ //scan (strings) as can contain >> \n \n end++;\n while(raw[end]!=')' || ObjectUtils.isEscaped(raw, end)) {\n end++;\n }\n }else {\n end++;\n }\n }\n \n inDictionary=false;\n \n }else if(raw[end]=='R' ){\n inDictionary=false;\n }else if(isKey && (raw[end]==' ' || raw[end]==13 || raw[end]==10 || raw[end]==9)){\n inDictionary=false;\n }else if(raw[end]=='/'){\n inDictionary=false;\n end--;\n }else if(raw[end]=='>' && raw[end+1]=='>'){\n inDictionary=false;\n end--;\n }else {\n end++;\n }\n }\n \n //boolean save=debugFastCode;\n Dictionary.readDictionary(pdfObject,i, raw, PDFkeyInt, ignoreRecursion, objectReader, isInlineImage);\n \n //use correct value\n return end;\n }",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public void privateSetSiteDocKey(com.hps.july.persistence.SiteDocKey inKey) {\n\tboolean siteDoc_NULLTEST = (inKey == null);\n\tif (siteDoc_NULLTEST) siteDoc_sitedoc = null; else siteDoc_sitedoc = (new Integer(inKey.sitedoc));\n}",
"public void setForeignkeyArray(int i, com.guidewire.datamodel.ForeignkeyDocument.Foreignkey foreignkey)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n com.guidewire.datamodel.ForeignkeyDocument.Foreignkey target = null;\r\n target = (com.guidewire.datamodel.ForeignkeyDocument.Foreignkey)get_store().find_element_user(FOREIGNKEY$4, i);\r\n if (target == null)\r\n {\r\n throw new IndexOutOfBoundsException();\r\n }\r\n target.set(foreignkey);\r\n }\r\n }",
"public void setInvoice(java.lang.String invoice) {\r\n this.invoice = invoice;\r\n }",
"@Generated\n @Selector(\"setKeyData:\")\n public native void setKeyData(@NotNull NSData value);",
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"void privateSetExpeditorKey(com.hps.july.persistence.WorkerKey inKey) throws java.rmi.RemoteException;",
"@Override\n\tpublic void setPrimaryKey(int primaryKey) {\n\t\t_keHoachKiemDemNuoc.setPrimaryKey(primaryKey);\n\t}",
"void setObjectKey(String objectKey);",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"public void setInvoiceNo (java.lang.String invoiceNo) {\n\t\tthis.invoiceNo = invoiceNo;\n\t}",
"public void setM_Warehouse_ID (int M_Warehouse_ID)\n{\nset_Value (\"M_Warehouse_ID\", new Integer(M_Warehouse_ID));\n}",
"private int setValue(final PdfObject pdfObject,int i, final byte[] raw, final int length, final boolean map) {\n final boolean ignoreRecursion=pdfObject.ignoreRecursion();\n \n if(debugFastCode) {\n System.out.println(padding + pdfObject.getObjectRefAsString() + \" =================Reading value for key=\" + PDFkey + \" (\" + PDFkeyInt + \") type=\" + PdfDictionary.showAsConstant(pdfKeyType) + \" ignorRecursion=\" + ignoreRecursion + ' ' + pdfObject);\n }\n \n //resolve now in this case as we need to ensure all parts present\n if(pdfKeyType==PdfDictionary.VALUE_IS_UNREAD_DICTIONARY && pdfObject.isDataExternal()) {\n pdfKeyType = PdfDictionary.VALUE_IS_DICTIONARY;\n }\n \n \n switch(pdfKeyType){\n \n //read text stream (this is text) and also special case of [] in W in CID Fonts\n case PdfDictionary.VALUE_IS_TEXTSTREAM:{\n i = TextStream.setTextStreamValue(pdfObject, i, raw, ignoreRecursion,PDFkeyInt, objectReader);\n break;\n \n }case PdfDictionary.VALUE_IS_NAMETREE:{\n i = Name.setNameTreeValue(pdfObject, i, raw, length, ignoreRecursion,PDFkeyInt,objectReader);\n break;\n \n //readDictionary keys << /A 12 0 R /B 13 0 R >>\n }case PdfDictionary.VALUE_IS_DICTIONARY_PAIRS:{\n i = Dictionary.setDictionaryValue(pdfObject, i, raw, length, ignoreRecursion,objectReader,PDFkeyInt);\n break;\n \n //Strings\n }case PdfDictionary.VALUE_IS_STRING_ARRAY:{\n final Array objDecoder=new Array(objectReader,i, endPt, PdfDictionary.VALUE_IS_STRING_ARRAY);\n i=objDecoder.readArray(ignoreRecursion, raw, pdfObject, PDFkeyInt);\n break;\n \n //read Object Refs in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_BOOLEAN_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_BOOLEAN_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read Object Refs in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_KEY_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_KEY_ARRAY);\n i=objDecoder.readArray(ignoreRecursion, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_MIXED_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_MIXED_ARRAY);\n i=objDecoder.readArray(ignoreRecursion, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref) same as Mixed but allow for recursion and store as objects\n }case PdfDictionary.VALUE_IS_OBJECT_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_OBJECT_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_DOUBLE_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_DOUBLE_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject,PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_INT_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_INT_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_FLOAT_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_FLOAT_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read String (may be indirect ref)\n }case PdfDictionary.VALUE_IS_NAME:{\n i = Name.setNameStringValue(pdfObject, i, raw, map,PDFkey, PDFkeyInt, objectReader);\n break;\n \n //read true or false\n }case PdfDictionary.VALUE_IS_BOOLEAN:{\n i = BooleanValue.set(pdfObject, i, raw, PDFkeyInt);\n break;\n \n //read known set of values\n }case PdfDictionary.VALUE_IS_STRING_CONSTANT:{\n i = StringValue.setStringConstantValue(pdfObject, i, raw,PDFkeyInt);\n break;\n \n //read known set of values\n }case PdfDictionary.VALUE_IS_STRING_KEY:{\n i = StringValue.setStringKeyValue(pdfObject, i, raw,PDFkeyInt);\n break;\n \n //read number (may be indirect ref)\n }case PdfDictionary.VALUE_IS_INT:{\n \n //roll on\n i++;\n \n //move cursor to start of text\n while(raw[i]==10 || raw[i]==13 || raw[i]==32 || raw[i]==47) {\n i++;\n }\n \n i = NumberValue.setNumberValue(pdfObject, i, raw, PDFkeyInt,objectReader);\n break;\n \n //read float number (may be indirect ref)\n }case PdfDictionary.VALUE_IS_FLOAT:{\n i = FloatValue.setFloatValue(pdfObject, i, raw, length,PDFkeyInt,objectReader);\n break;\n \n //read known Dictionary object which may be direct or indirect\n }case PdfDictionary.VALUE_IS_UNREAD_DICTIONARY:{\n i = setUnreadDictionaryValue(pdfObject, i, raw);\n break;\n \n }case PdfDictionary.VALUE_IS_VARIOUS:{\n if(raw.length-5>0 && raw[i+1]=='n' && raw[i+2]=='u' && raw[i+3]=='l' && raw[i+4]=='l'){ //ignore null value and skip (ie /N null)\n i += 5;\n }else{\n i = setVariousValue(pdfObject, i, raw, length, PDFkeyInt, map, ignoreRecursion,objectReader);\n }\n break;\n \n }case PdfDictionary.VALUE_IS_DICTIONARY:{\n i = setDictionaryValue(pdfObject, i, raw, ignoreRecursion);\n break;\n }\n }\n return i;\n }",
"public void setInvoice(String invoice) {\n this.invoice = invoice;\n }",
"public IBusinessObject setAccessIID(IIID access)\n throws ORIOException;",
"public void inicializarItemInvoice() {\r\n\t\ttry {\r\n\t\t\teditarItem = false;\r\n\t\t\trequired = true;\r\n\t\t\tpo = new PO();\r\n\t\t\tlistPos = new ArrayList<PO>();\r\n\t\t\titemInvoice = null;\r\n\t\t\titemPO = null;\r\n\t\t\tpartNumber = null;\r\n\t\t\tBasicFiltroPO filtroPO = new BasicFiltroPO();\r\n\r\n\t\t\tCarga c = facade.getCargaById(invoice.getCarga().getId());\r\n\t\t\tfiltroPO.setFilial(c.getFilial());\r\n\t\t\tlistPos = facade.listarPO(filtroPO);\r\n\t\t\tpoConverter = new ConverterUtil<PO>(listPos);\r\n\r\n\t\t} catch (BusinessException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}",
"public void setDataDictionaryService(DataDictionaryService dataDictionaryService) {\r\n this.dataDictionaryService = dataDictionaryService;\r\n }",
"public void setDataDictionaryService(DataDictionaryService dataDictionaryService) {\r\n this.dataDictionaryService = dataDictionaryService;\r\n }",
"public void privateSetPeopleKey(com.hps.july.persistence.PeopleKey inKey) {\n\tboolean people_NULLTEST = (inKey == null);\n\tif (people_NULLTEST) people_man = null; else people_man = (new Integer(inKey.man));\n}",
"public void setI18Key(String i18Key) {\r\n\t\tthis.i18Key = i18Key;\r\n\t}",
"public void setEncryptionKey(LVValue encryptKey) throws LRException\n\t{\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\tmyData.encryptKey=encryptKey;\n\t}",
"public void setKeyData(String keyData)\n\t{\n\t\tthis.keyData = keyData;\n\t}",
"void setKeyArray(int i, com.icare.eai.schema.om.evSORequest.EvSORequestDocument.EvSORequest.Key key);",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n if (invoiceBuilder_ != null) {\n return invoiceBuilder_.getMessageOrBuilder();\n } else {\n return invoice_;\n }\n }",
"public int getInvoiceID(){\n return invoiceID;\n }",
"public sparqles.avro.discovery.DGETInfo.Builder setVoiDpreds(java.util.Map<java.lang.CharSequence,java.lang.Object> value) {\n validate(fields()[10], value);\n this.voiDpreds = value;\n fieldSetFlags()[10] = true;\n return this; \n }",
"public void setPostalCode( EAIMMCtxtIfc theCtxt, java.lang.String thePostalCode) throws EAIException;",
"public static Invoice getInvoiceByKey(int invoiceKey) {\n\t\tInvoice invoice = null;\n\t\tConnection conn = ConnectionFactory.getConnection();\n\t\tPreparedStatement ps = null;\n\t\tResultSet rs = null;\n\t\t\n\t\tString query = \"SELECT invoiceKey, invoiceUuid, customerKey, personKey \"\n\t\t\t\t\t + \"FROM Invoice WHERE invoiceKey = ?\";\n\t\t\n\t\t// this try/catch executes the query from above to get the invoice.\n\t\ttry {\n\t\t\tps = conn.prepareStatement(query);\n\t\t\tps.setInt(1, invoiceKey);\n\t\t\trs = ps.executeQuery();\n\t\t\t// \"if\" executes if the above query finds an invoice in the database.\n\t\t\tif(rs.next()) {\n\t\t\t\tString invoiceUuid = rs.getString(\"invoiceUuid\");\n\t\t\t\tint customerKey = rs.getInt(\"customerKey\");\n\t\t\t\tint personKey = rs.getInt(\"personKey\");\n\t\t\t\tCustomer customer = Customer.getCustomerByKey(customerKey);\n\t\t\t\tPerson salesPerson = Person.getPersonByKey(personKey);\n\t\t\t\tinvoice = new Invoice(invoiceUuid, customer, salesPerson);\n\t\t\t\t\n\t\t\t\t//Inner query to retrieve the productKey to store the product list in invoice\n\t\t\t\tString plQuery = \"SELECT productKey FROM InvoiceProduct WHERE invoiceKey = ?\";\n\t\t\t\t\n\t\t\t\tPreparedStatement ps2 = null;\n\t\t\t\tResultSet rs2 = null;\n\t\t\t\t\n\t\t\t\t//This try/catch executes the query from above to return a list of products on a given invoiceKey.\n\t\t\t\ttry {\n\t\t\t\t\tps2 = conn.prepareStatement(plQuery);\n\t\t\t\t\tps2.setInt(1, invoiceKey);\n\t\t\t\t\trs2 = ps2.executeQuery();\n\t\t\t\t\t// \"if\" executes if the corresponding product is in the database\n\t\t\t\t\twhile(rs2.next()) {\n\t\t\t\t\t\tint productKey = rs2.getInt(\"productKey\");\n\t\t\t\t\t\tProduct product = Product.getProductByKey(productKey);\n\t\t\t\t\t\tinvoice.addProduct(product);\n\t\t\t\t\t}\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\tSystem.out.println(\"SQLException: \");\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t} finally {\n\t\t\t\t\t//Close the connections opened in this method.\n\t\t\t\t\tConnectionFactory.closeConnection(ps2, rs2);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrow new IllegalStateException(\"No such invoice in database with id = \" + invoiceKey);\n\t\t\t}\n\t\t\trs.close();\n\t\t\tps.close();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"SQLException: \");\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(e);\n\t\t} finally {\n\t\t\t//Close the connections opened in this method.\n\t\t\tConnectionFactory.closeConnection(conn, ps, rs);\n\t\t}\n\t\treturn invoice;\n\t}",
"public void setInoId(String pId);",
"@Override\n\tpublic void setDataCode(java.lang.String dataCode) {\n\t\t_dictData.setDataCode(dataCode);\n\t}",
"public void setBiObjectID(Integer biObjectID) {\r\n\t\tthis.biObjectID = biObjectID;\r\n\t}",
"public InwardEntity updateInvoice(InwardEntity entity , String companyId, String customerId) throws EntityException\n\t\t\t{\n\n\t\t\t\tDatastore ds = null;\n\t\t\t\tCompany cmp = null;\n\t\t\t\tBusinessPlayers customer = null;\n\t\t\t\tProducts prod = null;\n\t\t\t\tTax tax = null;\n\t\t\t\tKey<InwardEntity> key = null;\n\t\t\t\tObjectId oid = null;\n\t\t\t\tObjectId customerOid = null;\n\t\t\t\tObjectId prodOid = null;\n\t\t\t\tObjectId taxOid = null;\n\t\t\t\tInwardEntity invoice = null;\n\t\t\t\tboolean customerChange = false;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\t\tcmp = query.get();\n\t\t\t\t\tif(cmp == null)\n\t\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t//check if invoice exists with object id for update , fetch invoice, make changes to it\n\t\t\t\t\n\t\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isInvoice\", true).\n\t\t\t\t\t\t\tfilter(\"id\",entity.getId());\n\n\t\t\t\t\tinvoice = iQuery.get();\n\t\t\t\t\tif(invoice == null)\n\t\t\t\t\t\tthrow new EntityException(512, \"invoice not found\", null, null); //cant update\n\n\n\t\t\t\t\t/*check if vendor changed in update, if so then check if new vendor exists\n\t\t\t\t\t * if vendor hasnt changed bt was deleted - let it be\n\t\t\t\t\t */\n\n\t\t\t\t\tif(!(customerId.equals(invoice.getCustomer().getId().toString())))\n\t\t\t\t\t{\n\t\t\t\t\t\tcustomerChange = true;\n\t\t\t\t\t\tcustomerOid = new ObjectId(customerId);\n\t\t\t\t\t\tQuery<BusinessPlayers> bpquery = ds.createQuery(BusinessPlayers.class).field(\"company\").equal(cmp).field(\"isCustomer\").equal(true).field(\"id\").equal(customerOid).field(\"isDeleted\").equal(false);\n\t\t\t\t\t\tcustomer = bpquery.get();\n\t\t\t\t\t\tif(customer == null)\n\t\t\t\t\t\t\tthrow new EntityException(512, \"customer not found\", null, null);\n\n\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t/*if bill number is editable, do check if there is new /old vendor + new/old bill number combo unique\n\t\t\t\t\t * if vendor hasnt changed and bill number hasnt chngd - no prob\n\t\t\t\t\t * if vendor/bill number has chngd do check\n\t\t\t\t\t */\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t// front end list cant be null\n\t\t\t\t\tList<OrderDetails> invoiceDetails = entity.getInvoiceDetails();\n\n\t\t\t\t\tfor(OrderDetails details : invoiceDetails)\n\t\t\t\t\t{\n\n\t\t\t\t\t\t//check tax exists, if not deleted\n\t\t\t\t\t\tif(details.getTax().getId() != null && details.getTax().isDeleted() == false)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\ttaxOid = new ObjectId(details.getTax().getId().toString());\n\t\t\t\t\t\t\tQuery<Tax> taxquery = ds.createQuery(Tax.class).field(\"company\").equal(cmp).field(\"id\").equal(taxOid).field(\"isDeleted\").equal(false);\n\t\t\t\t\t\t\ttax = taxquery.get();\n\t\t\t\t\t\t\tif(tax == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(513, \"tax not found\", null, null); //has been deleted in due course\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t//check tax exists, if deleted\n\t\t\t\t\t\tif(details.getTax().getId() != null && details.getTax().isDeleted() == true)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\ttaxOid = new ObjectId(details.getTax().getId().toString());\n\t\t\t\t\t\t\tQuery<Tax> taxquery = ds.createQuery(Tax.class).field(\"company\").equal(cmp).field(\"id\").equal(taxOid).field(\"isDeleted\").equal(true);\n\t\t\t\t\t\t\ttax = taxquery.get();\n\t\t\t\t\t\t\tif(tax == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(513, \"tax not found\", null, null); //tax doesn't exists / may not be deleted\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(details.getProduct().isDeleted() == false)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\tprodOid = new ObjectId(details.getProduct().getId().toString());\n\t\t\t\t\t\t\tQuery<Products> prodquery = ds.createQuery(Products.class).field(\"company\").equal(cmp).field(\"id\").equal(prodOid).field(\"isDeleted\").equal(false);\n\t\t\t\t\t\t\tprod = prodquery.get();\n\t\t\t\t\t\t\tif(prod == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(514, \"product not found\", null, null); //has been deleted in due course\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(details.getProduct().isDeleted() == true)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\tprodOid = new ObjectId(details.getProduct().getId().toString());\n\t\t\t\t\t\t\tQuery<Products> prodquery = ds.createQuery(Products.class).field(\"company\").equal(cmp).field(\"id\").equal(prodOid).field(\"isDeleted\").equal(true);\n\t\t\t\t\t\t\tprod = prodquery.get();\n\t\t\t\t\t\t\tif(prod == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(514, \"product not found\", null, null); //product doesn't exists / may not be deleted\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\tdetails.setId(new ObjectId());\n\t\t\t\t\t\tdetails.setTax(tax);\n\t\t\t\t\t\tdetails.setProduct(prod);\n\n\t\t\t\t\t\ttax = null;\n\t\t\t\t\t\ttaxOid = null;\n\t\t\t\t\t\tprod = null;\n\t\t\t\t\t\tprodOid = null;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println(\"protax\");\n\t\t\t\t\t\n\t\t\t\t\tinvoice.setInvoiceDetails(invoiceDetails);\n\t\t\t\t\tinvoice.setCompany(cmp);\n\t\t\t\t\tif(customerChange == true)\n\t\t\t\t\t\tinvoice.setCustomer(customer); //set only if vendor has changed\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tinvoice.setInvoiceDate(entity.getInvoiceDate());\n\t\t\t\t\tinvoice.setInvoiceDate(entity.getInvoiceDate());\n\t\t\t\t\tinvoice.setInvoiceDuedate(entity.getInvoiceDuedate());\n\t\t\t\t\t\n\t\t\t\t\tinvoice.setInvoiceGrandtotal(entity.getInvoiceGrandtotal());\n\t\t\t\t\tinvoice.setInvoiceSubtotal(entity.getInvoiceSubtotal());\n\t\t\t\t\tinvoice.setInvoiceTaxtotal(entity.getInvoiceTaxtotal());\n\t\t\t\t\tjava.math.BigDecimal balance = invoice.getInvoiceGrandtotal().subtract(invoice.getInvoiceAdvancetotal()); //grand total is just set, read prev advance\n\t\t\t\t\tinvoice.setInvoiceBalance(balance);\n\n\t\t\t\t\tkey = ds.merge(invoice);\n\t\t\t\t\tif(key == null)\n\t\t\t\t\t\tthrow new EntityException(515, \"could not update\", null, null);\n\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\tcatch(EntityException e)\n\t\t\t\t{\n\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t\tcatch(Exception e)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tthrow new EntityException(500, null , e.getMessage(), null);\n\t\t\t\t}\n\n\t\t\t\treturn invoice;\n\t\t\t}",
"public void setC_DocType_ID(boolean isReceipt) {\n setIsReceipt(isReceipt);\n String sql = \"SELECT C_DocType_ID FROM C_DocType WHERE AD_Client_ID=? AND DocBaseType=? ORDER BY IsDefault DESC\";\n try {\n PreparedStatement pstmt = DB.prepareStatement(sql, get_TrxName());\n pstmt.setInt(1, getAD_Client_ID());\n if (isReceipt) {\n pstmt.setString(2, MDocType.DOCBASETYPE_ARReceipt);\n } else {\n pstmt.setString(2, MDocType.DOCBASETYPE_APPayment);\n }\n ResultSet rs = pstmt.executeQuery();\n if (rs.next()) {\n setC_DocType_ID(rs.getInt(1));\n } else {\n log.warning(\"setDocType - NOT found - isReceipt=\" + isReceipt);\n }\n rs.close();\n pstmt.close();\n } catch (SQLException e) {\n log.log(Level.SEVERE, sql, e);\n }\n }",
"public void testUpdateInvoiceAccuracy() throws Exception {\n Invoice invoice = new Invoice();\n\n invoice.setId(4);\n invoice.setCreationDate(new Date());\n invoice.setCreationUser(\"tc\");\n invoice.setModificationDate(new Date());\n invoice.setModificationUser(\"tc\");\n invoice.setCompanyId(5);\n invoice.setProjectId(8);\n invoice.setInvoiceNumber(\"invoiceNumber\");\n invoice.setPaid(true);\n invoice.setDueDate(new Date());\n invoice.setInvoiceDate(new Date());\n invoice.setPurchaseOrderNumber(\"purchaseOrderNumber\");\n invoice.setSalesTax(new BigDecimal(5));\n\n ExpenseEntry entry = new ExpenseEntry();\n entry.setAmount(new BigDecimal(5));\n ExpenseEntry[] expenseEntries = new ExpenseEntry[] {entry};\n invoice.setExpenseEntries(expenseEntries);\n\n PaymentTerm paymentTerm = new PaymentTerm();\n paymentTerm.setId(3);\n invoice.setPaymentTerm(paymentTerm);\n\n FixedBillingEntry fixedBillingEntry = new FixedBillingEntry();\n FixedBillingEntry[] fixedBillingEntries = new FixedBillingEntry[] {fixedBillingEntry};\n invoice.setFixedBillingEntries(fixedBillingEntries);\n\n InvoiceServiceDetail detail = new InvoiceServiceDetail();\n detail.setAmount(new BigDecimal(8));\n detail.setId(4);\n InvoiceServiceDetail[] serviceDetails = new InvoiceServiceDetail[] {detail};\n invoice.setServiceDetails(serviceDetails);\n\n InvoiceStatus invoiceStatus = new InvoiceStatus(4, \"description\", \"user\", \"user\", new Date(), new Date());\n invoice.setInvoiceStatus(invoiceStatus);\n\n invoiceSessionBean.updateInvoice(invoice, true);\n\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice();",
"public void setM_Product_ID (int M_Product_ID)\n{\nset_Value (\"M_Product_ID\", new Integer(M_Product_ID));\n}",
"public void setLBR_DocLine_ICMS_UU (String LBR_DocLine_ICMS_UU);",
"public void setStoreIBEligibilityInd(boolean value) {\n this.storeIBEligibilityInd = value;\n }",
"public void setJP_BankData_EDI_Info (String JP_BankData_EDI_Info);",
"public void setLanguageRelatedByLanguageIdKey(ObjectKey key) throws TorqueException\n {\n \n setLanguageId(((NumberKey) key).intValue());\n }",
"public void setAdditionalInternalData(byte[] additionalIntData) {\n\t\tthis.additionalIntData=additionalIntData;\n\t}",
"public void setDictDataId(long dictDataId);",
"public void setIdkey(String pIdkey){\n this.idkey = pIdkey;\n }",
"protected void setKeyArray(Object paramObject)\n/* */ {\n/* 103 */ this.m_keyTable = ((int[])paramObject);\n/* */ }",
"void privateSetAgregateKey(com.hps.july.persistence.StorageCardKey inKey) throws java.rmi.RemoteException;",
"public void setProcessOrderItemKey(long value) {\n\t\tthis.processOrderItemKey = value;\n\t}",
"public void setPrimaryKey(java.lang.String primaryKey) {\n\t\t_imageCompanyAg.setPrimaryKey(primaryKey);\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"public Builder setInvoice(\n Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice.Builder builderForValue) {\n if (invoiceBuilder_ == null) {\n invoice_ = builderForValue.build();\n onChanged();\n } else {\n invoiceBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public void setC_UOM_ID (int C_UOM_ID)\n{\nset_Value (\"C_UOM_ID\", new Integer(C_UOM_ID));\n}",
"public void setC_Decoris_PreSalesLine_ID (int C_Decoris_PreSalesLine_ID);",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder();",
"public void setInvoiceDate (java.util.Date invoiceDate) {\n\t\tthis.invoiceDate = invoiceDate;\n\t}",
"public void setM_Locator_ID (int M_Locator_ID)\n{\nset_Value (\"M_Locator_ID\", new Integer(M_Locator_ID));\n}",
"public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);",
"public void setDictContentCode(String value) {\r\n setAttributeInternal(DICTCONTENTCODE, value);\r\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar276(java.lang.Integer value) {\n validate(fields()[277], value);\n this.var276 = value;\n fieldSetFlags()[277] = true;\n return this;\n }",
"private void carregarInvoice() throws BusinessException {\r\n\r\n\t\t// REMOCAO DE ANEXO DE INVOICE\r\n\t\t// if (invoice.getAnexo() != null) {\r\n\t\t// nomeArquivo = invoice.getAnexo().getNomeArquivo();\r\n\t\t// }\r\n\r\n\t\tif (invoice.getIncoterm() != null) {\r\n\t\t\tIncoterm inco = facade.getIncoTermsById(invoice.getIncoterm()\r\n\t\t\t\t\t.getId());\r\n\t\t\tinvoice.setIncoterm(inco);\r\n\t\t}\r\n\t\trenderizaDadosFornecedor();\r\n\r\n\t}",
"public void setItemKey(String value) {\n setAttributeInternal(ITEMKEY, value);\n }",
"int updateByPrimaryKey(PdfCodeTemporary record);",
"public void setLBR_DocLine_Details_ID (int LBR_DocLine_Details_ID);",
"public void setVoiDpreds(java.util.Map<java.lang.CharSequence,java.lang.Object> value) {\n this.voiDpreds = value;\n }",
"public void setReferencedInKey(String complexTypeName);",
"@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_scienceApp.setPrimaryKey(primaryKey);\n\t}",
"InvoiceItem addInvoiceItem(InvoiceItem invoiceItem);"
]
| [
"0.6453189",
"0.59908557",
"0.59203947",
"0.5896791",
"0.5869181",
"0.5775951",
"0.57404816",
"0.56003565",
"0.53304464",
"0.52578455",
"0.5178182",
"0.51697713",
"0.5027654",
"0.4870816",
"0.4856022",
"0.48535165",
"0.4837539",
"0.48347116",
"0.4813866",
"0.48065192",
"0.47965294",
"0.4788246",
"0.47718918",
"0.47275215",
"0.47242883",
"0.47210005",
"0.4718481",
"0.46731603",
"0.4652799",
"0.46206167",
"0.46139884",
"0.45733216",
"0.45582047",
"0.45562997",
"0.45493293",
"0.44908372",
"0.44392383",
"0.4429278",
"0.44217998",
"0.44166768",
"0.4412789",
"0.44062468",
"0.43971002",
"0.4394688",
"0.43856552",
"0.43662238",
"0.43513718",
"0.43364054",
"0.43329233",
"0.4302036",
"0.43014327",
"0.4296849",
"0.4296849",
"0.42692834",
"0.42643547",
"0.4252404",
"0.42483544",
"0.4243652",
"0.423827",
"0.42120534",
"0.42072716",
"0.42072004",
"0.4199237",
"0.41979215",
"0.4188141",
"0.41806996",
"0.41649866",
"0.41621238",
"0.41455686",
"0.41437086",
"0.41435653",
"0.41429585",
"0.41428143",
"0.41379967",
"0.4133009",
"0.4129724",
"0.41290343",
"0.4123999",
"0.411641",
"0.41148686",
"0.4111997",
"0.41084704",
"0.41056588",
"0.41037908",
"0.41012177",
"0.41009852",
"0.40982166",
"0.40924454",
"0.40867653",
"0.4084323",
"0.40790707",
"0.40781865",
"0.4076208",
"0.40731832",
"0.40719664",
"0.4069608",
"0.40693757",
"0.4066579",
"0.40636814",
"0.40626907"
]
| 0.6637638 | 0 |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_CODE | public String getInvoiceDictionaryCode() {
return invoiceDictionaryCode;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getIntermidiateCode(){\r\n\t\treturn iCode;\r\n\t}",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public ByteVector getCodeItemCode() {\n\t\treturn codeItem.getCodeItemCode();\n\t}",
"public Integer getCodeid() {\n return codeid;\n }",
"@Override\n\tpublic java.lang.String getDataCode() {\n\t\treturn _dictData.getDataCode();\n\t}",
"public String getJP_BankDataCustomerCode2();",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public BigDecimal getCODE() {\r\n return CODE;\r\n }",
"public BigDecimal getCODE() {\r\n return CODE;\r\n }",
"public String getJP_BankDataCustomerCode1();",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"@Accessor(qualifier = \"code\", type = Accessor.Type.GETTER)\n\tpublic String getCode()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(CODE);\n\t}",
"public String getLBR_InterestCode();",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public String getCode() {\n return (String) get(\"code\");\n }",
"public java.lang.Integer getOrder_code_id() {\n return order_code_id;\n }",
"@Accessor(qualifier = \"voucherCode\", type = Accessor.Type.GETTER)\n\tpublic String getVoucherCode()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(VOUCHERCODE);\n\t}",
"public Long getCode() {\n return code;\n }",
"public Long getCode() {\n return code;\n }",
"public int getOrder_code_id() {\n return order_code_id;\n }",
"public BigDecimal getDOC_CODE() {\r\n return DOC_CODE;\r\n }",
"public CodeItem getCodeItem() {\n\t\treturn method.getCodeItem();\n\t}",
"public String getCodeId() {\r\n\t\treturn codeId;\r\n\t}",
"public CodeItem getCodeItem() {\n\t\treturn codeItem;\n\t}",
"public java.lang.String getInvoiceNo () {\n\t\treturn invoiceNo;\n\t}",
"public String getCode()\r\n\t{\r\n\t\treturn code;\r\n\t}",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"@Override\r\n\tpublic String getInterest(int ccode) throws Exception {\n\t\treturn session.selectOne(namespace + \".getInterest\",ccode);\r\n\t}",
"@Override\r\n\tpublic PostalCodeValue getCode() {\r\n\t\treturn new PostalCodeValue(code.getCode());\r\n\t}",
"public String getCode() {\n return super.getString(Constants.Properties.CODE);\n }",
"public String getCustomerCode()\n\t{\n\t\treturn getColumn(OFF_CUSTOMER_CODE, LEN_CUSTOMER_CODE) ;\n\t}",
"public String getCode()\n {\n return fCode;\n }",
"public String getCode() {\t\t\t\t\t\t\t\t\treturn code;\t\t\t\t\t\t\t}",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"Integer getCode();",
"public String getJP_BankData_ReferenceNo();",
"public String getDictContentCode() {\r\n return (String) getAttributeInternal(DICTCONTENTCODE);\r\n }",
"public String getCode() {\n return this.code;\n }",
"@java.lang.Override\n public long getCodeId() {\n return codeId_;\n }",
"@java.lang.Override\n public long getCodeId() {\n return codeId_;\n }",
"@java.lang.Override\n public long getCodeId() {\n return codeId_;\n }",
"public String getCode(){\n\t\treturn code;\n\t}",
"@Override\r\n\tpublic String getCode() {\n\t\treturn code;\r\n\t}",
"public String getCode() {\n return _code;\n }",
"public String getCode() {\r\n\t\treturn code;\r\n\t}",
"public String getCode() {\r\n\t\treturn code;\r\n\t}",
"public Itinerary getItinerary(int mCode)\r\n\t {\r\n\t\t return MRs[mCode].getItinerary();\r\n\t }",
"public int getCode() {\n\t\treturn this.code;\n\t}",
"public String getCode() {\r\n return code;\r\n }",
"public String getCode() {\r\n return code;\r\n }",
"public String getCode() {\r\n return code;\r\n }",
"public String getCode() {\r\n return code;\r\n }",
"public String getCode() {\r\n return code;\r\n }",
"public String getCode() {\r\n return code;\r\n }",
"public String getCode() {\r\n return code;\r\n }",
"public java.lang.String getBundleCode()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUNDLECODE$0, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }",
"int getCodeValue();",
"public int getCode() {\r\n\t\t\treturn code;\r\n\t\t}",
"public String getCode () {\r\n\t\treturn code;\r\n\t}",
"public String getCode() {\n\t\treturn Code;\n\t}",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode()\n {\n return code;\n }",
"@java.lang.Override\n public long getCodeId() {\n return codeId_;\n }",
"@java.lang.Override\n public long getCodeId() {\n return codeId_;\n }",
"@java.lang.Override\n public long getCodeId() {\n return codeId_;\n }",
"public int getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n\t\treturn code;\n\t}",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"public String getCode() {\n return code;\n }",
"@JsonIgnore\n @Override\n public String getCode()\n {\n return code;\n }",
"public StrColumn getPdbInsCode() {\n return (StrColumn) (isText ? textFields.computeIfAbsent(\"pdb_ins_code\", StrColumn::new) :\n getBinaryColumn(\"pdb_ins_code\"));\n }",
"public int getCode() {\r\n return code;\r\n }"
]
| [
"0.62027663",
"0.5909514",
"0.58917445",
"0.5646821",
"0.5631683",
"0.5587684",
"0.55770206",
"0.5569154",
"0.55668026",
"0.5527201",
"0.5527201",
"0.55192876",
"0.54718083",
"0.546365",
"0.53941965",
"0.53712803",
"0.53548527",
"0.53234184",
"0.52651",
"0.52621746",
"0.52621746",
"0.52606255",
"0.5218491",
"0.5216156",
"0.520511",
"0.51886",
"0.51856166",
"0.51597655",
"0.5156081",
"0.51550245",
"0.5148926",
"0.5147233",
"0.514721",
"0.5134504",
"0.5131828",
"0.51255417",
"0.5124077",
"0.51236284",
"0.51128584",
"0.51038635",
"0.5095993",
"0.5095993",
"0.5095993",
"0.50950414",
"0.50856525",
"0.50850356",
"0.5079669",
"0.5079669",
"0.5079216",
"0.50752634",
"0.5072432",
"0.5072432",
"0.5072432",
"0.5072432",
"0.5072432",
"0.5072432",
"0.5072432",
"0.50715274",
"0.5067304",
"0.5066713",
"0.5060842",
"0.50550383",
"0.5050466",
"0.5050466",
"0.5050466",
"0.5050466",
"0.504508",
"0.5040922",
"0.5040922",
"0.5040922",
"0.50353825",
"0.5033596",
"0.5033596",
"0.5033596",
"0.5033596",
"0.5033596",
"0.5033596",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032922",
"0.5032027",
"0.502927",
"0.5025721"
]
| 0.6815961 | 0 |
This method was generated by Apache iBATIS ibator. This method sets the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_CODE | public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {
this.invoiceDictionaryCode = invoiceDictionaryCode;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"@Override\n\tpublic void setDataCode(java.lang.String dataCode) {\n\t\t_dictData.setDataCode(dataCode);\n\t}",
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public void setDictContentCode(String value) {\r\n setAttributeInternal(DICTCONTENTCODE, value);\r\n }",
"IPayerEntry setCode(CD value);",
"public void setDOC_CODE(BigDecimal DOC_CODE) {\r\n this.DOC_CODE = DOC_CODE;\r\n }",
"@Accessor(qualifier = \"code\", type = Accessor.Type.SETTER)\n\tpublic void setCode(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(CODE, value);\n\t}",
"public void setCODE(BigDecimal CODE) {\r\n this.CODE = CODE;\r\n }",
"public void setCODE(BigDecimal CODE) {\r\n this.CODE = CODE;\r\n }",
"public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public void setCode(String cod){\n\t\tcodeService = cod;\n\t}",
"@Accessor(qualifier = \"voucherCode\", type = Accessor.Type.SETTER)\n\tpublic void setVoucherCode(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(VOUCHERCODE, value);\n\t}",
"public void setLBR_InterestCode (String LBR_InterestCode);",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public void setOfficecode(String officecode) {\n this.officecode = officecode;\n }",
"public void setCode(Code code) {\n this.Code = code;\n }",
"public void setCode(byte[] code);",
"public void setCodeid(Integer codeid) {\n this.codeid = codeid;\n }",
"void setCode(Integer aCode);",
"public void setPostalCode( EAIMMCtxtIfc theCtxt, java.lang.String thePostalCode) throws EAIException;",
"public void setCode(Integer code) {\n this.code = code;\n }",
"private void setOfficeCode(String officeCode) {\n this.officeCode = officeCode;\n UserImpl temp = (UserImpl) this.user;\n temp.setOfficeCode(officeCode);\n }",
"Code updateCode(Code code)\n throws DAOException;",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public void setDataCode(String dataCode);",
"public void setJP_BankData_ReferenceNo (String JP_BankData_ReferenceNo);",
"public void setCode(String code){\n\t\tthis.code = code;\n\t}",
"void setCode(String code);",
"public int set_code(String b);",
"public void setCode(int code) {\n this.code = code;\n }",
"public void setCode(int code) {\n this.code = code;\n }",
"public final void setCode(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String code)\n\t{\n\t\tgetMendixObject().setValue(context, MemberNames.Code.toString(), code);\n\t}",
"public void setCode(String code)\n {\n this.code = code;\n }",
"public void setDirectionCodeForHibernate(CS directionCode) {\n _directionCode = directionCode;\n }",
"protected void setCode(@Code int code) {\n\t\tthis.mCode = code;\n\t}",
"public void setCode (String code) {\r\n\t\tthis.code = code;\r\n\t}",
"public void setCode(String value) {\n setAttributeInternal(CODE, value);\n }",
"public void setCode(String code) {\n\t\tCode = code;\n\t}",
"public void setCode(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(CODE_PROP.get(), value);\n }",
"public void setCode(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(CODE_PROP.get(), value);\n }",
"public void setOrder_code_id(int order_code_id) {\n this.order_code_id = order_code_id;\n }",
"public void setCode(String code) {\r\n\t\tthis.code = code;\r\n\t}",
"public void setCode(String code) {\r\n\t\tthis.code = code;\r\n\t}",
"public void setCode(String code) {\r\n\t\tthis.code = code;\r\n\t}",
"public void setCodice(String codice) {\n\t\tthis.codice = codice;\n\t}",
"public void setCodiceID(int codiceID) \r\n\t\t{\r\n\t\t\tCodiceID = codiceID;\r\n\t\t}",
"public String getIntermidiateCode(){\r\n\t\treturn iCode;\r\n\t}",
"public Integer getCodeid() {\n return codeid;\n }",
"public void setJP_BankData_ID (int JP_BankData_ID);",
"public void setInlineCode(String inlineCode) {\n this.inlineCode = inlineCode;\n }",
"public void setOrder_code_id(java.lang.Integer order_code_id) {\n this.order_code_id = order_code_id;\n }",
"public void setCode(String code) {\n this.code = code;\n }",
"public void setCode(String code) {\n this.code = code;\n }",
"public void setCode(String code) {\n this.code = code;\n }",
"public void setCode(String code) {\n this.code = code;\n }",
"public void setCode(String code) {\n this.code = code;\n }",
"public void setCode(String code) {\n this.code = code;\n }",
"public abstract BaseQuantityDt setCode(String theCode);",
"public void setInvoiceNumber(int invoicenum) {\n invoiceNumber = invoicenum;\n }",
"public void setCode(String code) {\n\t\tthis.code = code;\n\t}",
"public void setCode(String code) {\n\t\tthis.code = code;\n\t}",
"public String onChangeResidenceCode()\r\n {\r\n\ttry\r\n\t{\r\n\r\n\t SessionCO sessionCO = returnSessionObject();\r\n\t residenceTypesSC.setCompCode(sessionCO.getCompanyCode());\r\n\t residenceTypesSC.setPreferredLanguage(sessionCO.getPreferredLanguage());\r\n\t residenceTypesVO = residenceTypesBO.returnDependencyByCode(residenceTypesSC);\r\n\t if(residenceTypesVO == null)\r\n\t {\r\n\t\tthrow new BOException(MessageCodes.INVALID_MISSING_CODE);\r\n\t }\r\n\r\n\t}\r\n\tcatch(Exception e)\r\n\t{\r\n\t residenceTypesVO = new RESIDENCE_TYPESVO();\r\n\t handleException(e, null, null);\r\n\t}\r\n\treturn SUCCESS;\r\n }",
"public void setItem_order_code_id(int item_order_code_id) {\n this.item_order_code_id = item_order_code_id;\n }",
"public void setCode(Long code) {\n this.code = code;\n }",
"public void setCode(Long code) {\n this.code = code;\n }",
"public void setCode(java.lang.String code) {\r\n this.code = code;\r\n }",
"public void setTEXTCODE(int value) {\n this.textcode = value;\n }",
"public void setRecapitoCode(String recapitoCode) {\n\t\tthis.recapitoCode = recapitoCode;\n\t}",
"public void setImpexLocaleCode(final String impexLocaleCode) {\n setConfigurationAndLog(LocalizedImpexImportService.IMPEX_LOCALE_CONF, impexLocaleCode);\n }",
"public void setDocCode(String docCode) {\n this.docCode = docCode;\n }",
"public void setCode(BizCodeEnum code) {\n this.code = code;\n }",
"public Type setCode(BoundCodeDt<DataTypeEnum> theValue) {\n\t\tmyCode = theValue;\n\t\treturn this;\n\t}",
"public void setBundleCode(java.lang.String bundleCode)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUNDLECODE$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUNDLECODE$0);\n }\n target.setStringValue(bundleCode);\n }\n }",
"public void setCodeField(java.lang.String codeField) {\n this.codeField = codeField;\n }",
"public void setIdCode(String idCode) {\n this.idCode = idCode == null ? null : idCode.trim();\n }",
"public void setCodProvincia(String codProvincia);",
"public Builder setInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n invoice_ = value;\n onChanged();\n } else {\n invoiceBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public void setUlIdInvoInvoice(int ulIdInvoInvoice)\r\n {\r\n this._ulIdInvoInvoice = ulIdInvoInvoice;\r\n this._has_ulIdInvoInvoice = true;\r\n }",
"public void setLBR_DocLine_ICMS_ID (int LBR_DocLine_ICMS_ID);",
"public void setBookCode(java.lang.String value);",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public void setCode(org.hl7.fhir.CodeableConcept code)\n {\n generatedSetterHelperImpl(code, CODE$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);\n }",
"public void setInventoryCod(String value) {\n setAttributeInternal(INVENTORYCOD, value);\n }",
"public void setAthleteCode(java.lang.Integer value) {\n\t\tsetValue(org.jooq.examples.cubrid.demodb.tables.Record.RECORD.ATHLETE_CODE, value);\n\t}",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"protected void setCode(UiAction uiAction, ResultSet rs, int rowNumber) throws SQLException{\n\t\t\n\t\tString code = rs.getString(UiActionTable.COLUMN_CODE);\n\t\t\n\t\tif(code == null){\n\t\t\t//do nothing when nothing found in database\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tuiAction.setCode(code);\n\t}",
"public void setInternationalStandardRecordingCode(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), INTERNATIONALSTANDARDRECORDINGCODE, value);\r\n\t}",
"public static void setInvoiceData (final InvoiceData id)\n {\n invoiceData = id;\n }",
"public void setDictContentAltCode(String value) {\r\n setAttributeInternal(DICTCONTENTALTCODE, value);\r\n }",
"public int getOrder_code_id() {\n return order_code_id;\n }",
"public void setSwiftCode(java.lang.String swiftCode)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SWIFTCODE$8, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SWIFTCODE$8);\n }\n target.setStringValue(swiftCode);\n }\n }",
"public void setMetaObjectCode(String metaObjectCode) {\n this.metaObjectCode = metaObjectCode;\n }",
"public void setCode(org.openarchives.www.oai._2_0.OAIPMHerrorcodeType.Enum code)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CODE$0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CODE$0);\n }\n target.setEnumValue(code);\n }\n }",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"public void setJP_BankDataLine_ID (int JP_BankDataLine_ID);"
]
| [
"0.61495143",
"0.5726517",
"0.56738305",
"0.56409",
"0.5523382",
"0.54808384",
"0.54600656",
"0.540854",
"0.53703463",
"0.5341696",
"0.53380764",
"0.5316152",
"0.5316152",
"0.5315207",
"0.53067744",
"0.5267749",
"0.52584255",
"0.52339965",
"0.52231",
"0.52214086",
"0.5213598",
"0.51916206",
"0.51834875",
"0.51432467",
"0.5136659",
"0.51326483",
"0.5072738",
"0.5071093",
"0.50709707",
"0.5067833",
"0.5066659",
"0.50560063",
"0.5052903",
"0.50382274",
"0.5032933",
"0.5032933",
"0.50099266",
"0.49905947",
"0.49852666",
"0.49798125",
"0.497848",
"0.49690408",
"0.49560943",
"0.49457607",
"0.49391103",
"0.49360445",
"0.49359095",
"0.49359095",
"0.49359095",
"0.4934461",
"0.4931363",
"0.4930804",
"0.49282834",
"0.4923521",
"0.49163258",
"0.49154112",
"0.4912425",
"0.4912425",
"0.4912425",
"0.4912425",
"0.4912425",
"0.4912425",
"0.48896945",
"0.48859215",
"0.48784044",
"0.48784044",
"0.4866277",
"0.4862851",
"0.48480478",
"0.48480478",
"0.48400143",
"0.48341462",
"0.48332703",
"0.48013064",
"0.48003438",
"0.4796719",
"0.47894937",
"0.47861424",
"0.4785558",
"0.47740263",
"0.4772217",
"0.47604322",
"0.4755806",
"0.4750737",
"0.4747159",
"0.4745196",
"0.47368044",
"0.4733576",
"0.47333235",
"0.47307977",
"0.4728961",
"0.472487",
"0.47243676",
"0.47237474",
"0.47162503",
"0.47018135",
"0.47005913",
"0.46979266",
"0.46955782",
"0.46879348"
]
| 0.66910064 | 0 |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_VALUE | public String getInvoiceDictionaryValue() {
return invoiceDictionaryValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice();",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n if (invoiceBuilder_ == null) {\n return invoice_;\n } else {\n return invoiceBuilder_.getMessage();\n }\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n if (invoiceBuilder_ != null) {\n return invoiceBuilder_.getMessageOrBuilder();\n } else {\n return invoice_;\n }\n }",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public byte[] getValue()\n\t{\n\t\tJNIBinaryField jBinField = (JNIBinaryField) getInternal();\n\n\t\treturn jBinField.getValue();\n\t}",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder();",
"public java.lang.String getInvoiceNo () {\n\t\treturn invoiceNo;\n\t}",
"public String getDictValue() {\r\n\t\treturn dictValue;\r\n\t}",
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public InvoiceStatus getInvoiceStatus()\n {\n return INVOICE_STATUS;\n }",
"public String getJP_SalesRep_Value();",
"public java.lang.String getInvoice() {\r\n return invoice;\r\n }",
"public InvoiceType getInvoiceType()\n {\n return INVOICE_TYPE;\n }",
"public String getDocumentNo() \n{\nreturn (String)get_Value(\"DocumentNo\");\n}",
"public java.math.BigDecimal getInvoiceAmount () {\n\t\treturn invoiceAmount;\n\t}",
"public String getDicValue() {\n\t\treturn dicValue;\n\t}",
"@JsonIgnore\r\n\tpublic Integer getMultivalue() {\r\n\t\treturn multivalue;\r\n\t}",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public int getM_Warehouse_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Warehouse_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"Integer getBusinessValue();",
"public String getInvoice() {\n return invoice;\n }",
"@Transient\n\t@XmlElementWrapper(name = \"lookupTableValueI18N\")\n\t@XmlElement(name = \"lookupTableValueI18NS\")\n\t@AccelaQuery(query = \"SELECT R.* FROM RLOOKUP_TABLE_VALUE_I18N R WHERE R.SERV_PROV_CODE=? AND R.RES_ID IS NOT NULL AND R.RES_ID=?\",\n\t\tisQl=false,paramProperties = {\"serviceProviderCode\", \"resId\"}, targetEntity = RefLookupTableValueI18NModel.class)\n\tpublic List<RefLookupTableValueI18NModel> getLookupTableValueI18NModel()\n\t{\n\t\treturn lookupTableValueI18NModel;\n\t}",
"public int getM_Inventory_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Inventory_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public byte getValueInRowKey() {\n return valueInRowKey;\n }",
"public int getP1ValueInInt() {\n\t\treturn p1ValueInInt;\n\t}",
"int getValue() {\r\n switch (this) {\r\n case Boolean:\r\n return BOOLEAN;\r\n case Number:\r\n return NUMBER;\r\n case Array:\r\n return ARRAY;\r\n default:\r\n return STRING;\r\n }\r\n }",
"@Override\n\tpublic Integer getValue() {\n\t\treturn value;\n\t}",
"@Override\n\tpublic Integer getValue() {\n\t\treturn value;\n\t}",
"public String getInt() {\n this.polyInt();\n return this.integral;\n }",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public Integer getInteger() {\r\n\t\ttype(ConfigurationItemType.INTEGER);\r\n\t\treturn integerValue;\r\n\t}",
"public String getInvoiceNumber() {\n return invoiceNumber;\n }",
"public int getValue()\n {\n return mi_value;\n }",
"public int getValue()\n {\n return mi_value;\n }",
"public int getInvoiceNumber() {\n return invoiceNumber;\n }",
"public int getInvoiceNumber() {\n return invoiceNumber;\n }",
"io.dstore.values.IntegerValue getValueLanguageId();",
"public int getC_POSDocType_ID() \n{\nInteger ii = (Integer)get_Value(COLUMNNAME_C_POSDocType_ID);\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public Integer getInvoiceDetailId() {\r\n return this.invoiceDetailId;\r\n }",
"public int getVoid_Inventory_ID() \n{\nInteger ii = (Integer)get_Value(\"Void_Inventory_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public String getValue() throws IOException\r\n {\r\n return getDictionary().getNameAsString( \"V\" );\r\n }",
"public DictionaryVOImpl getDictionaryVO1() {\r\n return (DictionaryVOImpl)findViewObject(\"DictionaryVO1\");\r\n }",
"public int getC_Conversion_UOM_ID() \n{\nInteger ii = (Integer)get_Value(\"C_Conversion_UOM_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public int getInvoiceID(){\n return invoiceID;\n }",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public String getValue() {\n\t\tString value;\n\t\ttry {\n\t\t\tvalue = this.getString(\"value\");\n\t\t} catch (Exception e) {\n\t\t\tvalue = null;\n\t\t}\n\t\treturn value;\n\t}",
"protected Object getCellObjectValue() {\n\t\treturn value;\n\t}",
"public rules.engine.example.SalaryInvoice getInvoice()\n {\n return invoice;\n }",
"public int getInt() {\r\n\t\treturn (value.getInt());\r\n\t}",
"public int getCurrentValue() throws DfException {\n\t\tfinal String valueStr = object.getString(CURRENT_VALUE);\n\t\tfinal int value = Integer.parseInt(valueStr);\n\t\treturn value;\n\t}",
"public String getInvoiceStatus() {\n return (String) getAttributeInternal(INVOICESTATUS);\n }",
"public BigDecimal getValorInt() {\n\t\treturn valorInt;\n\t}",
"public int getM_Locator_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Locator_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"@Override\n\tpublic java.lang.String getDataCode() {\n\t\treturn _dictData.getDataCode();\n\t}",
"public int getC_UOM_ID() \n{\nInteger ii = (Integer)get_Value(\"C_UOM_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public int getP2ValueInInt() {\n\t\treturn P2ValueInInt;\n\t}",
"public jkt.hms.masters.business.InpatientPrescriptionDetails getInpatientPrescriptionDetails () {\n\t\treturn inpatientPrescriptionDetails;\n\t}",
"public java.lang.String getValue_id() {\n return value_id;\n }",
"public String getJP_BankData_ReferenceNo();",
"public Integer getValue() {\n return _value ;\n }",
"public String getJP_BankAccount_Value();",
"public ArrayList<Integer> getValue() {\n return this.diccionario.valor;\n }",
"public Number getValue() {\n return ((ADocument) getDocument()).getValue();\n }",
"public Map<Integer, String> getAsText() throws SQLException {\n return retrieveExpected(createNativeAsTextStatement(), STRING);\n\n }",
"@Override\r\n\tpublic Integer getValue() {\n\t\treturn null;\r\n\t}",
"public Integer getInteger(String key) throws AgentBuilderRuntimeException {\n\t\tif (!extContainsKey(key))\n\t\t\tthrow new AgentBuilderRuntimeException(\n\t\t\t\t\t\"Dictionary does not contain key \\\"\" + key + \"\\\"\");\n\t\treturn (Integer) extGet(key);\n\t}",
"public io.dstore.values.IntegerValue getValueLanguageId() {\n if (valueLanguageIdBuilder_ == null) {\n return valueLanguageId_ == null ? io.dstore.values.IntegerValue.getDefaultInstance() : valueLanguageId_;\n } else {\n return valueLanguageIdBuilder_.getMessage();\n }\n }",
"public Integer getValueId() {\n return this.valueId;\n }",
"public io.dstore.values.IntegerValue getValueLanguageId() {\n return valueLanguageId_ == null ? io.dstore.values.IntegerValue.getDefaultInstance() : valueLanguageId_;\n }",
"public int getC_Invoice_ID();",
"public String getValue() {\n\t\treturn (String) get_Value(\"Value\");\n\t}",
"public Builder setInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n invoice_ = value;\n onChanged();\n } else {\n invoiceBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public Object getObjectI18N(String columnName) throws SQLException\n\t{\n\t\tObject retObj = null;\n\t\ttry\n\t\t{\n\t\t\tretObj = rs.getObject(columnName);\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t\tthrow new SQLException(\"Invalid column name (\" + columnName + \")\");\n\t\t\t\n\t\t}\n\t\t// If the column is CLOB\n\t\tif (retObj instanceof Clob)\n\t\t{\n\t\t\ttry\n\t\t\t{\n\t\t\t\tretObj = ClobToString((Clob) retObj);\n\t\t\t}\n\t\t\tcatch (IOException e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn retObj;\n\t}",
"public java.util.Map<java.lang.CharSequence,java.lang.Object> getVoiDpreds() {\n return voiDpreds;\n }",
"public String getOutBoundFlag(String appKey) throws DataServiceException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t\tString outBoundFlag = \"\";\r\n\t\ttry{\r\n\t\t\toutBoundFlag = (String) queryForObject(\"getAppFlagValue.query\",appKey);\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tLOGGER.error(\"Exception in getting outboundFlag value \" + e.getMessage(), e);\r\n\t\t\r\n\t\t}\r\n\t\treturn outBoundFlag;\r\n\t\r\n\t}",
"public String getIntermidiateCode(){\r\n\t\treturn iCode;\r\n\t}",
"public int getApplication() {\n\treturn com.hps.july.constants.Applications.DICTIONARY;\n}",
"public org.ccsds.moims.mo.mal.structures.UInteger getNumericValue()\n {\n return _ENUMERATION_NUMERIC_VALUES[ordinal];\n }",
"public final int intValue() {\n /*\n r2 = this;\n java.lang.String r0 = r2.f4032 // Catch:{ NumberFormatException -> 0x0007 }\n int r0 = java.lang.Integer.parseInt(r0) // Catch:{ NumberFormatException -> 0x0007 }\n return r0\n L_0x0007:\n java.lang.String r0 = r2.f4032 // Catch:{ NumberFormatException -> 0x000f }\n long r0 = java.lang.Long.parseLong(r0) // Catch:{ NumberFormatException -> 0x000f }\n int r1 = (int) r0\n return r1\n L_0x000f:\n java.math.BigDecimal r0 = new java.math.BigDecimal\n java.lang.String r1 = r2.f4032\n r0.<init>(r1)\n int r0 = r0.intValue()\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: o.C0442.intValue():int\");\n }",
"@Accessor(qualifier = \"voucherCode\", type = Accessor.Type.GETTER)\n\tpublic String getVoucherCode()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(VOUCHERCODE);\n\t}",
"public java.util.Map<java.lang.CharSequence,java.lang.Object> getVoiDpreds() {\n return voiDpreds;\n }",
"public int getM_Product_ID() \n{\nInteger ii = (Integer)get_Value(\"M_Product_ID\");\nif (ii == null) return 0;\nreturn ii.intValue();\n}",
"public int getInt(String columnName) {\n IntVector vector = (IntVector) table.getVector(columnName);\n return vector.get(rowNumber);\n }",
"public int internalValue() {\n return mNativeValue;\n }",
"public Integer getValue();",
"public Integer getValueId() {\n return valueId;\n }",
"IndicatorValue getIndicatorValueObject(\n Indicator indicator,\n List<Period> periods,\n Map<DimensionalItemId, DimensionalItemObject> itemMap,\n Map<DimensionalItemObject, Object> valueMap,\n Map<String, Integer> orgUnitCountMap);",
"com.google.protobuf.ByteString\n getField1164Bytes();",
"public ViewObjectImpl getCurrentDictionaryVO1() {\r\n return (ViewObjectImpl)findViewObject(\"CurrentDictionaryVO1\");\r\n }",
"public Integer value() {\n return this.value;\n }"
]
| [
"0.59403926",
"0.5911996",
"0.559768",
"0.5490984",
"0.54582375",
"0.54506457",
"0.5244495",
"0.5240003",
"0.521778",
"0.52061975",
"0.51481074",
"0.51466006",
"0.50771445",
"0.5023503",
"0.49956077",
"0.49760085",
"0.49119595",
"0.48670074",
"0.48140985",
"0.47883484",
"0.47793835",
"0.47786975",
"0.47653532",
"0.46971115",
"0.46898544",
"0.46897757",
"0.4683524",
"0.46750042",
"0.46619105",
"0.4643521",
"0.4632282",
"0.4609583",
"0.4604738",
"0.45975545",
"0.45941368",
"0.45890656",
"0.4585507",
"0.4585507",
"0.45802456",
"0.4574309",
"0.45554778",
"0.45489374",
"0.4541807",
"0.4541807",
"0.45339128",
"0.45339128",
"0.45137137",
"0.45059264",
"0.4499393",
"0.44969016",
"0.44954708",
"0.4488498",
"0.4480032",
"0.44757956",
"0.4454455",
"0.4453307",
"0.4444981",
"0.44398355",
"0.44226775",
"0.442183",
"0.44175753",
"0.44175133",
"0.44163677",
"0.44122577",
"0.4394584",
"0.4381768",
"0.43814075",
"0.43805355",
"0.437793",
"0.43761802",
"0.43759722",
"0.43684888",
"0.43657577",
"0.43630624",
"0.43561193",
"0.43551287",
"0.43418387",
"0.43408802",
"0.43225175",
"0.4316917",
"0.4315989",
"0.43058026",
"0.43017843",
"0.42985728",
"0.4294309",
"0.42935762",
"0.4282932",
"0.42817923",
"0.42771822",
"0.42717874",
"0.42709157",
"0.42700702",
"0.42623404",
"0.42604628",
"0.42595094",
"0.42590752",
"0.4239246",
"0.42331752",
"0.42293248",
"0.4227255"
]
| 0.63318604 | 0 |
This method was generated by Apache iBATIS ibator. This method sets the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_VALUE | public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {
this.invoiceDictionaryValue = invoiceDictionaryValue;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"public void setInvoiceDictionaryCode(String invoiceDictionaryCode) {\r\n this.invoiceDictionaryCode = invoiceDictionaryCode;\r\n }",
"public void setInvoiceDictionaryType(Long invoiceDictionaryType) {\r\n this.invoiceDictionaryType = invoiceDictionaryType;\r\n }",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public Builder setInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n invoice_ = value;\n onChanged();\n } else {\n invoiceBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public void setInvoice(rules.engine.example.SalaryInvoice _invoice)\n {\n invoice = _invoice;\n }",
"public void setInvoiceNumber(int invoicenum) {\n invoiceNumber = invoicenum;\n }",
"public void setInvoiceDictionaryComment(String invoiceDictionaryComment) {\r\n this.invoiceDictionaryComment = invoiceDictionaryComment;\r\n }",
"public void setJP_BankData_ReferenceNo (String JP_BankData_ReferenceNo);",
"public void setM_Warehouse_ID (int M_Warehouse_ID)\n{\nset_Value (\"M_Warehouse_ID\", new Integer(M_Warehouse_ID));\n}",
"public Long getInvoiceDictionaryType() {\r\n return invoiceDictionaryType;\r\n }",
"public Long getInvoiceDictionaryKey() {\r\n return invoiceDictionaryKey;\r\n }",
"public static void setInvoiceData (final InvoiceData id)\n {\n invoiceData = id;\n }",
"public void setInvoiceID(String invoiceID) {\n\t\tINVOICE_ID = invoiceID;\n\t}",
"public void setUlIdInvoInvoice(int ulIdInvoInvoice)\r\n {\r\n this._ulIdInvoInvoice = ulIdInvoInvoice;\r\n this._has_ulIdInvoInvoice = true;\r\n }",
"public Builder mergeInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (((bitField0_ & 0x00000020) == 0x00000020) &&\n invoice_ != Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice.getDefaultInstance()) {\n invoice_ =\n Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice.newBuilder(invoice_).mergeFrom(value).buildPartial();\n } else {\n invoice_ = value;\n }\n onChanged();\n } else {\n invoiceBuilder_.mergeFrom(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public Builder setInvoice(\n Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice.Builder builderForValue) {\n if (invoiceBuilder_ == null) {\n invoice_ = builderForValue.build();\n onChanged();\n } else {\n invoiceBuilder_.setMessage(builderForValue.build());\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public void setJP_SalesRep_Value (String JP_SalesRep_Value);",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public void setInvoiceStatus(String value) {\n setAttributeInternal(INVOICESTATUS, value);\n }",
"public void setExternalData(PDExternalDataDictionary externalData) {\n/* 365 */ getCOSObject().setItem(\"ExData\", externalData);\n/* */ }",
"public void setC_UOM_ID (int C_UOM_ID)\n{\nset_Value (\"C_UOM_ID\", new Integer(C_UOM_ID));\n}",
"public void setDictValue(String dictValue) {\r\n\t\tthis.dictValue = dictValue == null ? null : dictValue.trim();\r\n\t}",
"private int setValue(final PdfObject pdfObject,int i, final byte[] raw, final int length, final boolean map) {\n final boolean ignoreRecursion=pdfObject.ignoreRecursion();\n \n if(debugFastCode) {\n System.out.println(padding + pdfObject.getObjectRefAsString() + \" =================Reading value for key=\" + PDFkey + \" (\" + PDFkeyInt + \") type=\" + PdfDictionary.showAsConstant(pdfKeyType) + \" ignorRecursion=\" + ignoreRecursion + ' ' + pdfObject);\n }\n \n //resolve now in this case as we need to ensure all parts present\n if(pdfKeyType==PdfDictionary.VALUE_IS_UNREAD_DICTIONARY && pdfObject.isDataExternal()) {\n pdfKeyType = PdfDictionary.VALUE_IS_DICTIONARY;\n }\n \n \n switch(pdfKeyType){\n \n //read text stream (this is text) and also special case of [] in W in CID Fonts\n case PdfDictionary.VALUE_IS_TEXTSTREAM:{\n i = TextStream.setTextStreamValue(pdfObject, i, raw, ignoreRecursion,PDFkeyInt, objectReader);\n break;\n \n }case PdfDictionary.VALUE_IS_NAMETREE:{\n i = Name.setNameTreeValue(pdfObject, i, raw, length, ignoreRecursion,PDFkeyInt,objectReader);\n break;\n \n //readDictionary keys << /A 12 0 R /B 13 0 R >>\n }case PdfDictionary.VALUE_IS_DICTIONARY_PAIRS:{\n i = Dictionary.setDictionaryValue(pdfObject, i, raw, length, ignoreRecursion,objectReader,PDFkeyInt);\n break;\n \n //Strings\n }case PdfDictionary.VALUE_IS_STRING_ARRAY:{\n final Array objDecoder=new Array(objectReader,i, endPt, PdfDictionary.VALUE_IS_STRING_ARRAY);\n i=objDecoder.readArray(ignoreRecursion, raw, pdfObject, PDFkeyInt);\n break;\n \n //read Object Refs in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_BOOLEAN_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_BOOLEAN_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read Object Refs in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_KEY_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_KEY_ARRAY);\n i=objDecoder.readArray(ignoreRecursion, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_MIXED_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_MIXED_ARRAY);\n i=objDecoder.readArray(ignoreRecursion, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref) same as Mixed but allow for recursion and store as objects\n }case PdfDictionary.VALUE_IS_OBJECT_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_OBJECT_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_DOUBLE_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_DOUBLE_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject,PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_INT_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_INT_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read numbers in [] (may be indirect ref)\n }case PdfDictionary.VALUE_IS_FLOAT_ARRAY:{\n final Array objDecoder=new Array(objectReader, i, endPt, PdfDictionary.VALUE_IS_FLOAT_ARRAY);\n i=objDecoder.readArray(false, raw, pdfObject, PDFkeyInt);\n break;\n \n //read String (may be indirect ref)\n }case PdfDictionary.VALUE_IS_NAME:{\n i = Name.setNameStringValue(pdfObject, i, raw, map,PDFkey, PDFkeyInt, objectReader);\n break;\n \n //read true or false\n }case PdfDictionary.VALUE_IS_BOOLEAN:{\n i = BooleanValue.set(pdfObject, i, raw, PDFkeyInt);\n break;\n \n //read known set of values\n }case PdfDictionary.VALUE_IS_STRING_CONSTANT:{\n i = StringValue.setStringConstantValue(pdfObject, i, raw,PDFkeyInt);\n break;\n \n //read known set of values\n }case PdfDictionary.VALUE_IS_STRING_KEY:{\n i = StringValue.setStringKeyValue(pdfObject, i, raw,PDFkeyInt);\n break;\n \n //read number (may be indirect ref)\n }case PdfDictionary.VALUE_IS_INT:{\n \n //roll on\n i++;\n \n //move cursor to start of text\n while(raw[i]==10 || raw[i]==13 || raw[i]==32 || raw[i]==47) {\n i++;\n }\n \n i = NumberValue.setNumberValue(pdfObject, i, raw, PDFkeyInt,objectReader);\n break;\n \n //read float number (may be indirect ref)\n }case PdfDictionary.VALUE_IS_FLOAT:{\n i = FloatValue.setFloatValue(pdfObject, i, raw, length,PDFkeyInt,objectReader);\n break;\n \n //read known Dictionary object which may be direct or indirect\n }case PdfDictionary.VALUE_IS_UNREAD_DICTIONARY:{\n i = setUnreadDictionaryValue(pdfObject, i, raw);\n break;\n \n }case PdfDictionary.VALUE_IS_VARIOUS:{\n if(raw.length-5>0 && raw[i+1]=='n' && raw[i+2]=='u' && raw[i+3]=='l' && raw[i+4]=='l'){ //ignore null value and skip (ie /N null)\n i += 5;\n }else{\n i = setVariousValue(pdfObject, i, raw, length, PDFkeyInt, map, ignoreRecursion,objectReader);\n }\n break;\n \n }case PdfDictionary.VALUE_IS_DICTIONARY:{\n i = setDictionaryValue(pdfObject, i, raw, ignoreRecursion);\n break;\n }\n }\n return i;\n }",
"private int setDictionaryValue(final PdfObject pdfObject,int i, final byte[] raw, final boolean ignoreRecursion) {\n int end=i;\n int nextC=i;\n \n //ignore any gaps\n while(raw[nextC]==10 || raw[nextC]==32 || raw[nextC]==9) {\n nextC++;\n }\n \n //allow for null object\n if(raw[nextC]=='n' && raw[nextC+1]=='u' && raw[nextC+2]=='l' && raw[nextC+3]=='l'){\n i=nextC+4;\n return i;\n }else if(raw[nextC]=='[' && raw[nextC+1]==']'){ //allow for empty object []\n i=nextC;\n return i;\n }\n \n if(raw[i]!='<' && raw[i+1]!='<') {\n end += 2;\n }\n \n boolean inDictionary=true;\n final boolean isKey=raw[end-1]=='/';\n \n while(inDictionary){\n \n if(raw[end]=='<'&& raw[end+1]=='<'){\n int level2=1;\n end++;\n while(level2>0){\n \n if(raw[end]=='<'&& raw[end+1]=='<'){\n level2++;\n end += 2;\n }else if(raw[end-1]=='>'&& raw[end]=='>'){\n level2--;\n if(level2>0) {\n end += 2;\n }\n }else if(raw[end]=='('){ //scan (strings) as can contain >> \n \n end++;\n while(raw[end]!=')' || ObjectUtils.isEscaped(raw, end)) {\n end++;\n }\n }else {\n end++;\n }\n }\n \n inDictionary=false;\n \n }else if(raw[end]=='R' ){\n inDictionary=false;\n }else if(isKey && (raw[end]==' ' || raw[end]==13 || raw[end]==10 || raw[end]==9)){\n inDictionary=false;\n }else if(raw[end]=='/'){\n inDictionary=false;\n end--;\n }else if(raw[end]=='>' && raw[end+1]=='>'){\n inDictionary=false;\n end--;\n }else {\n end++;\n }\n }\n \n //boolean save=debugFastCode;\n Dictionary.readDictionary(pdfObject,i, raw, PDFkeyInt, ignoreRecursion, objectReader, isInlineImage);\n \n //use correct value\n return end;\n }",
"public sparqles.avro.discovery.DGETInfo.Builder setVoiDpreds(java.util.Map<java.lang.CharSequence,java.lang.Object> value) {\n validate(fields()[10], value);\n this.voiDpreds = value;\n fieldSetFlags()[10] = true;\n return this; \n }",
"public void setLBR_DocLine_ICMS_ID (int LBR_DocLine_ICMS_ID);",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"@Accessor(qualifier = \"voucherCode\", type = Accessor.Type.SETTER)\n\tpublic void setVoucherCode(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(VOUCHERCODE, value);\n\t}",
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"void setInvoiceId(Long invoiceId);",
"public void setM_Locator_ID (int M_Locator_ID)\n{\nset_Value (\"M_Locator_ID\", new Integer(M_Locator_ID));\n}",
"public void setJP_BankData_ID (int JP_BankData_ID);",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar276(java.lang.Integer value) {\n validate(fields()[277], value);\n this.var276 = value;\n fieldSetFlags()[277] = true;\n return this;\n }",
"public void setInvoice(java.lang.String invoice) {\r\n this.invoice = invoice;\r\n }",
"public void setDicValue(String dicValue) {\n\t\tthis.dicValue = dicValue == null ? null : dicValue.trim();\n\t}",
"public void setM_Product_ID (int M_Product_ID)\n{\nset_Value (\"M_Product_ID\", new Integer(M_Product_ID));\n}",
"public void setC_Conversion_UOM_ID (int C_Conversion_UOM_ID)\n{\nset_Value (\"C_Conversion_UOM_ID\", new Integer(C_Conversion_UOM_ID));\n}",
"public void setVoiDpreds(java.util.Map<java.lang.CharSequence,java.lang.Object> value) {\n this.voiDpreds = value;\n }",
"public void privateSetI13nActKey(com.hps.july.persistence.DocumentKey inKey) {\n\tboolean i13nAct_NULLTEST = (inKey == null);\n\tif (i13nAct_NULLTEST) i13nAct_document = null; else i13nAct_document = (new Integer(inKey.document));\n}",
"public void setInvoiceNo (java.lang.String invoiceNo) {\n\t\tthis.invoiceNo = invoiceNo;\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n if (invoiceBuilder_ != null) {\n return invoiceBuilder_.getMessageOrBuilder();\n } else {\n return invoice_;\n }\n }",
"public int getUlIdInvoInvoice()\r\n {\r\n return this._ulIdInvoInvoice;\r\n }",
"public void setJP_BankDataLine_ID (int JP_BankDataLine_ID);",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice();",
"public void setInvoice(String invoice) {\n this.invoice = invoice;\n }",
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"public void testUpdateInvoiceAccuracy() throws Exception {\n Invoice invoice = new Invoice();\n\n invoice.setId(4);\n invoice.setCreationDate(new Date());\n invoice.setCreationUser(\"tc\");\n invoice.setModificationDate(new Date());\n invoice.setModificationUser(\"tc\");\n invoice.setCompanyId(5);\n invoice.setProjectId(8);\n invoice.setInvoiceNumber(\"invoiceNumber\");\n invoice.setPaid(true);\n invoice.setDueDate(new Date());\n invoice.setInvoiceDate(new Date());\n invoice.setPurchaseOrderNumber(\"purchaseOrderNumber\");\n invoice.setSalesTax(new BigDecimal(5));\n\n ExpenseEntry entry = new ExpenseEntry();\n entry.setAmount(new BigDecimal(5));\n ExpenseEntry[] expenseEntries = new ExpenseEntry[] {entry};\n invoice.setExpenseEntries(expenseEntries);\n\n PaymentTerm paymentTerm = new PaymentTerm();\n paymentTerm.setId(3);\n invoice.setPaymentTerm(paymentTerm);\n\n FixedBillingEntry fixedBillingEntry = new FixedBillingEntry();\n FixedBillingEntry[] fixedBillingEntries = new FixedBillingEntry[] {fixedBillingEntry};\n invoice.setFixedBillingEntries(fixedBillingEntries);\n\n InvoiceServiceDetail detail = new InvoiceServiceDetail();\n detail.setAmount(new BigDecimal(8));\n detail.setId(4);\n InvoiceServiceDetail[] serviceDetails = new InvoiceServiceDetail[] {detail};\n invoice.setServiceDetails(serviceDetails);\n\n InvoiceStatus invoiceStatus = new InvoiceStatus(4, \"description\", \"user\", \"user\", new Date(), new Date());\n invoice.setInvoiceStatus(invoiceStatus);\n\n invoiceSessionBean.updateInvoice(invoice, true);\n\n }",
"public void setInumber(final String value)\n\t{\n\t\tsetInumber( getSession().getSessionContext(), value );\n\t}",
"public void setInteger(Integer value) {\r\n\t\ttype(ConfigurationItemType.INTEGER);\r\n\t\tthis.integerValue = value;\r\n\t}",
"public void setDictContentCode(String value) {\r\n setAttributeInternal(DICTCONTENTCODE, value);\r\n }",
"Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder();",
"public void setJP_BankData_EDI_Info (String JP_BankData_EDI_Info);",
"public void setJP_BankAccount_Value (String JP_BankAccount_Value);",
"public void setLookupTableValueI18NModel(List<RefLookupTableValueI18NModel> lookupTableValueI18NModel)\n\t{\n\t\tthis.lookupTableValueI18NModel = lookupTableValueI18NModel;\n\t}",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar274(java.lang.Double value) {\n validate(fields()[275], value);\n this.var274 = value;\n fieldSetFlags()[275] = true;\n return this;\n }",
"public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);",
"void setCapitalPayed(ch.crif_online.www.webservices.crifsoapservice.v1_00.Amount capitalPayed);",
"public void setPostalCode( EAIMMCtxtIfc theCtxt, java.lang.String thePostalCode) throws EAIException;",
"public void setInvolvedPerson(InvolvedPerson value) {\r\n\t\tBase.set(this.model, this.getResource(), INVOLVEDPERSON, value);\r\n\t}",
"@Override\n\tpublic void setDataCode(java.lang.String dataCode) {\n\t\t_dictData.setDataCode(dataCode);\n\t}",
"void setObjectValue(Object dataObject);",
"public void setLBR_ICMS_OwnTaxStatus (String LBR_ICMS_OwnTaxStatus);",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar82(java.lang.Integer value) {\n validate(fields()[83], value);\n this.var82 = value;\n fieldSetFlags()[83] = true;\n return this;\n }",
"void setCapital(ch.crif_online.www.webservices.crifsoapservice.v1_00.Amount capital);",
"public void setIntValue(int intValueIn) {\n\t\tthis.intValue = intValueIn;\n\t}",
"public void setM_Inventory_ID (int M_Inventory_ID)\n{\nif (M_Inventory_ID <= 0) set_Value (\"M_Inventory_ID\", null);\n else \nset_Value (\"M_Inventory_ID\", new Integer(M_Inventory_ID));\n}",
"@Override\n\t\t\tpublic void setPropertyValue(Object value) {\n\t\t\t\t\n\t\t\t}",
"public void setStoreIBEligibilityInd(boolean value) {\n this.storeIBEligibilityInd = value;\n }",
"public void setInvoiceStatus(InvoiceStatus invoiceStatus)\n {\n this.invoiceStatus = invoiceStatus;\n }",
"public void setLBR_DocLine_ICMS_UU (String LBR_DocLine_ICMS_UU);",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n if (invoiceBuilder_ == null) {\n return invoice_;\n } else {\n return invoiceBuilder_.getMessage();\n }\n }",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar271(java.lang.Integer value) {\n validate(fields()[272], value);\n this.var271 = value;\n fieldSetFlags()[272] = true;\n return this;\n }",
"public void setBookJurisdiction(typekey.Jurisdiction value);",
"@Override\n\tpublic void setPrimaryKey(long primaryKey) {\n\t\t_dictData.setPrimaryKey(primaryKey);\n\t}",
"public IBusinessObject setAccessIID(IIID access)\n throws ORIOException;",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar277(java.lang.Integer value) {\n validate(fields()[278], value);\n this.var277 = value;\n fieldSetFlags()[278] = true;\n return this;\n }",
"public void setValue_Foreign_Currency(java.math.BigDecimal value_Foreign_Currency) {\r\n this.value_Foreign_Currency = value_Foreign_Currency;\r\n }",
"public void setKcp13V05NoOfDiaries( int value )\n {\n this.kcp13V05NoOfDiaries = value;\n }",
"public void setInumber(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, INUMBER,value);\n\t}",
"public InvoiceType getInvoiceType()\n {\n return INVOICE_TYPE;\n }",
"void setInt(boolean reverse, IntsRef ref, int value);",
"public void setItineraryReference(int value) {\n this.itineraryReference = value;\n }",
"public void setVar276(java.lang.Integer value) {\n this.var276 = value;\n }",
"public void setImpulseAmount(BigDecimal impulseAmount) {\n this.impulseAmount = impulseAmount;\n }",
"protected void sequence_IN(ISerializationContext context, IN semanticObject) {\n\t\tif (errorAcceptor != null) {\n\t\t\tif (transientValues.isValueTransient(semanticObject, SiddhiPackage.eINSTANCE.getIN_In()) == ValueTransient.YES)\n\t\t\t\terrorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, SiddhiPackage.eINSTANCE.getIN_In()));\n\t\t}\n\t\tSequenceFeeder feeder = createSequencerFeeder(context, semanticObject);\n\t\tfeeder.accept(grammarAccess.getINAccess().getInInKeyword_0(), semanticObject.getIn());\n\t\tfeeder.finish();\n\t}",
"public void setInvoiceAmount (java.math.BigDecimal invoiceAmount) {\n\t\tthis.invoiceAmount = invoiceAmount;\n\t}",
"public static void setInvolvedPerson(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, InvolvedPerson value) {\r\n\t\tBase.set(model, instanceResource, INVOLVEDPERSON, value);\r\n\t}",
"public void setDictContentAltCode(String value) {\r\n setAttributeInternal(DICTCONTENTALTCODE, value);\r\n }",
"public void setICID(int value) {\n this.icid = value;\n }",
"void setObject(int index, Object value, int sqlType)\n throws SQLException;",
"@Accessor(qualifier = \"certificateData\", type = Accessor.Type.SETTER)\n\tpublic void setCertificateData(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(CERTIFICATEDATA, value);\n\t}",
"public void setAccidentDetail(typekey.AccidentDetailPEL value);",
"public com.dj.model.avro.LargeObjectAvro.Builder setVar291(java.lang.Double value) {\n validate(fields()[292], value);\n this.var291 = value;\n fieldSetFlags()[292] = true;\n return this;\n }"
]
| [
"0.5940297",
"0.54657435",
"0.5457863",
"0.54014623",
"0.5389791",
"0.5372486",
"0.5300795",
"0.5267111",
"0.52486634",
"0.510219",
"0.48564458",
"0.48505455",
"0.47966185",
"0.47670487",
"0.4749097",
"0.4744256",
"0.47226894",
"0.4715943",
"0.4655671",
"0.4635089",
"0.46099952",
"0.45901227",
"0.4580961",
"0.45769924",
"0.45705432",
"0.4563635",
"0.4545819",
"0.45292816",
"0.4523648",
"0.4516821",
"0.45050693",
"0.45047256",
"0.44801646",
"0.44669294",
"0.44653618",
"0.4464141",
"0.4451254",
"0.44432315",
"0.44173935",
"0.44053298",
"0.43976852",
"0.4395984",
"0.43947333",
"0.43913355",
"0.43418416",
"0.43241262",
"0.4322371",
"0.4316603",
"0.43162444",
"0.4311244",
"0.4310837",
"0.42863184",
"0.42834574",
"0.4278885",
"0.42577827",
"0.42406225",
"0.42371428",
"0.42221946",
"0.4213989",
"0.42019537",
"0.41971824",
"0.41962042",
"0.41792127",
"0.4178129",
"0.41776788",
"0.41597217",
"0.41552815",
"0.41469344",
"0.41332877",
"0.41312432",
"0.41292754",
"0.41255432",
"0.41234207",
"0.41225266",
"0.41215128",
"0.4118399",
"0.41085848",
"0.4108002",
"0.41000706",
"0.4096566",
"0.4094336",
"0.40942085",
"0.4091417",
"0.4077187",
"0.4077012",
"0.40698054",
"0.40649104",
"0.4057368",
"0.4056776",
"0.405625",
"0.4048158",
"0.40457404",
"0.40453503",
"0.40427583",
"0.40399504",
"0.40362397",
"0.4030524",
"0.40296897",
"0.40284118",
"0.40196973"
]
| 0.63051224 | 0 |
This method was generated by Apache iBATIS ibator. This method returns the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_COMMENT | public String getInvoiceDictionaryComment() {
return invoiceDictionaryComment;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Lob\r\n @Column (name=\"RECORD_COMMENT\")\r\n\tpublic String getComment() {\r\n\t\treturn comment;\r\n\t}",
"public void setInvoiceDictionaryComment(String invoiceDictionaryComment) {\r\n this.invoiceDictionaryComment = invoiceDictionaryComment;\r\n }",
"public String getComment() throws SQLException {\n\t\tloadFromDB();\n\t\treturn rev_comment;\n\t}",
"public String getComment() {\n return variant == null ? null : variant.getComment(this);\n }",
"public String get_comment() throws Exception {\n\t\treturn this.comment;\n\t}",
"public String getComment() {\n return this.comment;\n }",
"public String getComment(){\n return this.comment;\n }",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public String getCommentText() {\n\t return this.commentText;\n\t}",
"public String getComment() {\n\t\tif (comment != null)\n\t\t\treturn ProteomeXchangeFilev2_1.COM + TAB\n\t\t\t// + \"comment\" + TAB\n\t\t\t\t\t+ comment;\n\t\treturn null;\n\t}",
"public java.lang.String getHopscomment() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException {\n return (((java.lang.String) __getCache(\"hopscomment\")));\n }",
"public String getComment()\n {\n return comment;\n }",
"public Integer getCommentId() {\n return commentId;\n }",
"public Integer getCommentId() {\n return commentId;\n }",
"com.google.protobuf.ByteString\n getCommentBytes();",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\r\n\t\treturn comment;\r\n\t}",
"public String getComment() {\n return comment ;\n }",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public String getComment() {\n return description;\n }",
"public String getComment() {\n \t\t\t\t\t\t\t\t\treturn null;\n \t\t\t\t\t\t\t\t}",
"public Integer getBookCommentId() {\n return bookCommentId;\n }",
"public String getComment() {\n\t\treturn comment;\n\t}",
"public String getComment() {\n\t\treturn comment;\n\t}",
"public Long getCommentId() {\n return commentId;\n }",
"public String getComment(){\n return comment;\n }",
"public String getComment();",
"public String getComment();",
"public String getComment();",
"public String getComment();",
"public String getComment();",
"public String getComment();",
"public String getCommentText() {\r\n\r\n\t\treturn commentText;\r\n\t}",
"public java.lang.String getComment() {\r\n return comment;\r\n }",
"public String getCommentContent() {\n return commentContent;\n }",
"public final String getComment() {\n return comment;\n }",
"public com.google.protobuf.ByteString\n getCommentBytes() {\n Object ref = comment_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n comment_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getjComment() {\n return jComment;\n }",
"public Optional<String> getComment() {\n\t\treturn Optional.ofNullable(_comment);\n\t}",
"org.hl7.fhir.String getComments();",
"public java.lang.String getComment() {\n return comment;\n }",
"public java.lang.String getComment() {\n return comment;\n }",
"public java.lang.String getComment() {\n return comment;\n }",
"public String getBookComment() {\n return bookComment;\n }",
"public String getBookComment() {\n return bookComment;\n }",
"@Override\n\tpublic String getComment() {\n\t\treturn model.getComment();\n\t}",
"public com.google.protobuf.ByteString\n getCommentBytes() {\n Object ref = comment_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n comment_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getComment() {\n Object ref = comment_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n comment_ = s;\n }\n return s;\n }\n }",
"public String getCommentId() {\n return commentId.toString();\n }",
"String getComment();",
"String getComment();",
"public String getDocumentNote();",
"public String getComment() {\n Object ref = comment_;\n if (!(ref instanceof String)) {\n String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n comment_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String getFileComment()\r\n {\r\n return sFileComment;\r\n }",
"String getCommentStringValue(Object comment);",
"public String getInvoiceDictionaryCode() {\r\n return invoiceDictionaryCode;\r\n }",
"public int getCommentId();",
"public String getInvoiceDictionaryValue() {\r\n return invoiceDictionaryValue;\r\n }",
"public String get_defineSetupPage_comments_txtData() {\r\n\t\treturn FetchText(DefineSetup_Cmnts_txtBx);\r\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n if (invoiceBuilder_ == null) {\n return invoice_;\n } else {\n return invoiceBuilder_.getMessage();\n }\n }",
"@Schema(description = \"A comment about the worklog in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). Optional when creating or updating a worklog.\")\n public Object getComment() {\n return comment;\n }",
"@Override\n\tpublic String getDatabaseComment() {\n\t\treturn _sDatabaseComment;\n\t}",
"public String getComments() {\r\n return this.comments;\r\n }",
"java.lang.String getCommentId();",
"public ST getComment() { \r\n\t\tST retVal = this.getTypedField(48, 0);\r\n\t\treturn retVal;\r\n }",
"com.google.protobuf.ByteString\n getCommentIdBytes();",
"public String getComment() {\n\t LogWriter.logMessage(LogWriter.TRACE_DEBUG,\"getComment() \" );\n Via via=(Via)sipHeader;\n return via.getComment();\n }",
"public String getComments() {\n return this.comments;\n }",
"public com.google.protobuf.ByteString\n getCommentsBytes() {\n java.lang.Object ref = comments_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n comments_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"com.google.protobuf.ByteString\n getCommentsBytes();",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n return invoice_;\n }",
"public String getComments() {\n return _comments;\n }",
"public String getComment() throws RuntimeException\n {\n return getTitle();\n }",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice getInvoice() {\n return invoice_;\n }",
"public String getComments() {\n\t\treturn this.comments;\n\t}",
"public Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoiceOrBuilder getInvoiceOrBuilder() {\n if (invoiceBuilder_ != null) {\n return invoiceBuilder_.getMessageOrBuilder();\n } else {\n return invoice_;\n }\n }",
"public com.google.protobuf.ByteString\n getCommentsBytes() {\n java.lang.Object ref = comments_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n comments_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"java.lang.String getComments();",
"String getComment() {\n//\t\t\tm1();\n\t\t\treturn \"small\";\n\t\t}",
"@Override\n public java.lang.String getComments() {\n return _entityCustomer.getComments();\n }",
"public Integer getAcCommentsId() {\n return acCommentsId;\n }",
"public String getCustomerNotes() {\n return this.customerNotes;\n }",
"public java.lang.String getComments() {\n java.lang.Object ref = comments_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n comments_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getInvoiceNo () {\n\t\treturn invoiceNo;\n\t}",
"public DatabaseCommentText() {\n this.comments = new ArrayList<String>();\n }",
"public String getSampleComment();",
"public java.lang.String getComments() {\n java.lang.Object ref = comments_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n comments_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getComments() \n{\nreturn (String)get_Value(\"Comments\");\n}",
"Comment getBase_Comment();",
"public String getAcCommentsMessage() {\n return acCommentsMessage;\n }",
"@Test\r\n public void testCIFCommentString() {\r\n CIFComment comment = new CIFComment(COMMENT);\r\n String s = comment.toCIFString();\r\n Assert.assertEquals(\"cif comment\", \"#\"+COMMENT+\"\\n\", s);\r\n }",
"public java.lang.String getCouponDescription() {\n java.lang.Object ref = couponDescription_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponDescription_ = s;\n return s;\n }\n }",
"public java.lang.String getCouponDescription() {\n java.lang.Object ref = couponDescription_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponDescription_ = s;\n return s;\n }\n }",
"public String getGoodsNote() {\n return goodsNote;\n }"
]
| [
"0.64440596",
"0.6299062",
"0.621146",
"0.5881707",
"0.5818516",
"0.5776344",
"0.57656026",
"0.5763562",
"0.5728133",
"0.56969",
"0.5644064",
"0.56278384",
"0.5615048",
"0.5615048",
"0.5604298",
"0.56037134",
"0.56037134",
"0.56037134",
"0.56037134",
"0.56037134",
"0.56037134",
"0.56037134",
"0.56035364",
"0.55958235",
"0.559315",
"0.55839556",
"0.55770874",
"0.55767155",
"0.5562644",
"0.5562644",
"0.55590206",
"0.5558624",
"0.5542427",
"0.5542427",
"0.5542427",
"0.5542427",
"0.5542427",
"0.5542427",
"0.5513163",
"0.5507582",
"0.5500101",
"0.54989254",
"0.54886466",
"0.548785",
"0.54744107",
"0.5465895",
"0.5456312",
"0.5456312",
"0.5456312",
"0.5455524",
"0.5455524",
"0.5442224",
"0.54360944",
"0.5403322",
"0.53846323",
"0.5379961",
"0.5379961",
"0.53757966",
"0.53737277",
"0.5343166",
"0.53401124",
"0.5335071",
"0.5289281",
"0.52829856",
"0.52658165",
"0.52586436",
"0.52352273",
"0.5220588",
"0.5201379",
"0.5193256",
"0.5185558",
"0.5184197",
"0.5182739",
"0.51630646",
"0.5151877",
"0.5124355",
"0.51183087",
"0.51128584",
"0.51063764",
"0.5105748",
"0.50862217",
"0.5081966",
"0.5069807",
"0.50623304",
"0.5047467",
"0.5041756",
"0.50341165",
"0.5031314",
"0.5029935",
"0.50277364",
"0.5021379",
"0.5020554",
"0.501236",
"0.49976575",
"0.4995971",
"0.4991242",
"0.4985928",
"0.49799675",
"0.49799675",
"0.4942085"
]
| 0.7009426 | 0 |
This method was generated by Apache iBATIS ibator. This method sets the value of the database column KMORDER.INVOICE_DICTIONARY.INVOICE_DICTIONARY_COMMENT | public void setInvoiceDictionaryComment(String invoiceDictionaryComment) {
this.invoiceDictionaryComment = invoiceDictionaryComment;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getInvoiceDictionaryComment() {\r\n return invoiceDictionaryComment;\r\n }",
"public void setComment(String new_comment){\n this.comment=new_comment;\n }",
"public void setComment(String comment);",
"public void setComment(String comment);",
"@Lob\r\n @Column (name=\"RECORD_COMMENT\")\r\n\tpublic String getComment() {\r\n\t\treturn comment;\r\n\t}",
"public void setINVOICE_DOC_ITEM(java.lang.String INVOICE_DOC_ITEM) {\r\n this.INVOICE_DOC_ITEM = INVOICE_DOC_ITEM;\r\n }",
"public void setComment(String comment) {\n this.comment = comment;\n }",
"public void setComment(String c) {\n comment = c ;\n }",
"public void setComment(String comment){\n this.comment = comment;\n }",
"public void set_comment(String comment) throws Exception{\n\t\tthis.comment = comment;\n\t}",
"public void setComment(String comment)\n {\n this.comment = comment;\n }",
"public void setInvoice_dictionary_id(long invoice_dictionary_id) {\r\n this.invoice_dictionary_id = invoice_dictionary_id;\r\n }",
"public void setComment(String p_comment) throws RuntimeException\n {\n setTitle(p_comment);\n }",
"@Test\r\n public void testSetValue() {\r\n CIFComment comment = new CIFComment(COMMENT);\r\n String s = comment.toCIFString();\r\n Assert.assertEquals(\"cif comment\", \"#\"+COMMENT+\"\\n\", s);\r\n comment.setValue(COMMENT1);\r\n s = comment.toCIFString();\r\n Assert.assertEquals(\"cif comment\", \"#\"+COMMENT1+\"\\n\", s);\r\n \r\n comment = new CIFComment(COMMENTS);\r\n s = comment.toCIFString();\r\n Assert.assertEquals(\"cif comment\", \r\n \"#comment 1\\n\" +\r\n \"#comment 2\\n\" +\r\n \"#comment 3\\n\" +\r\n \"\", s);\r\n comment.setValue(COMMENT1);\r\n s = comment.toCIFString();\r\n Assert.assertEquals(\"cif comment\", \"#\"+COMMENT1+\"\\n\", s);\r\n }",
"public void setFileComment(String fileComment)\r\n {\r\n sFileComment = fileComment;\r\n }",
"public void setDocumentNote (String DocumentNote);",
"public void setComment(java.lang.String comment) {\r\n this.comment = comment;\r\n }",
"public void setComment(String comment) {\n this.comment = comment;\n }",
"@Override\n @IcalProperty(pindex = PropertyInfoIndex.COMMENT,\n adderName = \"comment\",\n analyzed = true,\n eventProperty = true,\n todoProperty = true,\n journalProperty = true,\n freeBusyProperty = true,\n timezoneProperty = true)\n public void setComments(final Set<BwString> val) {\n comments = val;\n }",
"public void setCommentId(int commentId);",
"public final void setComment(final String comment) {\n this.comment = comment;\n }",
"public void setComment(String comment) {\n this.comment = comment;\n }",
"public void setComment(String comment) {\n this.comment = comment;\n }",
"public void setComments(java.lang.String value);",
"public void setLBR_DocLine_Details_ID (int LBR_DocLine_Details_ID);",
"public void setC_Invoice_ID (int C_Invoice_ID);",
"public void setComment(java.lang.String comment) {\n this.comment = comment;\n }",
"public void setComment(java.lang.String comment) {\n this.comment = comment;\n }",
"public void setComment(java.lang.String comment) {\n this.comment = comment;\n }",
"@Override\n\tpublic void setComment(String comment) {\n\t\tmodel.setComment(comment);\n\t}",
"public void setInvoiceDictionaryValue(String invoiceDictionaryValue) {\r\n this.invoiceDictionaryValue = invoiceDictionaryValue;\r\n }",
"public void setComment(final String newComment) {\n this.comment = newComment;\n }",
"public void setjComment(String jComment) {\n this.jComment = jComment == null ? null : jComment.trim();\n }",
"public void setJP_BankData_ReferenceNo (String JP_BankData_ReferenceNo);",
"public void setDatabaseComment(String databaseComment) {\n\t\t_sDatabaseComment = databaseComment;\n\t}",
"public void setComment(String comment) {\n\t\tthis.comment = comment;\n\t}",
"public void setComment(String comment) {\n\t\tthis.comment = comment;\n\t}",
"public DatabaseCommentText() {\n this.comments = new ArrayList<String>();\n }",
"void setComments(org.hl7.fhir.String comments);",
"void setCheckinComment(String comment);",
"public void setComment(String comment) {\r\n\t\tthis.comment = comment == null ? null : comment.trim();\r\n\t}",
"public Builder setInvoice(Diadoc.Api.Proto.Recognition.RecognitionProtos.RecognizedInvoice value) {\n if (invoiceBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n invoice_ = value;\n onChanged();\n } else {\n invoiceBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }",
"public String getComment(){\n return this.comment;\n }",
"public void setLBR_DocLine_ICMS_ID (int LBR_DocLine_ICMS_ID);",
"public void setComment(Address address, int commentType, String comment);",
"public long getInvoice_dictionary_id() {\r\n return invoice_dictionary_id;\r\n }",
"public void setComments(String newValue);",
"private void setFileComment(String fileComment){\n put(SlackParamsConstants.FILE_COMMENT, fileComment);\n }",
"public void addCommentField(String comment, boolean italics) {\n Label commentLabel = new Label(getComposite(), SWT.LEFT | SWT.WRAP);\n commentLabel.setText(comment);\n if (italics) {\n commentLabel.setFont(getCommentFont());\n }\n TableWrapData layoutData = TableWrapLayoutHelper.createLayoutData(true, false, TableWrapData.FILL,\n TableWrapData.FILL);\n layoutData.colspan = 4;\n layoutData.rowspan = 1;\n layoutData.maxWidth = 200;\n commentLabel.setLayoutData(layoutData);\n }",
"public void setAttachmentOwner( EAIMMCtxtIfc theCtxt, com.dosmil_e.kit.core.model.trace.ifc.KitCommentIfc theAttachmentOwner) throws EAIException;",
"public void setComment(String comment) {\n this.comment = comment == null ? null : comment.trim();\n }",
"public void setComment(String comment) {\n this.comment = comment == null ? null : comment.trim();\n }",
"public void setComment(String comment) {\n this.comment = comment == null ? null : comment.trim();\n }",
"public void setComment(String comment) {\n this.comment = comment == null ? null : comment.trim();\n }",
"public void setCommentText(String commentText) {\n\t this.commentText = commentText;\n\t}",
"public String getComment() {\n return this.comment;\n }",
"public void setVO_CO_REFERENCE(String VO_CO_REFERENCE) {\r\n this.VO_CO_REFERENCE = VO_CO_REFERENCE == null ? null : VO_CO_REFERENCE.trim();\r\n }",
"@Override\n public void setComments(java.lang.String comments) {\n _entityCustomer.setComments(comments);\n }",
"public void setComments(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), COMMENTS, value);\r\n\t}",
"public void updateNoticeDetails(int docNoticeID, String docNoticenDetails, String docNoticenTitle) {\n\n\t\tConnection myConn = null;\n\t\tPreparedStatement preStmt = null;\n\t\tResultSet myRs = null;\n\n\t\ttry {\n\t\t\tString sql = \"UPDATE doctornotice SET content = ? , title = ? WHERE noteid = ? \";\n\t\t\tmyConn = dbConn.returnConn();\n\t\t\tpreStmt = myConn.prepareStatement(sql);\n\n\t\t\tpreStmt.setString(1, docNoticenDetails);\n\t\t\tpreStmt.setString(2, docNoticenTitle);\n\t\t\tpreStmt.setInt(3, docNoticeID);\n\n\t\t\tpreStmt.execute();\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tclose(myConn, preStmt, myRs);\n\t\t}\n\n\t}",
"public void setOverrideComment(String aOverrideComment) {\n overrideComment = aOverrideComment;\n }",
"@Override\r\n\tpublic void modifyReply(CommentVO vo) throws Exception {\n\t\tsession.update(namespace + \".modifyReply\", vo);\r\n\t}",
"public void setBookCommentId(Integer bookCommentId) {\n this.bookCommentId = bookCommentId;\n }",
"public void setCommentId(Integer commentId) {\n this.commentId = commentId;\n }",
"public void setHopscomment( java.lang.String newValue ) {\n __setCache(\"hopscomment\", newValue);\n }",
"public void setBookComment(String bookComment) {\n this.bookComment = bookComment == null ? null : bookComment.trim();\n }",
"public void setBookComment(String bookComment) {\n this.bookComment = bookComment == null ? null : bookComment.trim();\n }",
"public Integer getBookCommentId() {\n return bookCommentId;\n }",
"public java.lang.String getINVOICE_DOC_ITEM() {\r\n return INVOICE_DOC_ITEM;\r\n }",
"public void setComments (String Comments)\n{\nif (Comments != null && Comments.length() > 255)\n{\nlog.warning(\"Length > 255 - truncated\");\nComments = Comments.substring(0,255);\n}\nset_Value (\"Comments\", Comments);\n}",
"public static void setComments(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, java.lang.String value) {\r\n\t\tBase.set(model, instanceResource, COMMENTS, value);\r\n\t}",
"org.hl7.fhir.String addNewComments();",
"public Integer getCommentId() {\n return commentId;\n }",
"public Integer getCommentId() {\n return commentId;\n }",
"public Long getCommentId() {\n return commentId;\n }",
"public String getComment(){\n return comment;\n }",
"public void setJP_BankData_EDI_Info (String JP_BankData_EDI_Info);",
"public void setInvoiceDictionaryKey(Long invoiceDictionaryKey) {\r\n this.invoiceDictionaryKey = invoiceDictionaryKey;\r\n }",
"int updateByPrimaryKey(FeiWenComment record);",
"void saveComment(Comment.SavableComment comment) throws SQLException;",
"public Builder setCommentBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n comment_ = value;\n onChanged();\n return this;\n }",
"public String getCommentText() {\n\t return this.commentText;\n\t}",
"public String getComment() {\r\n\t\treturn comment;\r\n\t}",
"@Override\r\n\tpublic void setWholeComment(String currentComment) {\n\t\t\r\n\t}",
"public String getComment() throws SQLException {\n\t\tloadFromDB();\n\t\treturn rev_comment;\n\t}",
"int updateByPrimaryKey(UserCorporateComment record);",
"public Builder setComment(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n comment_ = value;\n onChanged();\n return this;\n }",
"public void setVersionComment(java.lang.String versionComment) {\n this.versionComment = versionComment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment() {\n return comment;\n }",
"public String getComment()\n {\n return comment;\n }",
"public void setComment(String comment) throws IllegalArgumentException,\n SipParseException {\n\tLogWriter.logMessage(LogWriter.TRACE_DEBUG,\"setComment() \" + comment );\n Via via=(Via)sipHeader;\n \n if (comment==null) \n throw new IllegalArgumentException\n (\"JAIN-EXCEPTION: null comment\" );\n else if (comment.length() == 0) \n throw new IllegalArgumentException\n (\"JAIN-EXCEPTION: 0 length comment\" );\n else via.setComment(comment);\n }",
"public String getComment() {\n return comment ;\n }",
"@Override\n public void comment(String comment)\n {\n }",
"@Override\n\tpublic void setClob(int parameterIndex, Reader reader) throws SQLException {\n\t\t\n\t}"
]
| [
"0.62058413",
"0.5657961",
"0.55463874",
"0.55463874",
"0.5535578",
"0.54990345",
"0.53207916",
"0.53120387",
"0.5279462",
"0.5271739",
"0.5250459",
"0.5248131",
"0.5245781",
"0.52061844",
"0.52004963",
"0.5167166",
"0.5157753",
"0.51526487",
"0.51319295",
"0.5129166",
"0.51154065",
"0.50835913",
"0.50835913",
"0.5074434",
"0.50687605",
"0.5066231",
"0.5064285",
"0.5064285",
"0.5064285",
"0.50616306",
"0.50462174",
"0.5045862",
"0.50348765",
"0.5028088",
"0.5023951",
"0.5023948",
"0.5023948",
"0.5002779",
"0.49939182",
"0.49888185",
"0.49677172",
"0.49610314",
"0.49594787",
"0.49371934",
"0.49337167",
"0.4909137",
"0.48968858",
"0.48953715",
"0.48803154",
"0.48800048",
"0.48678848",
"0.48678848",
"0.48678848",
"0.48678848",
"0.48639265",
"0.4855658",
"0.4834413",
"0.48222253",
"0.48195416",
"0.480663",
"0.48064888",
"0.48031792",
"0.4802598",
"0.47986084",
"0.47854567",
"0.4784654",
"0.4784654",
"0.477664",
"0.47716314",
"0.47684598",
"0.47665018",
"0.4758305",
"0.47537386",
"0.47537386",
"0.47524837",
"0.47502634",
"0.47490525",
"0.47453624",
"0.47451872",
"0.4739381",
"0.47296456",
"0.47251403",
"0.47232807",
"0.47066748",
"0.47019255",
"0.46962205",
"0.46955627",
"0.4690334",
"0.46901345",
"0.46901345",
"0.46901345",
"0.46901345",
"0.46901345",
"0.46901345",
"0.46901345",
"0.4682509",
"0.4676832",
"0.46765822",
"0.46735528",
"0.46620578"
]
| 0.68970543 | 0 |
Convert dip to px based on the phone resolution | public static int dip2px(Context context, float dpValue) {
final float scale = context.getResources().getDisplayMetrics().density;
return (int) (dpValue * scale + 0.5f);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected int dpToPx() {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 10, r.getDisplayMetrics()));\n }",
"private float convertDpToPixel(float dp){\n Resources resources = getContext().getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * (metrics.densityDpi / 160f);\n return px;\n }",
"private int toPixels(int dp)\n {\n final float scale = getResources().getDisplayMetrics().density;\n return (int) (dp * scale + 0.5f);\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private static int convertDpToPixel(float dp) {\n DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();\n float px = dp * (metrics.densityDpi / 160f);\n return Math.round(px);\n }",
"public static int dipToPixels(Context context, int dip) {\n /*DisplayMetrics displayMetrics = getContext().getResources().getDisplayMetrics();\n int px = Math.round(dp * (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT));\n return px;*/\n Resources r = context.getResources();\n float px = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, r.getDisplayMetrics());\n return (int) px;\n }",
"private static int convertDpToPx(int dp) {\r\n return (int) (dp * Resources.getSystem().getDisplayMetrics().density);\r\n }",
"public static int pixelToDip(Context context, int px) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return Math.round(px / (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT));\n }",
"public float pxToDp(float px){\n\t Resources resources = activity.getResources();\n\t DisplayMetrics metrics = resources.getDisplayMetrics();\n\t float dp = px / (metrics.densityDpi / 160f);\n\t return dp;\n\t }",
"public float dpToPx(float dp){\n\t Resources resources = activity.getResources();\n\t DisplayMetrics metrics = resources.getDisplayMetrics();\n\t float px = dp * (metrics.densityDpi / 160f);\n\t return px;\n\t }",
"public static float convertPixelsToDp(float px, Context context){\n return px / ((float) context.getResources().getDisplayMetrics().densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n }",
"static public int toPX(int dp)\n\t{ \n\t\tDisplayMetrics displayMetrics = OsoNegroApp.getAndroidActivity().getResources().getDisplayMetrics();\n\t\treturn (int)((dp * displayMetrics.density) + 0.5);\n\t}",
"public static float pxToDp(Context context, float px) {\n return (int) (px / Resources.getSystem().getDisplayMetrics().density);\n }",
"private int dpToPx(int dp) {\r\n\t\tdouble screenDensity = this.getResources().getDisplayMetrics().density;\r\n\t\treturn (int) (screenDensity * (double) dp);\r\n\t}",
"public static float convertPixelsToDp(float px,Context context){\n\n DisplayMetrics metrics = context.getResources().getDisplayMetrics();\n float dp = px / (metrics.densityDpi / 160f);\n return dp;\n\n }",
"public static int convertToDip(DisplayMetrics displayMetrics, int sizeInPixels) {\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, sizeInPixels, displayMetrics);\n }",
"public int convertPixelToDP(Context context, int px) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n int dp = (int) (px * (metrics.densityDpi / 160f));\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context){\r\n Resources resources = context.getResources();\r\n DisplayMetrics metrics = resources.getDisplayMetrics();\r\n float dp = px / ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\r\n\r\n Log.d(\"convertPixelsToDp \", \"dp = \" + dp + \" - dp\");\r\n return dp;\r\n }",
"public static float convertPixelsToDp(float px, Context context) {\r\n Resources resources = context.getResources();\r\n DisplayMetrics metrics = resources.getDisplayMetrics();\r\n float dp = px / (metrics.densityDpi / 160f);\r\n return dp;\r\n }",
"public static float pixels2Dp(float px, Context context){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static int convertDpToPixel(float dp, Context context) {\r\n\t\tResources resources = context.getResources();\r\n\t\tDisplayMetrics metrics = resources.getDisplayMetrics();\r\n\t\tint px = Math.round(dp * ( metrics.densityDpi / 160f ));\r\n\t\treturn px;\r\n\t}",
"public static int px2dip(int px) {\n DisplayMetrics metrics = getResources().getDisplayMetrics();\n float density = metrics.density;\n return (int) (px / density + 0.5f);\n }",
"public static int getPxFromDp(float dip) {\n DisplayMetrics metrics = getDisplayMetrics();\n\n if (metrics != null) {\n final float scale = metrics.density;\n return (int) (dip * scale + 0.5f);\n }\n\n return (int) dip;\n }",
"public static float convertDpToPixel(float dp){\n return dp * ((float) Resources.getSystem().getDisplayMetrics().densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n }",
"public static int convertPx2Dp(Context context, float pxValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (pxValue / scale + 0.5f);\n }",
"@SuppressWarnings(\"unused\")\n public float dipToPixel(float dip) {\n // Get the display metrics\n DisplayMetrics metrics = this.getDisplayMetrics(this.getContext());\n // Calc the conversion by the screen density\n return dip * metrics.density;\n }",
"public static float convertPixelsToDp( float px, Context context ) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ( (float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT );\n return dp;\n }",
"public static int px2dp(final float pxValue) {\n final float scale = Resources.getSystem().getDisplayMetrics().density;\n return (int) (pxValue / scale + 0.5f);\n }",
"public static float convertDpToPixel(float dp, Context context) {\r\n Resources resources = context.getResources();\r\n DisplayMetrics metrics = resources.getDisplayMetrics();\r\n float px = dp * (metrics.densityDpi / 160f);\r\n return px;\r\n }",
"public int pxToDp(float px,Context context) {\n final float scale = context.getResources().getDisplayMetrics().density;\n // Convert the dps to pixels, based on density scale\n return (int) (px * scale + 0.5f);\n }",
"private int convertDpToPx(int dp) {\n return (int) (dp * scale + 0.5f);\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * (metrics.densityDpi / 160f);\n return px;\n }",
"public static float convertPixelsToDp(float px, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static float dp2px(float dp, Context context) {\n //return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, context.getResources().getDisplayMetrics());\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n return dp * (metrics.densityDpi / 160f);\n }",
"public int dpToPx(int dp) {\n Resources resources = activity.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n int px = (int) (dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT));\n return px;\n }",
"public static int convertDpToPixel(Context context, float dp) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n int px = (int) (dp / (metrics.densityDpi / 160f));\n return px;\n }",
"public static int px2dip(Context context, float pxValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (pxValue / scale + 0.5f);\n }",
"public static int getPx(int dp) {\n if (dpi == 0) {\n DisplayMetrics displayMetrics = app.getResources().getDisplayMetrics();\n dpi = displayMetrics.densityDpi;\n }\n return dp * dpi / 160;\n }",
"public int dp2px(float f) {\n return (int) ((f * getContext().getResources().getDisplayMetrics().density) + 0.5f);\n }",
"public static float convertDpToPixel(float dp, Context context){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public int dpToPx(int dp) {\n float density = this.getResources().getDisplayMetrics().density;\n return Math.round((float) dp * density);\n }",
"public int dptopx(float dp){\n final float scale = getActivity().getResources().getDisplayMetrics().density;\n // Convert the dps to pixels, based on density scale\n return ((int) (dp * scale + 0.5f));\n }",
"public static float dpToPx(Context context, float valueInDp) {\n DisplayMetrics metrics = context.getResources().getDisplayMetrics();\n return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, valueInDp, metrics);\n }",
"public static int pxFromDp(Context context, float dp) {\n return Math.round(dp * context.getResources().getDisplayMetrics().density);\n }",
"public static int dp2px(Context context,int dp){\r\n return (int) TypedValue.applyDimension(\r\n TypedValue.COMPLEX_UNIT_DIP,\r\n dp,\r\n context.getResources().getDisplayMetrics());\r\n }",
"public static int dpToPx(int dp, Context ctx)\n {\n float density = ctx.getResources().getDisplayMetrics().density;\n return Math.round((float) dp * density);\n }",
"protected static int dpToPixel(Context context, float dp){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n return (int) (dp * (metrics.densityDpi / 160f));\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public static float convertDpToPx(float dp,int dpi){\n\t\treturn dp * (dpi / 160f);\n\t}",
"public static int dpToPx(int dp) {\n DisplayMetrics displayMetrics = BasicApplication.getContext().getResources()\n .getDisplayMetrics();\n return (int) (dp * displayMetrics.density + 0.5f);\n }",
"public static float dpToPx(Context ctx, float dp){\n return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, ctx.getResources().getDisplayMetrics());\n }",
"public int dpToPx(int pDp){\n CodeIntegrityUtils.checkNotNull(pDp, \"Cannot convert NULL dp\");\n return 1;\n //return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, pDp, mDisplayMetrics);\n }",
"public static float converPxToDp(int px, int dpi){\n\t\treturn px / (dpi / 160f);\n\t}",
"public static float Dp2Pixel(float dp, Context context){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public int sp2px(float spValue) {\n final float fontScale = getResources().getDisplayMetrics().scaledDensity;\n return (int) (spValue * fontScale + 0.5f);\n }",
"public static int convertSp2Px(Context context, float spValue) {\n final float fontScale = context.getResources().getDisplayMetrics().scaledDensity;\n return (int) (spValue * fontScale + 0.5f);\n }",
"public static int rp(@CheckForNull Context c, int dip) {\n if (c == null) {\n e(\"context is null for rp\");\n return dip;\n }\n return dip > 0 ? (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f) : dip;\n }",
"public static int convertDp2Px(Context context, int dpValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (dpValue * scale + 0.5f);\n }",
"public static int dp2px(final float dpValue) {\n final float scale = Resources.getSystem().getDisplayMetrics().density;\n return (int) (dpValue * scale + 0.5f);\n }",
"public static int convertPx2Sp(Context context, float pxValue) {\n final float scale = context.getResources().getDisplayMetrics().scaledDensity;\n return (int) (pxValue / scale + 0.5f);\n }",
"public static int densityToPixels(Context context, float dp) {\n\t\tDisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return Math.round(dp * (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT));\n\t}",
"public static int getPixels( Context mContext, int dipValue ) {\n if ( mContext != null && dipValue > 0 ) {\n Resources r = mContext.getResources();\n int px = (int) TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_DIP, dipValue, r.getDisplayMetrics() );\n return px;\n } else\n return 0;\n }",
"public static float dpToPx(Resources res, float dp) {\n float px = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, res.getDisplayMetrics());\n return px;\n }",
"public static int sp2px(Context context,int sp){\r\n return (int) TypedValue.applyDimension(\r\n TypedValue.COMPLEX_UNIT_SP,\r\n sp,\r\n context.getResources().getDisplayMetrics());\r\n }",
"public static int dpToPx(Context context, int dp) {\n return (int) (dp * Resources.getSystem().getDisplayMetrics().density);\n }",
"public static int px2sp(Context context, float pxValue) {\r\n final float fontScale = context.getResources().getDisplayMetrics().scaledDensity;\r\n return (int) (pxValue / fontScale + 0.5f);\r\n }",
"public static float dpToPx(Context context, float dp) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return (int) ((dp * displayMetrics.density) + 0.5);\n }",
"protected static int dpToPixel(Context context, float dp) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n\n try {\n return (int) (dp * (metrics.densityDpi / 160f));\n } catch (NoSuchFieldError ignored) {\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, metrics);\n }\n }",
"public static int sp2px(Context context, float spValue) {\r\n final float fontScale = context.getResources().getDisplayMetrics().scaledDensity;\r\n return (int) (spValue * fontScale + 0.5f);\r\n }",
"public static int px2sp(final float pxValue) {\n final float fontScale = Resources.getSystem().getDisplayMetrics().scaledDensity;\n return (int) (pxValue / fontScale + 0.5f);\n }",
"public static int dpToPx(Context context, int dp) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics);\n }",
"public static int dpToPx(Context context, int dp) {\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, context.getResources().getDisplayMetrics());\n }",
"public double getAsDpi() {\n\t\tif (units != 1 || pixelsxUnitX != pixelsxUnitY)\n\t\t\treturn -1;\n\t\treturn ((double) pixelsxUnitX) * 0.0254;\n\t}",
"public static int convertdpToPx(int dps) {\n final float scale = App.getAppContext().getResources().getDisplayMetrics().density;\n int pixels = (int) (dps * scale + 0.5f);\n return pixels;\n }",
"public abstract float getXdpi();",
"public static final float inchesToPoints(float value) {\n\t return value * 72f;\n\t}",
"short getHResolution();",
"public static final float pointsToInches(float value) {\n\t return value / 72f;\n\t}",
"private static float m590o(Context context) {\r\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\r\n Point point = new Point(displayMetrics.widthPixels, displayMetrics.heightPixels);\r\n return ((float) point.y) / ((float) point.x);\r\n }",
"public static int getDpFromPx(float pixel) {\n DisplayMetrics metrics = getDisplayMetrics();\n\n if (metrics != null) {\n final float scale = metrics.density;\n return (int) (pixel / scale + 0.5f);\n }\n\n return (int) pixel;\n }"
]
| [
"0.77763456",
"0.7725834",
"0.7591838",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7505466",
"0.7479965",
"0.7479831",
"0.74146426",
"0.7401956",
"0.7385333",
"0.7374991",
"0.73172396",
"0.7307758",
"0.72915643",
"0.7278762",
"0.7277502",
"0.7242699",
"0.72243285",
"0.7194442",
"0.71709013",
"0.7169117",
"0.7167211",
"0.71324337",
"0.7131459",
"0.7123998",
"0.7108916",
"0.7100717",
"0.70777833",
"0.7061442",
"0.70478624",
"0.7039906",
"0.7034194",
"0.70332634",
"0.7022764",
"0.7022764",
"0.7022764",
"0.70185167",
"0.70154804",
"0.7006401",
"0.70036364",
"0.69895595",
"0.69744784",
"0.6960015",
"0.695723",
"0.6928702",
"0.6874693",
"0.6873463",
"0.68674064",
"0.68648726",
"0.68106216",
"0.68079746",
"0.68079746",
"0.68079746",
"0.6799578",
"0.67978346",
"0.6772765",
"0.674297",
"0.67257315",
"0.6722838",
"0.67222965",
"0.6718957",
"0.66925925",
"0.66824436",
"0.6660921",
"0.6654645",
"0.6654456",
"0.6630851",
"0.66304165",
"0.6584304",
"0.6566049",
"0.65286684",
"0.65275407",
"0.6486224",
"0.64447695",
"0.6420278",
"0.6410473",
"0.6392992",
"0.6315242",
"0.62195766",
"0.6116106",
"0.6108394",
"0.60222995",
"0.6017254",
"0.60150665",
"0.60054153"
]
| 0.691001 | 60 |
Convert px to dip based on the phone resolution | public static int px2dip(Context context, float pxValue) {
final float scale = context.getResources().getDisplayMetrics().density;
return (int) (pxValue / scale + 0.5f);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private float convertDpToPixel(float dp){\n Resources resources = getContext().getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * (metrics.densityDpi / 160f);\n return px;\n }",
"public static int pixelToDip(Context context, int px) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return Math.round(px / (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT));\n }",
"protected int dpToPx() {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 10, r.getDisplayMetrics()));\n }",
"public float pxToDp(float px){\n\t Resources resources = activity.getResources();\n\t DisplayMetrics metrics = resources.getDisplayMetrics();\n\t float dp = px / (metrics.densityDpi / 160f);\n\t return dp;\n\t }",
"public static int convertToDip(DisplayMetrics displayMetrics, int sizeInPixels) {\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, sizeInPixels, displayMetrics);\n }",
"public static float convertPixelsToDp(float px, Context context){\n return px / ((float) context.getResources().getDisplayMetrics().densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n }",
"private int toPixels(int dp)\n {\n final float scale = getResources().getDisplayMetrics().density;\n return (int) (dp * scale + 0.5f);\n }",
"public static float convertPixelsToDp(float px,Context context){\n\n DisplayMetrics metrics = context.getResources().getDisplayMetrics();\n float dp = px / (metrics.densityDpi / 160f);\n return dp;\n\n }",
"public static float pxToDp(Context context, float px) {\n return (int) (px / Resources.getSystem().getDisplayMetrics().density);\n }",
"public static float pixels2Dp(float px, Context context){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context){\r\n Resources resources = context.getResources();\r\n DisplayMetrics metrics = resources.getDisplayMetrics();\r\n float dp = px / ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\r\n\r\n Log.d(\"convertPixelsToDp \", \"dp = \" + dp + \" - dp\");\r\n return dp;\r\n }",
"public static float convertPixelsToDp(float px, Context context) {\r\n Resources resources = context.getResources();\r\n DisplayMetrics metrics = resources.getDisplayMetrics();\r\n float dp = px / (metrics.densityDpi / 160f);\r\n return dp;\r\n }",
"public int convertPixelToDP(Context context, int px) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n int dp = (int) (px * (metrics.densityDpi / 160f));\n return dp;\n }",
"private static int convertDpToPixel(float dp) {\n DisplayMetrics metrics = Resources.getSystem().getDisplayMetrics();\n float px = dp * (metrics.densityDpi / 160f);\n return Math.round(px);\n }",
"public static float convertPixelsToDp( float px, Context context ) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ( (float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT );\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"public static float convertPixelsToDp(float px, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return dp;\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }",
"public float dpToPx(float dp){\n\t Resources resources = activity.getResources();\n\t DisplayMetrics metrics = resources.getDisplayMetrics();\n\t float px = dp * (metrics.densityDpi / 160f);\n\t return px;\n\t }",
"public static int px2dip(int px) {\n DisplayMetrics metrics = getResources().getDisplayMetrics();\n float density = metrics.density;\n return (int) (px / density + 0.5f);\n }",
"public static int dipToPixels(Context context, int dip) {\n /*DisplayMetrics displayMetrics = getContext().getResources().getDisplayMetrics();\n int px = Math.round(dp * (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT));\n return px;*/\n Resources r = context.getResources();\n float px = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, r.getDisplayMetrics());\n return (int) px;\n }",
"private static int convertDpToPx(int dp) {\r\n return (int) (dp * Resources.getSystem().getDisplayMetrics().density);\r\n }",
"public int pxToDp(float px,Context context) {\n final float scale = context.getResources().getDisplayMetrics().density;\n // Convert the dps to pixels, based on density scale\n return (int) (px * scale + 0.5f);\n }",
"static public int toPX(int dp)\n\t{ \n\t\tDisplayMetrics displayMetrics = OsoNegroApp.getAndroidActivity().getResources().getDisplayMetrics();\n\t\treturn (int)((dp * displayMetrics.density) + 0.5);\n\t}",
"public static float convertDpToPixel(float dp){\n return dp * ((float) Resources.getSystem().getDisplayMetrics().densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n }",
"public static int convertDpToPixel(float dp, Context context) {\r\n\t\tResources resources = context.getResources();\r\n\t\tDisplayMetrics metrics = resources.getDisplayMetrics();\r\n\t\tint px = Math.round(dp * ( metrics.densityDpi / 160f ));\r\n\t\treturn px;\r\n\t}",
"public static int px2dp(final float pxValue) {\n final float scale = Resources.getSystem().getDisplayMetrics().density;\n return (int) (pxValue / scale + 0.5f);\n }",
"public static int convertPx2Dp(Context context, float pxValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (pxValue / scale + 0.5f);\n }",
"public static float convertDpToPixel(float dp, Context context) {\r\n Resources resources = context.getResources();\r\n DisplayMetrics metrics = resources.getDisplayMetrics();\r\n float px = dp * (metrics.densityDpi / 160f);\r\n return px;\r\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * (metrics.densityDpi / 160f);\n return px;\n }",
"public static float convertDpToPixel(float dp, Context context){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"private int dpToPx(int dp) {\r\n\t\tdouble screenDensity = this.getResources().getDisplayMetrics().density;\r\n\t\treturn (int) (screenDensity * (double) dp);\r\n\t}",
"public static float dp2px(float dp, Context context) {\n //return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, context.getResources().getDisplayMetrics());\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n return dp * (metrics.densityDpi / 160f);\n }",
"public static int convertDpToPixel(Context context, float dp) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n int px = (int) (dp / (metrics.densityDpi / 160f));\n return px;\n }",
"public static int getPx(int dp) {\n if (dpi == 0) {\n DisplayMetrics displayMetrics = app.getResources().getDisplayMetrics();\n dpi = displayMetrics.densityDpi;\n }\n return dp * dpi / 160;\n }",
"public static float converPxToDp(int px, int dpi){\n\t\treturn px / (dpi / 160f);\n\t}",
"public static float Dp2Pixel(float dp, Context context){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float)metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"@SuppressWarnings(\"unused\")\n public float dipToPixel(float dip) {\n // Get the display metrics\n DisplayMetrics metrics = this.getDisplayMetrics(this.getContext());\n // Calc the conversion by the screen density\n return dip * metrics.density;\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public static float convertDpToPixel(float dp, Context context) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n float px = dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);\n return px;\n }",
"public int dpToPx(int dp) {\n Resources resources = activity.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n int px = (int) (dp * ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT));\n return px;\n }",
"public int dp2px(float f) {\n return (int) ((f * getContext().getResources().getDisplayMetrics().density) + 0.5f);\n }",
"public int dptopx(float dp){\n final float scale = getActivity().getResources().getDisplayMetrics().density;\n // Convert the dps to pixels, based on density scale\n return ((int) (dp * scale + 0.5f));\n }",
"protected static int dpToPixel(Context context, float dp){\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n return (int) (dp * (metrics.densityDpi / 160f));\n }",
"public static int pxFromDp(Context context, float dp) {\n return Math.round(dp * context.getResources().getDisplayMetrics().density);\n }",
"private int convertDpToPx(int dp) {\n return (int) (dp * scale + 0.5f);\n }",
"public int dpToPx(int dp) {\n float density = this.getResources().getDisplayMetrics().density;\n return Math.round((float) dp * density);\n }",
"public static int densityToPixels(Context context, float dp) {\n\t\tDisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return Math.round(dp * (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT));\n\t}",
"public static int dp2px(Context context,int dp){\r\n return (int) TypedValue.applyDimension(\r\n TypedValue.COMPLEX_UNIT_DIP,\r\n dp,\r\n context.getResources().getDisplayMetrics());\r\n }",
"public static int dpToPx(int dp, Context ctx)\n {\n float density = ctx.getResources().getDisplayMetrics().density;\n return Math.round((float) dp * density);\n }",
"public static float dpToPx(Context context, float valueInDp) {\n DisplayMetrics metrics = context.getResources().getDisplayMetrics();\n return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, valueInDp, metrics);\n }",
"public static int getPxFromDp(float dip) {\n DisplayMetrics metrics = getDisplayMetrics();\n\n if (metrics != null) {\n final float scale = metrics.density;\n return (int) (dip * scale + 0.5f);\n }\n\n return (int) dip;\n }",
"public static int dip2px(Context context, float dpValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (dpValue * scale + 0.5f);\n }",
"public static int dip2px(Context context, float dpValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (dpValue * scale + 0.5f);\n }",
"public static float dpToPx(Context ctx, float dp){\n return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, ctx.getResources().getDisplayMetrics());\n }",
"public static int dpToPx(int dp) {\n DisplayMetrics displayMetrics = BasicApplication.getContext().getResources()\n .getDisplayMetrics();\n return (int) (dp * displayMetrics.density + 0.5f);\n }",
"public static float convertDpToPx(float dp,int dpi){\n\t\treturn dp * (dpi / 160f);\n\t}",
"public static int convertPx2Sp(Context context, float pxValue) {\n final float scale = context.getResources().getDisplayMetrics().scaledDensity;\n return (int) (pxValue / scale + 0.5f);\n }",
"public static int convertSp2Px(Context context, float spValue) {\n final float fontScale = context.getResources().getDisplayMetrics().scaledDensity;\n return (int) (spValue * fontScale + 0.5f);\n }",
"public static int rp(@CheckForNull Context c, int dip) {\n if (c == null) {\n e(\"context is null for rp\");\n return dip;\n }\n return dip > 0 ? (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f) : dip;\n }",
"public static int convertDp2Px(Context context, int dpValue) {\n final float scale = context.getResources().getDisplayMetrics().density;\n return (int) (dpValue * scale + 0.5f);\n }",
"public static float dpToPx(Resources res, float dp) {\n float px = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, res.getDisplayMetrics());\n return px;\n }",
"public static int px2sp(Context context, float pxValue) {\r\n final float fontScale = context.getResources().getDisplayMetrics().scaledDensity;\r\n return (int) (pxValue / fontScale + 0.5f);\r\n }",
"public int sp2px(float spValue) {\n final float fontScale = getResources().getDisplayMetrics().scaledDensity;\n return (int) (spValue * fontScale + 0.5f);\n }",
"public double getAsDpi() {\n\t\tif (units != 1 || pixelsxUnitX != pixelsxUnitY)\n\t\t\treturn -1;\n\t\treturn ((double) pixelsxUnitX) * 0.0254;\n\t}",
"protected static int dpToPixel(Context context, float dp) {\n Resources resources = context.getResources();\n DisplayMetrics metrics = resources.getDisplayMetrics();\n\n try {\n return (int) (dp * (metrics.densityDpi / 160f));\n } catch (NoSuchFieldError ignored) {\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, metrics);\n }\n }",
"public int dpToPx(int pDp){\n CodeIntegrityUtils.checkNotNull(pDp, \"Cannot convert NULL dp\");\n return 1;\n //return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, pDp, mDisplayMetrics);\n }",
"public static int dpToPx(Context context, int dp) {\n return (int) (dp * Resources.getSystem().getDisplayMetrics().density);\n }",
"public static int getPixels( Context mContext, int dipValue ) {\n if ( mContext != null && dipValue > 0 ) {\n Resources r = mContext.getResources();\n int px = (int) TypedValue.applyDimension( TypedValue.COMPLEX_UNIT_DIP, dipValue, r.getDisplayMetrics() );\n return px;\n } else\n return 0;\n }",
"public static float dpToPx(Context context, float dp) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return (int) ((dp * displayMetrics.density) + 0.5);\n }",
"public static int dp2px(final float dpValue) {\n final float scale = Resources.getSystem().getDisplayMetrics().density;\n return (int) (dpValue * scale + 0.5f);\n }",
"public static int px2sp(final float pxValue) {\n final float fontScale = Resources.getSystem().getDisplayMetrics().scaledDensity;\n return (int) (pxValue / fontScale + 0.5f);\n }",
"public static double getDisplayDpi() {\n\t\treturn javafx.stage.Screen.getPrimary().getDpi();\n\t}",
"public static int sp2px(Context context,int sp){\r\n return (int) TypedValue.applyDimension(\r\n TypedValue.COMPLEX_UNIT_SP,\r\n sp,\r\n context.getResources().getDisplayMetrics());\r\n }",
"public static int dpToPx(Context context, int dp) {\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, displayMetrics);\n }",
"public static float m21412o(Context context) {\n return context.getResources().getDisplayMetrics().density;\n }",
"public static int dpToPx(Context context, int dp) {\n return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, context.getResources().getDisplayMetrics());\n }",
"public abstract float getXdpi();",
"public final float mo9235c(DisplayMetrics displayMetrics) {\n return 100.0f / ((float) displayMetrics.densityDpi);\n }",
"public static int sp2px(Context context, float spValue) {\r\n final float fontScale = context.getResources().getDisplayMetrics().scaledDensity;\r\n return (int) (spValue * fontScale + 0.5f);\r\n }",
"private static float m590o(Context context) {\r\n DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics();\r\n Point point = new Point(displayMetrics.widthPixels, displayMetrics.heightPixels);\r\n return ((float) point.y) / ((float) point.x);\r\n }",
"private int getScale(){\n Display display = ((WindowManager) Objects.requireNonNull(getContext())\n .getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();\n\n int width = display.getWidth();\n Double val = (double) width / 360d;\n val = val * 100d;\n return val.intValue();\n }",
"short getHResolution();"
]
| [
"0.7610931",
"0.7594886",
"0.757984",
"0.7564679",
"0.74817604",
"0.74558216",
"0.74296093",
"0.7406178",
"0.7375062",
"0.7355892",
"0.7325655",
"0.7322872",
"0.73126537",
"0.72833717",
"0.7260056",
"0.7212614",
"0.7212614",
"0.7212614",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.720468",
"0.71594036",
"0.7131884",
"0.7127125",
"0.712624",
"0.71167094",
"0.71125925",
"0.7076319",
"0.7018031",
"0.69919187",
"0.6982176",
"0.6980425",
"0.6971669",
"0.6919193",
"0.69130254",
"0.6873576",
"0.6856148",
"0.6806842",
"0.6791973",
"0.6786719",
"0.6778777",
"0.67652076",
"0.67652076",
"0.67652076",
"0.67592657",
"0.6755599",
"0.67071056",
"0.66842455",
"0.66777134",
"0.6634886",
"0.66339815",
"0.66227263",
"0.66164464",
"0.6589686",
"0.6553438",
"0.6539321",
"0.6532298",
"0.6532298",
"0.6525108",
"0.6481419",
"0.64582616",
"0.64066154",
"0.63780457",
"0.63703024",
"0.63605946",
"0.6358534",
"0.6348135",
"0.63354135",
"0.6318869",
"0.63100296",
"0.63089",
"0.63020617",
"0.6279718",
"0.6279174",
"0.6250645",
"0.6212505",
"0.6200325",
"0.6193426",
"0.61477447",
"0.61178756",
"0.6112057",
"0.6072636",
"0.6070987",
"0.6062217",
"0.6030474",
"0.5920605",
"0.5920458"
]
| 0.6947907 | 46 |
Creates new form TELAPRINCIPALVETERINARIO | public Tela_Principal_Veterinario(java.awt.Frame parent, boolean modal) {
super(parent, modal);
initComponents();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public creacionempresa() {\n initComponents();\n mostrardatos();\n }",
"@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}",
"@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}",
"public ViewCreatePagamento() {\n initComponents();\n clientesDAO cDAO = DaoFactory.createClientesDao(); \n matriculaDAO mDAO = DaoFactory.createMatriculaDao();\n \n cmbIDClientes.addItem(null);\n cDAO.findAll().forEach((p) -> {\n cmbIDClientes.addItem(p.getNome());\n });\n \n \n txtDataAtual.setText(DateFormat.getDateInstance().format(new Date()));\n }",
"public String crea() {\n c.setId(0);\n clienteDAO.crea(c); \n //Post-Redirect-Get\n return \"visualiza?faces-redirect=true&id=\"+c.getId();\n }",
"public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n\t\t// las validaciones son correctas, por lo cual los datos del formulario estan en\n\t\t// el atributo alumno\n\n\t\t// TODO simular index de la bbdd\n\t\tint id = this.alumnos.size();\n\t\tthis.alumno.setId(id);\n\n\t\tLOG.debug(\"alumno: \" + this.alumno);\n\n\t\t// TODO comprobar edad y fecha\n\n\t\talumnos.add(alumno);\n\t\tview = VIEW_LISTADO;\n\t\tmockAlumno();\n\n\t\t// mensaje flash\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tExternalContext externalContext = facesContext.getExternalContext();\n\t\texternalContext.getFlash().put(\"alertTipo\", \"success\");\n\t\texternalContext.getFlash().put(\"alertMensaje\", \"Alumno \" + this.alumno.getNombre() + \" creado con exito\");\n\n\t\treturn view + \"?faces-redirect=true\";\n\t}",
"@GetMapping(\"/cliente/new\")\n\tpublic String newCliente(Model model) {\n\t\tmodel.addAttribute(\"cliente\", new Cliente());\n\t\tControllerHelper.setEditMode(model, false);\n\t\t\n\t\t\n\t\treturn \"cadastro-cliente\";\n\t\t\n\t}",
"@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\n\n\t\t//parametros.put(\"recordMode\", \"NEW\");\n\t\tllamarFormulario(\"formularioAnalistas.zul\", null);\n\t}",
"public CrearPedidos() {\n initComponents();\n }",
"public void crear() {\n con = new Conexion();\n con.setInsertar(\"insert into lenguajes_programacion (nombre, fecha_creacion, estado) values ('\"+this.getNombre()+\"', '\"+this.getFecha_creacion()+\"', 'activo')\");\n }",
"public VentanaVentaTicket() {\n \n initComponents();\n VentanaVentaTicket.textoArea.append(\"************SPICY FACTORY***************\\n\");\n VentanaVentaTicket.textoArea.append(\"~~~~~~~~Detalle de la Venta ~~~~~~~~~~~~\\n\");\n VentanaVentaTicket.textoArea.append(\"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\n\");\n \n }",
"@GetMapping(\"/createRegistro\")\n\tpublic String crearValidacion(Model model) {\n\t\tList<Barrio> localidades = barrioService.obtenerBarrios();\n\t\tmodel.addAttribute(\"localidades\",localidades);\n\t\tmodel.addAttribute(\"persona\",persona);\n\t\tmodel.addAttribute(\"validacion\",validacion);\n\t\tmodel.addAttribute(\"registro\",registro);\n\t\tmodel.addAttribute(\"barrio\",barrio);\n\t\treturn \"RegistroForm\";\n\t}",
"public frm_tutor_subida_prueba() {\n }",
"public MostraVenta(String idtrasp, Object[][] clienteM1, Object[][] vendedorM1, String idmarc, String responsable,ListaTraspaso panel)\n{\n this.padre = panel;\n this.clienteM = clienteM1;\n this.vendedorM = vendedorM1;\n this.idtraspaso= idtrasp;\n this.idmarca=idmarc;\n//this.tipoenvioM = new String[]{\"INGRESO\", \"TRASPASO\"};\n String tituloTabla =\"Detalle Venta\";\n // padre=panel;\n String nombreBoton1 = \"Registrar\";\n String nombreBoton2 = \"Cancelar\";\n // String nombreBoton3 = \"Eliminar Empresa\";\n\n setId(\"win-NuevaEmpresaForm1\");\n setTitle(tituloTabla);\n setWidth(400);\n setMinWidth(ANCHO);\n setHeight(250);\n setLayout(new FitLayout());\n setPaddings(WINDOW_PADDING);\n setButtonAlign(Position.CENTER);\n setCloseAction(Window.CLOSE);\n setPlain(true);\n\n but_aceptar = new Button(nombreBoton1);\n but_cancelar = new Button(nombreBoton2);\n // addButton(but_aceptarv);\n addButton(but_aceptar);\n addButton(but_cancelar);\n\n formPanelCliente = new FormPanel();\n formPanelCliente.setBaseCls(\"x-plain\");\n //formPanelCliente.setLabelWidth(130);\n formPanelCliente.setUrl(\"save-form.php\");\n formPanelCliente.setWidth(ANCHO);\n formPanelCliente.setHeight(ALTO);\n formPanelCliente.setLabelAlign(Position.LEFT);\n\n formPanelCliente.setAutoWidth(true);\n\n\ndat_fecha1 = new DateField(\"Fecha\", \"d-m-Y\");\n fechahoy = new Date();\n dat_fecha1.setValue(fechahoy);\n dat_fecha1.setReadOnly(true);\n\ncom_vendedor = new ComboBox(\"Vendedor al que enviamos\", \"idempleado\");\ncom_cliente = new ComboBox(\"Clientes\", \"idcliente\");\n//com_tipo = new ComboBox(\"Tipo Envio\", \"idtipo\");\n initValues1();\n\n\n\n formPanelCliente.add(dat_fecha1);\n// formPanelCliente.add(com_tipo);\n// formPanelCliente.add(tex_nombreC);\n// formPanelCliente.add(tex_codigoBarra);\n // formPanelCliente.add(tex_codigoC);\nformPanelCliente.add(com_vendedor);\n formPanelCliente.add(com_cliente);\n add(formPanelCliente);\nanadirListenersTexfield();\n addListeners();\n\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n String nombre = request.getParameter(\"nombre\");\n String descripcion = request.getParameter(\"descripcion\");\n String cantidad = request.getParameter(\"cantidad\");\n String precio = request.getParameter(\"precio\");\n String pago = request.getParameter(\"pago\");\n \n //creando objeto del costructor\n modelo.ventas venta = new modelo.ventas();\n //almacenando datos en las variables con el constructor \n venta.setNombre(nombre);\n venta.setDescripcion(descripcion);\n venta.setCantidad(Integer.parseInt(cantidad));\n venta.setPrecio(Double.parseDouble(precio));\n venta.setPago(Integer.parseInt(pago));\n \n //creando objeto para guardar cliente\n modelo.addVenta addventa = new modelo.addVenta();\n try {\n addventa.agrega(venta);\n } catch (SQLException ex) {\n Logger.getLogger(formVenta.class.getName()).log(Level.SEVERE, null, ex);\n }\n response.sendRedirect(\"ventas\");//si se guarda exitosamente se redirecciona a membresia\n }",
"protected void nuevo(){\n wp = new frmEspacioTrabajo();\n System.runFinalization();\n inicializar();\n }",
"public CrearQuedadaVista() {\n }",
"public static void create(Formulario form){\n daoFormulario.create(form);\n }",
"Compuesta createCompuesta();",
"public TelaRegistroVendas() {\n initComponents();\n }",
"private void iniciaTela() {\n try {\n tfCod.setText(String.valueOf(reservaCliDAO.getLastId()));\n desabilitaCampos(false);\n DefaultComboBoxModel modeloComboCliente;\n modeloComboCliente = new DefaultComboBoxModel(funDAO.getAll().toArray());\n cbFunc.setModel(modeloComboCliente);\n modeloComboCliente = new DefaultComboBoxModel(quartoDAO.getAll().toArray());\n cbQuarto.setModel(modeloComboCliente);\n modeloComboCliente = new DefaultComboBoxModel(cliDAO.getAll().toArray());\n cbCliente.setModel(modeloComboCliente);\n btSelect.setEnabled(false);\n verificaCampos();\n carregaTableReserva(reservaDAO.getAll());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"public void createAgendamento() {\n\n if (tbagendamento.getTmdataagendamento().after(TimeControl.getDateIni())) {\n if (agendamentoLogic.createTbagendamento(tbagendamento)) {\n AbstractFacesContextUtils.redirectPage(PagesUrl.URL_AGENDAMENTO_LIST);\n AbstractFacesContextUtils.addMessageInfo(\"Agendamento cadastrado com sucesso.\");\n } else {\n AbstractFacesContextUtils.addMessageWarn(\"Falhar ao realizado cadastro do agendamento.\");\n }\n } else {\n AbstractFacesContextUtils.addMessageWarn(\"verifique se a data de agendamento esta correta.\");\n }\n }",
"public CadastroProdutoNew() {\n initComponents();\n }",
"public FormularioCliente() {\n initComponents();\n }",
"public VistaTrabaja() {\n initComponents();\n }",
"public void crear(Tarea t) {\n t.saveIt();\n }",
"public VistaCrearPedidoAbonado() {\n initComponents();\n errorLabel.setVisible(false);\n controlador = new CtrlVistaCrearPedidoAbonado(this);\n }",
"@FXML\r\n private void crearSolicitud() {\r\n try {\r\n //Carga la vista de crear solicitud rma\r\n FXMLLoader loader = new FXMLLoader();\r\n loader.setLocation(Principal.class.getResource(\"/vista/CrearSolicitud.fxml\"));\r\n BorderPane vistaCrear = (BorderPane) loader.load();\r\n\r\n //Crea un dialogo para mostrar la vista\r\n Stage dialogo = new Stage();\r\n dialogo.setTitle(\"Solicitud RMA\");\r\n dialogo.initModality(Modality.WINDOW_MODAL);\r\n dialogo.initOwner(primerStage);\r\n Scene escena = new Scene(vistaCrear);\r\n dialogo.setScene(escena);\r\n\r\n //Annadir controlador y datos\r\n ControladorCrearSolicitud controlador = loader.getController();\r\n controlador.setDialog(dialogo, primerStage);\r\n\r\n //Carga el numero de Referencia\r\n int numReferencia = DAORma.crearReferencia();\r\n\r\n //Modifica el dialogo para que no se pueda cambiar el tamaño y lo muestra\r\n dialogo.setResizable(false);\r\n dialogo.showAndWait();\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"OperacionColeccion createOperacionColeccion();",
"@RequestMapping(value = \"/create\", method = RequestMethod.POST)\n public ModelAndView create(@RequestParam(\"horasalida\") Date horasalida,@RequestParam(\"horallegada\") Date horallegada,@RequestParam(\"aeropuerto_idaeropuerto\") Long aeropuerto_idaeropuerto,\n \t\t@RequestParam(\"aeropuerto_idaeropuerto2\") Long aeropuerto_idaeropuerto2,@RequestParam(\"avion_idavion\") Long avion_idavion) {\n Vuelo post=new Vuelo();\n post.setHorallegada(horallegada);\n post.setHorasalida(horasalida);\n\t\t\n post.setAeropuerto_idaeropuerto(aeropuerto_idaeropuerto);\n post.setAeropuerto_idaeropuerto2(aeropuerto_idaeropuerto2);\n post.setAvion_idavion(avion_idavion);\n repository.save(post);\n return new ModelAndView(\"redirect:/vuelos\");\n }",
"public Tecnico(){\r\n\t\tthis.matricula = 0;\r\n\t\tthis.nome = \"NULL\";\r\n\t\tthis.email = \"NULL\";\r\n\t\tthis.telefone = \"TELEFONE\";\r\n\t\tlistaDeServicos = new ArrayList<Servico>();\r\n\t}",
"@RequestMapping(value = { \"/new\" }, method = RequestMethod.POST)\n\tpublic String saveEntity(@Valid ENTITY tipoConsumo, BindingResult result, ModelMap model,\n\t\t\t@RequestParam(required = false) Integer idEstadia) {\n\t\ttry{\n\t\n\t\t\tif (result.hasErrors()) {\n\t\t\t\treturn viewBaseLocation + \"/form\";\n\t\t\t}\n\t\n\t\t\tabm.guardar(tipoConsumo);\n\t\n\t\t\tif(idEstadia != null){\n\t\t\t\tmodel.addAttribute(\"idEstadia\", idEstadia);\n\t\t\t}\n\t\n\t\t\tmodel.addAttribute(\"success\", \"La creación se realizó correctamente.\");\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\tmodel.addAttribute(\"success\", \"La creación no pudo realizarse.\");\n\t\t}\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn \"redirect:list\";\n\t}",
"public JogadorTradutor() {\n this.nome= \"Sem Registro\";\n this.pontuacao = pontuacao;\n id = id;\n \n geradorDesafioItaliano = new GerarPalavra(); // primeira palavra ja é gerada para o cliente\n }",
"public vistaEjemplo() {\n initComponents();\n con=new Conexion();\n data = new Datas(con);\n usuario = new Usuario();\n jTApellido.setEnabled(false);\n jTMail.setEnabled(false);\n jTNombre.setEnabled(false);\n jTPassword.setEnabled(false);\n JdcFechaDeEntrada.setEnabled(false);\n jBPdf.setEnabled(false);\n }",
"@GetMapping(\"/producto/nuevo\")\n\tpublic String nuevoProductoForm(Model model) {\n\t\tmodel.addAttribute(\"producto\", new Producto());\n\t\treturn \"app/producto/form\";\n\t}",
"@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors()) {\n return status(409, frm.errorsAsJson());\n }\n\n Paso nuevoPaso = frm.get();\n\n // Comprobar autor\n String key = request().getQueryString(\"apikey\");\n if (!SeguridadFunctions.esAutorReceta(nuevoPaso.p_receta.getId(), key))\n return Results.badRequest();\n\n // Checkeamos y guardamos\n if (nuevoPaso.checkAndCreate()) {\n Cachefunctions.vaciarCacheListas(\"pasos\", Paso.numPasos(), cache);\n Cachefunctions.vaciarCacheListas(\"recetas\", Receta.numRecetas(), cache);\n return Results.created();\n } else {\n return Results.badRequest();\n }\n\n }",
"public Ventaform() {\n initComponents();\n }",
"public ServerskaForma() {\n initComponents();\n \n \n \n }",
"public frmTelaVendas() {\n initComponents();\n this.carrinho = new CarrinhoDeCompras();\n listaItens.setModel(this.lista);\n }",
"@RequestMapping(value=\"/formpaciente\")\r\n\tpublic String crearPaciente(Map<String, Object> model) {\t\t\r\n\t\t\r\n\t\tPaciente paciente = new Paciente();\r\n\t\tmodel.put(\"paciente\", paciente);\r\n\t\tmodel.put(\"obrasociales\",obraSocialService.findAll());\r\n\t\t//model.put(\"obrasPlanesForm\", new ObrasPlanesForm());\r\n\t\t//model.put(\"planes\", planService.findAll());\r\n\t\tmodel.put(\"titulo\", \"Formulario de Alta de Paciente\");\r\n\t\t\r\n\t\treturn \"formpaciente\";\r\n\t}",
"public TelaAgendamento() {\n initComponents();\n }",
"public void crearAutomovil(){\r\n automovil = new Vehiculo();\r\n automovil.setMarca(\"BMW\");\r\n automovil.setModelo(2010);\r\n automovil.setPlaca(\"TWS435\");\r\n }",
"public telaAddPedidoII() {\n initComponents();\n }",
"private void crearVista() {\n\t\tVista vista = Vista.getInstancia();\n\t\tvista.addObservador(this);\n\n\t}",
"public void crearEntidad() throws EntidadNotFoundException {\r\n\t\tif (validarCampos(getNewEntidad())) {\r\n\t\t\tif (validarNomNitRepetidoEntidad(getNewEntidad())) {\r\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(null,\r\n\t\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_WARN, \"Advertencia: \", \"Nombre, Nit o Prejifo ya existe en GIA\"));\r\n\t\t\t} else {\r\n\t\t\t\tif (entidadController.crearEntidad(getNewEntidad())) {\r\n\t\t\t\t\tmensajeGrow(\"Entidad Creada Satisfactoriamente\", getNewEntidad());\r\n\t\t\t\t\tRequestContext.getCurrentInstance().execute(\"PF('entCrearDialog').hide()\");\r\n\t\t\t\t\tsetNewEntidad(new EntidadDTO());\r\n\t\t\t\t\tresetCodigoBUA();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmensajeGrow(\"Entidad No Fue Creada\", getNewEntidad());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlistarEntidades();\r\n\t\t\t// newEntidad = new EntidadDTO();\r\n\t\t\t// fechaActual();\r\n\t\t}\r\n\r\n\t}",
"public Registro_Tratamento() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"Registro de tratamentos\");\n }",
"private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t}",
"public void crearInsertCliente() {\n\t\tgetContentPane().setLayout(new BorderLayout());\n\t\t\n\t\tJPanel p0 = new JPanel();\n\t\tp1 = new JPanel();\n\t\tp2 = new JPanel();\n\t\t\t\t\n\t\t// Grid Layout # rows, # columns\n\t\tp0.setLayout(new GridLayout(8,1));\n\t\tp1.setLayout(new GridLayout(8,2));\n\t\tp2.setLayout(new GridLayout(1,2));\n\t\t\n\t\t/*\n\t\t * Creating Textfields, adding them to list of \n\t\t * textfields textos to be able to get them in \n\t\t * the Controller + adding textfields to panel\n\t\t */\n\t\tfor (int i=0; i<8; i++) {\n\t\t\ttf = new JTextField();\n textos.add(tf);\n\t\t\tp1.add(tf);\n\t\t}\n\t\t\n\t\t// Creating Labels + Buttons\n\n\t\tJLabel labelRUT = new JLabel(\"RUT : \");\t\t\n\t\tJLabel labelNombre = new JLabel(\"Nombre : \");\n\t\tJLabel labelOcup = new JLabel(\"Ocupacion : \");\n\t\tJLabel labelCorreo = new JLabel(\"Correo : \");\n\t\tJLabel labelTel = new JLabel(\"Telefono : \");\n\t\tJLabel labelNbUsuario = new JLabel(\"Nombre de Usuario : \");\n\t\tJLabel labelContr = new JLabel(\"Contraseña : \");\n\t\tJLabel labelMoros = new JLabel(\"Morosidad (false/ true) : \");\n\t\t\n\t\tJButton buttonRegresar = new JButton(\"Regresar\");\n\t\tbotones.add(buttonRegresar);\n buttonRegresar.setPreferredSize(new Dimension(110,110));\n\n\t\tJButton buttonContinuar = new JButton(\"Continuar\");\n\t\tbotones.add(buttonContinuar);\n\t\tbuttonContinuar.setPreferredSize(new Dimension(110,110));\n\t\t\n\t\t// Adding components to Panel\n\t\t// TODO : REFACTOR with for loop?!\n\t\t\n\t\tp0.add(labelRUT);\n\t\tp0.add(labelNombre);\n\t\tp0.add(labelOcup);\n\t\tp0.add(labelCorreo);\n\t\tp0.add(labelTel);\n\t\tp0.add(labelNbUsuario);\n\t\tp0.add(labelContr);\n\t\tp0.add(labelMoros);\n\t\t\n\t\tp2.add(buttonRegresar);\n\t\tp2.add(buttonContinuar);\n\t\t\n\t\t// Add panels to general Layouts\n\t\tadd(p0, BorderLayout.WEST);\n\t\tadd(p1, BorderLayout.CENTER);\n\t add(p2, BorderLayout.SOUTH);\n\t}",
"@GetMapping(\"/restaurante/new\")\n\tpublic String newRestaurante(Model model) {\n\t\tmodel.addAttribute(\"restaurante\", new Restaurante());\n\t\tControllerHelper.setEditMode(model, false);\n\t\tControllerHelper.addCategoriasToRequest(categoriaRestauranteRepository, model);\n\t\t\n\t\treturn \"restaurante-cadastro\";\n\t\t\n\t}",
"public FrmCrearEmpleado() {\n initComponents();\n tFecha.setDate(new Date());\n }",
"public void makeClient() {\n try {\n clienteFacade.create(cliente);\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_INFO, \"Cliente creado exitosamente\", null));\n } catch (Exception e) {\n System.err.println(\"Error en la creacion del usuario: \" + e.getMessage());\n FacesContext.getCurrentInstance().addMessage(\"messages\", new FacesMessage(FacesMessage.SEVERITY_FATAL, e.getMessage(), null));\n }\n }",
"public TelaCadastrarProduto() {\n initComponents();\n entidade = new Produto();\n setRepositorio(RepositorioBuilder.getProdutoRepositorio());\n grupo.add(jRadioButton1);\n grupo.add(jRadioButton2);\n }",
"public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n new Auxiliares().setMsj(3,\"PENSUM ID YA EXISTE\");\n }\n }",
"Vaisseau_estOrdonneeCouverte createVaisseau_estOrdonneeCouverte();",
"public TelaCliente() {\n initComponents();\n }",
"public TelaCliente() {\n initComponents();\n }",
"public TelaProduto() {\n initComponents();\n \n carregaProdutos();\n }",
"public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }",
"public TelaCadastroCliente() {\n initComponents();\n }",
"public TelaCadastroCliente() {\n initComponents();\n }",
"public FrmServicos() {\n initComponents();\n }",
"public Form_soal() {\n initComponents();\n tampil_soal();\n }",
"@Override\r\n\tprotected void agregarObjeto() {\r\n\t\t// opcion 1 es agregar nuevo justificativo\r\n\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (AGREGANDO)\");\r\n\t\tthis.opcion = 1;\r\n\t\tactivarFormulario();\r\n\t\tlimpiarTabla();\r\n\t\tthis.panelBotones.habilitar();\r\n\t}",
"Compleja createCompleja();",
"public Punto_venta() {\n initComponents();\n }",
"@GetMapping(path = \"/realizar\")\n public ModelAndView getForm(){\n\n return new ModelAndView(ViewConstant.MANTCOMPRASMINO).addObject(\"compraMinorista\", new CompraMinorista());\n }",
"@Override\n public ComprobanteContable createComprobante(\n Aerolinea a, Boleto boleto, Cliente cliente, String tipo) throws CRUDException {\n Optional op;\n ComprobanteContable comprobante = new ComprobanteContable();\n //ComprobanteContablePK pk = new ComprobanteContablePK();\n //pk.setGestion(DateContable.getPartitionDateInt(DateContable.getDateFormat(boleto.getFechaEmision(), DateContable.LATIN_AMERICA_FORMAT)));\n comprobante.setEstado(ComprobanteContable.EMITIDO);\n //comprobante.setComprobanteContablePK(pk);\n //creamos el concepto\n StringBuilder buff = new StringBuilder();\n\n // DESCRIPCION \n // AEROLINEA/ # Boleto / Pasajero / Rutas\n buff.append(a.getNumero());\n\n buff.append(\"/\");\n\n //numero boleto\n buff.append(\"#\");\n buff.append(boleto.getNumero());\n buff.append(\"/\");\n\n //Pasajero\n buff.append(boleto.getNombrePasajero().toUpperCase());\n\n // Rutas\n buff.append(\"/\");\n buff.append(boleto.getIdRuta1() != null ? boleto.getIdRuta1() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta2() != null ? boleto.getIdRuta2() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta3() != null ? boleto.getIdRuta3() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta4() != null ? boleto.getIdRuta4() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta5() != null ? boleto.getIdRuta5() : \"\");\n\n //jala el nombre cliente\n comprobante.setIdCliente(cliente);\n comprobante.setConcepto(buff.toString());\n comprobante.setFactorCambiario(boleto.getFactorCambiario());\n comprobante.setFecha(boleto.getFechaEmision());\n comprobante.setFechaInsert(boleto.getFechaInsert());\n comprobante.setIdEmpresa(boleto.getIdEmpresa());\n comprobante.setIdUsuarioCreador(boleto.getIdUsuarioCreador());\n comprobante.setTipo(tipo);\n\n //ComprobanteContablePK numero = getNextComprobantePK(boleto.getFechaEmision(), tipo);\n Integer numero = getNextComprobantePK(boleto.getFechaEmision(), tipo);\n comprobante.setIdNumeroGestion(numero);\n comprobante.setGestion(DateContable.getPartitionDateInt(DateContable.getDateFormat(boleto.getFechaEmision(), DateContable.LATIN_AMERICA_FORMAT)));\n\n return comprobante;\n }",
"public frmCliente() {\n initComponents();\n CargarProvinciasRes();\n CargarProvinciasTra();\n ManejadorCliente objCli = new ManejadorCliente();\n }",
"Vaisseau_longueur createVaisseau_longueur();",
"public frmTaquilla() {\n initComponents();\n \n objSalaSecundaria.setCapacidad(250);\n objSalaSecundaria.setPrecioEntrada(180.0);//esto equivale a asignar los valores a través de de los metodos set\n libres1.setText(\"LIBRES \" + objSalaCentral.getCapacidad());\n }",
"public FormInserir() {\n initComponents();\n }",
"@Override\n public ComprobanteContable createComprobante(Aerolinea a, Boleto boleto, Cliente cliente, String tipo, NotaDebito nota) throws CRUDException {\n\n ComprobanteContable comprobante = new ComprobanteContable();\n //ComprobanteContablePK pk = new ComprobanteContablePK();\n //pk.setGestion(DateContable.getPartitionDateInt(DateContable.getDateFormat(boleto.getFechaEmision(), DateContable.LATIN_AMERICA_FORMAT)));\n\n //creamos el concepto\n StringBuilder buff = new StringBuilder();\n\n // DESCRIPCION \n // AEROLINEA/ # Boleto / Pasajero / Rutas\n buff.append(a.getNumero());\n\n buff.append(\"/\");\n\n //numero boleto\n buff.append(\"#\");\n buff.append(boleto.getNumero());\n buff.append(\"/\");\n\n //Pasajero\n buff.append(boleto.getNombrePasajero().toUpperCase());\n\n // Rutas\n buff.append(\"/\");\n buff.append(boleto.getIdRuta1() != null ? boleto.getIdRuta1() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta2() != null ? boleto.getIdRuta2() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta3() != null ? boleto.getIdRuta3() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta4() != null ? boleto.getIdRuta4() : \"\");\n buff.append(\"/\");\n buff.append(boleto.getIdRuta5() != null ? boleto.getIdRuta5() : \"\");\n\n //jala el nombre cliente\n comprobante.setIdCliente(cliente);\n comprobante.setConcepto(buff.toString());\n comprobante.setFactorCambiario(boleto.getFactorCambiario());\n comprobante.setFecha(boleto.getFechaEmision());\n comprobante.setFechaInsert(boleto.getFechaInsert());\n comprobante.setIdEmpresa(boleto.getIdEmpresa());\n comprobante.setIdUsuarioCreador(boleto.getIdUsuarioCreador());\n comprobante.setTipo(tipo);\n comprobante.setEstado(ComprobanteContable.EMITIDO);\n //comprobante.setComprobanteContablePK(pk);\n\n //ComprobanteContablePK numero = getNextComprobantePK(boleto.getFechaEmision(), tipo);\n Integer numero = getNextComprobantePK(boleto.getFechaEmision(), tipo);\n comprobante.setIdNumeroGestion(numero);\n comprobante.setGestion(DateContable.getPartitionDateInt(DateContable.getDateFormat(boleto.getFechaEmision(), DateContable.LATIN_AMERICA_FORMAT)));\n return comprobante;\n }",
"public agregarArticulo(String user, String password, String vend, String codigoVend) {\n initComponents();\n usu = user;\n contra = password;\n\n try {\n model = new ConnectionTableDB(usu, contra, \"adv_facturacion\", \"SELECT tipo_producto from tipo_producto\", false);\n\n for (int i = 0; i < model.getRowCount(); i++) {\n tipo.addItem(String.valueOf(model.getValueAt(i, 0)));\n }\n //this.getContentPane().setBackground(Color.white);\n } catch (SQLException ex) {\n Logger.getLogger(agregarArticulo.class.getName()).log(Level.SEVERE, null, ex);\n }\n model.desconectar();\n }",
"public TelaPesquisarClientes() {\n initComponents();\n }",
"public VistaPedido() {\n initComponents();\n }",
"public void crearReaTrans(){\n\t // could have been factorized with the precedent view\n\t\tgetContentPane().setLayout(new BorderLayout());\n\t \n\t\tp1 = new JPanel();\n\t p2 = new JPanel();\n\t \n\t String[] a = {\"Regresar\",\"Continuar\"}, c = {\"Cuenta de origen\",\"Monto\",\"Cuenta de destino\"};\n\t \n\t p1.setLayout(new GridLayout(1,2));\n\t p2.setLayout(new GridLayout(1,3));\n\t \n\t for (int x=0; x<2; x++) {\n\t b = new JButton(a[x]);\n\t botones.add(b);\n\t }\n\t for (JButton x:botones) {\n\t x.setPreferredSize(new Dimension(110,110));\n\t p1.add(x);\n\t }\n // Add buttons panel \n\t add(p1, BorderLayout.SOUTH);\n\t \n\t for (int x=0; x<3; x++){\n\t tf=new JTextField(c[x]);\n\t tf.setPreferredSize(new Dimension(10,100));\n textos.add(tf);\n\t p2.add(tf);\n\t }\n // Add textfields panel\n\t add(p2, BorderLayout.NORTH);\n\t}",
"public ConsultarVeiculo() {\n initComponents();\n }",
"Operacion createOperacion();",
"public telaCadastro() {\n initComponents();\n populaTabela();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n etiquetaTitulo = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n tablaCuentas = new javax.swing.JTable();\n etiquetaLeyenda = new javax.swing.JLabel();\n jPanel2 = new javax.swing.JPanel();\n etiquetaCodigo = new javax.swing.JLabel();\n campoCodigo = new javax.swing.JTextField();\n etiquetaDescripcion = new javax.swing.JLabel();\n campoDescripcion = new javax.swing.JTextField();\n comboCuentaTitulo = new javax.swing.JComboBox<>();\n etiquetaCuentaTitulo = new javax.swing.JLabel();\n botonAceptar = new javax.swing.JButton();\n etiquetaNivel = new javax.swing.JLabel();\n campoNivel = new javax.swing.JTextField();\n etiquetaTitulo2 = new javax.swing.JLabel();\n botonVolver = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n etiquetaTitulo.setFont(new java.awt.Font(\"Tahoma\", 1, 13)); // NOI18N\n etiquetaTitulo.setText(\"Crear una nueva Cuenta o Titulo\");\n\n tablaCuentas = new javax.swing.JTable() {\n public boolean isCellEditable(int rowIndex, int colIndex){\n return false;\n }\n };\n tablaCuentas.setModel(new javax.swing.table.DefaultTableModel(\n new Object [][] {\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null},\n {null, null, null, null}\n },\n new String [] {\n \"Codigo\", \"Descripcion\", \"Tipo\", \"Nro Cuenta\"\n }\n ));\n jScrollPane1.setViewportView(tablaCuentas);\n\n etiquetaLeyenda.setText(\"Seleccione bajo que titulo se crea la nueva cuenta o titulo\");\n\n etiquetaCodigo.setText(\"Codigo:\");\n\n etiquetaDescripcion.setText(\"Descripcion:\");\n\n comboCuentaTitulo.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Titulo\", \"Cuenta\" }));\n\n etiquetaCuentaTitulo.setText(\"Cuenta o Titulo:\");\n\n botonAceptar.setText(\"Aceptar\");\n\n etiquetaNivel.setText(\"Nivel:\");\n\n campoNivel.setEnabled(false);\n\n etiquetaTitulo2.setText(\"Datos de la nueva Cuenta\");\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(22, 22, 22)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(botonAceptar)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(etiquetaCodigo)\n .addComponent(etiquetaDescripcion)\n .addComponent(etiquetaCuentaTitulo))\n .addGap(18, 18, 18)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(campoDescripcion, javax.swing.GroupLayout.PREFERRED_SIZE, 257, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addComponent(comboCuentaTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(34, 34, 34)\n .addComponent(etiquetaNivel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(campoNivel, javax.swing.GroupLayout.PREFERRED_SIZE, 66, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(campoCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, 257, javax.swing.GroupLayout.PREFERRED_SIZE)))))\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addGap(99, 99, 99)\n .addComponent(etiquetaTitulo2)))\n .addContainerGap(38, Short.MAX_VALUE))\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel2Layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(etiquetaTitulo2)\n .addGap(33, 33, 33)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(campoCodigo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(etiquetaCodigo))\n .addGap(40, 40, 40)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(etiquetaDescripcion)\n .addComponent(campoDescripcion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(59, 59, 59)\n .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(comboCuentaTitulo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(etiquetaCuentaTitulo)\n .addComponent(etiquetaNivel)\n .addComponent(campoNivel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(61, 61, 61)\n .addComponent(botonAceptar)\n .addContainerGap(52, Short.MAX_VALUE))\n );\n\n botonVolver.setText(\"Volver\");\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(39, 39, 39)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(etiquetaLeyenda)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(87, 87, 87)\n .addComponent(botonVolver))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(317, 317, 317)\n .addComponent(etiquetaTitulo)))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(24, 24, 24)\n .addComponent(etiquetaTitulo)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 26, Short.MAX_VALUE)\n .addComponent(etiquetaLeyenda)\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 531, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(botonVolver)\n .addGap(67, 67, 67))))\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public TelaCliente() {\n\n try {\n Handler console = new ConsoleHandler();\n Handler file = new FileHandler(\"/tmp/roquerou.log\");\n console.setLevel(Level.ALL);\n file.setLevel(Level.ALL);\n file.setFormatter(new SimpleFormatter());\n LOG.addHandler(file);\n LOG.addHandler(console);\n LOG.setUseParentHandlers(false);\n } catch (IOException io) {\n LOG.warning(\"O ficheiro hellologgin.xml não pode ser criado\");\n }\n\n initComponents();\n NivelDAO nd = new NivelDAO();\n if (nd.buscar() == 3) {\n botaoNovoCliente.setEnabled(false);\n buscarcli.setEnabled(false);\n tabelaCliente.setEnabled(false);\n popularCombo();\n setarLabels();\n\n LOG.info(\"Abertura da Tela de Clientes\");\n } else {\n popularCombo();\n setarLabels();\n\n LOG.info(\"Abertura da Tela de Clientes\");\n }\n }",
"public tambahtoko() {\n initComponents();\n tampilkan();\n form_awal();\n }",
"FORM createFORM();",
"public SalidaCajaForm() {\n\t\tinicializarComponentes();\n }",
"public TelaEsqueceuSenha() {\n initComponents();\n }",
"public FrmNuevoProveedor() {\n initComponents();\n }",
"public TelaCliente() {\n \n CadCli = new Dao_CadastroCliente();\n initComponents();\n BtPesquisarConsulta.setEnabled(false);\n BtSalvarCli.setEnabled(false);\n BtAlterarCli.setEnabled(false);\n TipodeViaCli.setEnabled(false);\n TxEstadoCli.setEnabled(false);\n BtBuscarCli.setEnabled(false);\n BtLimparCli.setEnabled(false);\n TxTipoPessoa.setEnabled(false);\n PnlPj.setVisible(false);\n PnlPf.setVisible(false);\n centralizarComponente();\n\n }",
"public CrearProductos() {\n initComponents();\n }",
"private void newProject()\n\t{\n\t\tnew FenetreCreationProjet();\n\t}",
"private void generaVentana()\n {\n // Crea la ventana\n ventana = new JFrame(\"SpaceInvaders\");\n panel = (JPanel) ventana.getContentPane();\n \n // Establece el tamaño del panel\n panel.setPreferredSize(new Dimension(anchoVentana, altoVentana));\n\n // Establece el layout por defecto\n panel.setLayout(null);\n\n // Establece el fondo para el panel\n panel.setBackground(Color.black);\n\n // Establece el tamaño de Canvas y lo añade a la ventana\n setBounds(0,0,altoVentana,anchoVentana);\n panel.add(this);\n\n // Establece que el programa se cerrará cuando la ventana se cierre\n ventana.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n // Establece el tamaño de la ventana\n ventana.pack();\n\n // La ventana no se cambia de tamaño\n ventana.setResizable(false);\n\n // Centra la ventana en la pantalla\n ventana.setLocationRelativeTo(null);\n\n // Muestra la ventana\n ventana.setVisible(true);\n\n // Mantine el foco en la ventana\n requestFocusInWindow();\n }",
"public VentanaCrearProducto(ControladorProducto controladorProducto) {\n initComponents();\n this.controladorProducto=controladorProducto;\n txtCodigoCrearProducto.setText(String.valueOf(this.controladorProducto.getCodigo()));\n this.setSize(1000,600);\n }",
"public VistaInicial crearventanaInicial(){\n if(vistaInicial==null){\n vistaInicial = new VistaInicial();\n }\n return vistaInicial;\n }",
"public TelaSecundaria() {\n initComponents();\n ArrayTexto();\n btpara.setVisible(false);\n btresposta.setVisible(false);\n }",
"private void creaPannelli() {\n /* variabili e costanti locali di lavoro */\n Pannello pan;\n\n try { // prova ad eseguire il codice\n\n /* pannello date */\n pan = this.creaPanDate();\n this.addPannello(pan);\n\n /* pannello coperti */\n PanCoperti panCoperti = new PanCoperti();\n this.setPanCoperti(panCoperti);\n this.addPannello(panCoperti);\n\n\n /* pannello placeholder per il Navigatore risultati */\n /* il navigatore vi viene inserito in fase di inizializzazione */\n pan = new PannelloFlusso(Layout.ORIENTAMENTO_ORIZZONTALE);\n this.setPanNavigatore(pan);\n this.addPannello(pan);\n\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n } // fine del blocco try-catch\n\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n RazonSocialjTextField = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n DireccionjTextField = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n EmailjTextField = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n CodPostjTextField = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n TelefonojTextField = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n CUITjTextField = new javax.swing.JTextField();\n CancelarjButton = new javax.swing.JButton();\n GuardarjButton = new javax.swing.JButton();\n jLabel9 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n ProvinciasjComboBox = new javax.swing.JComboBox<>();\n jLabel10 = new javax.swing.JLabel();\n LocalidadesjComboBox = new javax.swing.JComboBox<>();\n NombreFantasiajTextField = new javax.swing.JTextField();\n ProveedorIDjTextField = new javax.swing.JTextField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"Agregar nuevo proveedor - OSG\");\n\n jLabel1.setText(\"Razon social\");\n\n jLabel2.setText(\"Dirección\");\n\n jLabel3.setText(\"Email\");\n\n jLabel4.setText(\"Código postal\");\n\n CodPostjTextField.setEditable(false);\n CodPostjTextField.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n CodPostjTextFieldKeyTyped(evt);\n }\n });\n\n jLabel5.setText(\"Telefono\");\n\n TelefonojTextField.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n TelefonojTextFieldKeyTyped(evt);\n }\n });\n\n jLabel6.setText(\"CUIT\");\n\n CUITjTextField.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyTyped(java.awt.event.KeyEvent evt) {\n CUITjTextFieldKeyTyped(evt);\n }\n });\n\n CancelarjButton.setText(\"Cancelar\");\n CancelarjButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n CancelarjButtonActionPerformed(evt);\n }\n });\n\n GuardarjButton.setText(\"Guardar\");\n GuardarjButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n GuardarjButtonActionPerformed(evt);\n }\n });\n\n jLabel9.setText(\"Nombre de fantasia\");\n\n jLabel7.setText(\"Provincia\");\n\n ProvinciasjComboBox.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n ProvinciasjComboBoxItemStateChanged(evt);\n }\n });\n\n jLabel10.setText(\"Localidad\");\n\n LocalidadesjComboBox.addItemListener(new java.awt.event.ItemListener() {\n public void itemStateChanged(java.awt.event.ItemEvent evt) {\n LocalidadesjComboBoxItemStateChanged(evt);\n }\n });\n\n ProveedorIDjTextField.setVisible(false);\n ProveedorIDjTextField.setEditable(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(56, 56, 56)\n .addComponent(TelefonojTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGap(56, 56, 56)\n .addComponent(EmailjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 107, Short.MAX_VALUE)\n .addGap(56, 56, 56)\n .addComponent(CodPostjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(56, 56, 56)\n .addComponent(ProvinciasjComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel10, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(56, 56, 56)\n .addComponent(LocalidadesjComboBox, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(CUITjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(RazonSocialjTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 233, Short.MAX_VALUE)\n .addComponent(NombreFantasiajTextField)))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(0, 0, Short.MAX_VALUE)\n .addComponent(DireccionjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 233, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(ProveedorIDjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(GuardarjButton)\n .addGap(18, 18, 18)\n .addComponent(CancelarjButton)))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(CUITjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(RazonSocialjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel9)\n .addComponent(NombreFantasiajTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(21, 21, 21)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel7)\n .addComponent(ProvinciasjComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel10)\n .addComponent(LocalidadesjComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(CodPostjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(DireccionjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(EmailjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(TelefonojTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(CancelarjButton)\n .addComponent(GuardarjButton)\n .addComponent(ProveedorIDjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }",
"public void insertar() {\r\n if (vista.jTNombreempresa.getText().equals(\"\") || vista.jTTelefono.getText().equals(\"\") || vista.jTRFC.getText().equals(\"\") || vista.jTDireccion.getText().equals(\"\")) {\r\n JOptionPane.showMessageDialog(null, \"Faltan Datos: No puedes dejar cuadros en blanco\");//C.P.M Verificamos si las casillas esta vacia si es asi lo notificamos\r\n } else {//C.P.M de lo contrario prosegimos\r\n modelo.setNombre(vista.jTNombreempresa.getText());//C.P.M mandamos las variabes al modelo \r\n modelo.setDireccion(vista.jTDireccion.getText());\r\n modelo.setRfc(vista.jTRFC.getText());\r\n modelo.setTelefono(vista.jTTelefono.getText());\r\n \r\n Error = modelo.insertar();//C.P.M Ejecutamos el metodo del modelo \r\n if (Error.equals(\"\")) {//C.P.M Si el modelo no regresa un error es que todo salio bien\r\n JOptionPane.showMessageDialog(null, \"Se guardo exitosamente la configuracion\");//C.P.M notificamos a el usuario\r\n vista.dispose();//C.P.M y cerramos la vista\r\n } else {//C.P.M de lo contrario \r\n JOptionPane.showMessageDialog(null, Error);//C.P.M notificamos a el usuario el error\r\n }\r\n }\r\n }",
"public vOferta() {\n initComponents();\n }",
"public void generarContrato() {\r\n\t\ttry {\r\n\t\t\tString nombre = Contrato.generarContrato(estudiante, periodo, reserva.getArrSitioPeriodo().getSitNombre());\r\n\t\t\tnombre = \"Contrato_\" + estudiante.getId().getPerDni() + \".zip\";\r\n\t\t\tthis.zip(estudiante.getId().getPerDni(), periodo.getPrdId());\r\n\t\t\tFunciones.descargarZip(url_contrato+ nombre);\r\n\t\t\t// MODIFICAR NOMBRE CONTRATO\r\n\t\t\tmngRes.agregarContratoReserva(estudiante, periodo.getPrdId());\r\n\t\t} catch (Exception e) {\r\n\t\t\tFunciones.descargarPdf(url_contrato + \"error.pdf\");\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t}\r\n\r\n\t}",
"public FormularioLivroView() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public CARGOS_REGISTRO() {\n initComponents();\n InputMap map2 = txtNombre.getInputMap(JTextField.WHEN_FOCUSED); \n map2.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), \"null\");\n InputMap maps = TxtSue.getInputMap(JTextField.WHEN_FOCUSED); \n maps.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), \"null\");\n InputMap map3 = txtFun.getInputMap(JTextField.WHEN_FOCUSED); \n map3.put(KeyStroke.getKeyStroke(KeyEvent.VK_V, Event.CTRL_MASK), \"null\");\n this.setLocationRelativeTo(null);\n this.txtFun.setLineWrap(true);\n this.lblId.setText(Funciones.extraerIdMax());\n\t\tsexo.addItem(\"Administrativo\");\n\t\tsexo.addItem(\"Operativo\");\n sexo.addItem(\"Tecnico\");\n sexo.addItem(\"Servicios\");\n \n }"
]
| [
"0.68771493",
"0.67034835",
"0.6621841",
"0.6438433",
"0.6411921",
"0.6394797",
"0.6330552",
"0.6301819",
"0.6295646",
"0.62914413",
"0.625411",
"0.62094986",
"0.61655104",
"0.6157906",
"0.61412483",
"0.61294043",
"0.61191",
"0.6116069",
"0.61067647",
"0.61031747",
"0.6089554",
"0.60871696",
"0.6086012",
"0.6078298",
"0.6071606",
"0.606642",
"0.60592085",
"0.6038802",
"0.6035779",
"0.6034444",
"0.6032582",
"0.60195565",
"0.6012811",
"0.6012803",
"0.5994324",
"0.5990304",
"0.59842646",
"0.5980985",
"0.5973982",
"0.59718746",
"0.5959496",
"0.59456754",
"0.5944102",
"0.5929473",
"0.5926265",
"0.59234023",
"0.59064764",
"0.58981425",
"0.58875394",
"0.5884638",
"0.5882301",
"0.58717734",
"0.58708644",
"0.58642256",
"0.5860329",
"0.5860329",
"0.5858033",
"0.5856951",
"0.58440816",
"0.58440816",
"0.58427656",
"0.5841544",
"0.5839745",
"0.58388114",
"0.58283025",
"0.58145005",
"0.5814445",
"0.5808212",
"0.57920176",
"0.5789805",
"0.57828337",
"0.5766174",
"0.5762478",
"0.57585263",
"0.5745153",
"0.5739158",
"0.5734917",
"0.5731527",
"0.5723551",
"0.57224274",
"0.57189965",
"0.57183146",
"0.5714928",
"0.57122886",
"0.5710354",
"0.5708893",
"0.5708794",
"0.5691358",
"0.5691291",
"0.56722015",
"0.56714094",
"0.5671185",
"0.5667513",
"0.56620264",
"0.56571347",
"0.565619",
"0.56539667",
"0.5652167",
"0.5648955",
"0.5646805",
"0.5645084"
]
| 0.0 | -1 |
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() {
jPanel2 = new javax.swing.JPanel();
jldata3 = new javax.swing.JLabel();
jlhora3 = new javax.swing.JLabel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jMenuBar1 = new javax.swing.JMenuBar();
jMenu3 = new javax.swing.JMenu();
jMenuItem2 = new javax.swing.JMenuItem();
jMenuItem4 = new javax.swing.JMenuItem();
jMenuItem1 = new javax.swing.JMenuItem();
jMenu4 = new javax.swing.JMenu();
jMenuItem14 = new javax.swing.JMenuItem();
jMenu2 = new javax.swing.JMenu();
jMenuItem5 = new javax.swing.JMenuItem();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowOpened(java.awt.event.WindowEvent evt) {
aoabrirtela(evt);
}
});
jPanel2.setBackground(new java.awt.Color(102, 102, 102));
jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder(java.awt.Color.white, java.awt.Color.white));
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/Veterinary_symbol.svg.png"))); // NOI18N
jLabel2.setFont(new java.awt.Font("Century Gothic", 1, 11)); // NOI18N
jLabel2.setForeground(new java.awt.Color(255, 255, 255));
jLabel3.setFont(new java.awt.Font("Century Gothic", 1, 11)); // NOI18N
jLabel3.setForeground(new java.awt.Color(255, 255, 255));
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addContainerGap(100, Short.MAX_VALUE)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
.addComponent(jldata3)
.addGap(18, 18, 18)
.addComponent(jlhora3)
.addContainerGap())
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
.addComponent(jLabel1)
.addGap(100, 100, 100))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
.addComponent(jLabel2)
.addGap(18, 18, 18)
.addComponent(jLabel3)
.addContainerGap())))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
.addGap(56, 56, 56)
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 7, Short.MAX_VALUE)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jlhora3)
.addComponent(jldata3))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(jLabel3)))
);
jMenuBar1.setBackground(new java.awt.Color(0, 204, 204));
jMenu3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/Document_Write_26983.png"))); // NOI18N
jMenu3.setText("Cadastrar & Buscar");
jMenuItem2.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_Z, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/medical-42_icon-icons.com_73897.png"))); // NOI18N
jMenuItem2.setText("Receita");
jMenuItem2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem2abrirtelareceita(evt);
}
});
jMenu3.add(jMenuItem2);
jMenuItem4.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_R, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/medical-11_icon-icons.com_73929.png"))); // NOI18N
jMenuItem4.setText("Registro Clinico");
jMenuItem4.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem4abrirregistro(evt);
}
});
jMenu3.add(jMenuItem4);
jMenuItem1.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_V, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/vaccine_2_icon-icons.com_54420.png"))); // NOI18N
jMenuItem1.setText("Vacina");
jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem1abrirtelavacina(evt);
}
});
jMenu3.add(jMenuItem1);
jMenuBar1.add(jMenu3);
jMenu4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/info_1337.png"))); // NOI18N
jMenu4.setText("Informacoes");
jMenuItem14.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem14.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/processinformation_proceso_2341.png"))); // NOI18N
jMenuItem14.setText("Sobre");
jMenuItem14.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem14aoclicaremsobre(evt);
}
});
jMenu4.add(jMenuItem14);
jMenuBar1.add(jMenu4);
jMenu2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/SignOut_icon-icons.com_74704 (2).png"))); // NOI18N
jMenu2.setText("Sair");
jMenu2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenu2parasairdosistema(evt);
}
});
jMenuItem5.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_S, java.awt.event.InputEvent.CTRL_MASK));
jMenuItem5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/TELAS/IMAGENS/logout256_24927.png"))); // NOI18N
jMenuItem5.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jMenuItem5parasair(evt);
}
});
jMenu2.add(jMenuItem5);
jMenuBar1.add(jMenu2);
setJMenuBar(jMenuBar1);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
pack();
setLocationRelativeTo(null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Oddeven() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"public kunde() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public frmVenda() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\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.6944929",
"0.6942576",
"0.69355655",
"0.6931378",
"0.6927896",
"0.69248974",
"0.6924723",
"0.69116884",
"0.6910487",
"0.6892381",
"0.68921053",
"0.6890637",
"0.68896896",
"0.68881863",
"0.68826133",
"0.68815064",
"0.6881078",
"0.68771756",
"0.6875212",
"0.68744373",
"0.68711984",
"0.6858978",
"0.68558776",
"0.6855172",
"0.6854685",
"0.685434",
"0.68525875",
"0.6851834",
"0.6851834",
"0.684266",
"0.6836586",
"0.6836431",
"0.6828333",
"0.68276715",
"0.68262815",
"0.6823921",
"0.682295",
"0.68167603",
"0.68164384",
"0.6809564",
"0.68086857",
"0.6807804",
"0.6807734",
"0.68067646",
"0.6802192",
"0.67943805",
"0.67934304",
"0.6791657",
"0.6789546",
"0.6789006",
"0.67878324",
"0.67877173",
"0.6781847",
"0.6765398",
"0.6765197",
"0.6764246",
"0.6756036",
"0.6755023",
"0.6751404",
"0.67508715",
"0.6743043",
"0.67387456",
"0.6736752",
"0.67356426",
"0.6732893",
"0.6726715",
"0.6726464",
"0.67196447",
"0.67157453",
"0.6714399",
"0.67140275",
"0.6708251",
"0.6707117",
"0.670393",
"0.6700697",
"0.66995865",
"0.66989213",
"0.6697588",
"0.66939527",
"0.66908985",
"0.668935"
]
| 0.0 | -1 |
/////////////////////////////////////////////////////////////////// MARK FUNCTIONS /////////////////////////////////////////////////////////////////// | public void setMark(Vector2 tilePosition, BoardGroundMark.GroundMarkType markType)
{
BoardTile tile = getTile(tilePosition);
if(tile != null) tile.setMark(markType);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void mark();",
"@Override\n\tpublic void marks() {\n\t\t\n\t}",
"int getMark();",
"@Override\n\tpublic Integer mark() {\n\t\treturn mark;\n\t}",
"public void createMarksheet() {\n }",
"private void kk12() {\n\n\t}",
"public void mark() {\r\n\t\tmark = cursor;\r\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public void skystonePos4() {\n }",
"@Override\n\tpublic boolean markSupported() {\n\t\treturn true;\n\t}",
"public void setMark\n (int r, int c,\n Mark mark);",
"public void mark()\n {\n mark = true;\n }",
"public void m23075a() {\n }",
"void markLine() {\n lineMark = cursor;\n }",
"public void skystonePos3() {\n }",
"private void m50366E() {\n }",
"public void mo23813b() {\n }",
"public void mo38117a() {\n }",
"public boolean markSupported ()\n {\n return false;\n }",
"public void skystonePos6() {\n }",
"private boolean MARK(Marker m) {\r\n if (look > 0) return true;\r\n if (marked > in) throw new Error(\"marked \" + marked + \" in \" + in);\r\n if (marked < in) {\r\n markers.clear();\r\n marked = in;\r\n }\r\n markers.add(m);\r\n return true;\r\n }",
"public void skystonePos2() {\n }",
"public String getMark() {\r\n return mark;\r\n }",
"public void setMark(int mark) {\n\t\tthis.mark = mark;\n\t}",
"void m1864a() {\r\n }",
"public void mo21787L() {\n }",
"public void skystonePos5() {\n }",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void mo21878t() {\n }",
"public void mo21825b() {\n }",
"public void mo21779D() {\n }",
"public void mo21782G() {\n }",
"String getMarkingInstruction();",
"public void mo21786K() {\n }",
"public void mo97908d() {\n }",
"public void mo21877s() {\n }",
"public void mo115190b() {\n }",
"public void mo12930a() {\n }",
"public void mo21794S() {\n }",
"public void smell() {\n\t\t\n\t}",
"public void mo44053a() {\n }",
"public void mo12628c() {\n }",
"public void method_4270() {}",
"public int getMark() {\n\t\treturn mark;\n\t}",
"public void mo21789N() {\n }",
"public void mo9848a() {\n }",
"public void mo21793R() {\n }",
"public int getMark() {\n return mark_;\n }",
"public void mo3749d() {\n }",
"public void mark(Marker m) {\n\t\tmark = m;\n\t}",
"public void mo21795T() {\n }",
"public void mo21785J() {\n }",
"public final void mo51373a() {\n }",
"private void m50367F() {\n }",
"public void mo115188a() {\n }",
"protected abstract Set method_1559();",
"public void mo21781F() {\n }",
"private void strin() {\n\n\t}",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"public void mo9137b() {\n }",
"public void mo21788M() {\n }",
"public void mo21791P() {\n }",
"void mo41083a();",
"public interface EscapeMarker {}",
"void mo119582b();",
"public void mo21792Q() {\n }",
"public final void Mark(int markLimit)\n\t{\n\t}",
"public final boolean getIsMarkSupported()\n\t{\n\t\treturn false;\n\t}",
"public final void mo1285b() {\n }",
"void mo72113b();",
"void mo21073d();",
"public void mo3376r() {\n }",
"public void mo21780E() {\n }",
"public abstract void mo70713b();",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo9233aH() {\n }",
"private void addMarkData(MarkData markData, MobileResponse mobileResponse) {\n //markData.saySomethingTextArea.getValue()\n ItemHolder itemHolder = mobileResponse.getItemHolder();\n GWT.log(\"adding itemholder \" + itemHolder.getId());\n if (markData.replyItemHolder != null) {\n markData.replyItemHolder.getChildrenItemHolders().add(itemHolder);\n } else {\n if (markData.expandData.locationResult.getItemHolders() == null) {\n markData.expandData.locationResult.setItemHolders(new ArrayList<ItemHolder>());\n }\n markData.expandData.locationResult.getItemHolders().add(itemHolder);\n }\n }",
"void m8368b();",
"public abstract void mo27386d();",
"@Element \n public void setMark(String mark) {\n this.mark = mark;\n }",
"void mo57277b();",
"public void mo21783H() {\n }",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void func02() {\n\t\t\r\n\t}",
"void mo28306a();",
"public int getMark() {\n return mark_;\n }",
"public void setMark(Float mark) {\n this.mark = mark;\n }",
"public void mo21879u() {\n }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"public void mo2740a() {\n }",
"public void mo21784I() {\n }",
"public final void mo91715d() {\n }",
"void mo41086b();",
"void mo80455b();",
"void mo80452a();",
"boolean getArmedMark();",
"static void feladat8() {\n\t}",
"public void mo56167c() {\n }",
"public abstract void m15813a();",
"public abstract void mo27385c();",
"public void setMark(String mark) {\r\n this.mark = mark == null ? null : mark.trim();\r\n }"
]
| [
"0.67522043",
"0.6637488",
"0.6252872",
"0.61476666",
"0.6008219",
"0.599003",
"0.59406763",
"0.5927546",
"0.58839977",
"0.58428806",
"0.5835699",
"0.583189",
"0.58120733",
"0.58054835",
"0.57900435",
"0.5783412",
"0.5760375",
"0.57517636",
"0.57303554",
"0.5711646",
"0.56967586",
"0.5689807",
"0.5684307",
"0.56819624",
"0.56757563",
"0.56585747",
"0.5655295",
"0.56496155",
"0.5647654",
"0.56368625",
"0.56313103",
"0.5618614",
"0.5617667",
"0.56138045",
"0.5603717",
"0.55885565",
"0.55840105",
"0.5581619",
"0.5579346",
"0.55781597",
"0.5575376",
"0.55628914",
"0.5555635",
"0.55479217",
"0.55434614",
"0.5542201",
"0.55391663",
"0.5534761",
"0.55302775",
"0.5529324",
"0.5526283",
"0.55167645",
"0.5515664",
"0.5514166",
"0.55085516",
"0.55047107",
"0.5493716",
"0.54922384",
"0.54832995",
"0.5476122",
"0.54703015",
"0.54643124",
"0.54523605",
"0.5440805",
"0.5438397",
"0.54335487",
"0.5431963",
"0.5426041",
"0.54251885",
"0.54216486",
"0.541357",
"0.5412383",
"0.5410433",
"0.5409407",
"0.54029477",
"0.5394484",
"0.5394093",
"0.53909796",
"0.53894925",
"0.53884554",
"0.538747",
"0.5386586",
"0.53840524",
"0.53840524",
"0.53823453",
"0.53733224",
"0.53711194",
"0.5369764",
"0.53606844",
"0.5356425",
"0.53554225",
"0.53513724",
"0.53481007",
"0.5347475",
"0.5345502",
"0.5342092",
"0.5341215",
"0.53403735",
"0.5339085",
"0.5333662",
"0.5332142"
]
| 0.0 | -1 |
/////////////////////////////////////////////////////////////////// BUG FUNCTIONS /////////////////////////////////////////////////////////////////// | public void createBug(Vector2 tilePosition)
{
BoardTile tile = getTile(tilePosition);
if(tile != null)
{
BoardBug bug = new BoardBug(bugsId);
++bugsId;
bug.setTilePosition(tilePosition);
tile.setBug(bug);
board.addChild(bug);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void m9741j() throws cf {\r\n }",
"private static void runTestCWE9() {\n}",
"private static void runTestCWE9() {\n}",
"private static void runTestCWE4() {\n}",
"private static void runTestCWE4() {\n}",
"private static void runTestCWE7() {\n}",
"private static void runTestCWE7() {\n}",
"private static void runTestCWE8() {\n}",
"private static void runTestCWE8() {\n}",
"private static void runTestCWE6() {\n}",
"private static void runTestCWE6() {\n}",
"private static void runTestCWE5() {\n}",
"private static void runTestCWE5() {\n}",
"@Override\r\n protected void parseIssues()\r\n {\n\r\n }",
"private static void runTestCWE1() {\n}",
"private static void runTestCWE1() {\n}",
"private static void runTestCWE2() {\n}",
"private static void runTestCWE2() {\n}",
"public void mo1976s() throws cf {\r\n }",
"static void feladat9() {\n\t}",
"void m5770d() throws C0841b;",
"void m5768b() throws C0841b;",
"public void mo1964g() throws cf {\r\n }",
"BugFactory getBugFactory();",
"static void feladat6() {\n\t}",
"@Override\r\n\tpublic void fixIssue() {\n\t\tthis.techie.fixIssue(\"network issue\");\r\n\t}",
"private boolean isBadVersion(int n) {\n\t\treturn false;\n\t}",
"public void method_4270() {}",
"private void a(com.bytedance.crash.nativecrash.c r6, java.lang.String r7, boolean r8) {\n /*\n r5 = this;\n r0 = 0\n boolean r1 = r6.c() // Catch:{ Throwable -> 0x009a }\n if (r1 != 0) goto L_0x0008\n return\n L_0x0008:\n com.bytedance.crash.e.d r8 = a((com.bytedance.crash.nativecrash.c) r6, (boolean) r8) // Catch:{ Throwable -> 0x009a }\n if (r8 == 0) goto L_0x0099\n org.json.JSONObject r1 = r8.f19424b // Catch:{ Throwable -> 0x009a }\n if (r1 == 0) goto L_0x0099\n java.io.File r1 = r6.f19496a // Catch:{ Throwable -> 0x009a }\n java.lang.String r2 = \".npth\"\n java.io.File r1 = com.bytedance.crash.i.h.a(r1, r2) // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.db.a r2 = com.bytedance.crash.db.a.a() // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = r1.getAbsolutePath() // Catch:{ Throwable -> 0x009a }\n boolean r2 = r2.a((java.lang.String) r3) // Catch:{ Throwable -> 0x009a }\n if (r2 != 0) goto L_0x0096\n org.json.JSONObject r2 = r8.f19424b // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = \"upload_scene\"\n java.lang.String r4 = \"launch_scan\"\n r2.put(r3, r4) // Catch:{ Throwable -> 0x009a }\n if (r7 == 0) goto L_0x0038\n java.lang.String r3 = \"crash_uuid\"\n r2.put(r3, r7) // Catch:{ Throwable -> 0x009a }\n L_0x0038:\n com.bytedance.crash.d r7 = com.bytedance.crash.d.NATIVE // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = com.bytedance.crash.c.a.f19382f // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.a r7 = com.bytedance.crash.event.b.a((com.bytedance.crash.d) r7, (java.lang.String) r3, (org.json.JSONObject) r2) // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r7) // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.a r7 = r7.clone() // Catch:{ Throwable -> 0x009a }\n java.lang.String r3 = com.bytedance.crash.c.a.g // Catch:{ Throwable -> 0x009a }\n com.bytedance.crash.event.a r7 = r7.eventType(r3) // Catch:{ Throwable -> 0x009a }\n java.lang.String r0 = r8.f19423a // Catch:{ Throwable -> 0x0093 }\n java.lang.String r2 = r2.toString() // Catch:{ Throwable -> 0x0093 }\n java.lang.String r8 = r8.f19425c // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.upload.h r8 = com.bytedance.crash.upload.b.a((java.lang.String) r0, (java.lang.String) r2, (java.lang.String) r8) // Catch:{ Throwable -> 0x0093 }\n boolean r0 = r8.a() // Catch:{ Throwable -> 0x0093 }\n if (r0 == 0) goto L_0x0083\n boolean r6 = r6.e() // Catch:{ Throwable -> 0x0093 }\n if (r6 != 0) goto L_0x0074\n com.bytedance.crash.db.a r6 = com.bytedance.crash.db.a.a() // Catch:{ Throwable -> 0x0093 }\n java.lang.String r0 = r1.getAbsolutePath() // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.db.a.a r0 = com.bytedance.crash.db.a.a.a(r0) // Catch:{ Throwable -> 0x0093 }\n r6.a((com.bytedance.crash.db.a.a) r0) // Catch:{ Throwable -> 0x0093 }\n L_0x0074:\n r6 = 0\n com.bytedance.crash.event.a r6 = r7.state(r6) // Catch:{ Throwable -> 0x0093 }\n org.json.JSONObject r8 = r8.f19589c // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.a r6 = r6.errorInfo((org.json.JSONObject) r8) // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r6) // Catch:{ Throwable -> 0x0093 }\n goto L_0x0099\n L_0x0083:\n int r6 = r8.f19587a // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.a r6 = r7.state(r6) // Catch:{ Throwable -> 0x0093 }\n java.lang.String r8 = r8.f19588b // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.a r6 = r6.errorInfo((java.lang.String) r8) // Catch:{ Throwable -> 0x0093 }\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r6) // Catch:{ Throwable -> 0x0093 }\n goto L_0x00aa\n L_0x0093:\n r6 = move-exception\n r0 = r7\n goto L_0x009b\n L_0x0096:\n r6.e() // Catch:{ Throwable -> 0x009a }\n L_0x0099:\n return\n L_0x009a:\n r6 = move-exception\n L_0x009b:\n if (r0 == 0) goto L_0x00aa\n r7 = 211(0xd3, float:2.96E-43)\n com.bytedance.crash.event.a r7 = r0.state(r7)\n com.bytedance.crash.event.a r6 = r7.errorInfo((java.lang.Throwable) r6)\n com.bytedance.crash.event.c.a((com.bytedance.crash.event.a) r6)\n L_0x00aa:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.crash.runtime.d.a(com.bytedance.crash.nativecrash.c, java.lang.String, boolean):void\");\n }",
"void m5771e() throws C0841b;",
"static void feladat7() {\n\t}",
"private void m50366E() {\n }",
"@SuppressWarnings(\"unused\")\n\tprivate void version() {\n\n\t}",
"private boolean isBadVersion(int version) {\n return false;\n }",
"static void m14941f(String str, Throwable th) {\n int b = m14929b();\n int d = C3205z0.DEBUG.mo12550d();\n }",
"@Override\n public InputStreamSource getBugreportz() {\n return null;\n }",
"void m5769c() throws C0841b;",
"public void m7211c() {\n /*\n r34 = this;\n r16 = 0;\n r15 = 0;\n r5 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case -1172269795: goto L_0x002e;\n case 2157948: goto L_0x0038;\n case 2571565: goto L_0x0024;\n default: goto L_0x0018;\n };\n L_0x0018:\n r2 = r3;\n L_0x0019:\n switch(r2) {\n case 0: goto L_0x0042;\n case 1: goto L_0x0162;\n case 2: goto L_0x01a9;\n default: goto L_0x001c;\n };\n L_0x001c:\n r2 = \"Undefined type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n L_0x0023:\n return;\n L_0x0024:\n r4 = \"TEXT\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x002c:\n r2 = 0;\n goto L_0x0019;\n L_0x002e:\n r4 = \"STICKER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0036:\n r2 = 1;\n goto L_0x0019;\n L_0x0038:\n r4 = \"FILE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x0018;\n L_0x0040:\n r2 = 2;\n goto L_0x0019;\n L_0x0042:\n r4 = mobi.mmdt.ott.provider.p169c.C1594n.TEXT;\n r33 = r5;\n L_0x0046:\n r8 = mobi.mmdt.componentsutils.p079a.p084e.C1113a.m6421a();\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.IN;\n r0 = r34;\n r2 = r0.f4758b;\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.p109d.p111b.C1309a.m6934a(r3);\n r3 = r3.m6942b();\n r2 = r2.equals(r3);\n if (r2 == 0) goto L_0x0064;\n L_0x0062:\n r10 = mobi.mmdt.ott.provider.p169c.C1592l.OUT;\n L_0x0064:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m7972a(r2, r3, r10);\n if (r2 != 0) goto L_0x0023;\n L_0x0072:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n if (r2 == 0) goto L_0x008a;\n L_0x007a:\n r2 = mobi.mmdt.ott.MyApplication.m6445a();\n r2 = r2.f4177h;\n r0 = r34;\n r3 = r0.f4759c;\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x024e;\n L_0x008a:\n r17 = 0;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x00b8;\n L_0x0098:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x00b8;\n L_0x00aa:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r17 = r2;\n L_0x00b8:\n r2 = new mobi.mmdt.ott.d.a.b;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.NOT_READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n r2.<init>(r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16, r17);\n r0 = r34;\n r3 = r0.f4757a;\n r3 = mobi.mmdt.ott.logic.p157e.C1509a.m7621a(r3);\n r0 = r34;\n r4 = r0.f4762f;\n r0 = r33;\n r3.m7626a(r2, r0, r4);\n L_0x00f2:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n if (r2 == 0) goto L_0x013c;\n L_0x00fe:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r2 = r2.isEmpty();\n if (r2 != 0) goto L_0x013c;\n L_0x0110:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"REPLY_ON_MESSAGE_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n mobi.mmdt.ott.provider.p169c.C1583c.m7976b(r3, r4, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r2 = mobi.mmdt.ott.provider.p169c.C1583c.m8003n(r3, r2);\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4761e;\n r5 = mobi.mmdt.ott.provider.p169c.C1595o.SINGLE;\n mobi.mmdt.ott.logic.p112a.p120c.p121a.p123b.C1387u.m7218a(r3, r4, r2, r5);\n L_0x013c:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"MINOR_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = \"TEXT\";\n r2 = r2.equals(r3);\n if (r2 != 0) goto L_0x0023;\n L_0x0150:\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.b;\n r0 = r34;\n r3 = r0.f4757a;\n r0 = r34;\n r4 = r0.f4762f;\n r2.<init>(r3, r15, r4);\n mobi.mmdt.ott.logic.C1494c.m7541c(r2);\n goto L_0x0023;\n L_0x0162:\n r6 = mobi.mmdt.ott.provider.p169c.C1594n.STICKER;\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"STICKER_ID\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r0 = r34;\n r3 = r0.f4762f;\n r4 = \"STICKER_PACKAGE_ID\";\n r3 = r3.get(r4);\n r3 = (java.lang.String) r3;\n r0 = r34;\n r4 = r0.f4762f;\n r7 = \"STICKER_VERSION\";\n r4 = r4.get(r7);\n r4 = (java.lang.String) r4;\n if (r4 == 0) goto L_0x02c9;\n L_0x018a:\n if (r2 == 0) goto L_0x02c9;\n L_0x018c:\n if (r3 == 0) goto L_0x02c9;\n L_0x018e:\n r7 = r4.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x0194:\n r7 = r2.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x019a:\n r7 = r3.isEmpty();\n if (r7 != 0) goto L_0x02c9;\n L_0x01a0:\n r16 = mobi.mmdt.ott.provider.p174h.C1629b.m8295a(r4, r3, r2);\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n L_0x01a9:\n r0 = r34;\n r2 = r0.f4762f;\n r3 = \"FILE_TYPE\";\n r2 = r2.get(r3);\n r2 = (java.lang.String) r2;\n r3 = -1;\n r4 = r2.hashCode();\n switch(r4) {\n case 327328941: goto L_0x01de;\n case 796404377: goto L_0x01ca;\n case 802160718: goto L_0x01e8;\n case 808293817: goto L_0x01d4;\n default: goto L_0x01bd;\n };\n L_0x01bd:\n r2 = r3;\n L_0x01be:\n switch(r2) {\n case 0: goto L_0x01f2;\n case 1: goto L_0x020c;\n case 2: goto L_0x0222;\n case 3: goto L_0x0238;\n default: goto L_0x01c1;\n };\n L_0x01c1:\n r2 = \"Undefined file type\";\n r0 = r34;\n mobi.mmdt.componentsutils.p079a.p080a.C1104b.m6366b(r0, r2);\n goto L_0x0023;\n L_0x01ca:\n r4 = \"FILE_TYPE_IMAGE\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01d2:\n r2 = 0;\n goto L_0x01be;\n L_0x01d4:\n r4 = \"FILE_TYPE_VIDEO\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01dc:\n r2 = 1;\n goto L_0x01be;\n L_0x01de:\n r4 = \"FILE_TYPE_PUSH_TO_TALK\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01e6:\n r2 = 2;\n goto L_0x01be;\n L_0x01e8:\n r4 = \"FILE_TYPE_OTHER\";\n r2 = r2.equals(r4);\n if (r2 == 0) goto L_0x01bd;\n L_0x01f0:\n r2 = 3;\n goto L_0x01be;\n L_0x01f2:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.IMAGE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.IMAGE;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n L_0x0207:\n r33 = r2;\n r4 = r3;\n goto L_0x0046;\n L_0x020c:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.VIDEO;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.VIDEO;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0222:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.PUSH_TO_TALK;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.PUSH_TO_TALK;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x0238:\n r3 = mobi.mmdt.ott.provider.p169c.C1594n.FILE;\n r2 = new mobi.mmdt.ott.logic.a.c.a.b.h;\n r0 = r34;\n r4 = r0.f4757a;\n r0 = r34;\n r5 = r0.f4762f;\n r6 = mobi.mmdt.ott.provider.p170d.C1605j.OTHER;\n r2.<init>(r4, r5, r6);\n r2 = r2.m7152a();\n goto L_0x0207;\n L_0x024e:\n if (r33 == 0) goto L_0x029c;\n L_0x0250:\n r0 = r34;\n r0 = r0.f4757a;\n r18 = r0;\n r19 = r33.m8082n();\n r20 = r33.m8069a();\n r21 = r33.m8079k();\n r22 = r33.m8073e();\n r23 = r33.m8078j();\n r24 = r33.m8077i();\n r26 = 0;\n r27 = r33.m8081m();\n r28 = r33.m8080l();\n r29 = r33.m8075g();\n r30 = r33.m8071c();\n r31 = r33.m8072d();\n r32 = r33.m8070b();\n r33 = r33.m8074f();\n r2 = mobi.mmdt.ott.provider.p170d.C1598c.m8100a(r18, r19, r20, r21, r22, r23, r24, r26, r27, r28, r29, r30, r31, r32, r33);\n r2 = r2.getLastPathSegment();\n r2 = java.lang.Long.parseLong(r2);\n r15 = java.lang.Long.valueOf(r2);\n L_0x029c:\n r0 = r34;\n r2 = r0.f4757a;\n r0 = r34;\n r3 = r0.f4761e;\n r0 = r34;\n r5 = r0.f4760d;\n r0 = r34;\n r6 = r0.f4762f;\n r7 = \"SEND_TIME_IN_GMT\";\n r6 = r6.get(r7);\n r6 = (java.lang.String) r6;\n r6 = java.lang.Long.parseLong(r6);\n r11 = mobi.mmdt.ott.provider.p169c.C1593m.READ;\n r0 = r34;\n r12 = r0.f4759c;\n r13 = mobi.mmdt.ott.provider.p169c.C1595o.GROUP;\n r0 = r34;\n r14 = r0.f4758b;\n mobi.mmdt.ott.provider.p169c.C1583c.m7966a(r2, r3, r4, r5, r6, r8, r10, r11, r12, r13, r14, r15, r16);\n goto L_0x00f2;\n L_0x02c9:\n r33 = r5;\n r4 = r6;\n goto L_0x0046;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: mobi.mmdt.ott.logic.a.c.a.b.s.c():void\");\n }",
"private static void a(com.bytedance.crash.nativecrash.c r10) {\n /*\n java.lang.String r0 = \".info\"\n java.io.File r10 = r10.a((java.lang.String) r0)\n boolean r0 = r10.isFile()\n if (r0 == 0) goto L_0x009b\n java.util.Properties r0 = new java.util.Properties\n r0.<init>()\n r1 = 0\n java.io.FileInputStream r2 = new java.io.FileInputStream // Catch:{ Throwable -> 0x0094 }\n r2.<init>(r10) // Catch:{ Throwable -> 0x0094 }\n r0.load(r2) // Catch:{ Throwable -> 0x0093 }\n r2.close() // Catch:{ Throwable -> 0x0093 }\n java.lang.String r2 = \"alogJsonGenerated\"\n java.lang.String r2 = r0.getProperty(r2)\n if (r2 != 0) goto L_0x009b\n java.lang.String r2 = \"aloglogdir\"\n java.lang.String r2 = r0.getProperty(r2)\n if (r2 == 0) goto L_0x009b\n java.lang.String r3 = \"crash_time\"\n java.lang.String r3 = r0.getProperty(r3)\n r4 = 0\n if (r3 == 0) goto L_0x0042\n java.lang.Long r3 = java.lang.Long.valueOf(r3) // Catch:{ NumberFormatException -> 0x0041 }\n long r6 = r3.longValue() // Catch:{ NumberFormatException -> 0x0041 }\n r4 = r6\n goto L_0x0042\n L_0x0041:\n L_0x0042:\n java.lang.String r3 = \"process_name\"\n java.lang.String r3 = r0.getProperty(r3)\n if (r3 != 0) goto L_0x004c\n java.lang.String r3 = \"\"\n L_0x004c:\n com.bytedance.crash.a.e r6 = new com.bytedance.crash.a.e\n r6.<init>(r3)\n java.util.List r2 = r6.a(r2, r4)\n com.bytedance.crash.e.d r2 = com.bytedance.crash.a.a.a((java.util.List<java.lang.String>) r2)\n boolean r3 = com.bytedance.crash.a.a.a((com.bytedance.crash.e.d) r2)\n if (r3 != 0) goto L_0x0060\n return\n L_0x0060:\n android.content.Context r3 = com.bytedance.crash.j.d()\n java.io.File r4 = com.bytedance.crash.i.h.c(r3)\n java.lang.String r5 = com.bytedance.crash.i.h.a()\n java.lang.String r6 = r2.f19427e\n java.lang.String r7 = r2.f19428f\n java.lang.String r8 = r2.g\n java.util.List<java.lang.String> r9 = r2.h\n com.bytedance.crash.i.d.a((java.io.File) r4, (java.lang.String) r5, (java.lang.String) r6, (java.lang.String) r7, (java.lang.String) r8, (java.util.List<java.lang.String>) r9)\n java.io.FileOutputStream r2 = new java.io.FileOutputStream // Catch:{ Throwable -> 0x008d }\n r2.<init>(r10) // Catch:{ Throwable -> 0x008d }\n java.lang.String r10 = \"alogJsonGenerated\"\n java.lang.String r1 = \"true\"\n r0.setProperty(r10, r1) // Catch:{ Throwable -> 0x008c }\n java.lang.String r10 = \"\"\n r0.store(r2, r10) // Catch:{ Throwable -> 0x008c }\n r2.close() // Catch:{ Throwable -> 0x008c }\n return\n L_0x008c:\n r1 = r2\n L_0x008d:\n if (r1 == 0) goto L_0x009b\n r1.close() // Catch:{ Throwable -> 0x009b }\n return\n L_0x0093:\n r1 = r2\n L_0x0094:\n if (r1 == 0) goto L_0x009a\n r1.close() // Catch:{ Throwable -> 0x009a }\n return\n L_0x009a:\n return\n L_0x009b:\n return\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.bytedance.crash.runtime.d.a(com.bytedance.crash.nativecrash.c):void\");\n }",
"public final void mo91715d() {\n }",
"zzafe mo29840Y() throws RemoteException;",
"private void m7280d() {\n if (this.f5512c == null) {\n try {\n this.f5512c = new C0036q(this.f5510a);\n } catch (IOException e) {\n StringBuilder sb = new StringBuilder();\n sb.append(\"Could not open log file: \");\n sb.append(this.f5510a);\n C0135c.m449h().mo280e(\"CrashlyticsCore\", sb.toString(), e);\n }\n }\n }",
"boolean isBadVersion(int version) {\n return true;\n }",
"void mo72114c();",
"public static void debugInfo() { throw Extensions.todo(); }",
"void mo753w() throws RemoteException;",
"public BugPriority getPriority(){return priority;}",
"private void m25427g() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r2 = this;\n r0 = r2.f19111m;\n if (r0 == 0) goto L_0x000f;\n L_0x0004:\n r0 = r2.f19104f;\t Catch:{ Exception -> 0x000f }\n r0 = android.support.v4.content.C0396d.m1465a(r0);\t Catch:{ Exception -> 0x000f }\n r1 = r2.f19111m;\t Catch:{ Exception -> 0x000f }\n r0.m1468a(r1);\t Catch:{ Exception -> 0x000f }\n L_0x000f:\n return;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.ads.internal.adapters.w.g():void\");\n }",
"private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }",
"static native int jniNumHunks(long patch);",
"public void mo21785J() {\n }",
"private void fixNode429()\r\n \t{\r\n \t\tif (! (origFile.getName().equals(\"node429.html\") && pageTitle.contains(\"UNIX-Guru\")))\r\n \t\t\treturn;\r\n \t\tSimpleLogger.verbose(\" Fixing buggy heading...\");\r\n \t\tElement buggyParagraph = (Element) xPathQuery(\"//html:p[contains(text(),'gpGlossar18133')]\").get(0);\r\n \t\tElement heading = new Element(\"h1\");\r\n \t\t//heading.appendChild(\"unix\");\r\n \t\tbodyTag.appendChild(heading);\r\n \t\tElement link = new Element(\"a\");\r\n \t\tlink.appendChild(\"unix\");\r\n \t\theading.appendChild(link);\r\n \t\treplaceNodeBy(buggyParagraph, heading);\r\n \t}",
"void mo57277b();",
"abstract int patch();",
"public void mo1406f() {\n }",
"public void mo21792Q() {\n }",
"void mo21073d();",
"public void mo3376r() {\n }",
"public void mo21781F() {\n }",
"void mo21072c();",
"protected void method_2247() {\r\n // $FF: Couldn't be decompiled\r\n }",
"protected void method_2141() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void mo56167c() {\n }",
"protected void a(bug parambug)\r\n/* 35: */ {\r\n/* 36:36 */ this.j.a((bxf)null);\r\n/* 37: */ }",
"public int describeContents() {\n/* 1781 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"private void m1174c(boolean z) {\n try {\n File file = new File(C3785x1.m1897d(\".crashes/crash.txt\"));\n String e = C3785x1.m1900e(file);\n if (e != null) {\n if (e.indexOf(\"com.medallia.digital.mobilesdk\") != -1) {\n JSONObject jSONObject = new JSONObject(e);\n long j = jSONObject.getLong(\"timestamp\");\n String string = jSONObject.getString(\"stacktrace\");\n Long valueOf = Long.valueOf(C3815z4.m2010d().mo55974a(C3815z4.C3816a.PROPERTY_ID, -1));\n String a = C3815z4.m2010d().mo55975a(C3815z4.C3816a.SESSION_ID, (String) null);\n boolean reportMedalliaCrashEventImmediate = AnalyticsBridge.getInstance().reportMedalliaCrashEventImmediate(string, j, C3815z4.m2010d().mo55975a(C3815z4.C3816a.SESSION_ID, UUID.randomUUID().toString()), valueOf);\n if ((!z && (!C3802y5.m1954a() || a == null)) || !reportMedalliaCrashEventImmediate) {\n return;\n }\n }\n m1159a(file);\n }\n } catch (Exception e2) {\n C3490e3.m663c(e2.getMessage());\n }\n }",
"void mo21076g();",
"public void mo1966i() throws cf {\r\n }",
"void mo21074e();",
"public void mo1963f() throws cf {\r\n }",
"public int getDrawingOrder() {\n/* 1068 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"private void checkForCrashes()\r\n {\r\n ReportManager.checkForCrashes(this);\r\n }",
"private synchronized void m3985g() {\n /*\n r8 = this;\n monitor-enter(r8);\n r2 = java.lang.Thread.currentThread();\t Catch:{ all -> 0x0063 }\n r3 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r3 = r3.mo1186c();\t Catch:{ all -> 0x0063 }\n r2 = r2.equals(r3);\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0021;\n L_0x0011:\n r2 = r8.f2114f;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1185b();\t Catch:{ all -> 0x0063 }\n r3 = new com.google.analytics.tracking.android.aa;\t Catch:{ all -> 0x0063 }\n r3.<init>(r8);\t Catch:{ all -> 0x0063 }\n r2.add(r3);\t Catch:{ all -> 0x0063 }\n L_0x001f:\n monitor-exit(r8);\n return;\n L_0x0021:\n r2 = r8.f2122n;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x0028;\n L_0x0025:\n r8.m3999d();\t Catch:{ all -> 0x0063 }\n L_0x0028:\n r2 = com.google.analytics.tracking.android.ab.f1966a;\t Catch:{ all -> 0x0063 }\n r3 = r8.f2110b;\t Catch:{ all -> 0x0063 }\n r3 = r3.ordinal();\t Catch:{ all -> 0x0063 }\n r2 = r2[r3];\t Catch:{ all -> 0x0063 }\n switch(r2) {\n case 1: goto L_0x0036;\n case 2: goto L_0x006e;\n case 3: goto L_0x00aa;\n default: goto L_0x0035;\n };\t Catch:{ all -> 0x0063 }\n L_0x0035:\n goto L_0x001f;\n L_0x0036:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x0066;\n L_0x003e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.poll();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to store\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2112d;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1197a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n goto L_0x0036;\n L_0x0063:\n r2 = move-exception;\n monitor-exit(r8);\n throw r2;\n L_0x0066:\n r2 = r8.f2121m;\t Catch:{ all -> 0x0063 }\n if (r2 == 0) goto L_0x001f;\n L_0x006a:\n r8.m3987h();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x006e:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x00a0;\n L_0x0076:\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.peek();\t Catch:{ all -> 0x0063 }\n r0 = r2;\n r0 = (com.google.analytics.tracking.android.af) r0;\t Catch:{ all -> 0x0063 }\n r7 = r0;\n r2 = \"Sending hit to service\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2111c;\t Catch:{ all -> 0x0063 }\n r3 = r7.m3743a();\t Catch:{ all -> 0x0063 }\n r4 = r7.m3744b();\t Catch:{ all -> 0x0063 }\n r6 = r7.m3745c();\t Catch:{ all -> 0x0063 }\n r7 = r7.m3746d();\t Catch:{ all -> 0x0063 }\n r2.mo1204a(r3, r4, r6, r7);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2.poll();\t Catch:{ all -> 0x0063 }\n goto L_0x006e;\n L_0x00a0:\n r2 = r8.f2123o;\t Catch:{ all -> 0x0063 }\n r2 = r2.mo1198a();\t Catch:{ all -> 0x0063 }\n r8.f2109a = r2;\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n L_0x00aa:\n r2 = \"Need to reconnect\";\n com.google.analytics.tracking.android.av.m3818e(r2);\t Catch:{ all -> 0x0063 }\n r2 = r8.f2116h;\t Catch:{ all -> 0x0063 }\n r2 = r2.isEmpty();\t Catch:{ all -> 0x0063 }\n if (r2 != 0) goto L_0x001f;\n L_0x00b7:\n r8.m3991j();\t Catch:{ all -> 0x0063 }\n goto L_0x001f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.google.analytics.tracking.android.y.g():void\");\n }",
"protected boolean func_70041_e_() { return false; }",
"public void mo21782G() {\n }",
"public void fixPackageContents() {\r\n\t\tif (isFixed)\r\n\t\t\treturn;\r\n\t\tisFixed = true;\r\n\t\tfixEClassifiers();\r\n\t}",
"public final void mo11687c() {\n }",
"public void fixPackageContents() {\n\t\tif (isFixed) return;\n\t\tisFixed = true;\n\t\tfixEClassifiers();\n\t}",
"public void fixPackageContents() {\n\t\tif (isFixed) return;\n\t\tisFixed = true;\n\t\tfixEClassifiers();\n\t}",
"public void fixPackageContents() {\n\t\tif (isFixed) return;\n\t\tisFixed = true;\n\t\tfixEClassifiers();\n\t}",
"@Override\n public void onMachineBroken()\n {\n \n }",
"public void mo12628c() {\n }",
"protected boolean bugfixesIncluded() {\n\t\treturn this.bugfixesIncluded;\n\t}",
"protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }",
"public void mo21779D() {\n }",
"public void mo1974q() throws cf {\r\n }",
"int mo746p() throws RemoteException;",
"private static int m69982c() {\n /* JADX: method processing error */\n/*\nError: java.lang.NullPointerException\n*/\n /*\n r0 = \"android.os.Build$VERSION\";\t Catch:{ Exception -> 0x0018 }\n r0 = java.lang.Class.forName(r0);\t Catch:{ Exception -> 0x0018 }\n r1 = \"SDK_INT\";\t Catch:{ Exception -> 0x0018 }\n r0 = r0.getField(r1);\t Catch:{ Exception -> 0x0018 }\n r1 = 0;\t Catch:{ Exception -> 0x0018 }\n r0 = r0.get(r1);\t Catch:{ Exception -> 0x0018 }\n r0 = (java.lang.Integer) r0;\t Catch:{ Exception -> 0x0018 }\n r0 = r0.intValue();\t Catch:{ Exception -> 0x0018 }\n return r0;\n L_0x0018:\n r0 = 0;\n return r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: rx.internal.util.f.c():int\");\n }",
"void mo80457c();",
"void mo749s() throws RemoteException;",
"public abstract void mo56925d();",
"public abstract void mo6549b();",
"protected void thoroughInspection() {}",
"void mo72113b();",
"private static boolean isKnownTestMachineTimingBug(Throwable t) {\n\n\t\tString message = t.getMessage();\n\t\tif (message == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn StringUtils.containsAny(message, IGNORABLE_ERROR_MESSAGES);\n\t}",
"@Test\n\tpublic void testBuggyMethod3_1sc() {\n\t\tassertEquals(5, bc.buggyMethod3(20, 4));\n\t}",
"private String jsf22Bugfix() {\n return \"\";\n }",
"public void mo5385r() {\n throw null;\n }",
"public void mo1972o() throws cf {\r\n }",
"public void mo1962e() throws cf {\r\n }",
"public void mo2471e() {\n }"
]
| [
"0.6203624",
"0.608285",
"0.608285",
"0.5986413",
"0.5986413",
"0.5952499",
"0.5952499",
"0.59235203",
"0.59235203",
"0.5915362",
"0.5915362",
"0.58762157",
"0.58762157",
"0.58039963",
"0.57683086",
"0.57683086",
"0.57243395",
"0.57243395",
"0.57089204",
"0.5682468",
"0.56587946",
"0.5618994",
"0.56034863",
"0.56025755",
"0.55639625",
"0.5561384",
"0.5559499",
"0.55559623",
"0.5537515",
"0.5533261",
"0.5516888",
"0.55027395",
"0.5493645",
"0.5483926",
"0.5483197",
"0.5478071",
"0.54726994",
"0.54447025",
"0.543526",
"0.54296887",
"0.542958",
"0.5421252",
"0.53780603",
"0.53767544",
"0.536512",
"0.5365069",
"0.53532517",
"0.53306586",
"0.53248084",
"0.53247243",
"0.53241795",
"0.5322837",
"0.53190345",
"0.53105134",
"0.53100955",
"0.5300905",
"0.5293059",
"0.52826136",
"0.52814305",
"0.5280519",
"0.52758396",
"0.5273205",
"0.5271373",
"0.52696776",
"0.5267949",
"0.5265974",
"0.526146",
"0.52559525",
"0.52449435",
"0.52445334",
"0.5243188",
"0.52405226",
"0.5236712",
"0.52323395",
"0.52299625",
"0.5229151",
"0.52283967",
"0.52259",
"0.52259",
"0.52259",
"0.5223652",
"0.5222428",
"0.52192444",
"0.52190113",
"0.52163815",
"0.52155113",
"0.52111316",
"0.5210332",
"0.5208564",
"0.5208248",
"0.5206692",
"0.5205892",
"0.52055",
"0.52039385",
"0.5201841",
"0.5199038",
"0.5198386",
"0.51982427",
"0.51977044",
"0.5197516",
"0.5196362"
]
| 0.0 | -1 |
/////////////////////////////////////////////////////////////////// ACTION FUNCTIONS /////////////////////////////////////////////////////////////////// | public void takeAction(BoardGameController.BoardBugAction action)
{
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void action() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void execute(ActionContext ctx) {\n\t\t\r\n\t}",
"@Override\n public void action() {\n }",
"@Override\n public void action() {\n }",
"@Override\n public void action() {\n }",
"@Override\n\tpublic void action() {\n\n\t}",
"public void action() {\n }",
"private void getStatus() {\n\t\t\n\t}",
"private void entryAction() {\n\t}",
"Operations operations();",
"protected abstract void action(Object obj);",
"abstract protected String performAction(String input);",
"@Override\r\n\tpublic boolean process() {\r\n\t\t// TODO: check all permissions here\r\n\t\tif (_actionKey.equalsIgnoreCase(READ)) {\r\n\t\t\treturn read();\r\n\t\t} else if (_actionKey.equalsIgnoreCase(CREATE)) {\r\n\t\t\treturn create();\r\n\t\t} else if (_actionKey.equalsIgnoreCase(DELETE)) {\r\n\t\t\treturn delete();\r\n\t\t} else if (_actionKey.equalsIgnoreCase(UPDATE)) {\r\n\t\t\treturn update();\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"@Override\n protected void doAct() {\n }",
"public void processAction(CIDAction action);",
"public abstract void action();",
"public abstract void action();",
"public abstract void action();",
"public abstract void action();",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"public void act() {\n\t}",
"@Override\n\tprotected void generatePrimitives(SoAction action) {\n\n\t}",
"@Override\r\n\t\tpublic void action()\r\n\t\t{\r\n// throw new UnsupportedOperationException(\"Not supported yet.\");\r\n\t\t}",
"@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}",
"public abstract void operation();",
"@Override\n public void act() {\n }",
"public void logic(){\r\n\r\n\t}",
"public void act() \r\n {\n }",
"public void act() \r\n {\n }",
"public void act() \r\n {\n }",
"public void method_4270() {}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void act();",
"abstract public void performAction();",
"private void kk12() {\n\n\t}",
"public void method_201() {}",
"@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}",
"protected abstract void actionExecuted(SUT system, State state, Action action);",
"protected void execute() {\n\t\t\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void performAction() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"@Override public void action() {\n //Do Nothing\n assert(checkRep());\n }",
"@Override\r\n\tpublic void act() {\n\t\tausgeben();\r\n\t}",
"public void act() \r\n {\r\n \r\n // Add your action code here\r\n MovimientoNave();\r\n DisparaBala();\r\n Colisiones();\r\n //muestraPunto();\r\n //archivoTxt();\r\n }",
"@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}",
"public void actionOffered();",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"private void Log(String action) {\r\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\r\n\tprotected void processExecute() {\n\r\n\t}",
"private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}",
"protected void service(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tString actionType=req.getParameter(\"actionType\");\n\t\tif(actionType.equals(\"query\"))\n\t\t{\n\t\t\tquery(req,resp);\n\t\t}\n\t\tif(actionType.equals(\"kanweizhang\"))\n\t\t{\n\t\t\tkanweizhang(req,resp);\n\t\t}\n\t\tif(actionType.equals(\"tuiweizhang\"))\n\t\t{\n\t\t\ttuiweizhang(req,resp);\n\t\t}\n\t\t\n\t\tif(actionType.equals(\"querywenlei\"))\n\t\t{\n\t\t\tquerywenlei(req,resp);\n\t\t}\n\t}",
"public void act() \r\n {\r\n // Add your action code here.\r\n }",
"public void act() \r\n {\r\n // Add your action code here.\r\n }",
"public void baocun() {\n\t\t\n\t}",
"@Override\n \tpublic void addActions() {\n \t\t\n \t}",
"public abstract void init_actions() throws Exception;",
"@Override\n\tprotected void processInput() {\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"public void act() \n {\n }",
"public void act() \n {\n }",
"public void act() \n {\n }",
"public void act() \n {\n }",
"public void act() \n {\n }",
"public void act() \n {\n }",
"public void act() \n {\n }",
"public void ovr() {\n\n\t}",
"public void processAction(ActionRequest request, ActionResponse response) throws PortletException, java.io.IOException {\r\n\r\n }",
"@Override\r\n\t\tpublic void action() {\n\t\t\t\r\n\t\t\tACLMessage request = new ACLMessage (ACLMessage.REQUEST);\r\n\t\t\trequest.setProtocol(FIPANames.InteractionProtocol.FIPA_REQUEST);\r\n\t\t\trequest.addReceiver(new AID(\"BOAgent\",AID.ISLOCALNAME));\r\n\t\t\trequest.setLanguage(new SLCodec().getName());\t\r\n\t\t\trequest.setOntology(RequestOntology.getInstance().getName());\r\n\t\t\tInformMessage imessage = new InformMessage();\r\n\t\t\timessage.setPrice(Integer.parseInt(price));\r\n\t\t\timessage.setVolume(Integer.parseInt(volume));\r\n\t\t\ttry {\r\n\t\t\t\tthis.agent.getContentManager().fillContent(request, imessage);\r\n\t\t\t} catch (CodecException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} catch (OntologyException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t\tthis.agent.addBehaviour(new AchieveREInitiator(this.agent, request)\r\n\t\t\t{\t\t\t\r\n\t\t\t/**\r\n\t\t\t\t * \r\n\t\t\t\t */\r\n\t\t\t\tprivate static final long serialVersionUID = -8866775600403413061L;\r\n\r\n\t\t\t\tprotected void handleInform(ACLMessage inform)\r\n\t\t\t\t{\t\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}",
"public void handleAction(Action action){\n\t\tSystem.out.println(action.getActionType().getName() + \" : \" + action.getValue());\n\t\tDroneClientMain.runCommand(\"python george_helper.py \" + action.getActionType().getName().toLowerCase() + \" \" + action.getValue());\n\t}",
"@Override\n\t\tpublic void rest() {\n\t\t\t\n\t\t}",
"public void doAction(){}",
"@Override\r\n\tpublic int query(ActionContext arg0) throws Exception {\n\t\treturn 0;\r\n\t}",
"void act();",
"@Override\n\tpublic void onActionStart(int action) {\n\t\t\n\t}",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"public void act() \n {\n // Add your action code here.\n }",
"private void strin() {\n\n\t}",
"private static void cajas() {\n\t\t\n\t}",
"public void action() {\n action.action();\n }",
"private void handleActionFoo(String param1, String param2){\n\t// TODO: Handle action Foo\n\tthrow new UnsupportedOperationException(\"Not yet implemented\");\n }",
"@Override\n\t\tpublic void action() {\n\t\t\tMessageTemplate mt = MessageTemplate.MatchPerformative(ACLMessage.REQUEST); \n\t\t\tACLMessage msg = receive(mt);\n\t\t\tif(msg != null){\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tContentElement ce = null;\n\t\t\t\t\tSystem.out.println(msg.getContent()); //print out the message content in SL\n\n\t\t\t\t\t// Let JADE convert from String to Java objects\n\t\t\t\t\t// Output will be a ContentElement\n\t\t\t\t\tce = getContentManager().extractContent(msg);\n\t\t\t\t\tSystem.out.println(ce);\n\t\t\t\t\tif(ce instanceof Action) {\n\t\t\t\t\t\tConcept action = ((Action)ce).getAction();\n\t\t\t\t\t\tif (action instanceof SupplierOrder) {\n\t\t\t\t\t\t\tSupplierOrder order = (SupplierOrder)action;\n\t\t\t\t\t\t\t//CustomerOrder cust = order.getItem();\n\t\t\t\t\t\t\t//OrderQuantity = order.getQuantity();\n\t\t\t\t\t\t\tif(!order.isFinishOrder()) {\n\t\t\t\t\t\t\tSystem.out.println(\"exp test: \" + order.getQuantity());\n\t\t\t\t\t\t\trecievedOrders.add(order);}\n\t\t\t\t\t\t\telse {orderReciever = true;}\n\t\t\t\t\t\t\t//Item it = order.getItem();\n\t\t\t\t\t\t\t// Extract the CD name and print it to demonstrate use of the ontology\n\t\t\t\t\t\t\t//if(it instanceof CD){\n\t\t\t\t\t\t\t\t//CD cd = (CD)it;\n\t\t\t\t\t\t\t\t//check if seller has it in stock\n\t\t\t\t\t\t\t\t//if(itemsForSale.containsKey(cd.getSerialNumber())) {\n\t\t\t\t\t\t\t\t\t//System.out.println(\"Selling CD \" + cd.getName());\n\t\t\t\t\t\t\t\t//}\n\t\t\t\t\t\t\t\t//else {\n\t\t\t\t\t\t\t\t\t//System.out.println(\"You tried to order something out of stock!!!! Check first!\");\n\t\t\t\t\t\t\t\t//}\n\n\t\t\t\t\t\t\t//}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t}\n\t\t\t\t\t//deal with bool set here\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tcatch (CodecException ce) {\n\t\t\t\t\tce.printStackTrace();\n\t\t\t\t}\n\t\t\t\tcatch (OntologyException oe) {\n\t\t\t\t\toe.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tblock();\n\t\t\t}\n\t\t}",
"@Override\n\tpublic void updateAction(Client input) {\n\t\t\n\t}",
"private AliasAction() {\n\n\t}",
"private void sub() {\n\n\t}",
"protected void mo6255a() {\n }",
"abstract String getOp();",
"@Override\r\n\tpublic void processAction(ActionRequest actionRequest,\r\n\t\t\tActionResponse actionResponse) throws IOException, PortletException {\r\n\t\t// TODO Auto-generated method stub\r\n\t\tsuper.processAction(actionRequest, actionResponse);\r\n\t}",
"public void mo4359a() {\n }",
"public void processing();",
"@Override\n\tpublic boolean processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException {\n\t\tString cmd = ParamUtil.getString(actionRequest, Constants.CMD);\n\t\tSystem.out.println(\"CMD=\" + cmd);\n\t\treturn _mvcActionCommand.processAction(actionRequest, actionResponse);\n\t}",
"public void execute(){\n\t\t\n\t}"
]
| [
"0.6570915",
"0.6477312",
"0.6386333",
"0.6386333",
"0.6386333",
"0.63208705",
"0.6152025",
"0.5931135",
"0.59012413",
"0.5895886",
"0.5794513",
"0.5775688",
"0.5750893",
"0.5743052",
"0.5742979",
"0.57416207",
"0.57416207",
"0.57416207",
"0.57416207",
"0.57343113",
"0.57269764",
"0.5702434",
"0.56860363",
"0.5644487",
"0.5631148",
"0.5631116",
"0.5608024",
"0.55953985",
"0.55953985",
"0.55953985",
"0.55826247",
"0.5563118",
"0.5557781",
"0.55377185",
"0.551801",
"0.5517229",
"0.5514261",
"0.55073863",
"0.54835",
"0.5476757",
"0.54753137",
"0.5474696",
"0.54727376",
"0.54664046",
"0.5465439",
"0.5457766",
"0.5449875",
"0.54489547",
"0.54447734",
"0.54423606",
"0.5440879",
"0.5437383",
"0.5435348",
"0.5434874",
"0.5430029",
"0.5426874",
"0.5426874",
"0.5423704",
"0.5404262",
"0.54040956",
"0.53991175",
"0.5397994",
"0.5393701",
"0.5393701",
"0.5393701",
"0.5393701",
"0.5393701",
"0.5393701",
"0.5393701",
"0.5393482",
"0.5383726",
"0.53825355",
"0.5381658",
"0.5380168",
"0.537968",
"0.5374683",
"0.5374378",
"0.5372074",
"0.5365746",
"0.5365746",
"0.5365746",
"0.5365746",
"0.5365746",
"0.5365746",
"0.5365746",
"0.5365746",
"0.5364421",
"0.5356227",
"0.5356077",
"0.53522944",
"0.53484577",
"0.5347873",
"0.5345958",
"0.53419477",
"0.53408796",
"0.5334183",
"0.53277856",
"0.5326798",
"0.53158617",
"0.53129905",
"0.5312913"
]
| 0.0 | -1 |
function that get customer | @GET
@Path("get")
public Customer getCustomer(@QueryParam("id") int id) {
return ManagerHelper.getCustomerManager().get(id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getCustomer(String custId);",
"io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();",
"Customer getCustomer();",
"com.google.ads.googleads.v6.resources.Customer getCustomer();",
"public ReturnCustomer getCustomer() {\n return (ReturnCustomer) get(\"customer\");\n }",
"public org.tempuri.Customers getCustomer() {\r\n return customer;\r\n }",
"public Customer getCustomerByName(String customerName);",
"static customer getCustomer(String uid) {\n return null;\n }",
"public String getCustomer() {\n return customer;\n }",
"private void getCustomer() {\n final LoginGet loginget = new LoginGet();\n loginget.setLoginGetListener(new LoginGetListener() {\n\n @Override\n public void getMember(ArrayList<Customer> list) {\n\n }\n\n @Override\n public void getCustomer(ArrayList<Customer> list) {\n customerList = new ArrayList<Customer>();\n customerList.addAll(list);\n if (customerList.size() > 0) {\n defaultPage.setVisibility(View.GONE);\n ll.setVisibility(View.VISIBLE);\n myNewCustomersAdapter = new MyNewCustomersAdapter(\n NewFriendsActivity.this, customerList);\n listView.setAdapter(myNewCustomersAdapter);\n } else {\n tv2.setText(\"You haven't friends for a long time\");\n }\n\n }\n });\n loginget.CustomerRequest(NewFriendsActivity.this);\n\n }",
"CustomerDTO getCustomerDetails(Long customerId,String userName) throws EOTException;",
"String getCustomerID();",
"Customer getCustomerById(int customerId);",
"Customer getCustomer() {\n\t\treturn customer;\n\t}",
"public Customer getCustomer() {\r\n return customer;\r\n }",
"@Override\n public String getCustomer() {\n return this.customerName;\n }",
"public de.htwg_konstanz.ebus.framework.wholesaler.vo.Customer getCustomer () {\r\n\t\treturn customer;\r\n\t}",
"String getCustomerNameById(int customerId);",
"public Customer getCustomer() {\r\n\t\treturn customer;\r\n\t}",
"public Customer getCustomer() {\r\n\t\treturn customer;\r\n\t}",
"public Customer getCustomer()\n {\n return customer;\n }",
"java.lang.String getCustomerId();",
"java.lang.String getCustomerId();",
"public Customer getCustomer() {\n return this.customer;\n }",
"public CustomerProfile getCustomerProfile();",
"Customer getCustomerById(final Long id);",
"public Customer getCustomer() {\n return customer;\n }",
"List<Customer> getCustomerList();",
"public Customer getCustomer()\n {\n return this.customer;\n }",
"public Customer getCustomer() {\r\n\t\treturn this.customer;\r\n\t}",
"public static Customer getCustomer(int id_cust) {\n Connection c = connection();\n PreparedStatement stmt;\n int id = 0;\n String name = null;\n String email = null;\n String password = null;\n Customer customer = null;\n try {\n String sql = \"SELECT * FROM customer WHERE id=?;\";\n stmt = c.prepareStatement(sql);\n stmt.setInt(1, id_cust);\n ResultSet rs = stmt.executeQuery();\n while (rs.next()) {\n id = rs.getInt(\"id\");\n name = rs.getString(\"name\");\n email = rs.getString(\"email\");\n password = rs.getString(\"password\");\n }\n stmt.close();\n c.close();\n customer = new Customer(id, name, email, password);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return customer;\n }",
"public String getName()\n {\n return customer;\n }",
"Customer getCustomerByMobileNumber(String mobileNumber) throws EOTException;",
"public Customer getCustomer()\n {\n return customer;\n }",
"@RequestMapping(value = \"/v2/customers\", method = RequestMethod.GET)\r\n\tpublic List<Customer> customers() {\r\n JPAQuery<?> query = new JPAQuery<Void>(em);\r\n QCustomer qcustomer = QCustomer.customer;\r\n List<Customer> customers = (List<Customer>) query.from(qcustomer).fetch();\r\n // Employee oneEmp = employees.get(0);\r\n\t\treturn customers;\r\n }",
"public static Customer getCustomer(int _customerID) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"CustomerID= \"+_customerID);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"List<Customer> getCustomers();",
"@Override\n\tpublic CustomerData getCustomer(Long custId) {\n\t \n\t\tOptional<CustomerData> optionalCust = customerRepository.findById(custId);\n\t\t//Optional object use for check if a customer id is existing or not\n if(optionalCust.isPresent()) {\n return optionalCust.get(); //if customer id is exist then return a value\n }\n\t\treturn null;\n\t\t\n\t}",
"public Customer getCustomer() {\n\t\treturn customer;\n\t}",
"public Customer displayCustomer(int cid);",
"public Integer getCustomer() {\n return customer;\n }",
"public String getCustomerName() \n {\n return customerName;\n }",
"@Override\n\tpublic Customer retrieveCustomer(Integer id) {\n\n\t\tCustomer customer = new Customer();\n\n\t\tfor (Customer cust : customers) {\n\t\t\tif (cust.getId() == id) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcustomer.setUsername(cust.getUsername());\n\t\t\t\tcustomer.setFirstName(cust.getFirstName());\n\t\t\t\tcustomer.setLastName(cust.getLastName());\n\t\t\t\tcustomer.setEmail(cust.getEmail());\n\t\t\t\tcustomer.setUserType(cust.getUserType());\n\t\t\t\tcustomer.setPassword(cust.getPassword());\n\t\t\t\tcustomer.setAddress(cust.getAddress());\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"A GET call retrieved a customer: retrieveCustomer()\");\n\t\treturn customer;\n\t}",
"@GetMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Object> getCustomerDetailed(@PathVariable(\"id\") Integer id, HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tCustomer cus = cService.findById(id);\n\t\t\tif(cus == null) return new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t\tMappingJacksonValue mappedCustomer = new MappingJacksonValue(cus);\n\t\t\tmappedCustomer.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.serializeAll()));\n\t\t\treturn new ResponseEntity<>(mappedCustomer, HttpStatus.OK);\n\t\t}\n\t}",
"public List<Customer> getCustomerByID() {\n Query query = em.createNamedQuery(\"Customer.findByCustomerId\")\r\n .setParameter(\"customerId\", custID);\r\n // return query result\r\n return query.getResultList();\r\n }",
"public List<CustomerModel> getCustomers();",
"public void listAllCustomers () {\r\n\t\t\r\n customersList = my.resturnCustomers();\r\n\t\t\r\n\t}",
"public String getCustomerName()\n {\n return customerName;\n }",
"public Object getAllCustomers(HttpServletRequest req);",
"public com.huawei.www.bme.cbsinterface.cbs.businessmgr.IndividualCustomer getCustomer() {\r\n return customer;\r\n }",
"public String getCustomerName(){\n return customerName;\n }",
"@Override\r\n\tpublic Customer getCustomer(int customerID) {\n\t\treturn null;\r\n\t}",
"@Override\n public Customer getCustomer(Long userId) {\n Optional<Customer> customer = customerDao.getCustomer(userId);\n if (!customer.isPresent()) {\n logger.error(\"Customer with this id {} doesn't exist\", userId);\n }\n return customer.orElseThrow(ResourceNotFoundException::new);\n }",
"CustomerDTO getUserForProof(String name,CustomerDTO customerDTO) throws EOTException;",
"public Customer getCustomer(String customerID, DataPool allData){\r\n\t\t\r\n\t\tif (allData == null || customerID== null) \r\n\t\t\treturn null;\r\n\t\treturn treeData.get(customerID);\r\n\t\t\r\n\t}",
"protected Optional<Customer> getCustomer() {\n return customer.getOptional();\n }",
"public void getCustomerID (){\n\t\t//gets the selected row \n\t\tint selectedRowIndex = listOfAccounts.getSelectedRow();\n\t\t//gets the value of the first element of the row which is the \n\t\t//customerID\n\t\tcustomerID = (String) listOfAccounts.getModel().getValueAt(selectedRowIndex, 0);\n\t\tcustomerName = (String) listOfAccounts.getModel().getValueAt(selectedRowIndex, 1);\n\t}",
"@Override\n public ExtensionResult getCustomerInfo(ExtensionRequest extensionRequest) {\n String account = getEasyMapValueByName(extensionRequest, \"account\");\n String name = getEasyMapValueByName(extensionRequest, \"name\");\n Map<String, String> output = new HashMap<>();\n StringBuilder respBuilder = new StringBuilder();\n if (account.substring(0, 1).equals(\"1\")) {\n respBuilder.append(\"Ticket Number : \" + extensionRequest.getIntent().getTicket().getTicketNumber() + \"\\n\");\n respBuilder.append(\" Data Customer Account \" + account + \"\\n\");\n respBuilder.append(\"Nama: \" + name + \"\\n\");\n respBuilder.append(\"Setoran tiap bulan : Rp. 500,000\\n\");\n respBuilder.append(\"Jatuh tempo berikutnya : 15 Agustus 2018\");\n } else {\n respBuilder.append(\"Ticket Number : \" + extensionRequest.getIntent().getTicket().getTicketNumber() + \"\\n\");\n respBuilder.append(appProperties.getFormId() + \" Data Customer Account \" + account + \"\\n\");\n respBuilder.append(\"Nama: \" + name + \"\\n\");\n respBuilder.append(\"Setoran tiap bulan : Rp. 1,000,000\\n\");\n respBuilder.append(\"Jatuh tempo berikutnya : 27 Agustus 2018\");\n }\n ExtensionResult extensionResult = new ExtensionResult();\n extensionResult.setAgent(false);\n extensionResult.setRepeat(false);\n extensionResult.setSuccess(true);\n extensionResult.setNext(true);\n\n output.put(OUTPUT, respBuilder.toString());\n extensionResult.setValue(output);\n return extensionResult;\n }",
"public String getCustomer_Name() {\n return customer_Name;\n }",
"String getCustomerName(String bookingRef);",
"public String getCustomerid() {\n return customerid;\n }",
"public Customer getCustomer(int phone)\n\t{\n\t\treturn CustomerContainer.getInstance().getCustomer(phone);\n\t}",
"public Customer getCustomerDetails() throws Exception {\n\t\treturn customersDBDAO.getOneCustomer(customerId);\n\t}",
"public String getCustName() \r\n\t{\r\n\t\t\r\n\t\treturn custName;\r\n\t\t\r\n\t}",
"@GetMapping(\"/customers/{customer_id}\")\n\tpublic Customer getcustomer(@PathVariable(\"customer_id\") int customerid) {\n\t\tCustomer thecustomer=thecustomerService.getCustomer(customerid);\n\t\tif(thecustomer==null) {\n\t\t\tthrow new CustomerNotFoundException(\"Customer with id : \"+customerid+\" not found\");\n\t\t}\n\t\t\n\t\treturn thecustomer;\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_onCash() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,sld.payement_option, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+\r\n\r\n\t\t\t\t\t\" WHERE sld.payement_option=0\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@Override\n public JSONObject viewCustomerById(long id) {\n\n return in_salescustdao.viewSLCustomerByID(id);\n }",
"public String getCustomersName()\r\n {\r\n return customersName;\r\n }",
"public static DTO_JPOS_Customer getCustomer(int customerId,Connection con) {\r\n\t\tLMSDAOFactory factory = LMSDAOFactory.getInstances();\r\n\t\tIJPOS_Customer myCustomer = factory.getJPOS_Customer();\r\n\t\treturn myCustomer.getCustomer(customerId,con);\r\n\t}",
"@Override\n\tpublic List<Customer> getCustomerList() {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tQuery query=session.createQuery(\"Select c from Customer c\");\n\t\tList<Customer> list=(List<Customer>)query.getResultList();\n\t\t/*\n\t\t * Customer customer = (Customer)session.load(Customer.class,customerId);\n\t\t * */\n\t\treturn list;\n\t}",
"public GFRecordDataModel getCustomerLocalCustomerInformation()\n\t{\n\t\treturn getCustomerLocalCustomerInformation(system, unit, customerNumber);\n\t}",
"com.google.cloud.channel.v1.Customer getCustomers(int index);",
"public int getCustNumber()\n\t{\n\t\treturn customerNumber;\n\t}",
"public void retrieveACustomerWithID(long id) {\r\n\t\tSystem.out.println(\"\\nCustomer with id \" + id);\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\ttx.begin();\r\n\t\tCustomer2 customer = em.find(Customer2.class, id);\r\n\t\tif(customer == null){\r\n\t\t\tSystem.out.println(\"\\nNo such customer with id: \" + id);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tSystem.out.println(customer);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_Accepted() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id WHERE e.status=1 or e.status=6;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public JSONObject findCustomer(String email) {\n\t\tWebClient webClient = getWebClient();\n\n\t\tString response = webClient.accept(MediaType.APPLICATION_JSON)\n\t\t\t\t.path(\"get-by-filter\").query(\"email\", email).get(String.class);\n\t\ttry {\n\t\t\tJSONObject jsonObject = new JSONObject(response);\n\t\t\tjsonObject.getJSONObject(\"FindCustomerResponse\").getJSONObject(\n\t\t\t\t\t\"customerList\");\n\t\t\treturn jsonObject;\n\t\t} catch (JSONException e) {\n\t\t\tlogger.error(\"Error parsing JSONObject: \" + e.getMessage(), e);\n\t\t\tthrow new TechnicalException(e);\n\t\t}\n\t}",
"@Override\r\n\tpublic Customer getCustomer(String custId) {\r\n\t\tOptional<Customer> optionalCustomer = null;\r\n\t\tCustomer customer = null;\r\n\t\toptionalCustomer = customerRepository.findById(custId);\r\n\t\tif (optionalCustomer.isPresent()) {\r\n\t\t\tcustomer = optionalCustomer.get();\r\n\t\t\treturn customer;\r\n\t\t} else {\r\n\t\t\tthrow new EntityNotFoundException(\"Customer With Id \" + custId + \" does Not Exist.\");\r\n\t\t}\r\n\r\n\t}",
"public Customer searchCustomerByPhone() {\r\n\t\t//Input customer phone.\r\n\t\tString phone = readString(\"Input the customer phone: \");\r\n\t\tCustomer f = my.findByPhone(phone);\r\n\t\treturn f;\r\n\t}",
"@SuppressWarnings(\"finally\")\n\tpublic Customer getCustomer(int cust_id) throws SQLException //final&complete IMPL\n\t{\n\t\tCustomer res=null;\n\t\t\n\t\ttry\n\t\t{\n\t\t\tConnection connection = openConnection();\n\t\t\tPreparedStatement queryStatement;\n\t\t\tResultSet queryResult;\n\t\t\t\n\t\t\tqueryStatement =connection.prepareStatement(\"select * from CUSTOMERS where customer_id=?;\");\n\t\t\tqueryStatement.setString(1, Integer.toString(cust_id));\n\t\t\tqueryResult = queryStatement.executeQuery();\n\t\t\t\n\t\t\tif(queryResult.next())\n\t\t\t{\n\t\t\t\tString cust_username=null, cust_password=null, user_email=null, user_PicURL=null;\n\t\t\t\tString cust_fname=null, cust_lname=null;\n\t\t\t\tboolean isCustomer = true;\n\t\t\t\t\n\t\t\t\tcust_fname = queryResult.getString(2);\n\t\t\t\tcust_lname = queryResult.getString(3);\n\t\t\t\tcust_username = queryResult.getString(4);\n\t\t\t\tcust_password = queryResult.getString(5);\n\t\t\t\tuser_email = queryResult.getString(6);\n\t\t\t\t\n\t\t\t\tres = new Customer((short)cust_id, cust_username, cust_password, cust_fname + cust_lname, user_email, user_PicURL, isCustomer, null, null);\n\t\t\t}\n\t\t}\t\n\t\tfinally\n\t\t{\n\t\t\tcloseConnection();\n\t\t\tif(res==null)\n\t\t\t\tthrow new SQLException(\"No customer user found for provided credantials!\");\n\t\t\telse\n\t\t\t\treturn res;\n\t\t}\n\t}",
"public Customer getCustomer(String id) {\n\t\tString firstName = \"\";\n//\t\tString lastName = \"\";\n//\t\tString address = \"\";\n//\t\tString creditCard = \"\";\n//\t\tString phone = \"\";\n//\t\tArrayList<Order> orders = new ArrayList<>();\n\t\tConnection connection = DBConnect.getDatabaseConnection();\n\t\t\n\t\ttry {\n\t\t\tStatement selectStatement = connection.createStatement();\n\t\t\t\n\t\t\tString selectQuery = \"SELECT * from Customer where CustomerID='\" + id +\"'\";\n\t\t\tResultSet resultSet = selectStatement.executeQuery(selectQuery);\n\t\t\tresultSet.next();\n\t\t\t\n\t\t\tfirstName = resultSet.getString(\"FName\");\n//\t\t\tlastName = resultSet.getString(\"lastName\");\n//\t\t\taddress = resultSet.getString(\"lastName\"); //TODO update this code: Address has it's own table . access AddressDAO object (use attribute line 21) \n//\t\t\tcreditCard = resultSet.getString(\"creditCard\"); //TODO same as Address. (attribute line 22) \n\n//\t\t\torders = orderDAO.getAllOrders(); //TODO fix me (make sure function returns something).\n\t\t\t\n\t\t}catch(SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t}finally {\n\t\t\tif(connection != null) {\n\t\t\t\ttry {\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCustomer customer = new Customer();\n\t\tcustomer.setFirstName(firstName);\n//\t\tcustomer.setLastName(lastName);\n//\t\t//TODO customer.setAddress(address); update\n//\t\t//TODO customer.setCard(creditCard); update\n//\t\tcustomer.setOrders(orders);\n\t\t\n\t\treturn customer;\n\t}",
"public int getCustomerId() \n {\n return customerId;\n }",
"public int getCustId(){\n return this.custId;\r\n }",
"@Override\n\tpublic String getName(){\n\t\treturn customer.getName();\n\t}",
"public java.lang.String CC_GetCustomerLocation(java.lang.String accessToken, java.lang.String accountNo) throws java.rmi.RemoteException;",
"public static void CreateCustomer() \r\n\t{\n\t\t\r\n\t}",
"public Customer getCustomers(int customerId) {\n for(Customer customer:customers){\n if(customer.getId() == customerId){\n return customer;\n }\n }\n return null;\n }",
"@Override\n\tpublic Customer getCustomer(long id) throws Exception {\n\t\tConnection con = pool.getConnection();\n\t\tCustomer customer = new Customer();\n\t\ttry {\n\t\t\tString getCustomer = String.format(\"select * from customer where id in('%d')\", id);\n\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(getCustomer);\n\n\t\t\tif (rs.next()) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcustomer.setCustName(rs.getString(\"Cust_Name\"));\n\t\t\t\tcustomer.setPassword(rs.getString(\"Password\"));\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.println(\"Customer \" + customer.getCustName() + \" ID: \" + customer.getId() + \" was retrived.\");\n\t\t\t} else {\n\t\t\t\tthrow new Exception(\"Customer with ID: \" + id + \" was not found in the DB.\");\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \" Could not retrieve data from DB.\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage() + \" Could not close connection\");\n\t\t\t}\n\t\t}\n\t\treturn customer;\n\t}",
"@GetMapping(\"/api/customer\")\n\tpublic ResponseEntity<List<CustomerDetails>> getAllCustomerDetails() {\n\n\t\tList<CustomerDetails> customerDetaillist = customerService.getAllCustomerDetails();\n\n\t\treturn ResponseEntity.ok().body(customerDetaillist);\n\n\t}",
"@Then(\"^Create a get request for cutomer \\\"([^\\\"]*)\\\"$\")\r\n\tpublic void create_a_get_request_for_cutomer(String arg1) throws Throwable {\n\t\tGetCustomer getCustomer=new GetCustomer();\r\n\t\tString custId=new PropertFileReader().getTempData(arg1);\r\n\t\tStripeCustomer.response=getCustomer.getCustomer(custId);\r\n\t}",
"public static CustomerBean getCutomer(int customerID) {\r\n\t\tCustomerBean bean = null;\r\n\t\tint customerId;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, city_name, customer_phone,customer_monthly_income, customer_family_income, customr_image,created_on FROM customer join city on customer_city=city_id Where customer_id = ?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setInt(1, customerID);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn bean;\r\n\t}",
"public String getCustomerName() {\n return customerName;\n }",
"public String getCustomerName() {\n return customerName;\n }",
"public Customer getCustomer(String cID, ArrayList<Customer> customers) throws NotFoundException\r\n\t{\t\r\n\t\tCustomer cust = null;\r\n\t\tfor(int i=0; i<customers.size(); i++)\r\n\t\t{\r\n\t\t\tif(customers.get(i).getcID().equals(cID))\r\n\t\t\t\tcust = customers.get(i);\r\n\t\t}\r\n\t\t\r\n\t\tif(cust == null)\r\n\t\t\tthrow new NotFoundException(cID);\r\n\t\t\r\n\t\treturn cust;\t\t\r\n\t}",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"String getName() {\n\t\treturn customer.getName();\n\t}",
"@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}",
"public Customer getCustomer(int ma) {\n\t\tCustomer cus = new Customer();\n\t\ttry {\n\t\t\tPreparedStatement stm = conn.prepareStatement(Queries.GET_CUSTOMER_BY_ID);\n\t\t\tstm.setInt(1, ma);\n\t\t\tResultSet rs = stm.executeQuery();\n\t\t\twhile (rs.next()) {\n\t\t\t\tcus = CustomerConverter.convert(rs);\n\t\t\t\t\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn cus;\n\t}",
"private Customer createCustomerData() {\n int id = -1;\n Timestamp createDate = DateTime.getUTCTimestampNow();\n String createdBy = session.getUsername();\n\n if (action.equals(Constants.UPDATE)) {\n id = existingCustomer.getCustomerID();\n createDate = existingCustomer.getCreateDate();\n createdBy = existingCustomer.getCreatedBy();\n }\n\n String name = nameField.getText();\n String address = addressField.getText() + \", \" + cityField.getText();\n System.out.println(address);\n String postal = postalField.getText();\n String phone = phoneField.getText();\n Timestamp lastUpdate = DateTime.getUTCTimestampNow();\n String lastUpdatedBy = session.getUsername();\n\n FirstLevelDivision division = divisionComboBox.getSelectionModel().getSelectedItem();\n int divisionID = division.getDivisionID();\n\n return new Customer(id, name, address, postal, phone, createDate, createdBy, lastUpdate, lastUpdatedBy, divisionID);\n }",
"public String getCustomerName()\n\t{\n\t\treturn name;\n\t}",
"public String getCustomerReference() {\n return customerReference;\n }",
"public Map<String, Customer> getCustomer(){\r\n\t\treturn treeData;\r\n\t}"
]
| [
"0.8043285",
"0.7950391",
"0.7946862",
"0.7664923",
"0.7551805",
"0.7450228",
"0.7437757",
"0.7416071",
"0.74121976",
"0.729134",
"0.72144395",
"0.72051114",
"0.7176426",
"0.7116456",
"0.7114661",
"0.7082274",
"0.7052014",
"0.7035865",
"0.7033214",
"0.7033214",
"0.7027294",
"0.7013513",
"0.7013513",
"0.7002754",
"0.70022166",
"0.6976512",
"0.6976482",
"0.69735277",
"0.6963979",
"0.6951077",
"0.6944244",
"0.6943163",
"0.69312567",
"0.6924108",
"0.6914071",
"0.6912639",
"0.6902781",
"0.6887081",
"0.6882062",
"0.68806255",
"0.6878544",
"0.6872379",
"0.6858563",
"0.6839214",
"0.6761574",
"0.67578584",
"0.67564106",
"0.67432046",
"0.67349535",
"0.67291427",
"0.6728637",
"0.6713451",
"0.670057",
"0.6695183",
"0.6694255",
"0.6671253",
"0.6668586",
"0.6661012",
"0.6658835",
"0.66585094",
"0.66488814",
"0.6642699",
"0.66375685",
"0.6615937",
"0.6613475",
"0.6611214",
"0.6594234",
"0.6589964",
"0.6582081",
"0.657933",
"0.6575249",
"0.65732867",
"0.6570986",
"0.65621287",
"0.65585613",
"0.6550815",
"0.65450424",
"0.65441966",
"0.6541926",
"0.65406156",
"0.6537392",
"0.6533878",
"0.6533277",
"0.65314615",
"0.65297914",
"0.6522351",
"0.6517179",
"0.6516267",
"0.65152615",
"0.6508736",
"0.6503454",
"0.6503454",
"0.6500493",
"0.6490503",
"0.64851546",
"0.6481799",
"0.6481716",
"0.64807606",
"0.6480199",
"0.6477583",
"0.6476877"
]
| 0.0 | -1 |
function that get customer by name | @GET
@Path("getByName")
public List<Customer> getByName(@QueryParam("companyname") String companyname) {
return ManagerHelper.getCustomerManager().getByName(companyname);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Customer getCustomerByName(String customerName);",
"public String getCustomer(String custId);",
"String getCustomerNameById(int customerId);",
"public Customer getSpecificCustomerByName(String name){\n Customer specificCustomer = null;\n\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT CustomerId, FirstName, LastName, Country, PostalCode, Phone, Email FROM Customer WHERE FirstName LIKE ? OR LastName LIKE ?\");\n preparedStatement.setString(1, name);\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n specificCustomer = new Customer(\n set.getString(\"CustomerId\"),\n set.getString(\"FirstName\"),\n set.getString(\"LastName\"),\n set.getString(\"Country\"),\n set.getString(\"PostalCode\"),\n set.getString(\"Phone\"),\n set.getString(\"Email\")\n );\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return specificCustomer;\n }",
"private Customer findCustomer(String customerName){\n for(int i=0; i<customers.size(); i+=1){\n Customer existingCustomer = this.customers.get(i);\n if(existingCustomer.getName().equals(customerName)){\n return existingCustomer;\n }\n }\n return null;\n }",
"Customer getCustomer();",
"com.google.ads.googleads.v6.resources.Customer getCustomer();",
"io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();",
"String getCustomerName(String bookingRef);",
"Customer getCustomerById(int customerId);",
"public List<Customer> getCustomerByName() {\n Query query = em.createNamedQuery(\"Customer.findByName\")\r\n .setParameter(\"name\", custName);\r\n // return query result\r\n return query.getResultList();\r\n }",
"Customer findCustomerByName(Name name)\n throws XmlDocumentReadException, CorruptStorageException;",
"public String getName()\n {\n return customer;\n }",
"Customer getCustomerById(final Long id);",
"@RequestMapping(method = RequestMethod.GET, params = {\"name\"})\n\t public ResponseEntity<Collection<Customer>> findUserWithName(@RequestParam(value=\"name\") String name) {\n\t return service.findCustomerWithName(name);\n\t }",
"public static Customer getCustomer(int id_cust) {\n Connection c = connection();\n PreparedStatement stmt;\n int id = 0;\n String name = null;\n String email = null;\n String password = null;\n Customer customer = null;\n try {\n String sql = \"SELECT * FROM customer WHERE id=?;\";\n stmt = c.prepareStatement(sql);\n stmt.setInt(1, id_cust);\n ResultSet rs = stmt.executeQuery();\n while (rs.next()) {\n id = rs.getInt(\"id\");\n name = rs.getString(\"name\");\n email = rs.getString(\"email\");\n password = rs.getString(\"password\");\n }\n stmt.close();\n c.close();\n customer = new Customer(id, name, email, password);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return customer;\n }",
"@Override\r\n\tpublic Customer search(String name) {\n\t\treturn null;\r\n\t}",
"public Customer searchCustomerByPhone() {\r\n\t\t//Input customer phone.\r\n\t\tString phone = readString(\"Input the customer phone: \");\r\n\t\tCustomer f = my.findByPhone(phone);\r\n\t\treturn f;\r\n\t}",
"Customer getCustomerByMobileNumber(String mobileNumber) throws EOTException;",
"Customer search(String login);",
"CustomerDTO getCustomerDetails(Long customerId,String userName) throws EOTException;",
"@Override\r\n\tpublic Customer getCustomer(String custId) {\r\n\t\tOptional<Customer> optionalCustomer = null;\r\n\t\tCustomer customer = null;\r\n\t\toptionalCustomer = customerRepository.findById(custId);\r\n\t\tif (optionalCustomer.isPresent()) {\r\n\t\t\tcustomer = optionalCustomer.get();\r\n\t\t\treturn customer;\r\n\t\t} else {\r\n\t\t\tthrow new EntityNotFoundException(\"Customer With Id \" + custId + \" does Not Exist.\");\r\n\t\t}\r\n\r\n\t}",
"@Override\n public String getCustomer() {\n return this.customerName;\n }",
"public static Customer getCustomer(int index)\n\t{\n\t\treturn customerList.get(customerSearch.get(index - 1));\n\t}",
"public void findByName() {\n String name = view.input(message_get_name);\n if (name != null){\n try{\n List<Customer> list = model.findByName(name);\n if(list!=null)\n if(list.isEmpty())\n view.showMessage(not_found_name);\n else\n view.showTable(list);\n else\n view.showMessage(not_found_error);\n }catch(Exception e){\n view.showMessage(incorrect_data_error);\n }\n } \n }",
"String getName() {\n\t\treturn customer.getName();\n\t}",
"@Override\n\tpublic String getName(){\n\t\treturn customer.getName();\n\t}",
"public String getCustomerName() {\r\n return name.getName();\r\n }",
"public Customer getCustomer(String cID, ArrayList<Customer> customers) throws NotFoundException\r\n\t{\t\r\n\t\tCustomer cust = null;\r\n\t\tfor(int i=0; i<customers.size(); i++)\r\n\t\t{\r\n\t\t\tif(customers.get(i).getcID().equals(cID))\r\n\t\t\t\tcust = customers.get(i);\r\n\t\t}\r\n\t\t\r\n\t\tif(cust == null)\r\n\t\t\tthrow new NotFoundException(cID);\r\n\t\t\r\n\t\treturn cust;\t\t\r\n\t}",
"public String getCustName() \r\n\t{\r\n\t\t\r\n\t\treturn custName;\r\n\t\t\r\n\t}",
"public List<Customer> findByName(String n) {\n\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n ResultSet rest = null;\n List<Customer> customers = new ArrayList<>();\n\n try {\n ppst = conn.prepareStatement(\"SELECT * FROM customer WHERE LOWER(name) LIKE LOWER(?)\");\n ppst.setString(1, \"%\" + n + \"%\");\n rest = ppst.executeQuery();\n\n while (rest.next()) {\n Customer c = new Customer(\n rest.getInt(\"customer_key\"),\n rest.getString(\"name\"),\n rest.getString(\"id\"),\n rest.getString(\"phone\")\n );\n customers.add(c);\n }\n } catch (SQLException e) {\n throw new RuntimeException(\"Query error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst, rest);\n }\n return customers;\n }",
"public String getCustomerName()\n\t{\n\t\treturn name;\n\t}",
"public ReturnCustomer getCustomer() {\n return (ReturnCustomer) get(\"customer\");\n }",
"Customer getCustomerByCustomerName(String code) throws CustomerCodeNotExistsException;",
"@Override\n\tpublic List<Customer> searchCustomerByName(String name) throws BusinessException {\n\t\treturn customerViewAllDAO.searchCustomerByName(name);\n\t}",
"static customer getCustomer(String uid) {\n return null;\n }",
"String getCustomerID();",
"public Customer getCustomer(String firstName, String lastName, String username, String password) {\n\t\tfor (Customer C : customerList) {\n\t\t\tif (C.getFirstname().equals(firstName) && C.getLastname().equals(lastName)\n\t\t\t\t\t&& C.getUsername().equals(username) && C.getPassword().equals(password))\n\t\t\t\treturn C;\n\t\t}\n\t\treturn null;\n\t}",
"public List<Customer> getCustomerByID() {\n Query query = em.createNamedQuery(\"Customer.findByCustomerId\")\r\n .setParameter(\"customerId\", custID);\r\n // return query result\r\n return query.getResultList();\r\n }",
"java.lang.String getCustomerId();",
"java.lang.String getCustomerId();",
"public static Customer getcustNum(String custNum){\n Customer customer = new Customer();\n\n // fill the Customer object with data\n customer.setcustNum(custNum);\n if (custNum.equals(\"1001\")) {\n customer.setfull_name(\"Barbara White\");\n customer.setaddress(\"3400 Richmond Parkway #3423\");\n customer.setcity(\"Bristol\");\n customer.setstate(\"CT\");\n customer.setpostalCode(\"06010\");\n }\n else if (custNum.equals(\"1002\")) {\n customer.setfull_name(\"Karl Vang\");\n customer.setaddress(\"327 Franklin Street\");\n customer.setcity(\"Edina\");\n customer.setstate(\"MN\");\n customer.setpostalCode(\"55435\");\n }\n\n else if (custNum.equals(\"1003\")) {\n customer.setfull_name(\"Ronda Chavan\");\n customer.setaddress(\"518 Commanche Dr.\");\n customer.setcity(\"Greensboro\");\n customer.setstate(\"NC\");\n customer.setpostalCode(\"27410\");\n }\n\n else {\n customer.setfull_name(\"Unknown\");\n }\n\n return customer;\n }",
"@Override\n\tpublic Customer retrieveCustomer(Integer id) {\n\n\t\tCustomer customer = new Customer();\n\n\t\tfor (Customer cust : customers) {\n\t\t\tif (cust.getId() == id) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcustomer.setUsername(cust.getUsername());\n\t\t\t\tcustomer.setFirstName(cust.getFirstName());\n\t\t\t\tcustomer.setLastName(cust.getLastName());\n\t\t\t\tcustomer.setEmail(cust.getEmail());\n\t\t\t\tcustomer.setUserType(cust.getUserType());\n\t\t\t\tcustomer.setPassword(cust.getPassword());\n\t\t\t\tcustomer.setAddress(cust.getAddress());\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"A GET call retrieved a customer: retrieveCustomer()\");\n\t\treturn customer;\n\t}",
"public Customer getSpecificCustomerById(String customerId){\n Customer specificCustomer = null;\n\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT CustomerId, FirstName, LastName, Country, PostalCode, Phone, Email FROM Customer WHERE CustomerId=?\");\n preparedStatement.setString(1, customerId);\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n specificCustomer = new Customer(\n set.getString(\"CustomerId\"),\n set.getString(\"FirstName\"),\n set.getString(\"LastName\"),\n set.getString(\"Country\"),\n set.getString(\"PostalCode\"),\n set.getString(\"Phone\"),\n set.getString(\"Email\")\n );\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return specificCustomer;\n }",
"@Override\n\tpublic CustomerData getCustomer(Long custId) {\n\t \n\t\tOptional<CustomerData> optionalCust = customerRepository.findById(custId);\n\t\t//Optional object use for check if a customer id is existing or not\n if(optionalCust.isPresent()) {\n return optionalCust.get(); //if customer id is exist then return a value\n }\n\t\treturn null;\n\t\t\n\t}",
"public String getCustomerName() \n {\n return customerName;\n }",
"public Customer getCustomers(int customerId) {\n for(Customer customer:customers){\n if(customer.getId() == customerId){\n return customer;\n }\n }\n return null;\n }",
"CustomerDTO getUserForProof(String name,CustomerDTO customerDTO) throws EOTException;",
"@Override\n\tpublic String getName() {\n\t\treturn customerName;\n\t}",
"public CustomerCompany findCustomerCompany(String name) \n\t{\n\t\tTypedQuery<CustomerCompany> query = \n\t\t\t\tthis.entityManager.createNamedQuery(\"CustomerCompany.findByName\", CustomerCompany.class);\n\t\t\n\t\tquery.setParameter(\"prName\", name);\n\t\treturn query.getSingleResult();\n\t}",
"public static Customer getCustomer(int _customerID) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"CustomerID= \"+_customerID);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"public Customer getCustomer(String customerID, DataPool allData){\r\n\t\t\r\n\t\tif (allData == null || customerID== null) \r\n\t\t\treturn null;\r\n\t\treturn treeData.get(customerID);\r\n\t\t\r\n\t}",
"public String getCustomersName()\r\n {\r\n return customersName;\r\n }",
"Customer findByUsername(String username);",
"com.google.cloud.channel.v1.Customer getCustomers(int index);",
"public void retrieveACustomerWithID(long id) {\r\n\t\tSystem.out.println(\"\\nCustomer with id \" + id);\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\ttx.begin();\r\n\t\tCustomer2 customer = em.find(Customer2.class, id);\r\n\t\tif(customer == null){\r\n\t\t\tSystem.out.println(\"\\nNo such customer with id: \" + id);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tSystem.out.println(customer);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}",
"String getCustomerLastName(String bookingRef);",
"public String getCustomerName()\n {\n return customerName;\n }",
"@Override\n\tpublic Customer getCustomer(long id) throws Exception {\n\t\tConnection con = pool.getConnection();\n\t\tCustomer customer = new Customer();\n\t\ttry {\n\t\t\tString getCustomer = String.format(\"select * from customer where id in('%d')\", id);\n\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(getCustomer);\n\n\t\t\tif (rs.next()) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcustomer.setCustName(rs.getString(\"Cust_Name\"));\n\t\t\t\tcustomer.setPassword(rs.getString(\"Password\"));\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.println(\"Customer \" + customer.getCustName() + \" ID: \" + customer.getId() + \" was retrived.\");\n\t\t\t} else {\n\t\t\t\tthrow new Exception(\"Customer with ID: \" + id + \" was not found in the DB.\");\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \" Could not retrieve data from DB.\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage() + \" Could not close connection\");\n\t\t\t}\n\t\t}\n\t\treturn customer;\n\t}",
"@SuppressWarnings(\"finally\")\n\tpublic Customer getCustomer(int cust_id) throws SQLException //final&complete IMPL\n\t{\n\t\tCustomer res=null;\n\t\t\n\t\ttry\n\t\t{\n\t\t\tConnection connection = openConnection();\n\t\t\tPreparedStatement queryStatement;\n\t\t\tResultSet queryResult;\n\t\t\t\n\t\t\tqueryStatement =connection.prepareStatement(\"select * from CUSTOMERS where customer_id=?;\");\n\t\t\tqueryStatement.setString(1, Integer.toString(cust_id));\n\t\t\tqueryResult = queryStatement.executeQuery();\n\t\t\t\n\t\t\tif(queryResult.next())\n\t\t\t{\n\t\t\t\tString cust_username=null, cust_password=null, user_email=null, user_PicURL=null;\n\t\t\t\tString cust_fname=null, cust_lname=null;\n\t\t\t\tboolean isCustomer = true;\n\t\t\t\t\n\t\t\t\tcust_fname = queryResult.getString(2);\n\t\t\t\tcust_lname = queryResult.getString(3);\n\t\t\t\tcust_username = queryResult.getString(4);\n\t\t\t\tcust_password = queryResult.getString(5);\n\t\t\t\tuser_email = queryResult.getString(6);\n\t\t\t\t\n\t\t\t\tres = new Customer((short)cust_id, cust_username, cust_password, cust_fname + cust_lname, user_email, user_PicURL, isCustomer, null, null);\n\t\t\t}\n\t\t}\t\n\t\tfinally\n\t\t{\n\t\t\tcloseConnection();\n\t\t\tif(res==null)\n\t\t\t\tthrow new SQLException(\"No customer user found for provided credantials!\");\n\t\t\telse\n\t\t\t\treturn res;\n\t\t}\n\t}",
"public void getCustomerNames() throws SQLException {\n ResultSet rs; \n Statement st = dbConnection.dbConnect().createStatement();\n String recordQuery = (\"Select * from customer\");\n rs = st.executeQuery(recordQuery);\n while(rs.next()){\n customers.getItems().add(rs.getString(\"customerName\"));\n }\n }",
"public JSONObject findCustomer(String email) {\n\t\tWebClient webClient = getWebClient();\n\n\t\tString response = webClient.accept(MediaType.APPLICATION_JSON)\n\t\t\t\t.path(\"get-by-filter\").query(\"email\", email).get(String.class);\n\t\ttry {\n\t\t\tJSONObject jsonObject = new JSONObject(response);\n\t\t\tjsonObject.getJSONObject(\"FindCustomerResponse\").getJSONObject(\n\t\t\t\t\t\"customerList\");\n\t\t\treturn jsonObject;\n\t\t} catch (JSONException e) {\n\t\t\tlogger.error(\"Error parsing JSONObject: \" + e.getMessage(), e);\n\t\t\tthrow new TechnicalException(e);\n\t\t}\n\t}",
"@Override\n\tpublic Customer findCustomerByUserName(String username) {\n\t\treturn (Customer) sessionFactory.getCurrentSession()\n\t\t\t\t.createCriteria(Customer.class)\n .add(Restrictions.eq(\"username\", username))\n .uniqueResult();\n\t}",
"public String getCustomer() {\n return customer;\n }",
"public void lookupCustomer(String customerId) {\r\n customer = transaction.getCustomerInfo(customerId);\r\n }",
"public Customer(String name) {\n this.name = name;\n }",
"public void llistaCustomerByName(String string) {\n\t\tSystem.out.println(\"\\nCustomers anomenats \" + string + \" :\");\n\t\t\n\t\tObjectSet<Customer> customers = db.query(new Predicate<Customer>() {\n\t\t\tpublic boolean match(Customer customer) {\n\t\t\t\treturn customer.getName().equalsIgnoreCase(string);\n\t\t\t}\n\t\t});\n\t\t\n\t\tcustomers.stream()\n\t\t\t.forEach(System.out::println);\n\t}",
"public org.tempuri.Customers getCustomer() {\r\n return customer;\r\n }",
"public String getCustomerName()\n\t{\n\t\treturn getColumn(OFF_CUSTOMER_NAME, LEN_CUSTOMER_NAME) ;\n\t}",
"public String getCustomerName() {\n return customerName;\n }",
"public String getCustomerName() {\n return customerName;\n }",
"public Customer getCustomer(String id) {\n\t\tString firstName = \"\";\n//\t\tString lastName = \"\";\n//\t\tString address = \"\";\n//\t\tString creditCard = \"\";\n//\t\tString phone = \"\";\n//\t\tArrayList<Order> orders = new ArrayList<>();\n\t\tConnection connection = DBConnect.getDatabaseConnection();\n\t\t\n\t\ttry {\n\t\t\tStatement selectStatement = connection.createStatement();\n\t\t\t\n\t\t\tString selectQuery = \"SELECT * from Customer where CustomerID='\" + id +\"'\";\n\t\t\tResultSet resultSet = selectStatement.executeQuery(selectQuery);\n\t\t\tresultSet.next();\n\t\t\t\n\t\t\tfirstName = resultSet.getString(\"FName\");\n//\t\t\tlastName = resultSet.getString(\"lastName\");\n//\t\t\taddress = resultSet.getString(\"lastName\"); //TODO update this code: Address has it's own table . access AddressDAO object (use attribute line 21) \n//\t\t\tcreditCard = resultSet.getString(\"creditCard\"); //TODO same as Address. (attribute line 22) \n\n//\t\t\torders = orderDAO.getAllOrders(); //TODO fix me (make sure function returns something).\n\t\t\t\n\t\t}catch(SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t}finally {\n\t\t\tif(connection != null) {\n\t\t\t\ttry {\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {}\n\t\t\t}\n\t\t}\n\t\t\n\t\tCustomer customer = new Customer();\n\t\tcustomer.setFirstName(firstName);\n//\t\tcustomer.setLastName(lastName);\n//\t\t//TODO customer.setAddress(address); update\n//\t\t//TODO customer.setCard(creditCard); update\n//\t\tcustomer.setOrders(orders);\n\t\t\n\t\treturn customer;\n\t}",
"public Customer(String name) {\n this.name=name;\n }",
"public String getCustName() {\n\t\treturn custName;\n\t}",
"public String getCustName() {\n\t\treturn custName;\n\t}",
"@Override\n\tpublic MstCustomerDto getOne(String kdCustomer) {\n\t\tMstCustomerDto mstCustomerDto=new MstCustomerDto();\n\t\tMstCustomer mstCustomer = new MstCustomer();\n\t\tmstCustomer=mstCustomerDao.getOne(kdCustomer);\n\t\tmstCustomerDto = mapperFacade.map(mstCustomer, MstCustomerDto.class);\n\t\t\n\t\treturn mstCustomerDto;\n\t}",
"public Customer readCustomer (String cat) {\r\n\t\tCustomer f = null;\r\n\t\ttry {\r\n\t\t\talert(\"Input name: \");\r\n\t\t\tScanner scan = new Scanner(System.in);\r\n\t\t\tString name = scan.next();\t\t\r\n\t\t\talert(\"Input customer code: \");\r\n\t\t\tint customerCode = Integer.parseInt(scan.next());\r\n\t\t\talert(\"Input phone: \");\r\n\t\t\tString phone = scan.next();\r\n\t\t\talert(\"Input street: \");\r\n\t\t\tString st = scan.next();\r\n\t\t\talert(\"Input number: \");\r\n\t\t\tString nu = scan.next();\r\n\t\t\talert(\"Input city: \");\r\n\t\t\tString ci = scan.next();\r\n\t\t\talert(\"Input zipcode: \");\r\n\t\t\tString zp = scan.next();\r\n \r\n //add the adress\r\n\t\t\tAddress ad = new Address(st, nu, ci, zp);\r\n \r\n\t\t\tf = new Customer(cat,name, customerCode, phone, ad);\r\n\t\t} catch (InputMismatchException e) {\r\n\t\t\tf = null;\r\n\t\t}\r\n\t\treturn f;\r\n\t}",
"@GetMapping(\"/order/customer\")\r\n\tprivate ResponseEntity<Object> findByCustomername(@RequestParam(value =\"customername\") String customername) \r\n\t{\r\n\t\tOrderDetailsResponse response = new OrderDetailsResponse();\r\n\t\tList<OrderDetailsRequest> ordersDetails = new ArrayList<OrderDetailsRequest>();\r\n\t\tif(customername == null || customername.isEmpty()) {\r\n\t\t\tresponse.setMessage(\"FAILED : customername can not be empty\");\r\n\t\t\tresponse.setStatus((long) 400);\r\n\t\t\treturn new ResponseEntity<Object>(response, HttpStatus.OK);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif(orderService.findByCustomername(customername).size() == 0) {\r\n\t\t\t\tlogger.error(\"No order found for the given customer::\" +customername);\r\n\t\t\t\tthrow new OrderNotFoundException();\r\n\t\t\t}\r\n\t\t\tList<OrderDetails> orderDetails = orderService.findByCustomername(customername);\r\n\t\t\tfor(OrderDetails o : orderDetails) {\r\n\t\t\t\tOrderDetailsRequest details = new OrderDetailsRequest();\r\n\t\t\t\tconstructResponseData(o,details);\r\n\t\t\t\tList<OrderItemDetails> items = restClientService.findByOrderid( o.getId());\r\n\t\t\t\tdetails.setProductDetails(items);\r\n\t\t\t\tordersDetails.add(details);\r\n\t\t\t}\r\n\t\t\tresponse.setMessage(\"SUCCESS\");\r\n\t\t\tresponse.setStatus((long) 200);\r\n\t\t\tresponse.setOrders(ordersDetails);\r\n\t\t\treturn new ResponseEntity<Object>(response, HttpStatus.OK);\r\n\t\t}\r\n\t}",
"public Customer displayCustomer(int cid);",
"public static ArrayList<CustomerBean> getCutomerByName(\r\n\t\t\tString customerFirstName) {\r\n\t\tCustomerBean bean = null;\r\n\t\tArrayList<CustomerBean> list = new ArrayList<CustomerBean>();\r\n\t\tint customerId, familyMember;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, customer_district, customer_family_size, customer_phone,customer_monthly_income, customer_family_income, customer_payment_type, customr_image, created_on FROM customer Where user_name = ?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setString(1, customerFirstName);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tfamilyMember = rs.getInt(6);\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\t\t\t\trs.getString(10);\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setFamilyMember(familyMember);\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t\tlist.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tlogger.error(\"\", ex);\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn list;\r\n\t}",
"public String getCustomer_Name() {\n return customer_Name;\n }",
"public Customer getCustomer(int id) {\r\n\t\treturn manager.getCustomer(id);\r\n\t}",
"public Customer retrieveCustomerByEmail(String email) throws CustomerNotFoundException;",
"public String getCustomerName(){\n return customerName;\n }",
"public Customer getCustomer(int phone)\n\t{\n\t\treturn CustomerContainer.getInstance().getCustomer(phone);\n\t}",
"public static Customer getCustomer(String _email) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"Email= \"+_email);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"Customer findById(Long id);",
"@Override\n public Customer getCustomer(Long userId) {\n Optional<Customer> customer = customerDao.getCustomer(userId);\n if (!customer.isPresent()) {\n logger.error(\"Customer with this id {} doesn't exist\", userId);\n }\n return customer.orElseThrow(ResourceNotFoundException::new);\n }",
"List<Customer> getCustomers();",
"@GetMapping(\"/customers/{customer_id}\")\n\tpublic Customer getcustomer(@PathVariable(\"customer_id\") int customerid) {\n\t\tCustomer thecustomer=thecustomerService.getCustomer(customerid);\n\t\tif(thecustomer==null) {\n\t\t\tthrow new CustomerNotFoundException(\"Customer with id : \"+customerid+\" not found\");\n\t\t}\n\t\t\n\t\treturn thecustomer;\n\t}",
"@RequestMapping(value = \"/v2/customers\", method = RequestMethod.GET)\r\n\tpublic List<Customer> customers() {\r\n JPAQuery<?> query = new JPAQuery<Void>(em);\r\n QCustomer qcustomer = QCustomer.customer;\r\n List<Customer> customers = (List<Customer>) query.from(qcustomer).fetch();\r\n // Employee oneEmp = employees.get(0);\r\n\t\treturn customers;\r\n }",
"public List<String> getCustomers(String p){\n\t\tif( containsProduct(p)){\n\t\t\tList<String> custlist = new ArrayList<String>();\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tif(hasProduct(list.get(i).getUsername(), p)){\n\t\t\t\t\tcustlist.add(list.get(i).getUsername());\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn custlist;\n\t\t}\n\t\treturn null;\n\t}",
"public static CustomerBean getCutomerByName(String customerFirstName,\r\n\t\t\tString customerLastName) {\r\n\t\tCustomerBean bean = null;\r\n\t\tint customerId, familyMember;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, customer_district, customer_family_size, customer_phone,customer_monthly_income, customer_family_income, customer_payment_type, customr_image, created_on FROM customer Where first_name = ? And last_name=?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setString(1, customerFirstName);\r\n\t\t\tstmt.setString(2, customerLastName);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tfamilyMember = rs.getInt(6);\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\t\t\t\trs.getString(10);\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setFamilyMember(familyMember);\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t}\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tlogger.error(\"\", ex);\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn bean;\r\n\t}",
"List<Customer> getCustomerList();",
"@Override\n\tpublic Customer getCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t//now retrieve/read from database using the primary key or id..\n\t\tCustomer theCustomer = currentSession.get(Customer.class,theId);\n\n\t\treturn theCustomer;\n\t}",
"Optional<String> findCustomerNameById(@Param(\"id\") Integer id);",
"public void getCustomerID (){\n\t\t//gets the selected row \n\t\tint selectedRowIndex = listOfAccounts.getSelectedRow();\n\t\t//gets the value of the first element of the row which is the \n\t\t//customerID\n\t\tcustomerID = (String) listOfAccounts.getModel().getValueAt(selectedRowIndex, 0);\n\t\tcustomerName = (String) listOfAccounts.getModel().getValueAt(selectedRowIndex, 1);\n\t}",
"public static Customer find(String key) throws NotFoundException\r\n\t{\n\t\taCustomer = null;\r\n\t\t// define the SQL query statement using the phone number key\r\n\t\tString sqlQuery = \"SELECT CustomerName, Address, PhoneNo, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\" StateRegistrationNo, BoatLength, \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\" Manufacturer, Year\" +\r\n\t\t\t\t\t\t\t\t\t\t\t\" FROM CustomerTable, BoatTable \" +\r\n\t\t\t\t\t\t\t\t\t\t\t\" WHERE PhoneNo = CustomerPhoneNo\" +\r\n\t\t\t\t\t\t\t\t\t\t\t\" AND PhoneNo = '\" + key +\"'\" ;\r\n\r\n\t \t// execute the SQL query statement\r\n\t\ttry\r\n \t\t{\r\n\t \tResultSet rs = aStatement.executeQuery(sqlQuery);\r\n\t\t\t// next method sets cursor & returns true if there is data\r\n\t\t\tboolean gotIt = rs.next();\r\n\t \tif (gotIt)\r\n\t \t\t{\t// extract the data\r\n\t\t\t\t\tname = rs.getString(1);\r\n\t\t\t\t\taddress = rs.getString(2);\r\n\t\t\t\t\tphoneNumber = rs.getString(3);\r\n\t\t\t\t\tstateRegistrationNo = rs.getString(4);\r\n \t\t\t\t\tlength = rs.getDouble(5);\r\n\t\t\t\t\tmanufacturer = rs.getString(6);\r\n\t\t\t\t\tyear = rs.getInt(7);\r\n\r\n\t\t\t\t\t// create Customer & Boat instance\r\n\t\t\t\t\taCustomer = new Customer(name, address, phoneNumber);\r\n\t\t\t\t\taBoat = new Boat(stateRegistrationNo, length, manufacturer, year);\r\n\t\t\t\t\taBoat.assignBoatToCustomer(aCustomer);\r\n\t\t\t\t}\r\n\t\t\telse\t// nothing was retrieved\r\n\t\t\t\t{throw (new NotFoundException(\"not found \"));}\r\n\t\t\trs.close();\r\n\t \t}\r\n\t\tcatch (SQLException e)\r\n\t\t{ System.out.println(e);}\r\n\t\treturn aCustomer;\r\n\t}",
"@Override\n\tpublic Customer getCustomer(Integer id) {\n\t\treturn customerDao.findById(id);\n\t}",
"public CustomerProfile getCustomerProfile();",
"@Override\n\tpublic Customer getCustomer(int customerId) {\n\t\tSession session=sessionFactory.getCurrentSession();\n\t\ttry {\n\t\t\t\n\t\t\tCustomer customer =session.get(Customer.class, customerId);\n\t\t return customer;\t\t\t\n\t\t}\n\t\tcatch(HibernateException exception){\n\t\t\texception.printStackTrace();\n\t\t}\n\t\treturn null;\n\t\t\n\t}"
]
| [
"0.87000996",
"0.80955863",
"0.78619546",
"0.7674253",
"0.74419475",
"0.736085",
"0.7278353",
"0.7272053",
"0.72381485",
"0.7214077",
"0.7210115",
"0.7093415",
"0.7064118",
"0.7021315",
"0.6956738",
"0.6940565",
"0.6932824",
"0.69016814",
"0.687631",
"0.6861234",
"0.683884",
"0.68344176",
"0.68248147",
"0.68244714",
"0.68219584",
"0.68106353",
"0.68038875",
"0.68002963",
"0.6791299",
"0.6775589",
"0.6755684",
"0.67543215",
"0.67502165",
"0.67464036",
"0.673536",
"0.6730102",
"0.66845",
"0.6666421",
"0.6655428",
"0.6644718",
"0.6644718",
"0.66351867",
"0.6634322",
"0.66244406",
"0.6622568",
"0.66221434",
"0.662004",
"0.6615743",
"0.66107637",
"0.65860295",
"0.6577857",
"0.6574031",
"0.65736336",
"0.65731657",
"0.65718836",
"0.6571158",
"0.6570404",
"0.65694433",
"0.65496653",
"0.6540929",
"0.6528266",
"0.6528199",
"0.6523865",
"0.65220803",
"0.651641",
"0.6510752",
"0.6500507",
"0.64998585",
"0.64959896",
"0.64728904",
"0.64728904",
"0.6470003",
"0.6465408",
"0.6455827",
"0.6455827",
"0.64539295",
"0.6453067",
"0.64498174",
"0.64481837",
"0.64405656",
"0.6436805",
"0.64365995",
"0.6427871",
"0.6422785",
"0.6412752",
"0.6397996",
"0.63947827",
"0.6392982",
"0.63899714",
"0.63898873",
"0.6384898",
"0.6382213",
"0.6380582",
"0.63706946",
"0.6348196",
"0.6344194",
"0.6337608",
"0.6322356",
"0.6317631",
"0.6316642",
"0.6307355"
]
| 0.0 | -1 |
function that active customers | @GET
@Path("getcustomerbystatus")
public List<Customer> getAllCustomerByStatus(@QueryParam("active") boolean active) {
if (active) {
return ManagerHelper.getCustomerManager().getActiveCustomer();
} else {
return ManagerHelper.getCustomerManager().getAllCustomerByStatus();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasCustomer();",
"boolean hasCustomer();",
"public void listAllCustomers () {\r\n\t\t\r\n customersList = my.resturnCustomers();\r\n\t\t\r\n\t}",
"public List<Order> p1_getActiveOrders(Customer customer) {\t\n\t\t//return customer.getOrders().stream().collect(toList()); // INITIAL\n\t\t// SOLUTION(\n\t\treturn customer.getOrders().stream()\n\t\t\t\t.filter(order -> order.isActive())\n\t\t\t\t.collect(toList());\n\t\t// SOLUTION)\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_onInActive() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,a.appliance_status, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE a.appliance_status=0\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"boolean hasCustomerUserAccess();",
"boolean hasCustomerClient();",
"public static ArrayList<CustomerInfoBean> getCutomers_onLoan(int active) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tString querycon = null;\r\n\t\tif (active == 1) {\r\n\t\t\tquerycon = \" and cs.status=1 \";\r\n\t\t} else {\r\n\t\t\tquerycon = \"\";\r\n\t\t}\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE sld.payement_option=1\"\r\n\t\t\t\t\t+ querycon;\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public static void CreateCustomer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n public JSONObject viewCustomerByFnExecutive(String username) {\n\n return in_salescustdao.viewSLCustomerByFnExecutor(username);\n }",
"@RequestMapping(\"/myCustomers/{id}\")\n\tpublic String myCustomers(@PathVariable(\"id\") int id, Model m, Principal princpl) {\n\t\t\n\t\tAgentModel agentById = this.servimple.getAgentModelById(id);\n\t\tif(agentById.getPosition().equals(\"Active\")) {\n\t\t\t\n\t\tCustomerModel[] allCustomer = this.servimple.customerByAgent(id);\n\t\tterget = \"Customer Details\";\n\t\tm.addAttribute(\"mycustomr\", allCustomer);\n\t\tm.addAttribute(\"terget\", terget);\n\t\treturn \"Agent/CustomerByAgent\";\n\t\t}\n\t\t\n\t\telse {\n\t\t\tm.addAttribute(\"sorry\", \"Sorry! Your Id is Deactivated. To activate your id Plz Contact to Admin.\");\n\t\t\treturn \"Agent/agentPanel\";\n\t\t}\n\t\t\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_onActive(int onloan,\r\n\t\t\tint oncash) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tSystem.out.println(\"Onloan \" + onloan + \" oncsah \" + oncash);\r\n\t\t// if(onloan==0 && oncash==0){querycon=\"\";}\r\n\t\t//\r\n\t\t// if(onloan==1){querycon=\"and sld.payement_option=1\";}\r\n\t\t// else if (oncash==1){querycon=\"and sld.payement_option=0\";} else\r\n\t\t// {querycon=\"\";}\r\n\t\t// // if((onloan==1) && (oncash==1)){querycon=\"and sld.payement_option=0\r\n\t\t// or sld.payement_option=1\";} else {querycon=\"\";}\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,sld.payement_option, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE a.appliance_status=1;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tSystem.out.print(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public void listCustomers() {\r\n\t\tSystem.out.println(store.listCustomers());\r\n\t}",
"@RequestMapping(\"activate/{id}\")\n\tpublic String activate(@PathVariable(\"id\") String id) {\n\t\tCustomer user = customerService.get(id);\n\t\tuser.setActivated(true);\n\t\tcustomerService.update(user);\n\t\treturn \"redirect:/account/login.php\";\n\t}",
"private void getCustomer() {\n final LoginGet loginget = new LoginGet();\n loginget.setLoginGetListener(new LoginGetListener() {\n\n @Override\n public void getMember(ArrayList<Customer> list) {\n\n }\n\n @Override\n public void getCustomer(ArrayList<Customer> list) {\n customerList = new ArrayList<Customer>();\n customerList.addAll(list);\n if (customerList.size() > 0) {\n defaultPage.setVisibility(View.GONE);\n ll.setVisibility(View.VISIBLE);\n myNewCustomersAdapter = new MyNewCustomersAdapter(\n NewFriendsActivity.this, customerList);\n listView.setAdapter(myNewCustomersAdapter);\n } else {\n tv2.setText(\"You haven't friends for a long time\");\n }\n\n }\n });\n loginget.CustomerRequest(NewFriendsActivity.this);\n\n }",
"public Customer displayCustomer(int cid);",
"Boolean accountIsActivated(Integer userId);",
"@Override\n public void showCustomerDetails() {\n System.out.println(customerLoggedIn);\n }",
"public String getCustomer(String custId);",
"@Override\n\tpublic void viewCustomers(Session session){\n\t\ttry{\n\t\t\tSystem.out.print(\"*----*****-------List of Customers-------*****----*\\n\");\n\t\t\t\n\t\t\t//pass these input items to client controller\n\t\t\tviewCustomers=mvc.viewCustomers(session);\n\n\t\t\tSystem.out.println(\"CustomerId\"+\" \"+\"UserName\");\n\t\t\tfor(int i = 0; i < viewCustomers.size(); i++) {\n\t System.out.println(viewCustomers.get(i)+\"\\t\"+\"\\t\");\n\t }\n\t System.out.println(\"<------------------------------------------------>\");\n\t\t\t//System.out.println(viewCustomers);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"Online Market App- Remove Customer Exception: \" +e.getMessage());\n\t\t}\n\t}",
"public void addFlag(Customer c){\n }",
"public void listCustomers() {\n\t\tSystem.out.println(\"\\nCustomers llegits desde la base de dades\");\n\n\t\tObjectSet<Customer> customers = db.query(Customer.class);\n\t\tcustomers.stream()\n\t\t\t.forEach(System.out::println);\n\n\t}",
"Customer getCustomer();",
"public boolean customerInElevator(Customer cust);",
"public boolean updateCustomer() {\n\t\treturn false;\r\n\t}",
"boolean activateAccount(Integer userId);",
"boolean hasCustomerUserAccessInvitation();",
"@Override\n\tpublic int countCustomers() {\n\t\treturn 0;\n\t}",
"@RequestMapping(value = \"/v2/customers\", method = RequestMethod.GET)\r\n\tpublic List<Customer> customers() {\r\n JPAQuery<?> query = new JPAQuery<Void>(em);\r\n QCustomer qcustomer = QCustomer.customer;\r\n List<Customer> customers = (List<Customer>) query.from(qcustomer).fetch();\r\n // Employee oneEmp = employees.get(0);\r\n\t\treturn customers;\r\n }",
"int getCustomersCount();",
"@GetMapping(\"/verify/{custId}\")\n\tpublic String customerEnable(@PathVariable Integer custId) {\n\t\tCustomer cust = customerService.getCustomer(custId);\n\t\tcust.setAdminEnabled(true);\n\t\tcustomerRepository.save(cust);\n\t\tSimpleMailMessage mailMessage = new SimpleMailMessage();\n\t\tmailMessage.setTo(cust.getCustomerEmail());\n\t\tmailMessage.setSubject(\"Account Activated\");\n\t\tmailMessage.setFrom(\"balumathi333.com\");\n\t\tmailMessage.setText(\"Welcome \" + cust.getCustomerName() + \"!!!!\" + \"\\nAccount Activated...\");\n\t\temailSenderService.sendEmail(mailMessage);\n\t\treturn \"redirect:/verifycustomer\";\n\t}",
"public boolean hasCustomer() {\n return customer_ != null;\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_Accepted() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id WHERE e.status=1 or e.status=6;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@Override\n public JSONObject viewSLCustomersByAdmin() {\n\n return in_salescustdao.viewSLCustomerByAdmin();\n }",
"boolean hasCustomerClientLink();",
"public void active(CallerContext cc)\n {\n }",
"@Override\n\tpublic void updateCustomerStatus() {\n\t\tfor(int i=0;i<customersInLine.size();i++) {\n\t\t\tif((customersInLine.get(i).getArrival() + customersInLine.get(i).getPatience()) <= this.getCurrentTurn()) {\n\t\t\t\tcustomersInLine.remove(i);\n\t\t\t\tcustomersInRestaurant--;\n\t\t\t\tunsatisfiedCustomers++;\n\t\t\t\ti=-1;\n\t\t\t}\n\t\t}\n\t}",
"public void listAllCustomers() {\n List<Customer> list = model.findAllCustomers();\n if(list != null){\n if(list.isEmpty())\n view.showMessage(not_found_error);\n else\n view.showTable(list);\n }\n else\n view.showMessage(retrieving_data_error); \n }",
"@Transactional\n\tpublic List<Customer> getCustomers() {\n\t\t\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t\t\t// create a query ... sort by last name\n\t\t\t\tQuery<Customer> theQuery = currentSession.createQuery(\"from Customer order by lastName\", Customer.class);\n\n\t\t\t\t// execute query and get result list\n\t\t\t\tList<Customer> customers = theQuery.getResultList();\n\n\t\t\t\t// return the results\n\t\t\t\treturn customers;\n\t}",
"@Override\n\tpublic List<Customer> retrieveAllCustomers() {\n\t\tlogger.info(\"A GET call retrieved all customers: retrieveAllCustomers()\");\n\t\treturn customers;\n\t}",
"void openAccount(String name, String address, String cnic, int contact_no, int age, String email_address,\r\n int noOfAccounts, String incomeSource, String AccountType, String securityquestion) {\n\r\n if (bankPolicy.isEligibilityCriteriaFulfilled(age)) {// is customer eligible\r\n System.out.println(\"Criteria fulfilled\");\r\n\r\n boolean newCustomer = isItANewCustomer(cnic);\r\n\r\n if (newCustomer) {// is customer new\r\n Customer C = new Customer(Integer.toString(customers.size() + 1), cnic, name, address, contact_no,\r\n email_address, incomeSource, securityquestion);\r\n // Print and ASK FOR SECURITY QUESTION\r\n System.out.println(\"Its a new Customer\");\r\n System.out.println(\"Password: \" + C.credentials.password);\r\n // add customer to arraylist\r\n customers.add(C);\r\n // save new customer to database\r\n record.SaveCustomer(C);\r\n // save customer credentials to database\r\n record.SaveCredentials(C.credentials, C.customerID);\r\n\r\n }\r\n int index = -1;\r\n for (int i = 0; i < customers.size(); i++) {\r\n if (customers.get(i).CNIC.equals(cnic))\r\n index = i;\r\n }\r\n\r\n Account A = new Account(String.valueOf(accounts.size() + 1), getDateFormat(), AccountType,\r\n \"Pending\", customers.get(index).customerID);\r\n // add account to customer\r\n accounts.add(A);\r\n customers.get(index).customerAccount.add(A);\r\n // save account to database\r\n record.SaveAccount(A);\r\n }\r\n\r\n }",
"@Test\n\tpublic void addCustest() {\n\t\tbc.addCustomer(\"wgl\", myDate, \"Beijing\");\n\t\tint flag = 0;\n\t\tfor(Customer cus : bc.cusList){\n\t\t\tif(cus.getName().equals(\"wgl\")){\n\t\t\t\tflag = 1;\n\t\t\t}\n\t\t}\n\t\tassertEquals(1, flag);\n\t}",
"public List<CustomerRequest> getCurrentRequests();",
"@Override\n public JSONObject viewSLCustomerByExecuticeID(String username) {\n\n return in_salescustdao.viewSLCustomerByExecutiveID(username);\n }",
"public boolean enterCustomer(String username) {\n\n\n Accounts a = accountsRepo.checkByUsernameCustomer(username);\n return a != null;\n }",
"@Action(value = \"user_active\", results = {@Result(name = \"active\", location = \"/WEB-INF/jsp/msg.jsp\")})\n public String active() {\n\n User exsitUser = userService.active(user.getCode());\n\n if (exsitUser == null) {\n\n this.addActionMessage(\"激活失败,验证码无效!\");\n\n } else {\n\n exsitUser.setState(1);\n exsitUser.setCode(null);\n userService.updateState(exsitUser);\n this.addActionMessage(\"激活成功,请登录!\");\n }\n\n return \"active\";\n }",
"public int getTotalCustomers()\n {\n return totalCustomers;\n }",
"public int Customers()\r\n\t{\r\n\t\treturn customers.size();\r\n\t}",
"String getCustomerID();",
"io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();",
"List<Customer> getCustomers();",
"public boolean isCustomerLoggedIn()\r\n {\r\n return customerLoggedIn;\r\n }",
"@Override\n public JSONObject viewSLCustomerListByFnManager(String username) {\n\n return in_salescustdao.viewSLCustomerByFnManager(username);\n }",
"@GetMapping(\"/customers\")\n\tpublic ResponseEntity<Object> getAllCustomers(HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tList<Customer> c = cService.findAll();;\n\t\t\tMappingJacksonValue mappedCustomers = new MappingJacksonValue(c);\n\t\t\tmappedCustomers.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.filterOutAllExcept(\"id\", \"email\", \"name\")));\n\t\t\treturn new ResponseEntity<>(mappedCustomers, HttpStatus.OK);\n\t\t}\n\t}",
"@Override\n\tpublic List<Customer> getCustomerList() {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tQuery query=session.createQuery(\"Select c from Customer c\");\n\t\tList<Customer> list=(List<Customer>)query.getResultList();\n\t\t/*\n\t\t * Customer customer = (Customer)session.load(Customer.class,customerId);\n\t\t * */\n\t\treturn list;\n\t}",
"@GetMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Object> getCustomerDetailed(@PathVariable(\"id\") Integer id, HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tCustomer cus = cService.findById(id);\n\t\t\tif(cus == null) return new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t\tMappingJacksonValue mappedCustomer = new MappingJacksonValue(cus);\n\t\t\tmappedCustomer.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.serializeAll()));\n\t\t\treturn new ResponseEntity<>(mappedCustomer, HttpStatus.OK);\n\t\t}\n\t}",
"List<Customer> getCustomerList();",
"public void actionPerformed(ActionEvent e){\n\t\t\tif(customers.size() >= 1){\n\t\t\t\t\ttry{\n\t\t\t\t\t\tfor(Customer customer: customers){\n\t\t\t\t\t\tif(customer.getCustId() == Integer.parseInt(custIdCombo.getSelectedItem().toString())){\n\t\t\t\t\t\t\tcustJTextArea.setText(\" Customer Id: \"+customer.getCustId()\n\t\t\t\t\t\t\t\t\t+\"\\n Name: \"+customer.getCustName()\n\t\t\t\t\t\t\t\t\t+\"\\n Address: \"+customer.getCustAddress()\n\t\t\t\t\t\t\t\t\t+\"\\n Email: \"+customer.getCustEmail()\n\t\t\t\t\t\t\t\t\t+\"\\n Phone: \"+customer.getCustTelephone());\n\t\t\t\t\t\t\tcustIdCombo.setSelectedIndex(0);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}catch(NumberFormatException nfe){\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please Select a Valid Customer.\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"No Customers Found\");\n\t\t\t\t}\n\t\t\t}",
"public static ArrayList<CustomerInfoBean> getDoCutomers_inactive(\r\n\t\t\tint districtId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE cd.district_id=\"\r\n\t\t\t\t\t+ districtId\r\n\t\t\t\t\t+ \" AND a.appliance_status =0 GROUP BY cs.customer_id\\n\";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public ArrayList<Customer> getAllCustomers();",
"public List<Customer> getCustomerList() {\n return new ArrayList<Customer>(customersList);\n }",
"public Object getAllCustomers(HttpServletRequest req);",
"public String getCustomersName()\r\n {\r\n return customersName;\r\n }",
"@Override\n\tpublic boolean deviceHasActiveCoupons(String deviceUUID) throws ASException {\n\t\tDeviceInfo di = deviceInfoDao.get(deviceUUID, true);\n\t\tif(StringUtils.hasText(di.getUserId())) {\n\t\t\tDate now = new Date();\n\t\t\tList<Integer> redeemStatus = Arrays.asList(new Integer[] {CampaignActivity.REDEEM_STATUS_DELIVERED, CampaignActivity.REDEEM_STATUS_ACCEPTED});\n\t\t\tList<CampaignActivity> list = caDao.getUsingUserAndRedeemStatusAndRange(di.getUserId(), redeemStatus, null, null);\n\t\t\tfor( CampaignActivity obj : list ) {\n\t\t\t\tif( obj.getLimitDateTime().after(now)) return true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}",
"public void customerQuery(){\n }",
"public String allCustomers(){\n String outputString = \"Customer accounts:\"+\"\\n\";\n for(Customer record : bank.getName2CustomersMapping().values()){\n outputString += record.getFullName()+\" \"+record.getAccounts().toString()+\"\\n\";\n }\n return outputString;\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_onCash() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,sld.payement_option, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+\r\n\r\n\t\t\t\t\t\" WHERE sld.payement_option=0\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public ArrayList<Customer> getCustomerList() {\n\t\treturn customerList;\n\t}",
"void getTotalNumerCustomer();",
"public CustomerProfile getCustomerProfile();",
"public int getNumOfCustomers() {\n return this.numOfCustomers;\n }",
"public com.huawei.www.bme.cbsinterface.cbs.businessmgr.IndividualCustomer getCustomer() {\r\n return customer;\r\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_onWait() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE e.status=0;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@Override\n public boolean allottedExecutiveToCustomer(SalesCustomerBean slc, long id) {\n String fnexecutive = slc.getFnexecutive();\n\n return in_salescustdao.allottingExecutiveToCustomer(id, fnexecutive);\n }",
"public String viewCustomerAttribute() throws Exception {\n\t\tactionStartTime = new Date();\n\t\tif (promotionId != null && promotionId != 0) {\n\t\t\ttry {\n\t\t\t\tlstPromotionCustAttrVO = promotionProgramMgr.getListPromotionCustAttrVOCanBeSet(null, promotionId);\n\t\t\t\t//listPromotionCustAttrVOAlreadySet = promotionProgramMgr.getListPromotionCustAttrVOAlreadySet(null, promotionId);\n\t\t\t} catch (Exception ex) {\n\t\t\t\tLogUtility.logErrorStandard(ex, R.getResource(\"web.log.message.error\", \"vnm.web.action.program.PromotionCatalogAction.viewCustomerAttribute\"), createLogErrorStandard(actionStartTime));\n\t\t\t\terrMsg = ValidateUtil.getErrorMsg(ConstantManager.ERR_SYSTEM);\n\t\t\t\tresult.put(\"errMsg\", errMsg);\n\t\t\t\tisError = true;\n\t\t\t\tresult.put(ERROR, isError);\n\t\t\t}\n\t\t}\n\t\treturn SUCCESS;\n\t}",
"public PreferredCustomer() \n\t{\n\t\tsuper();\n\t\tcustomerPurchase = 0; \n\t}",
"public void showCustomers() {\r\n List<String> customerList = new ArrayList<>();\r\n for (int i = 0; i < customersTable.getItems().size(); i++) {\r\n Customer customer = customersTable.getItems().get(i);\r\n LocalDate date = LocalDate.parse(customer.getDate());\r\n if (date.plusMonths(1).isBefore(LocalDate.now())) {\r\n customerList.add(customer.getFirstName() + \" \" + customer.getLastName());\r\n }\r\n }\r\n String message = \"\";\r\n for (String customer : customerList) {\r\n message += customer + \"\\n\";\r\n }\r\n if (message.equals(\"\")) {\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"The following customers need to be contacted this week\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(\"No customers to be contacted today\");\r\n alert.showAndWait();\r\n } else {\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"The following customers need to be contacted this week\");\r\n alert.setHeaderText(null);\r\n alert.setContentText(message);\r\n alert.showAndWait();\r\n }\r\n }",
"@GetMapping(\"/customers\")\r\n\tprivate List<Customer> getAllCustomers() {\r\n\t\treturn customerService.getAllCustomers();\r\n\t}",
"public boolean activate(){\n mIsActive = true;\n return mIsActive;\n }",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic List<String> getCustomerActiveSet() {\r\n\t\treturn (List<String>)getHibernateTemplate().find(\"SELECT DISTINCT customerName FROM CardIssue WHERE status='Active'\");\r\n\t}",
"@Override\n public JSONObject viewCustomerById(long id) {\n\n return in_salescustdao.viewSLCustomerByID(id);\n }",
"@Override\n public List<Account> listAccounts() {\n currentCustomer.findAndUpdateAccounts();\n // return list of accounts the customer owns\n return currentCustomer.getAccounts();\n }",
"public List<Customer> getCustomers() {\n\t\treturn customers;\n\t}",
"@Override\n\t@Transactional\n\tpublic List<Customer> getCustomers() {\n\t\treturn customerDAO.getCustomers();\n\t\t\n\t}",
"private void addCheckCustomerButtonFunction() {\n\t\tcheckCustomerButton.addActionListener(new ActionListener() {\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tGUICheckCustomer check = new GUICheckCustomer();\n\t\t\t\tcloseFrame();\n\t\t\t}\t\t\n\t\t});\n\t}",
"public List<Customer> getCustomerByID() {\n Query query = em.createNamedQuery(\"Customer.findByCustomerId\")\r\n .setParameter(\"customerId\", custID);\r\n // return query result\r\n return query.getResultList();\r\n }",
"public List<CustomerModel> getCustomers();",
"public Customer getCurrentCustomer() {\n\t\treturn currentCustomer;\n\t}",
"public Customer getCurrentCustomer() {\n\t\treturn currentCustomer;\n\t}",
"boolean isActive();",
"boolean isActive();",
"boolean isActive();",
"static void addCustomer(customer customer) {\n\n }",
"public String getCustomerid() {\n return customerid;\n }",
"protected boolean containsCustomer() {\n return customer.getOptional().isPresent();\n }",
"@Override\n\tpublic List<Customer> listCustomers() {\n\t\treturn null;\n\t}",
"Activite getActiviteCourante();",
"protected String getCustomerID() {\n\t\treturn this.clientUI.getCustomerID();\n\t}",
"public ResultSet getCustomerInfo() throws IllegalStateException{\n\t \n if(!isLoggedIn())\n throw new IllegalStateException(\"MUST BE LOGGED IN FIRST!\");\n try{\n \t stmt = con.createStatement();\n String queryString = \"Select username,fname,lname,emailad,phoneno,sumofratings,noofratings,password FROM CUSTOMER where\"\n \t\t+ \" id='\" + this.id +\"'\";\n result = stmt.executeQuery(queryString);\n } \n catch (Exception E) {\n \t E.printStackTrace();\n }\n return result;\n \t}",
"Customer getCustomer() {\n\t\treturn customer;\n\t}"
]
| [
"0.6648233",
"0.6648233",
"0.6489319",
"0.6488193",
"0.6454383",
"0.64505947",
"0.6343746",
"0.62005717",
"0.61855066",
"0.61582416",
"0.6156566",
"0.61364263",
"0.6135897",
"0.60762113",
"0.6056387",
"0.6028595",
"0.5995743",
"0.59517574",
"0.5859004",
"0.5831494",
"0.58114713",
"0.5791586",
"0.5786039",
"0.5782733",
"0.57823217",
"0.5770941",
"0.5761305",
"0.5746548",
"0.5745193",
"0.5740623",
"0.573859",
"0.57254505",
"0.5725259",
"0.5720267",
"0.5719243",
"0.5713725",
"0.5713091",
"0.5693983",
"0.5689465",
"0.5683548",
"0.5667725",
"0.5665997",
"0.5655941",
"0.56518734",
"0.5648193",
"0.56438506",
"0.56385744",
"0.56358224",
"0.5630449",
"0.56254107",
"0.5621784",
"0.5621618",
"0.5618404",
"0.5617342",
"0.56140053",
"0.5607636",
"0.55977625",
"0.55859786",
"0.55820185",
"0.5579292",
"0.5575363",
"0.5567706",
"0.5562026",
"0.5557323",
"0.55514777",
"0.554957",
"0.5545967",
"0.55440724",
"0.55418104",
"0.5539056",
"0.55330265",
"0.5532467",
"0.5530485",
"0.55280066",
"0.5516776",
"0.5515405",
"0.55137116",
"0.55130076",
"0.5509291",
"0.550874",
"0.5506851",
"0.5503193",
"0.55018944",
"0.55000097",
"0.54966825",
"0.549621",
"0.5494361",
"0.5492974",
"0.5492974",
"0.54899794",
"0.54899794",
"0.54899794",
"0.5486661",
"0.548516",
"0.54740804",
"0.54676783",
"0.5467444",
"0.546705",
"0.5466381",
"0.5465513"
]
| 0.5877959 | 18 |
function that create customer | @GET
@Path("CreateCustomer")
public Customer createCustomer(@QueryParam("companyname") String companyname,
@QueryParam("companynumber") String companynumber, @QueryParam("contactname") String contactname,
@QueryParam("email") String email, @QueryParam("phone") String phone, @QueryParam("username")String username ,@QueryParam("password") String password) {
return ManagerHelper.getCustomerManager().createCustomer(companyname, companynumber, contactname, email, phone, username,password );
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void CreateCustomer() \r\n\t{\n\t\t\r\n\t}",
"Customer createCustomer();",
"Customer createCustomer();",
"Customer createCustomer();",
"Customer createCustomer();",
"@Override\n\tpublic void create(Customer t) {\n\n\t}",
"Customers createCustomers();",
"SerialResponse createCustomer(PinCustomerPost pinCustomerPost);",
"private Customer createCustomerData() {\n int id = -1;\n Timestamp createDate = DateTime.getUTCTimestampNow();\n String createdBy = session.getUsername();\n\n if (action.equals(Constants.UPDATE)) {\n id = existingCustomer.getCustomerID();\n createDate = existingCustomer.getCreateDate();\n createdBy = existingCustomer.getCreatedBy();\n }\n\n String name = nameField.getText();\n String address = addressField.getText() + \", \" + cityField.getText();\n System.out.println(address);\n String postal = postalField.getText();\n String phone = phoneField.getText();\n Timestamp lastUpdate = DateTime.getUTCTimestampNow();\n String lastUpdatedBy = session.getUsername();\n\n FirstLevelDivision division = divisionComboBox.getSelectionModel().getSelectedItem();\n int divisionID = division.getDivisionID();\n\n return new Customer(id, name, address, postal, phone, createDate, createdBy, lastUpdate, lastUpdatedBy, divisionID);\n }",
"public void addCustomer(){\n Customer customer = new Customer();\n customer.setId(data.numberOfCustomer());\n customer.setFirstName(GetChoiceFromUser.getStringFromUser(\"Enter First Name: \"));\n customer.setLastName(GetChoiceFromUser.getStringFromUser(\"Enter Last Name: \"));\n data.addCustomer(customer,data.getBranch(data.getBranchEmployee(ID).getBranchID()));\n System.out.println(\"Customer has added Successfully!\");\n }",
"void createCustomerAccount(String mobileNumber) throws Exception;",
"private PersonCtr createCustomer()\n {\n\n // String name, String addres, int phone, int customerID\n PersonCtr c = new PersonCtr();\n String name = jTextField3.getText();\n String address = jTextPane1.getText();\n int phone = Integer.parseInt(jTextField2.getText());\n int customerID = phone;\n Customer cu = new Customer();\n cu = c.addCustomer(name, address, phone, customerID);\n JOptionPane.showMessageDialog(null, cu.getName() + \", \" + cu.getAddress()\n + \", tlf.nr.: \" + cu.getPhone() + \" er oprettet med ID nummer: \" + cu.getCustomerID()\n , \"Kunde opretttet\", JOptionPane.INFORMATION_MESSAGE);\n return c;\n\n\n }",
"public ResponseEntity<?> createCustomer(customer.controller.Customer customer);",
"public Customer createCustomer() {\r\n\t\ttry {\r\n\t\t\treturn manager.createCustomer();\t\t\t\r\n\t\t}catch(SQLException e) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"The manager was unable to create a new customer\");\r\n\t\t}\r\n\t\treturn null;\r\n\t}",
"@Transactional\n\t@Override\n\tpublic Customer createCustomer(String name) {\n\t\t\n\t\tvalidateName(name);\n\t\tLocalDateTime now = LocalDateTime.now();\n\t\tAccount account = new Account(5000.0, now);\n\t\taccountRepository.save(account);\n\t\tSet<Item> set = new HashSet<>();\n\t\tCustomer customer = new Customer(name, account,set);\n\t\tcustRepository.save(customer);\n\t\treturn customer;\n\t\t\n\t}",
"@Override\n\tpublic void createCustomer(Customer customer) throws Exception {\n\t\tConnection con = pool.getConnection();\n\t\ttry {\n\t\t\t\n\t\t\tStatement st = con.createStatement();\n\t\t\tString create = String.format(\"insert into customer values('%s', '%s')\", customer.getCustName(),\n\t\t\t\t\tcustomer.getPassword());\n\t\t\tst.executeUpdate(create);\n\t\t\tSystem.out.println(\"Customer added successfully\");\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \"Unable to add A customer, Try Again! \");\n\t\t} finally {\n\t\t\tpool.returnConnection(con);\n\t\t}\n\t}",
"public boolean createCustomer(String customerJSON);",
"@Override\r\n\tpublic void createAccount(Customer customer) {\n\t\tcustMap.put(customer.getMobileNo(),customer);\r\n\t\t\r\n\t}",
"void createACustomer() {\r\n\t\tSystem.out.println(\"\\nCreating a customer:\");\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\tCustomer2 c1 = new Customer2(\"Ali\", \"Telli\");\r\n\t\ttx.begin();\r\n\t\tem.persist(c1);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}",
"@PostMapping(value=\"/createCustomer\")\n\tpublic String createCustomer()\n\t{\n\t\t//return customer\n\t\treturn \"Created Customer\";\n\t}",
"public Customer createCustomer() {\n return new Customer(nameNested, surNameNested, ageNested, streetNested);\n }",
"private void createCustomer(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n String customerName = request.getParameter(\"CustomerName\");\n System.out.println(\"them mới id\"+ customerName);\n String customerBir = request.getParameter(\"CustomerBir\");\n String gender = request.getParameter(\"Gender\");\n int cusIdNum =Integer.parseInt(request.getParameter(\"CusIdNum\"));\n int cusTelNum = Integer.parseInt(request.getParameter(\"CusTelNum\"));\n String cusEmail = request.getParameter(\"CusEmail\");\n String address = request.getParameter(\"Address\");\n String customerTypeId = request.getParameter(\"CustomerTypeId\");\n System.out.println(\"them mới id\"+ customerName);\n Customer customer = new Customer(customerName,customerBir,gender,cusIdNum,cusTelNum,cusEmail,address, new CustomerType(customerTypeId));\n customerService.save(customer);\n showCustomerList(request,response);\n System.out.println(\"them mới\"+ customer);\n }",
"private Customer addCustomer(String title, String firstName, String lastName, String phone, String email, String addressLine1, String addressLine2, String city, String state, String postCode, String country) {\r\n out.print(title);\r\n out.print(firstName);\r\n out.print(lastName);\r\n out.print(phone);\r\n out.print(email);\r\n out.print(addressLine1);\r\n out.print(addressLine2);\r\n out.print(city);\r\n out.print(state);\r\n out.print(postCode);\r\n out.print(country);\r\n\r\n Customer customer = new Customer();\r\n customer.setCustomerTitle(title);\r\n customer.setCustomerFirstName(firstName);\r\n customer.setCustomerLastName(lastName);\r\n customer.setCustomerPhone(phone);\r\n customer.setCustomerEmail(email);\r\n customer.setCustomerAddressLine1(addressLine1);\r\n customer.setCustomerAddressLine2(addressLine2);\r\n customer.setCustomerCity(city);\r\n customer.setCustomerState(state);\r\n customer.setCustomerPostCode(postCode);\r\n customer.setCustomerCountry(country);\r\n\r\n em.persist(customer);\r\n return customer;\r\n }",
"public MessageResponseCustomerDto createCustomer(CustomerDto customer);",
"public static void createCustomer() throws IOException\r\n\t{\r\n\t\tclearScreen();\r\n\t\t\r\n\t\tSystem.out.println(\"[CUSTOMER CREATOR]\\n\");\r\n\t\tSystem.out.println(\"Enter the name of the customer you would like to create:\");\r\n\t\t\r\n\t\t// create a new customer with a user-defined name\r\n\t\tCustomer c = new Customer(inputString(false));\r\n\t\t// add the customer to the ArrayList\r\n\t\tcustomers.add(c);\r\n\t\t// display the edit screen for the customer\r\n\t\teditCustomer(c);\r\n\t}",
"public void create(Customer c){\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n try {\n ppst = conn.prepareCall(\"INSERT INTO customer (name, id, phone) VALUES (?, ?, ?)\");\n ppst.setString(1, c.getName());\n ppst.setString(2, c.getId());\n ppst.setString(3, c.getPhone());\n ppst.executeUpdate();\n System.out.println(\"Customer created.\");\n } catch (SQLException e) {\n throw new RuntimeException(\"Creation error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst);\n }\n }",
"@Test\n\tpublic void create() {\n\t\t// Given\n\t\tString name = \"Mark\";\n\t\tString address = \"Auckland\";\n\t\tString telephoneNumber = \"0211616447\";\n\n\t\t// When\n\t\tICustomer customer = customerController.create(name, address, telephoneNumber);\n\n\t\t// Then\n\t\tAssert.assertNotNull(customer);\n\t}",
"public static void createCustomer() throws IOException {\n\t\tString ssn = randomSSN();\n\t\twhile(SSNmap.containsKey(ssn)) {\n\t\t\tssn = randomSSN();\n\t\t}\n\t\tSSNmap.put(ssn, 1);\n\t\t\n\t\tString name = names[random(50)] + \" \" + names[random(50)];\n\t\tString address = randomNumber() + \" \" + streets[random(50)];\n\t\tString phone = randomPhone();\n\t\t\n\t\twriter.write(\"INSERT INTO Customer (Id, SSN, Name, Address, Phone) Values (\" + custId++ +\", '\" + ssn + \"', '\" \n\t\t\t\t+ name + \"', '\" + address + \"', '\" + phone +\"'\" + line);\n\t\twriter.flush();\n\t}",
"private Customer storeCustomer(Customer customer){\n customerRestService.createCustomer(customer);\n return customer;\n }",
"@RequestMapping(value = \"/createCustomer\", method = RequestMethod.POST)\n\tpublic String createCustomer(@RequestBody Customer customer) throws Exception {\n\n\t\tlog.log(Level.INFO, \"Customer zawiera\", customer.toString());\n\t\tcustomerRepository.save(customer); // Zapis do bazy\n\t\tSystem.out.println(\"##################### Utworzono klienta: \" + customer);\n\t\treturn \"Klient zostal stworzony\" + customer;\n\t}",
"@PostMapping(value = \"/customers\", consumes = MediaType.APPLICATION_JSON_VALUE)\n\tpublic void createCustomer(@RequestBody CustomerDTO custDTO) {\n\t\tlogger.info(\"Creation request for customer {}\", custDTO);\n\t\tcustService.createCustomer(custDTO);\n\t}",
"public static void createAccount(Customer customer) {\n\t\tcustomerList.add(customer);\n\t}",
"@Test\n public void testCustomerFactoryCreate() {\n CustomerController customerController = customerFactory.getCustomerController();\n customerController.addCustomer(CUSTOMER_NAME, CUSTOMER_CONTACT, false);\n assertEquals(1, customerController.getCustomerList().size());\n }",
"Customer(){}",
"@Override\n\tpublic boolean createCustomer(Customer customer) {\n\n\t\tif (customer != null) {\n\t\t\tcustomers.add(customer);\n\t\t\tlogger.info(\"Customer added to the list\");\n\t\t\treturn true;\n\t\t} else {\n\t\t\tlogger.info(\"Failed to add customer to the list: createCustomer()\");\n\t\t\treturn false;\n\t\t}\n\t}",
"public void createAccount() {\n\t\tSystem.out.print(\"Enter Name: \");\n\t\tString name = nameCheck(sc.next());\n\t\tSystem.out.print(\"Enter Mobile No.: \");\n\t\tlong mobNo = mobCheck(sc.nextLong());\n\t\tlong accNo = mobNo - 1234;\n\t\tSystem.out.print(\"Enter Balance: \"); \n\t\tfloat balance = amountCheck(sc.nextFloat());\n\t\tuserBean BeanObjCreateAccountObj = new userBean(accNo, name, mobNo, balance);\n\t\tSystem.out.println(\"Account created with Account Number: \" +accNo);\n\t\tServiceObj.bankAccountCreate(BeanObjCreateAccountObj);\n\t\t\n\t\n\t}",
"@Override\n\tpublic Customers create(Customers newcust) {\n\t\tif (newcust.getId()!=null)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\tCustomers savecust = CustRepo.save(newcust);\n\t\treturn savecust;\n\t}",
"void createCustomers() {\r\n\t\tSystem.out.println(\"\\nCreating 5 customers:\");\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\tCustomer2 c1 = new Customer2(\"Ali\", \"Telli\");\r\n\t\tCustomer2 c2 = new Customer2(\"Serap\", \"Atik\");\r\n\t\tCustomer2 c3 = new Customer2(\"Kemal\", \"Tanir\");\r\n\t\tCustomer2 c4 = new Customer2(\"Betul\", \"Kara\");\r\n\t\tCustomer2 c5 = new Customer2(\"Selman\", \"Saki\");\r\n\t\ttx.begin();\r\n\t\tem.persist(c1);\r\n\t\tem.persist(c2);\r\n\t\tem.persist(c3);\r\n\t\tem.persist(c4);\r\n\t\tem.persist(c5);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}",
"static void addCustomer(customer customer) {\n\n }",
"@PostMapping()\n public String createCustomer(\n @ModelAttribute(CUSTOMER) CustomerDTO customerDTO) {\n customerDTO.getActualAddress().setCreated(LocalDateTime.now());\n customerDTO.getRegisteredAddress().setCreated(LocalDateTime.now());\n Customer customer = mapDTOCustomerToPersistent(customerDTO);\n customerService.saveCustomer(customer);\n return REDIRECT_CLIENTS;\n }",
"@Test\n public void testCreateCustomer() {\n System.out.println(\"createCustomer\");\n String name = \"Gert Hansen\";\n String address = \"Grønnegade 12\";\n String phone = \"98352010\";\n CustomerCtr instance = new CustomerCtr();\n int customerID = instance.createCustomer(name, address, phone);\n Customer result = instance.getCustomer(customerID);\n assertEquals(\"Gert Hansen\", result.getName());\n assertEquals(\"Grønnegade 12\", result.getAddress());\n assertEquals(\"98352010\", result.getPhone());\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }",
"@Test\n\tpublic void createAccTest() {\n\t\tCustomer cus = new Customer(\"wgl\", myDate, \"Beijing\");\n\t\tbc.createAccount(cus, 1);\n\t\tassertEquals(1, cus.getAccList().size());\n\t}",
"private void addCustomer() {\n try {\n FixCustomerController fixCustomerController = ServerConnector.getServerConnector().getFixCustomerController();\n\n FixCustomer fixCustomer = new FixCustomer(txtCustomerName.getText(), txtCustomerNIC.getText(), String.valueOf(comJobrole.getSelectedItem()), String.valueOf(comSection.getSelectedItem()), txtCustomerTele.getText());\n\n boolean addFixCustomer = fixCustomerController.addFixCustomer(fixCustomer);\n\n if (addFixCustomer) {\n JOptionPane.showMessageDialog(null, \"Customer Added Success !!\");\n } else {\n JOptionPane.showMessageDialog(null, \"Customer Added Fail !!\");\n }\n\n } catch (NotBoundException | MalformedURLException | RemoteException ex) {\n new ServerNull().setVisible(true);\n } catch (ClassNotFoundException | IOException ex) {\n Logger.getLogger(InputCustomers.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"public void addCustomer() {\r\n\t\tdo {\r\n\t\t\tString name = getToken(\"Enter the customer's name: \");\r\n\t\t\tString phoneNumber = getToken(\"Enter the phone number: \");\r\n\t\t\tCustomer customer = store.addCustomer(name, phoneNumber);\r\n\t\t\tif (customer == null) {\r\n\t\t\t\tSystem.out.println(\"Could not add customer.\");\r\n\t\t\t}\r\n\t\t\tSystem.out.println(customer);\r\n\t\t} while (yesOrNo(\"Would you like to add another Customer?\"));\r\n\t}",
"void createAndManageCustomer() {\r\n\t\tSystem.out.println(\"\\nCreating and managing a customer:\");\r\n\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\tCustomer2 c = new Customer2(\"Sami\", \"Cemil\");\r\n\t\ttx.begin();\r\n\t\tem.persist(c);\r\n\t\ttx.commit();\r\n\t\tSystem.out.println(c);\r\n\t\t\r\n\t\ttx = em.getTransaction();\r\n\t\ttx.begin();\r\n\t\tc.setLastName(\"Kamil\");\r\n\t\ttx.commit();\r\n\t\tSystem.out.println(c);\r\n\t\tem.close();\r\n\t}",
"public boolean createCustomer() throws ClassNotFoundException, SQLException {\n\t\tString name = KeyboardUtil.getString(\"Enter your name\");\n\t\tString password = KeyboardUtil.getString(\"Enter your password\");\n\t\tString city = KeyboardUtil.getString(\"Enter your city\");\n\t\tString state = KeyboardUtil.getString(\"Enter your state\");\n\t\tint zip = KeyboardUtil.getInt(\"Enter ZIP\");\n\t\tString country = KeyboardUtil.getString(\"Enter your country\");\n\t\t\n\t\tCustomer newCust = new Customer(password, city, state, zip, country);\n\t\ttry {\n\t\t\tConnection con = DAO.getConnection();\n\t\t\tnewCust.setCustomerName(name);\n\t\t\tString insertQuery = \"insert into Customer(Customer_Name, Password, City, State, Zip, Country) values(?, ?, ?, ?, ?, ?)\";\n\t\t\tPreparedStatement stmt = con.prepareStatement(insertQuery);\n\t\t\tstmt.setString(1, newCust.getCusomerName());\n\t\t\tstmt.setString(2, newCust.getPassword());\n\t\t\tstmt.setString(3, newCust.getCity());\n\t\t\tstmt.setString(4, newCust.getState());\n\t\t\tstmt.setInt(5, newCust.getZip());\n\t\t\tstmt.setString(6, newCust.getCountry());\n\t\t\tstmt.executeUpdate();\n\t\t\treturn true;\n\t\t}\n\t\tcatch(InvalidNameException e) {\n\t\t\tSystem.out.println(\"Name should not contain numbers or special characters and should be atleast 6 characters long!\");\n\t\t}\n\t\tcatch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\n\t\treturn false;\n\t}",
"Customer() \n\t{\n\t}",
"private Customer createCustomerInstance(String name, String email, String phoneNumber) {\n Customer customer = new Customer();\n customer.setName(name);\n customer.setEmail(email);\n customer.setPhoneNumber(phoneNumber);\n return customer;\n }",
"public static String buildCreateCustomerURL() {\n return NISUtils.getURL() + \"/nis/nwapi/v2/customer\";\n\t}",
"static void register() {\r\n\t\tSystem.out.println(\"enter no of customers\");\r\n\t\tint n=scan.nextInt();\r\n\t\tfor(int i=0;i<n;i++) {\r\n\t\tCustomer cust=new Customer();\r\n\t\tSystem.out.println(\"enter first name\");\r\n\t\tcust.setFirstName(scan.next());\r\n\t\tSystem.out.println(\"enter last name\");\r\n\t\tcust.setLastName(scan.next());\r\n\t\tSystem.out.println(\"enter aadhar number\");\r\n\t\tcust.setAadharNo(scan.nextLong());\r\n\t\tSystem.out.println(\"enter address\");\r\n\t\tcust.setAddress(scan.next());\r\n\t\tSystem.out.println(\"enter mobile number\");\r\n\t\tcust.setMobileNo(scan.nextLong());\r\n\t\tSystem.out.println(\"enter password\");\r\n\t\tcust.setPassword(scan.next());\r\n\t\tSystem.out.println(\"enter account number\");\r\n\t\tlong no= 10000 + new Random().nextInt(90000);\r\n\t\t//System.out.println(Math.abs(cust.getAccNo()));\r\n\t\tlist.add(cust);\r\n\t\t}\r\n\t}",
"public static String createCustomer(String account, String serviceAddress, String email, String phonePlaceHolder){\n return \"insert into user_information(ui_account, ui_email, ui_phone, ui_serviceaddress)\" +\n \" values('\"+account+\"'\"+\",'\"+email+\"'\"+\",'\"+phonePlaceHolder+\"'\"+\",'\"+serviceAddress+\"')\";\n }",
"public void addCustomer() {\n\t \n\t try{\n\t\t con = openDBConnection();\n\t\t callStmt = con.prepareCall(\" {call team5.CUSTOMER_ADD_PROC(?,?,?,?,?,?,?)}\");\n\t\t callStmt.setString(1,this.emailad);\n\t\t callStmt.setString(2,this.fname);\n\t\t callStmt.setString(3,this.lname);\n\t\t callStmt.setString(4,this.username);\n\t\t callStmt.setString(5,this.password);\n\t\t callStmt.setString(6,this.adminUsername);\n\t\t callStmt.setInt(7, this.id);\n\t\t callStmt.execute();\n\t\t callStmt.close();\n\t } catch (Exception E) {\n\t E.printStackTrace();\n\t }\n}",
"public static NWCustomerResp oamCreateCustomer(String customerType, RESTActions actions) {\n\t\tNWCustomerResp respObj = null;\n\t\tWSCustomerContact contact = null;\n\t\t\n\t\t// Create \"Generic\" WSCustomerContactInfo\n\t\tcontact = createWSCustomerContact();\n\t\t\n\t\t// Send Request\n\t\trespObj = NWCustomerPOST.sendReq(customerType, contact, actions);\n\t\t\n\t\treturn respObj;\n\t}",
"OperacionColeccion createOperacionColeccion();",
"public String createCustomer(Map<String, Object> tokenParams, Map<String, Object> customerParams){\n Stripe.apiKey = stripeKey;\n\n String stripeCustomerId = null;\n try{\n Token token = Token.create(tokenParams);\n customerParams.put(\"source\", token.getId());\n Customer customer = Customer.create(customerParams);\n stripeCustomerId = customer.getId();\n }catch(AuthenticationException e){\n LOG.error(\"An authentication error occurred while creating a stripe customer\", e);\n throw new com.springfullstackcloudapp.exceptions.StripeException();\n }catch(InvalidRequestException e){\n LOG.error(\"An invalid request exception occurred while creating a stripe customer\", e);\n throw new com.springfullstackcloudapp.exceptions.StripeException();\n }catch(APIConnectionException e){\n LOG.error(\"An API Connection exception occurred while creating a stripe customer\", e);\n throw new com.springfullstackcloudapp.exceptions.StripeException();\n }catch(CardException e){\n LOG.error(\"A credit card exception occurred while creating a stripe customer\", e);\n throw new com.springfullstackcloudapp.exceptions.StripeException();\n }catch(APIException e){\n LOG.error(\"An API exception occurred while creating a stripe customer\", e);\n throw new com.springfullstackcloudapp.exceptions.StripeException();\n }\n return stripeCustomerId;\n }",
"void insertCustomer() {\n\t\tCallableStatement cs = null;\n\t\ttry {\n\t\t\tString call = \"call insert_customer (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)\";\n\t\t\tcs = conn.prepareCall(call);\t\t\t\n\t\t\tArrayList <String> param = new ArrayList<String>(); \n\t\t\tparam.add(genderBox.getSelectedItem().toString());\n\t\t\tparam.add(titleBox.getSelectedItem().toString());\n\t\t\tparam.add(fieldFirstName.getText());\t\t\t\n\t\t\tparam.add(fieldMidName.getText());\n\t\t\tparam.add(fieldLastName.getText());\n\t\t\tparam.add(fieldAddress.getText());\n\t\t\tparam.add(fieldCity.getText());\n\t\t\tparam.add(fieldState.getText());\n\t\t\tparam.add(fieldZipcode.getText());\n\t\t\tparam.add(fieldEmail.getText());\t\t\t\n\t\t\tparam.add(fieldUsername.getText());\n\t\t\tparam.add(fieldPassword.getText());\n\t\t\tparam.add(fieldTelephone.getText());\n\t\t\tparam.add(fieldMaidenName.getText());\n\t\t\tparam.add(fieldBirthday.getText());\n\t\t\tparam.add(cctypeBox.getSelectedItem().toString());\n\t\t\tparam.add(fieldCCnumber.getText());\n\t\t\tparam.add(fieldCCV.getText());\n\t\t\tparam.add(fieldExpirDate.getText());\n\t\t\tparam.add(fieldSocialSecurity.getText() + \" \");\n\t\t\t\n\t\t\tfor (int i = 0; i < 20; i++) {\n\t\t\t\tcs.setString(i+1, param.get(i));\n\t\t\t}\n\t\t\tcs.executeUpdate();\n\t\t\tconn.commit();\n\t\t} catch (SQLException e) {\n\t\t\tSystem.err.println(\"Exception caught: \" + e.getMessage());\n\t\t\tJOptionPane.showMessageDialog(this, \"User, \" + fieldUsername.getText() +\" already exists.\");\n\t\t} finally {\n\t\t\t\n\t\t}\n\t}",
"@PostMapping(\"/customer\")\n\tpublic Customer createCustomer(@RequestBody Customer customer) {\n\t\treturn customerRepository.save(customer);\n\t}",
"@Test\r\n\tpublic void testCreateRandomCustomer() {\r\n\r\n\t\tint NO_FLOORS = 25;\r\n\t\t\r\n\t\tCustomer c = custFact.createRandomCustomer(NO_FLOORS);\r\n\t\t\r\n\t\tassertNotNull(c);\r\n\t\t\r\n\t}",
"public int addCustomer(String custName,long custMobile,String modelName) \r\n\t{\r\n\t\tint a=(int)((Math.random())*10);\r\n\r\n\t\tprice1=searchModel(modelName);\r\n\r\n\r\n\t\tFile f= new File(\"customerInfo.txt\");\r\n\r\n\t\tif(!f.exists())\r\n\t\t{\r\n\t\t\ttry {\r\n\t\t\t\tf.createNewFile();\r\n\t\t\t} catch (IOException e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\ttry {\r\n\r\n\t\t\tPrintWriter pw = new PrintWriter(new FileOutputStream(f, true));\r\n\t\t\tpw.println(custName);\r\n\t\t\tpw.println(custMobile);\r\n\t\t\tpw.println(modelName);\r\n\t\t\tpw.println(String.valueOf(price1));\r\n\r\n\r\n\r\n\r\n\t\t\tpw.close();\r\n\t\t} catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\r\n\r\n\r\n\t\treturn a;\r\n\r\n\t}",
"void insertCustomerDDPay(CustomerDDPay cddp);",
"@RequestMapping(value=\"/pizza/custCreate.html\", method = RequestMethod.POST)\r\n public ModelAndView custCreate(\r\n @ModelAttribute(\"customer\")Customer customer,\r\n @CookieValue(value = \"v\", defaultValue = \"\") String visitorId,\r\n HttpServletResponse response) throws Exception {\n visitorManager.setCookieValue(visitorId);\r\n \r\n // Get the current order\r\n Order order = shoppingCart.getOrder();\r\n ModelAndView result = new ModelAndView(\"/pizza/cardEntry\");\r\n result.addObject(\"order\", order);\r\n \r\n // TODO: Is the customer valid?\r\n \r\n // Add the customer to the order\r\n order.setCustomer(customer);\r\n shoppingCart.assignCustomer(customer);\r\n\r\n // Remember the visitor\r\n response.addCookie(new Cookie(\"v\", visitorManager.getCookieValue()));\r\n return result;\r\n }",
"public Response<CustomerRegResponseDto> createCustomer(CustomerRegRequestDto requestDto) {\n\t\tResponse<CustomerRegResponseDto> responseDto = new Response<>();\n\t\tOptional<User> user = userRepo.findByUserId(requestDto.getUserId());\n\t\tif (!user.isPresent())\n\t\t\tthrow new UserNotFoundException(CustomerConstants.USER_NOT_FOUND);\n\n\t\tOptional<User> userEmail = userRepo.findByEmailId(requestDto.getCustomerEmailId());\n\t\tif (userEmail.isPresent())\n\t\t\tthrow new UserAlreadyExistException(CustomerConstants.USER_EMAIL_ID_ALREADY_EXISTS);\n\n\t\tUser userUserName = userRepo.findByUserNameContainsIgnoreCase(requestDto.getCustomerUserName().toLowerCase());\n\t\tif (userUserName != null)\n\t\t\tthrow new UserAlreadyExistException(CustomerConstants.USER_NAME_ALREADY_EXISTS);\n\n\t\tif (!requestDto.getPassword().equals(requestDto.getConfirmPassword())) {\n\t\t\tthrow new NoDataFoundException(CustomerConstants.PASSWORD_CONFIRMATION);\n\n\t\t}\n\n\t\tCustomer addNewCustomer = addCustomerDetails(requestDto);\n\t\tUser newUser = addNewUser(requestDto, addNewCustomer);\n\t\tCustomerRegResponseDto response = new CustomerRegResponseDto();\n\t\tresponse.setCustomerId(addNewCustomer.getCustomerId());\n\t\tresponse.setUserId(newUser.getUserId());\n\t\tresponseDto.setData(response);\n\t\tresponseDto.setMessage(CustomerConstants.CUSTOMER_CREATED_SUCCESSFULLY);\n\t\tresponseDto.setStatus(HttpServletResponse.SC_OK);\n\t\tresponseDto.setError(false);\n\t\tsendRegistrationEmailNotification(requestDto);\n\t\treturn responseDto;\n\t}",
"public void addCustomer() {\n\t\tSystem.out.println(\"Enter your first name.\");\n\t\tString fn = scan.nextLine();\n\t\tSystem.out.println(\"Enter your last name.\");\n\t\tString ln = scan.nextLine();\n\t\tSystem.out.println(\"Enter your username.\");\n\t\tString user = scan.nextLine();\n\t\tSystem.out.println(\"Enter your password.\");\n\t\tString pw = scan.nextLine();\n\t\tSystem.out.println(\"Password once more (to be safe.)\");\n\t\tString pw2 = scan.nextLine();\n\t\t/*if (pw.toString() != pw2.toString()) {\n\t\t\tSystem.out.println(\"Whoops! Let's try that again.\");\n\t\t\taddCustomer();\n\t\t}\n\t\t*/\n\t\t//else {\n String sql = \"INSERT INTO bank.login (first_name, last_name, user_name, password) VALUES (\"+\"\\\"\"+fn+\"\\\"\"+\", \"+\"\\\"\"+ln+\"\\\"\"+\", \"\n\t\t+\"\\\"\"+user+\"\\\"\"+\", \"+\"\\\"\"+pw+\"\\\"\"+\")\";\n\n try{\n \t\n \tconnect.databaseUtil();\n Statement statement = Database.connection.createStatement();\n // ResultSet resultSet =\n \t\tstatement.executeUpdate(sql);\n try {\n \t\t\tconnect.databaseClose();\n \t\t} catch (SQLException e) {\n \t\t\t\n \t\t\te.printStackTrace();\n \t\t}\n\n bank.start();\n }\n \n\n catch(SQLException e){\n \t\te.printStackTrace();\n Menus.custMenu();\n\n }\n\n \n\t\t\n\t}",
"public void addUser(Customer user) {}",
"private Customer createCustomerInstanceWithId(String name, String email, String phoneNumber) {\n Customer customer = new Customer();\n customer.setId(1000L);\n customer.setName(name);\n customer.setEmail(email);\n customer.setPhoneNumber(phoneNumber);\n return customer;\n }",
"public static void createAccount(String name, String address, String contactNum, String userId, String password, float initDeposit) {\n\t\tcustomerList.add(new Customer(name, address, contactNum, new SavingsAccount(userId, password, initDeposit)));\n\t}",
"private void createCustomersTable() {\n\t\ttry {\n\t\t\tStatement stmt = this.conn.createStatement();\n\t\t\tstmt.executeUpdate(\"CREATE TABLE customers \"\n\t\t\t\t\t+ \"(id INT GENERATED ALWAYS AS IDENTITY, \"\n\t\t\t\t\t+ \"name VARCHAR(40), \" + \"email VARCHAR(40), \"\n\t\t\t\t\t+ \"pass VARCHAR(40), \" + \"ssn VARCHAR(9), \"\n\t\t\t\t\t+ \"address VARCHAR(255), \" + \"hphone VARCHAR(10), \"\n\t\t\t\t\t+ \"cphone VARCHAR(10), \" + \"signuptime BIGINT, \"\n\t\t\t\t\t+ \"chkacct BIGINT, \" + \"savacct BIGINT, \" + \"cdacct BIGINT, \"\n\t\t\t\t\t+ \"hasStock VARCHAR(6))\");\n\t\t\tconn.commit();\n\t\t\tSystem.out.println(\"Created table users\");\n\t\t} catch (SQLException sqle) {\n\t\t\tSystem.err.println(\"Creation of user table FAILED\");\n\t\t\tSystem.err.println(sqle);\n\t\t}\n\t}",
"public Customer Create(Customer customer) {\n\t\tString sqlInsert = \"Insert into customers (name, email, address) values('\" + customer.getName()+ \"','\"\n\t\t+ customer.getEmail()+ \"','\"+ customer.getAddress()+\"')\";\n\t\t\n\t\ttry {\n\t\t\tstmt.executeUpdate(sqlInsert);\n\t\t\treturn readLatest();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t\t\n\t}",
"@Override\n\tpublic void createSession(String customer) {\n\t\t\n\t}",
"public Customer() {\r\n\t\tthis.name = \"\";\r\n\t\tthis.parcelID = \"\";\r\n\t\tthis.seqNo = 0;\r\n\t}",
"public void createCustomerTransaction(String customerId, TransactionData transData) {\n \t\n \tTransaction transEntity = new Transaction();\n \t\n \tBeanUtils.copyProperties(transData, transEntity);\n \ttransEntity.setCustomerId(customerId.trim().toUpperCase());\n \t//Save and flush\n \ttransactionRepository.saveAndFlush(transEntity);\n }",
"private void createCustomer(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {\n int id = Integer.parseInt(request.getParameter(\"id\"));\n Customer checkCustomer = CustomerDao.getCustomer(id);\n if (checkCustomer == null) {\n String name = request.getParameter(\"name\");\n String phone = request.getParameter(\"phone\");\n String email = request.getParameter(\"email\");\n Customer newCustomer = new Customer(id, name, phone, email);\n CustomerDao.addCustomer(newCustomer);\n response.sendRedirect(\"/\");\n }\n else {\n String message = \"This ID already exist\";\n String name = request.getParameter(\"name\");\n String phone = request.getParameter(\"phone\");\n String email = request.getParameter(\"email\");\n Customer ExitCustomer = new Customer(id, name, phone, email);\n request.setAttribute(\"message\", message);\n request.setAttribute(\"customer\", ExitCustomer);\n RequestDispatcher dispatcher = request.getRequestDispatcher(\"customer/newCustomer.jsp\");\n dispatcher.forward(request, response);\n }\n }",
"public Customer(String name, String email, String password, double amount, LocalDate regDate) {\r\n\t\tthis.custId = idCounter++;\r\n\t\tthis.name = name;\r\n\t\tthis.email = email;\r\n\t\tthis.password = password;\r\n\t\tthis.amount = amount;\r\n\t\tthis.regDate = regDate;\r\n\t}",
"@ApiOperation(value = \"Create a customer\", notes = \"\")\n @PostMapping(produces = MediaType.APPLICATION_JSON_VALUE)\n @ResponseStatus(HttpStatus.CREATED)\n public CustomerDTO createCustomer(@Validated @RequestBody CustomerDTO customerDTO) {\n\n return customerService.createCustomer(customerDTO);\n }",
"public CustomerNew () {\n\t\tsuper();\n\t}",
"@RequestMapping(value = \"/customer-addres\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<CustomerAddres> createCustomerAddres(@Valid @RequestBody CustomerAddres customerAddres) throws URISyntaxException {\n log.debug(\"REST request to save CustomerAddres : {}\", customerAddres);\n if (customerAddres.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"customerAddres\", \"idexists\", \"A new customerAddres cannot already have an ID\")).body(null);\n }\n CustomerAddres result = customerAddresRepository.save(customerAddres);\n return ResponseEntity.created(new URI(\"/api/customer-addres/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"customerAddres\", result.getId().toString()))\n .body(result);\n }",
"Customer() {\n }",
"public Customer (String customerName, String address,\n String telephoneNumber){\n this.customerName = customerName;\n this.address = address;\n this.telephoneNumber = telephoneNumber;\n }",
"@Test\n public void testCustomerFactoryGetCustomer() {\n CustomerController customerController = customerFactory.getCustomerController();\n customerController.addCustomer(CUSTOMER_NAME, CUSTOMER_CONTACT, false);\n assertEquals(CUSTOMER_NAME, customerController.getCustomer(1).getName());\n }",
"public Customermodel addCustomer(Customermodel customermodel) {\n\t\t return customerdb.save(customermodel);\n\t }",
"public CustomerService() {\n\n Customer c1 = new Customer(\"Brian May\", \"45 Dalcassian\", \"[email protected]\", 123);\n Customer c2 = new Customer(\"Roger Taylor\", \"40 Connaught Street\", \"[email protected]\", 123);\n Customer c3 = new Customer(\"John Deacon\", \"2 Santry Avenue\", \"[email protected]\", 123);\n Customer c4 = new Customer(\"Paul McCartney\", \"5 Melville Cove\", \"[email protected]\", 123);\n\n c1.setIdentifier(1);\n c2.setIdentifier(2);\n c3.setIdentifier(3);\n c4.setIdentifier(4);\n customers.add(c1);\n customers.add(c2);\n customers.add(c3);\n customers.add(c4);\n\n c1.addAccount(new Account(101));\n c2.addAccount(new Account(102));\n c2.addAccount(new Account(102));\n c3.addAccount(new Account(103));\n c3.addAccount(new Account(103));\n c3.addAccount(new Account(103));\n c4.addAccount(new Account(104));\n\n }",
"public void registerCustomer() {\n\t \n\t try{\n\t\t con = openDBConnection();\n\t\t callStmt = con.prepareCall(\" {call team5.CUSTOMER_REGISTER_PROC(?,?,?,?,?,?,?)}\");\n\t\t callStmt.setString(1,this.phoneno);\n\t\t callStmt.setString(2,this.emailad);\n\t\t callStmt.setString(3,this.fname);\n\t\t callStmt.setString(4,this.lname);\n\t\t callStmt.setString(5,this.username);\n\t\t callStmt.setString(6,this.password);\n\t\t callStmt.setInt(7, this.id);\n\t\t callStmt.execute();\n\t\t callStmt.close();\n\t } catch (Exception E) {\n\t E.printStackTrace();\n\t }\n}",
"public Customer save(final Customer customer) {\n\t\tAssert.notNull(customer);\r\n\t\tBoolean isCreating = null;\r\n\r\n\t\tAssert.isTrue(!(customer.getEmail().endsWith(\"@\") || customer.getEmail().endsWith(\"@>\")));\r\n\r\n\t\tif (customer.getId() == 0) {\r\n\t\t\tisCreating = true;\r\n\t\t\tcustomer.setSuspicious(false);\r\n\r\n\t\t\t//comprobamos que ningún actor resté autenticado (ya que ningun actor puede crear los customers)\r\n\t\t\t//this.serviceUtils.checkNoActor();\r\n\r\n\t\t} else {\r\n\t\t\tisCreating = false;\r\n\t\t\t//comprobamos que su id no sea negativa por motivos de seguridad\r\n\t\t\tthis.serviceUtils.checkIdSave(customer);\r\n\r\n\t\t\t//este customer será el que está en la base de datos para usarlo si estamos ante un customer que ya existe\r\n\t\t\tCustomer customerBD;\r\n\t\t\tAssert.isTrue(customer.getId() > 0);\r\n\r\n\t\t\t//cogemos el customer de la base de datos\r\n\t\t\tcustomerBD = this.customerRepository.findOne(customer.getId());\r\n\r\n\t\t\t//Si el customer que estamos guardando es nuevo (no está en la base de datos) le ponemos todos sus atributos vacíos\r\n\r\n\t\t\t//\t\t\tcustomer.setUserAccount(new UserAccount());\r\n\t\t\t//\t\t\tfinal Authority authority = new Authority();\r\n\t\t\t//\t\t\tauthority.setAuthority(Authority.CUSTOMER);\r\n\t\t\t//\t\t\tcustomer.getUserAccount().addAuthority(authority);\r\n\t\t\t//los atributos que no pueden estar vacíos\r\n\r\n\t\t\tcustomer.setSuspicious(customerBD.getSuspicious());\r\n\t\t\tcustomer.setUserAccount(customerBD.getUserAccount());\r\n\r\n\t\t\t//Comprobamos que el actor sea un Customer\r\n\t\t\tthis.serviceUtils.checkAuthority(\"CUSTOMER\");\r\n\t\t\t//esto es para ver si el actor que está logueado es el mismo que se está editando\r\n\t\t\tthis.serviceUtils.checkActor(customer);\r\n\r\n\t\t}\r\n\t\tif ((!customer.getPhone().startsWith(\"+\")) && StringUtils.isNumeric(customer.getPhone()) && customer.getPhone().length() > 3) {\r\n\t\t\tfinal Settings settings = this.settingsService.findSettings();\r\n\t\t\tcustomer.setPhone(settings.getCountryCode() + customer.getPhone());\r\n\t\t}\r\n\t\tCustomer res;\r\n\t\t//le meto al resultado final el customer que he ido modificando anteriormente\r\n\t\tres = this.customerRepository.save(customer);\r\n\t\tthis.flush();\r\n\t\tif (isCreating)\r\n\t\t\tthis.folderService.createSystemFolders(res);\r\n\t\treturn res;\r\n\t}",
"private Customer buildCustomer (ResultSet resultSet) throws SQLException{\r\n long id = resultSet.getLong(1);\r\n String firstName =resultSet.getString(2);\r\n String lastName = resultSet.getString(3);\r\n String email = resultSet.getString(4);\r\n String password = resultSet.getString(5);\r\n return new Customer(id,firstName,lastName,email,password);\r\n }",
"public Customer(String name, String surname, String address, String email, long tel) {\n this.name = name;\n this.surname = surname;\n this.address = address;\n this.email = email;\n this.tel = tel;\n }",
"@Test\n public void testCustomerFactoryGetCustomerByNameAndContact() {\n CustomerController customerController = customerFactory.getCustomerController();\n customerController.addCustomer(CUSTOMER_NAME, CUSTOMER_CONTACT, false);\n assertEquals(CUSTOMER_NAME, customerController.getCustomer(CUSTOMER_NAME, CUSTOMER_CONTACT).getName());\n }",
"public void addCustomer(int Id, String name, String dob, String gender, String number, String email, String address, String password, Boolean promo, Integer reward, Boolean reg) throws SQLException { //code for add-operation \n st.executeUpdate(\"INSERT INTO IOTBAY.CUSTOMER \" + \"VALUES ('\" \n + Id + \"','\" + name + \"', '\" + dob + \"', '\" \n + gender + \"', '\" + number + \"', '\" \n + email + \"', '\" + address + \"', '\" \n + password + \"', '\" + promo + \"', '\"+ reward + \"', '\"+ reg \n + \"')\");\n\n }",
"private void loadCustomerData() {\n\t\tCustomerDTO cust1 = new CustomerDTO();\n\t\tcust1.setId(null);\n\t\tcust1.setFirstName(\"Steven\");\n\t\tcust1.setLastName(\"King\");\n\t\tcust1.setEmail(\"[email protected]\");\n\t\tcust1.setCity(\"Hyderabad\");\n\t\tcustomerService.createCustomer(cust1);\n\n\t\tCustomerDTO cust2 = new CustomerDTO();\n\t\tcust2.setId(null);\n\t\tcust2.setFirstName(\"Neena\");\n\t\tcust2.setLastName(\"Kochhar\");\n\t\tcust2.setEmail(\"[email protected]\");\n\t\tcust2.setCity(\"Pune\");\n\t\tcustomerService.createCustomer(cust2);\n\n\t\tCustomerDTO cust3 = new CustomerDTO();\n\t\tcust3.setId(null);\n\t\tcust3.setFirstName(\"John\");\n\t\tcust3.setLastName(\"Chen\");\n\t\tcust3.setEmail(\"[email protected]\");\n\t\tcust3.setCity(\"Bangalore\");\n\t\tcustomerService.createCustomer(cust3);\n\n\t\tCustomerDTO cust4 = new CustomerDTO();\n\t\tcust4.setId(null);\n\t\tcust4.setFirstName(\"Nancy\");\n\t\tcust4.setLastName(\"Greenberg\");\n\t\tcust4.setEmail(\"[email protected]\");\n\t\tcust4.setCity(\"Mumbai\");\n\t\tcustomerService.createCustomer(cust4);\n\n\t\tCustomerDTO cust5 = new CustomerDTO();\n\t\tcust5.setId(5L);\n\t\tcust5.setFirstName(\"Luis\");\n\t\tcust5.setLastName(\"Popp\");\n\t\tcust5.setEmail(\"[email protected]\");\n\t\tcust5.setCity(\"Delhi\");\n\t\tcustomerService.createCustomer(cust5);\n\n\t}",
"public Customer(String name) {\n this.name=name;\n }",
"public static WSCreateCustomerResponse createCustomer(RESTActions restActions, Hashtable<String,String> headerTable, String username, String password, String securityQuestion ) throws Throwable {\n\t\tString createCustomerURL = buildCreateCustomerURL();\n\t\tLOG.info(\"##### Built URL: \" + createCustomerURL);\n\t\tString createCustomerRequestBody = buildCreateCustomerRequestBody( username, password, securityQuestion );\n\t\t\n\t\tClientResponse clientResponse = restActions.postClientResponse(\n\t\t\t\tcreateCustomerURL, createCustomerRequestBody, headerTable, null,\n\t\t\t\tRESTConstants.APPLICATION_JSON);\n\t\t\n\t\tLOG.info(\"##### Verifying HTTP response code...\");\n\t\tint status = clientResponse.getStatus();\n\t\tString msg = \"WRONG HTTP RESPONSE CODE - EXPECTED 200, FOUND \" + status;\n\t\trestActions.assertTrue(status == HttpURLConnection.HTTP_OK, msg);\n\t\t\n\t\tString response = clientResponse.getEntity(String.class);\n\t\tLOG.info(\"##### Got the response body\");\n\t\trestActions.assertTrue(response != null, \"RESPONSE IS NULL\");\n\t\tLOG.info( response );\n\t\t\n\t\tGson gson = new Gson();\n\t\tWSCreateCustomerResponse createCustomerResponse = gson.fromJson(response, WSCreateCustomerResponse.class);\n\t\trestActions.assertTrue(createCustomerResponse != null, \"createCustomerResponse IS NULL BUT SHOULD NOT BE NULL\");\n\t\tString customerId = createCustomerResponse.getCustomerId();\n\t\trestActions.assertTrue(customerId != null, \"customerId IS NULL BUT SHOULD NOT BE NULL\");\n\t\t\n\t\tString contactId = createCustomerResponse.getContactId();\n\t\trestActions.assertTrue(contactId != null, \"contactId IS NULL BUT SHOULD NOT BE NULL\");\n\t\t\n\t\tInteger oneAccountId = createCustomerResponse.getOneAccountId();\n\t\trestActions.assertTrue(oneAccountId != null, \"oneAccountId IS NULL BUT SHOULD NOT BE NULL\");\n\t\t\n\t\treturn createCustomerResponse;\n\t}",
"public void addCustomer(CustomerSignup p)\n {\n Session session = this.sessionFactory.getCurrentSession();\n \n session.persist(p);\n \n CustomerLogin cl=new CustomerLogin();\n cl.setUsername(p.getUsername());\n cl.setPassword(p.getPassword());\n cl.setId(p.getId());\n session.persist(cl);\n \n Authorities a = new Authorities();\n a.setUsername(p.getUsername());\n a.setAuthority(\"ROLE_USER\");\n a.setId(p.getId());\n session.saveOrUpdate(a);\n\n session.flush();\n \n logger.info(\"Customer saved successfully, Customer Details=\"+p);\n }",
"CustomerDto createCustomer(CustomerEntity customerEntity);",
"private static void generateDeleteCustomer() {\n long accountNo = getRandAccountD();\n writeToFile(String.format(\"%d\\n\", accountNo));\n }",
"Account create();",
"@Override\n\tpublic void create(CustomerLogin customerLogin) {\n\t\tdao.insert(customerLogin);\n\t}",
"public void createSalerCustomer(SalerCustomer salerCustomer) {\n\t\tthis.salerCustomerMapper.createSalerCustomer(salerCustomer);\n\t}",
"private Customer addCustomerDetails(CustomerRegRequestDto requestDto) {\n\t\tString customerId = null;\n\n\t\tOptional<Utility> details = utilityRepo.findByUtilityId(requestDto.getCustomerUtilityId());\n\t\tif (!details.isPresent())\n\t\t\tthrow new NoDataFoundException(CustomerConstants.UTILITY_NOT_FOUND);\n\n\t\tOptional<Customer> getCustomer = customerRepo.findFirstByOrderByModifiedDateDesc();\n\t\tif (getCustomer.isPresent()) {\n\t\t\tif (getCustomer.get().getCustomerId().charAt(0) == CustomerConstants.CUSTOMER_STARTING)\n\t\t\t\tcustomerId = Helper.generateNextCustomerId(getCustomer.get().getCustomerId(),\n\t\t\t\t\t\tdetails.get().getUtilityName());\n\t\t\telse\n\t\t\t\tcustomerId = Helper.generateUniqueCustomerId(details.get().getUtilityName());\n\n\t\t} else {\n\t\t\tcustomerId = Helper.generateUniqueCustomerId(details.get().getUtilityName());\n\n\t\t}\n\t\tmodelMapper.getConfiguration().setAmbiguityIgnored(true);\n\t\tCustomer addNewCustomer = modelMapper.map(requestDto, Customer.class);\n\t\taddNewCustomer.setCustomerId(customerId);\n\t\taddNewCustomer.setActive(true);\n\t\taddNewCustomer.setCreatedBy(requestDto.getUserId());\n\t\taddNewCustomer.setCreatedDate(new Date());\n\t\taddNewCustomer.setModifiedBy(requestDto.getUserId());\n\t\taddNewCustomer.setModifiedDate(new Date());\n\t\treturn customerRepo.save(addNewCustomer);\n\t}",
"public void validateCreateCustomerAndTask() {\n\t\tAttSelectNewCustomerOptionFromListBox.click();\n\t\tAttCustomerNameTextBox.sendKeys(\"TestCust\");\n\t\tAttProjectNameTextBox.sendKeys(\"TestProject\");\n\t\tAttTaskNameTextBox.sendKeys(\"Tast1WCNP\");\n\t\tAttBudgetTimeTextBox.sendKeys(\"3:00\");\n\t\tAttEnterDateInDateField.sendKeys(Keys.ENTER,\"Jan 27, 2019\");\n\t\tAttSelectBillableBillingType.click();\n\t\tAttSelectCheckBoxMarkToBeAdd.click();\n\t\tAttCreateTaskBtn.click();\n\t}",
"public Customer saveCustomerDetails(Customer customer);",
"public boolean addCustomer(Customer customer) throws DatabaseOperationException;"
]
| [
"0.86807406",
"0.82674956",
"0.82674956",
"0.82674956",
"0.82674956",
"0.78618205",
"0.7840581",
"0.7743427",
"0.76468384",
"0.7524038",
"0.7476304",
"0.74689275",
"0.7426196",
"0.7423635",
"0.73071134",
"0.7293025",
"0.72735894",
"0.72641045",
"0.7258522",
"0.72431344",
"0.71919626",
"0.7158941",
"0.71406144",
"0.71112996",
"0.70999235",
"0.7070996",
"0.7037087",
"0.7006183",
"0.7002734",
"0.69480956",
"0.6932917",
"0.6932334",
"0.6911414",
"0.69090956",
"0.6907563",
"0.6882274",
"0.68768317",
"0.686673",
"0.6865515",
"0.6858125",
"0.68530345",
"0.67819625",
"0.6770781",
"0.6769516",
"0.6750443",
"0.6747016",
"0.67000234",
"0.6667969",
"0.6655728",
"0.6648563",
"0.664174",
"0.6635823",
"0.6619538",
"0.6617649",
"0.65955985",
"0.65818745",
"0.6574347",
"0.65592694",
"0.65560913",
"0.6554212",
"0.6535236",
"0.652324",
"0.6522173",
"0.65156513",
"0.65147394",
"0.65062565",
"0.65054196",
"0.65026337",
"0.6500158",
"0.6498281",
"0.6493664",
"0.6491317",
"0.64822793",
"0.6477034",
"0.64758307",
"0.64732367",
"0.6471793",
"0.64667994",
"0.6461302",
"0.64560074",
"0.6448969",
"0.6441702",
"0.6438113",
"0.6432336",
"0.6423346",
"0.64225376",
"0.64214355",
"0.6411529",
"0.6410923",
"0.6410436",
"0.64087653",
"0.6405025",
"0.64028156",
"0.63993955",
"0.6397918",
"0.63915837",
"0.63751745",
"0.6368143",
"0.6365792",
"0.6362784"
]
| 0.65825146 | 55 |
function that update customer | @GET
@Path("UpdateCustomer")
public Reply UpdateCustomer(@QueryParam("id") int id, @QueryParam("companyname") String companyname,
@QueryParam("companynumber") String companynumber, @QueryParam("contactname") String contactname,
@QueryParam("email") String email, @QueryParam("phone") String phone, @QueryParam("user") int user) {
return ManagerHelper.getCustomerManager().UpdateCustomer(id, companyname, companynumber, contactname, email,
phone, user);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(Customer customer) {\n\n\t}",
"@Override\n\tpublic void update(Customer customer) {\n\t\t\n\t}",
"@Override\n\tpublic void update(Customer customer) {\n\t\t\n\t}",
"public void update(Customer myCust){\n }",
"void updateCustomerById(Customer customer);",
"@Override\n\tpublic void update(Customer t) {\n\n\t}",
"public void updateCustomer(String id) {\n\t\t\n\t}",
"public int updateCustomer(Customer customer) {\n return model.updateCustomer(customer); \n }",
"@Test\n\tpublic void updateCustomer() {\n\t\t// Given\n\t\tString name = \"Leo\";\n\t\tString address = \"Auckland\";\n\t\tString telephoneNumber = \"021123728381\";\n\t\tICustomer customer = customerController.create(name, address, telephoneNumber);\n\t\tname = \"Mark\";\n\t\taddress = \"Auckland\";\n\t\ttelephoneNumber = \"0211616447\";\n\t\tlong id = customer.getId();\n\n\t\t// When\n\t\tICustomer cus = customerController.update(id, name, address, telephoneNumber);\n\n\t\t// Then\n\t\tAssert.assertEquals(name, cus.getName());\n\t\tAssert.assertEquals(address, cus.getAddress());\n\t\tAssert.assertEquals(telephoneNumber, cus.getTelephoneNumber());\n\t\tAssert.assertEquals(id, cus.getId());\n\t}",
"@Override\n public void updateCustomer(UUID customerId, @RequestBody Customer customer) {\n log.debug(\"Updating a customer to service...\");\n }",
"private void updateCustomer(HttpServletRequest request, HttpServletResponse response) throws IOException {\n int id = Integer.parseInt(request.getParameter(\"id\"));\n String name = request.getParameter(\"name\");\n String phone = request.getParameter(\"phone\");\n String email = request.getParameter(\"email\");\n Customer updateCustomer = new Customer(id, name, phone, email);\n CustomerDao.addCustomer(updateCustomer);\n response.sendRedirect(\"list\");\n\n }",
"void updateCustomer(int id, String[] updateInfo);",
"void updateCustomerDDPay(CustomerDDPay cddp);",
"@Override\n\tpublic void updateCustomer(Customer customer) throws Exception{\n\t\tConnection con = pool.getConnection();\n\t\tCustomer custCheck = getCustomer(customer.getId());\n\t\tif(custCheck.getCustName()== null)\n\t\t\treturn;\n\t\t\t//throws Exception no customer found in DB\n\n\t\ttry {\n\t\t\tStatement st = con.createStatement();\n\t\t\tString update = String.format(\"update customer set CUST_NAME=('%s') where id in ('%d')\" +\n\t\t\t\" update customer set PASSWORD=('%s')\"\n\t\t\t\t\t+ \" where id in('%d')\",\n\t\t\t\t\tcustomer.getCustName(),\n\t\t\t\t\tcustomer.getId(),\n\t\t\t\t\tcustomer.getPassword(),\n\t\t\t\t\tcustomer.getId());\n\t\t\t\n\t\t\tst.executeUpdate(update);\n\t\t\tSystem.out.println(\"Customer updated successfully\");\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \"Unable to update A customer, Try Again! \");\n\t\t} finally {\n\t\t\tpool.returnConnection(con);\n\t\t}\n\n\t}",
"@PutMapping(\"/customers\")\n\tpublic Customer updatecustomer(@RequestBody Customer thecustomer) {\n\t\t\n\t\tthecustomerService.saveCustomer(thecustomer); //as received JSON object already has id,the saveorupdate() DAO method will update details of existing customer who has this id\n\t\treturn thecustomer;\n\t}",
"@PutMapping(\"/customerupdate\")\n\tpublic void update(@RequestBody Customer theCustomer) {\n\t\t// checking whether the customer exists or not\n\t\tCustomer customerExists = customerServices.findByID(theCustomer.getMobile_number());\n\n\t\tif (customerExists != null) {\n\t\t\tcustomerServices.save(theCustomer);\n\t\t} else {\n\t\t\tthrow new RuntimeException(\"Customer with customer id - \" + theCustomer + \" not exists\");\n\t\t}\n\t}",
"@Override\n\tpublic boolean updateCustomer(Customer customer) {\n\t\treturn false;\n\t}",
"CustomerOrder update(CustomerOrder customerOrder);",
"@Override\n public void updateCustomer(UUID id, CustomerDto customer) {\n log.debug(\"Customer is updated: customerId: \"+id);\n }",
"CustomerDto updateCustomer(CustomerDto customerDto);",
"@Override\r\n\tpublic void saveCustomer(CRMDto theCustomer) {\n\t\t\r\n\t\tSession session = factory.openSession();\r\n\t\tTransaction tx = session.beginTransaction();\r\n\t\tsession.update(theCustomer);\r\n\t\ttx.commit();\r\n\t\t//System.out.println(\"pk update is \" +pk);\r\n\t\t\r\n\t\t\r\n\t}",
"private void updateCustomer(Customer customer) {\n List<String> args = Arrays.asList(\n customer.getCustomerName(),\n customer.getAddress(),\n customer.getPostalCode(),\n customer.getPhone(),\n customer.getLastUpdate().toString(),\n customer.getLastUpdatedBy(),\n String.valueOf(customer.getDivisionID()),\n String.valueOf(customer.getCustomerID())\n );\n DatabaseConnection.performUpdate(\n session.getConn(),\n Path.of(Constants.UPDATE_SCRIPT_PATH_BASE + \"UpdateCustomer.sql\"),\n args\n );\n }",
"public ResponseEntity<?> updateCustomerById(Long id, customer.controller.Customer customer);",
"public boolean updateCustomer() {\n\t\treturn false;\r\n\t}",
"@Override\n\t@Transactional\n\tpublic void updateCustomer(Customer customer) {\n\n\t\thibernateTemplate.update(customer);\n\t\tSystem.out.println(\"customer is updated \" + customer);\n\n\t}",
"public int updateCustomer(Map customerMap, Map allData){\r\n\t\t\r\n\t\treturn 0;\r\n\t}",
"@Override\n\tpublic Customer update(long customerId, Customer customer) {\n\t\treturn null;\n\t}",
"public boolean updateCustomer(String customerJSON);",
"public void update(Customer c){\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n try {\n ppst = conn.prepareCall(\"UPDATE customer SET name = ?, id = ?, phone = ? WHERE customer_key = ?\");\n ppst.setString(1, c.getName());\n ppst.setString(2, c.getId());\n ppst.setString(3, c.getPhone());\n ppst.setInt(4, c.getCustomerKey());\n ppst.executeUpdate();\n System.out.println(\"Updated successfully.\");\n } catch (SQLException e) {\n throw new RuntimeException(\"Update error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst);\n }\n }",
"@Override\n\tpublic Uni<Customer> updateCustomer(Customer customer) {\n\t\tFunction<Customer, Uni<? extends Customer>> update = entity -> {\n\t\t\tentity.setName(customer.getName());\n\t\t\tentity.setAddress(customer.getAddress());\n\t\t\treturn repo.flush().onItem().transform(ignore -> entity);\n\t\t};\n\t\treturn repo.findById(customer.getId()).onItem().ifNotNull().transformToUni(update);\n\t}",
"@Override\n\tpublic boolean updateCustomer(Customer customer) {\n\t\tSession session =sessionFactory.getCurrentSession();\n\t\tsession.update(customer);\n\t\treturn true;\n\t}",
"public void editCustomer(Customer c) {\n\t\tconnector.editCustomer(c);\n\t\t\n\t\t// Edit entries in table \"Nummern\"\n\t\tconnector.editNumbers(c, c.getNumbers());\n\t\t\n\t\tupdateCustomers();\n\t}",
"public Customer updateCustomer(@RequestBody Customer theCustomer)\n {\n customerService.save(theCustomer);\n return theCustomer;\n }",
"public boolean updatecustomer(long id , Customermodel customermodel) {\n\t\t Optional<Customermodel> customerd = customerdb.findById(id);\n\n\t\t\t\t\tif (customerd.isPresent()) {\n\t\t\t\t\t\tCustomermodel customer = customerd.get();\n\t\t\t\t\t\t\n\t\t\t\t\t\tcustomer.setDob(customermodel.getDob());\n\t\t\t\t\t\tcustomer.setName(customermodel.getName());\n\t\t\t\t\t\tcustomerdb.save(customer);\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\n\t\t\t\t\t} \n\t\t\t\t\telse {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t} \n\t\t \n\t }",
"public void prepareUpdate() {\r\n\t\tlog.info(\"prepare for update customer...\");\r\n\t\tMap<String, String> params = FacesContext.getCurrentInstance()\r\n\t\t\t\t.getExternalContext().getRequestParameterMap();\r\n\t\tString id = params.get(\"customerIdParam\");\r\n\t\tlog.info(\"ID==\" + id);\r\n\t\tCustomer customer = customerService.searchCustomerById(new Long(id));\r\n\t\tcurrent.setCustomerId(customer.getCustomerId());\r\n\t\tcurrent.setCustomerCode(customer.getCustomerCode());\r\n\t\tcurrent.setCustomerName(customer.getCustomerName());\r\n\t\tcurrent.setTermOfPayment(customer.getTermOfPayment());\r\n\t\tcurrent.setCustomerGrade(customer.getCustomerGrade() != null ? customer.getCustomerGrade() : \"\");\r\n\t\tcurrent.setAddress(customer.getAddress());\r\n\t\tlog.info(\"prepare for update customer end...\");\r\n\t}",
"@Override\n\tpublic Customers update(Customers updatecust) {\n\t\tCustomers custpersist= search(updatecust.getId());\n\t\tif (custpersist==null)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\tCustomers upcust = CustRepo.save(updatecust);\n\t\treturn upcust;\n\t}",
"@Override\r\n\tpublic Customer updateCustomer(Customer customer) {\r\n\t\tOptional<Customer> optionalCustomer = null;\r\n\t\tCustomer customer2 = null;\r\n\t\toptionalCustomer = customerRepository.findById(customer.getUserId());\r\n\t\tif (optionalCustomer.isPresent()) {\r\n\t\t\tcustomer2 = customerRepository.save(customer);\r\n\t\t\treturn customer2;\r\n\t\t} else {\r\n\t\t\tthrow new EntityUpdationException(\"Customer With Id \" + customer.getUserId() + \" does Not Exist.\");\r\n\t\t}\r\n\r\n\t}",
"@Override\n\tpublic Customer update(Customer o) {\n\n\t\tif (o == null || o.getId() == null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tString updateQuery = String.format(\"UPDATE TB_customer SET \");\n\t\tupdateQuery += COLUMN_NAME_FIRST_NAME + \"= ? ,\";\n\t\tupdateQuery += COLUMN_NAME_LAST_NAME + \"= ? ,\";\n\t\tupdateQuery += COLUMN_NAME_EMAIL + \"= ? ,\";\n\t\tupdateQuery += COLUMN_NAME_KNICKNAME + \"= ?,\";\n\t\tupdateQuery += COLUMN_NAME_BIRTHDATE + \"= ?,\";\n\t\tupdateQuery += COLUMN_NAME_CREDITS + \"= ?\";\n\t\tupdateQuery += \" WHERE \" + COLUMN_NAME_ID + \"= ? ;\";\n\n\t\ttry (PreparedStatement pS = dbCon.prepareStatement(updateQuery)) {\n\n\t\t\tpS.setString(1, o.getFirstName());\n\t\t\tpS.setString(2, o.getLastName());\n\t\t\tpS.setString(3, o.getEmail());\n\t\t\tpS.setString(4, o.getKnickname());\n\t\t\tpS.setDate(5, java.sql.Date.valueOf(o.getBirthdate()));\n\t\t\tpS.setDouble(6, o.getCredits());\n\t\t\tpS.setInt(7, o.getId());\n\t\t\tpS.executeUpdate();\n\n\t\t\tpS.close();\n\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"Update of tb_customer \" + o.getId() + \" failed : \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\n\t\treturn o;\n\t}",
"public static void updateCustomer(int customerID, String name, String address, String firstDivision, String postalCode, String phoneNumber) throws SQLException{\r\n\r\n //connection and prepared statement set up\r\n Connection conn = DBConnection.getConnection();\r\n String insertStatement = \"UPDATE customers SET Customer_Name = ?, Address = ?, Postal_Code = ?, Phone = ?, Last_Update = ?, Last_Updated_By = ?, Division_ID = ? WHERE Customer_ID = ?;\";\r\n DBQuery.setPreparedStatement(conn, insertStatement);\r\n PreparedStatement ps = DBQuery.getPreparedStatement();\r\n int divisionID = getDivisionID(firstDivision);\r\n String userName = DBUsers.getUser();\r\n\r\n ps.setString(1,name);\r\n ps.setString(2, address);\r\n ps.setString(3,postalCode);\r\n ps.setString(4,phoneNumber);\r\n ps.setTimestamp(5, Timestamp.valueOf(LocalDateTime.now()));\r\n ps.setString(6,userName);\r\n ps.setInt(7,divisionID);\r\n ps.setInt(8, customerID);\r\n\r\n ps.execute();\r\n\r\n if(ps.getUpdateCount() > 0) {\r\n System.out.println(ps.getUpdateCount() + \" row(s) effected\");\r\n }\r\n else {\r\n System.out.println(\"no change\");\r\n }\r\n }",
"@Override\n\tpublic void updateCustomer(Customer customer) throws Exception {\n\t\tgetHibernateTemplate().update(customer);\n\t}",
"public void updateCustomerInfo(){\n nameLabel.setText(customer.getName());\n productWantedLabel.setText(customer.getWantedItem());\n serviceManager.getTotalPrice().updateNode();\n }",
"public void updateCustomer(String name, String dob, String gender, String number, String email, String address, String password, Boolean promo, Integer reward) throws SQLException {\n st.executeUpdate(\"UPDATE IOTBAY.CUSTOMER SET \"\n + \"NAME ='\" + name \n + \"DATEOFBIRTH ='\" + dob \n + \"GENDER ='\" + gender \n + \"CONTACTNUMBER ='\" + number \n + \"BILLINGADDRESS ='\" + address \n + \"PASSWORD ='\" + password \n + \"PROMOTIONALNEWSLETTER ='\" + promo \n + \"', REWARDPOINTS='\" + reward \n + \"' WHERE EMAIL='\" + email + \"'\" );\n\n }",
"@Override\n\tpublic int updateCustomerReprieve(CustomerReprieve customerReprieve) {\n\t\treturn customerDao.updateCustomerReprieve(customerReprieve);\n\t}",
"@Override\n\tpublic boolean update(int customerId,String c) {\n\t\tString query=\"UPDATE Customer SET city=? where Customer_ID=?\";\n\t\ttry {\n\t\t\tPreparedStatement preparedStatement=DatabaseConnectionDAO.geConnection().prepareStatement(query);\n\t\t\tpreparedStatement.setInt(1, customerId);\n\t\t\tpreparedStatement.setString(2, c);\n\t\t\tint n=preparedStatement.executeUpdate();\n\t\t\tif(n>0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"updated\");\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"enter valid data\");\n\t\t\t}\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\treturn false;\n\t}",
"@Override\n\tpublic void update() {\n\t\tSystem.out.println(\"Mobile Customer update()\");\n\t}",
"public void updateCustomer(int phone, int discount, String name, String address, String group, int originalNumber)\n\t{\n\t\tCustomer customer = getCustomer(originalNumber);\n\t\tcustomer.setPhone(phone);\n\t\tcustomer.setDiscount(discount);\n\t\tcustomer.setName(name);\n\t\tcustomer.setAddress(address);\n\t\tcustomer.setGroup(group);\n\t}",
"public void update(Customer customer) throws SQLException {\r\n\t\tString updateSql = \"UPDATE \" + tableName\r\n\t\t\t\t+ \" SET name=?,surname=?,birth_date=?,birth_place=?,address=?,city=?,province=?,\"\r\n\t\t\t\t+ \" cap=?,phone_number=?,newsletter=?,email=?\" + \"WHERE (id = ?)\";\r\n\t\ttry {\r\n\t\t\t//connection = ds.getConnection();\r\n\t\t\tpreparedStatement = connection.prepareStatement(updateSql);\r\n\t\t\tpreparedStatement.setString(1, customer.getName());\r\n\t\t\tpreparedStatement.setString(2, customer.getSurname());\r\n\t\t\tpreparedStatement.setDate(3, (Date) customer.getBirthdate());\r\n\t\t\tpreparedStatement.setString(4, customer.getBirthplace());\r\n\t\t\tpreparedStatement.setString(5, customer.getAddress());\r\n\t\t\tpreparedStatement.setString(6, customer.getCity());\r\n\t\t\tpreparedStatement.setString(7, customer.getProvince());\r\n\t\t\tpreparedStatement.setInt(8, customer.getCap());\r\n\t\t\tpreparedStatement.setString(9, customer.getPhoneNumber());\r\n\t\t\tpreparedStatement.setInt(10, customer.getNewsletter());\r\n\t\t\tpreparedStatement.setString(11, customer.getEmail());\r\n\t\t\tpreparedStatement.setInt(12, customer.getId());\r\n\t\t\tpreparedStatement.executeUpdate();\r\n\t\t\tconnection.commit();\r\n\t\t} catch (SQLException e) {\r\n\t\t}\r\n\t}",
"protected void updateCustomer( int C_W_ID, int C_D_ID, int C_ID, double OL_AMOUNT ) {\n String query = \"UPDATE tpcc_customer SET c_balance = c_balance + \" + OL_AMOUNT + \", c_delivery_cnt = c_delivery_cnt + 1 WHERE c_w_id = \" + C_W_ID + \" AND c_d_id = \" + C_D_ID + \" AND c_id = \" + C_ID;\n executeAndLogStatement( query, QueryType.QUERYTYPEUPDATE );\n }",
"public void setExistingCustomer(Customer existingCustomer) { this.existingCustomer = existingCustomer; }",
"public void update(String custNo, CstCustomer cstCustomer2) {\n\t\tcstCustomerDao.update(custNo,cstCustomer2);\n\t}",
"@Override\r\n\tpublic void update(CustVO custVO) {\n\t\tConnection con = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\ttry {\r\n\t\t\tcon = ds.getConnection();\r\n\t\t\tpstmt = con.prepareStatement(UPDATE);\r\n\r\n\t\t\tpstmt.setString(1, custVO.getCust_acc());\r\n\t\t\tpstmt.setString(2, custVO.getCust_pwd());\r\n\t\t\tpstmt.setString(3, custVO.getCust_name());\r\n\t\t\tpstmt.setString(4, custVO.getCust_sex());\r\n\t\t\tpstmt.setString(5, custVO.getCust_tel());\r\n\t\t\tpstmt.setString(6, custVO.getCust_addr());\r\n\t\t\tpstmt.setString(7, custVO.getCust_pid());\r\n\t\t\tpstmt.setString(8, custVO.getCust_mail());\r\n\t\t\tpstmt.setDate(9, custVO.getCust_brd());\r\n\t\t\tpstmt.setDate(10, custVO.getCust_reg());\r\n\t\t\tpstmt.setBytes(11, custVO.getCust_pic());\r\n\t\t\tpstmt.setString(12, custVO.getCust_status());\r\n\t\t\tpstmt.setString(13, custVO.getCust_niname());\r\n\t\t\tpstmt.setString(14, custVO.getCust_ID());\r\n\r\n\t\t\tpstmt.executeUpdate();\r\n\t\t} catch (SQLException se) {\r\n\t\t\tthrow new RuntimeException(\"A database error occured.\" + se.getMessage());\r\n\t\t} finally {\r\n\t\t\tif (pstmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tpstmt.close();\r\n\t\t\t\t} catch (SQLException se) {\r\n\t\t\t\t\tse.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (con != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcon.close();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}",
"@Override\n\t\t\t\tpublic void execute()\n\t\t\t\t{\n\n\t\t\t\t\tMobiculeLogger.verbose(\"execute()\");\n\t\t\t\t\tresponse = updateCustomerFacade.updateCustomerDetails();\n\t\t\t\t}",
"public void editCustomer() {\n int id = this.id;\n PersonInfo personInfo = dbHendler.getCustInfo(id);\n String name = personInfo.getName().toString().trim();\n String no = personInfo.getPhoneNumber().toString().trim();\n float custNo = personInfo.get_rootNo();\n String cUSTnO = String.valueOf(custNo);\n int fees = personInfo.get_fees();\n String fEES = Integer.toString(fees);\n int balance = personInfo.get_balance();\n String bALANCE = Integer.toString(balance);\n String nName = personInfo.get_nName().toString().trim();\n String startdate = personInfo.get_startdate();\n int areaID = personInfo.get_area();\n String area = dbHendler.getAreaName(areaID);\n person_name.setText(name);\n contact_no.setText(no);\n rootNo.setText(cUSTnO);\n monthly_fees.setText(fEES);\n balance_.setText(bALANCE);\n nickName.setText(nName);\n this.startdate.setText(startdate);\n // retrieving the index of element u\n int retval = items.indexOf(area);\n\n spinner.setSelection(retval);\n }",
"public void updateNewTandC(Integer vendorId, String userName);",
"@PutMapping(\"/{id}\")\n public String update(@ModelAttribute(CUSTOMER) CustomerDTO customerDTO, @PathVariable(\"id\") long id) {\n Customer customer = mapDTOCustomerToPersistent(customerDTO);\n customer.getActualAddress().setModified(LocalDateTime.now());\n customerService.updateCustomer(customer, id);\n return REDIRECT_CLIENTS;\n }",
"public static void updatePersonDetails(int customerId, Database d) {\r\n\r\n\r\n\t\tCustomer oldCustomer = d.getCustomer(customerId);\r\n\t\tCustomer newCustomer = oldCustomer;\r\n\r\n\t\tboolean update = true;\r\n\t\tboolean[] updatecheck = new boolean[6];\r\n\t\tfor (int c = 0; c < 6; c++) {\r\n\r\n\t\t\tupdatecheck[c] = false;\r\n\r\n\t\t}\r\n\r\n\t\twhile (update) {\r\n\r\n\t\t\tSystem.out.println(\"Your current personal details are: \" + oldCustomer.name + \" , \" + oldCustomer.address\r\n\t\t\t\t\t+ \" , \" + oldCustomer.phone + \" , \" + oldCustomer.sex + \" , \" + oldCustomer.dob);\r\n\t\t\tSystem.out.println(\r\n\t\t\t\t\t\"Press a number to change a value: name (1), address (2), phone(3), sex (4), dob(5), pin(6)\");\r\n\t\t\tSystem.out.println(\"To exit the updating sesson press 0.\");\r\n\t\t\tString input = inputScanner.next();\r\n\t\t\tString newvalue = \"\";\r\n\r\n\t\t\t// stops the updating process\r\n\t\t\tif (input.equals(\"0\")) {\r\n\t\t\t\tupdate = false;\r\n\t\t\t\tSystem.out.println(\"Updating stopped, changes are saved.\");\r\n\t\t\t// changes the customers name\r\n\t\t\t} else if (input.equals(\"1\")) {\r\n\t\t\t\tSystem.out.println(\"Insert new value!\");\r\n\t\t\t\twhile (updatecheck[1] == false) {\r\n\t\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\t\tif (newvalue.length() >= 3 && newvalue.length() < 25) {\r\n\t\t\t\t\t\tnewCustomer.name = newvalue;\r\n\t\t\t\t\t\tupdatecheck[0] = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"Please enter a name between 3 and 25 charakters.\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t// changes the customers address\r\n\t\t\t} else if (input.equals(\"2\")) {\r\n\t\t\t\tSystem.out.println(\"Insert new value!\");\r\n\t\t\t\twhile (updatecheck[1] == false) {\r\n\t\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\t\tif (newvalue.length() >= 5 && newvalue.length() < 40) {\r\n\t\t\t\t\t\tnewCustomer.address = newvalue;\r\n\t\t\t\t\t\tupdatecheck[1] = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"Please enter a name between 5 and 40 charakters.\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t// changes the customers phonenumber\t\r\n\t\t\t} else if (input.equals(\"3\")) {\r\n\t\t\t\tSystem.out.println(\"Insert new value!\");\r\n\t\t\t\twhile (updatecheck[2] == false) {\r\n\t\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\t\tif (newvalue.length() >= 9 && newvalue.length() < 20) {\r\n\t\t\t\t\t\tnewCustomer.phone = newvalue;\r\n\t\t\t\t\t\tupdatecheck[2] = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"Please enter a name between 9 and 20 charakters.\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t// changes the customers gender\r\n\t\t\t} else if (input.equals(\"4\")) {\r\n\t\t\t\tSystem.out.println(\"Insert new value!\");\r\n\t\t\t\twhile (updatecheck[3] == false) {\r\n\t\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\t\tif (newvalue.equals(\"male\") || newvalue.equals(\"female\") || newvalue.equals(\"Male\") || newvalue.equals(\"Female\")) {\r\n\t\t\t\t\t\tnewCustomer.sex = newvalue;\r\n\t\t\t\t\t\tupdatecheck[3] = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"please write if the costumer is a ``male`` or a ``female``\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t// changes the customers pin, the old PIN is necessary for updating\r\n\t\t\t} else if (input.equals(\"5\")) {\r\n\t\t\t\tSystem.out.println(\"Insert new value!\");\r\n\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\tnewCustomer.dob = newvalue;\r\n\t\t\t} else if (input.equals(\"6\")) {\r\n\t\t\t\tSystem.out.println(\"Insert new pin!\");\r\n\t\t\t\twhile (updatecheck[5] == false) {\r\n\t\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\t\tif (newvalue.length() >= 0 && newvalue.length() < 5) {\r\n\t\t\t\t\t\tupdatecheck[5] = true;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"Please enter a number between 0 and 5.\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.println(\"Repeat new pin!\");\r\n\t\t\t\tString newvalue2 = (String) inputScanner.next();\t\t\t\t\r\n\t\t\t\tif (newvalue.equals(newvalue2)) {\r\n\t\t\t\t\tSystem.out.println(\"Insert old pin!\");\r\n\t\t\t\t\tnewvalue = (String) inputScanner.next();\r\n\t\t\t\t\tif ((oldCustomer.pin).equals(newvalue)) {\r\n\t\t\t\t\t\tnewCustomer.pin = newvalue2;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tSystem.out.println(\"Old PIN was not correct!\");\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tSystem.out.println(\"The PINs did not match!\");\r\n\t\t\t\t}\r\n\t\t\t} \r\n\r\n\t\t\toldCustomer = newCustomer;\r\n\r\n\t\t}\r\n\r\n\t}",
"public void setCustomer(String Cus){\n\n this.customer = Cus;\n }",
"Boolean updateOrInsert(Customer customer);",
"int updateByPrimaryKey(OcCustContract record);",
"@Override\n\tpublic void saveCustomer(Customer theCustomer) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// save/upate the customer ... finally LOL\n\t\tcurrentSession.saveOrUpdate(theCustomer);\n\t\t\n\t}",
"public static void update(Customer aCustomer) throws NotFoundException\r\n\t{\n\t\tphoneNumber = aCustomer.getPhoneNo();\r\n\t\tname = aCustomer.getName();\r\n\t\taddress = aCustomer.getAddress();\r\n\r\n\t\t// define the SQL query statement using the phone number key\r\n\t\tString sqlUpdate = \"Update CustomerTable \" +\r\n\t\t\t\t\t\t\t\t \" SET CustomerName = '\" + name +\"', \" +\r\n\t\t\t\t\t\t\t\t \" address = '\" + address +\"' \" +\r\n\t\t\t\t\t\t\t\t \" WHERE PhoneNo = '\" + phoneNumber + \"'\";\r\n\r\n\t\t// see if this customer exists in the database\r\n\t\t// NotFoundException is thrown by find method\r\n\t\ttry\r\n\t\t{\r\n\t\t\tCustomer c = Customer.find(phoneNumber);\r\n \t\t// if found, execute the SQL update statement\r\n \t\tint result = aStatement.executeUpdate(sqlUpdate);\r\n \t}\r\n\t\tcatch (SQLException e)\r\n\t\t\t{ System.out.println(e);\t}\r\n\t}",
"@Override\n\tpublic boolean updateCustomer(Integer id, Customer customer) {\n\n\t\tboolean isUpdated = false;\n\n\t\tfor (Customer cust : customers) {\n\t\t\tif (cust.getId() == id) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcust.setUsername(customer.getUsername());\n\t\t\t\tcust.setFirstName(customer.getFirstName());\n\t\t\t\tcust.setLastName(customer.getLastName());\n\t\t\t\tcust.setEmail(customer.getEmail());\n\t\t\t\tcust.setUserType(customer.getUserType());\n\t\t\t\tcust.setPassword(customer.getPassword());\n\t\t\t\tcust.setAddress(customer.getAddress());\n\t\t\t\tlogger.info(\"Customer @id\" + id + \" is updated in the list\");\n\t\t\t\tisUpdated = true;\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"Update done : updateCustomer.isUpdated = \" + isUpdated);\n\t\treturn isUpdated;\n\t}",
"@Test\r\n public void testupdateCustomer() throws Exception {\r\n System.out.println(\"updateCustomer\");\r\n List<Server.Customer> lesClients = DAOCustomer.loadCustomer(Con());\r\n Server.Customer m = lesClients.get(2);\r\n DAOCustomer.updateCustomer(Con(),1, \"Costa\", \"Rui\",\"15 rue Paul\",\"77290\",\"Paris\",\"[email protected]\",\"M\");\r\n List<Server.Customer> results = DAOCustomer.loadCustomer(Con());\r\n Server.Customer r = results.get(2);\r\n assertFalse(m.getPrenom() == r.getPrenom());\r\n \r\n }",
"public int update(CustomerInfo ci){\n\t\t\n\t\tint retcode = PtvConstant.SUCCESS;\n\t\t\n\t\tsetLastTimeStamp(System.currentTimeMillis());\n\t\t\n\t\treturn retcode;\n\t\t\n\t}",
"@Override\n\tpublic void putCustomers(Customer customer) {\n\n\t\tsessionFactory.getCurrentSession().saveOrUpdate(customer);;\n\n\t}",
"@Override\n\tpublic void saveCustomer(Customer theCustomer) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t// currentSession.save(theCustomer);\n\n\t\t// save/upate the customer\n\t\tcurrentSession.saveOrUpdate(theCustomer);\n\t}",
"@PutMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Customer> updateCustomer(@PathVariable Long id, @RequestBody Customer customerDetails) {\n\t\tCustomer customer = customerRepository.findById(id)\n\t\t\t\t.orElseThrow(() -> new ResourceNotFoundException(\"Customer not exist with id :\" + id));\n\t\tcustomer.setName(customerDetails.getName());\n\t\tcustomer.setAddress(customerDetails.getAddress());\n\t\tcustomer.setNic(customerDetails.getNic());\n\t\tcustomer.setUsername(customerDetails.getUsername());\n\t\tcustomer.setPassword(customerDetails.getPassword());\n\t\tcustomer.setBirthday(customerDetails.getBirthday());\n\t\tcustomer.setMobile(customerDetails.getMobile());\n\t\tcustomer.setReg_date(customerDetails.getReg_date());\n\t\tcustomer.setEmail(customerDetails.getEmail());\n\t\tcustomer.setImage(customerDetails.getImage());\n\t\tcustomer.setSec_ques_no(customerDetails.getSec_ques_no());\n\t\tcustomer.setSec_ques_answer(customerDetails.getSec_ques_answer());\n\t\tcustomer.setGender(customerDetails.getGender());\n\n\t\tCustomer updatedCustomer = customerRepository.save(customer);\n\t\treturn ResponseEntity.ok(updatedCustomer);\n\t}",
"@Override\n\tpublic void saveCustomer(AMOUNT theCustomer) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t// save the customer ... \n\t\tcurrentSession.save(theCustomer);\n\t}",
"@Override\n\tpublic void updateProfile(CustomerUpdateVO customerVO) {\n\t\tCustomer customer = customerRepository.findById(customerVO.getCid()).get();\n\t\ttry {\n\t\t\tcustomer.setImage(customerVO.getPhoto().getBytes());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcustomer.setName(customerVO.getName());\n\t\tcustomer.setMobile(customerVO.getMobile());\n\t\tcustomer.setDom(new Timestamp(new Date().getTime()));\n\t\t/// customerRepository.save(customer);\n\t}",
"@PutMapping(\"/customers\")\n public void updateCustomer(@RequestBody CustomerHibernate theCustomerHibernate) {\n customerService.save(theCustomerHibernate);\n }",
"@RequestMapping(method = RequestMethod.PUT, value = \"/{id}\")\n\t public ResponseEntity<?> updateUser(@PathVariable(\"id\") Long id, @RequestBody Customer customer) {\n\t \treturn service.updateCustomer(id, customer);\n\t }",
"public void update(Customer user){\n\t\t\n\t\tString sql = \"UPDATE CUSTOMER SET \" +\n\t\t\t\t\"NAME = ?, Age = ? WHERE CUST_ID = ? \";\n\t\tConnection conn = null;\n\t\t\n\t\ttry {\n\t\t\tconn = dataSource.getConnection();\n\t\t\tPreparedStatement ps = conn.prepareStatement(sql);\n\t\t\tps.setString(1, user.getName());\n\t\t\tps.setInt(2, user.getAge());\n\t\t\tps.setInt(3, user.getCustId());\n\t\t\tps.executeUpdate();\n\t\t\tps.close();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t\t\n\t\t} finally {\n\t\t\tif (conn != null) {\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {}\n\t\t\t}\n\t\t}\n\t}",
"public void setCustomer(String customer) {\n this.customer = customer;\n }",
"@ApiOperation(value = \"Replace a customer by new data\", notes = \"\")\n @PutMapping(value = {\"/{customerId}\"},produces = MediaType.APPLICATION_JSON_VALUE)\n @ResponseStatus(HttpStatus.OK)\n public CustomerDTO updateCustomer(@PathVariable Long customerId,@Validated @RequestBody CustomerDTO customerDTO) {\n return customerService.updateCustomer(customerId, customerDTO);\n }",
"@Override\n\tpublic void saveCustomer(Customer theCustomer) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// save the customer\n\t\tcurrentSession.saveOrUpdate(theCustomer);\n\t\t//currentSession.save(theCustomer);\n\t}",
"@CrossOrigin\n @RequestMapping(method = PUT, path = \"/customer\", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)\n public ResponseEntity<UpdateCustomerResponse> updateName(@RequestHeader(\"authorization\") final String authorization, @RequestBody UpdateCustomerRequest updateCustomerRequest) throws AuthorizationFailedException, UpdateCustomerException {\n String accessToken = utilityService.splitAuthorization(authorization);\n CustomerEntity customer = customerService.getCustomer(accessToken);\n String newFirstName = updateCustomerRequest.getFirstName();\n String newLastName = updateCustomerRequest.getLastName();\n // Check if the firstname entered is empty\n if (utilityService.isStringEmptyOrNull(newFirstName)) {\n throw new UpdateCustomerException(\"UCR-002\", \"First name field should not be empty\");\n } else {\n customer.setFirstName(newFirstName);\n customer.setLastName(newLastName);\n CustomerEntity updateCustomer = customerService.updateCustomer(customer);\n\n UpdateCustomerResponse response = new UpdateCustomerResponse();\n response.setId(updateCustomer.getUuid());\n response.setFirstName(updateCustomer.getFirstName());\n response.setLastName(updateCustomer.getLastName());\n response.setStatus(\"CUSTOMER DETAILS UPDATED SUCCESSFULLY\");\n return new ResponseEntity<UpdateCustomerResponse>(response, HttpStatus.OK);\n }\n\n }",
"public void setCustomer_id(int customer_id){\n this.customer_id = customer_id;\n }",
"public void setCustomerId(int customerId) \n {\n this.customerId = customerId;\n }",
"public Customer Update(int id, String attribute, Customer customer) {\n\t\t\n\t\tString sql = \"\";\n\t\t\n\t\tswitch(attribute) {\n\t\tcase \"NAME\":\n\t\t\tsql = \"UPDATE customers set name = '\"+ customer.getName() + \"' where customer_id = \"+id;\n\t\t\tbreak;\n\t\tcase \"EMAIL\":\n\t\t\tsql = \"UPDATE customers set email = '\"+ customer.getEmail() + \"' where customer_id = \"+id;\n\t\t\tbreak;\n\t\tcase \"ADDRESS\":\n\t\t\tsql = \"UPDATE customers set address = '\"+ customer.getAddress() + \"' where customer_id = \"+id;\n\t\t\tbreak;\n\t\t}\n\t\t\n\t\ttry {\n\t\t\tstmt.executeUpdate(sql);\n\t\t\treturn readById(id);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}",
"void updateAccount();",
"@Override\r\n\tpublic void updateWx_BindCustomerPassword(Wx_BindCustomer wx_BindCustomer) {\n\t\tshopuserDao.updateWx_BindCustomerPassword(wx_BindCustomer);\r\n\t}",
"public CstCustomer toupdate(String custNo) {\n\t\tCstCustomer cstCustomer=cstCustomerDao.toupdate(custNo);\n\t\treturn cstCustomer;\n\t}",
"Boolean updateList(List<Customer> list);",
"public CustomerProfileDTO editCustomerProfile(CustomerProfileDTO customerProfileDTO)throws EOTException;",
"@Override\n\tpublic void saveUserInfo(Customer customer) {\n\t\t\n\t}",
"public InwardEntity updateInvoice(InwardEntity entity , String companyId, String customerId) throws EntityException\n\t\t\t{\n\n\t\t\t\tDatastore ds = null;\n\t\t\t\tCompany cmp = null;\n\t\t\t\tBusinessPlayers customer = null;\n\t\t\t\tProducts prod = null;\n\t\t\t\tTax tax = null;\n\t\t\t\tKey<InwardEntity> key = null;\n\t\t\t\tObjectId oid = null;\n\t\t\t\tObjectId customerOid = null;\n\t\t\t\tObjectId prodOid = null;\n\t\t\t\tObjectId taxOid = null;\n\t\t\t\tInwardEntity invoice = null;\n\t\t\t\tboolean customerChange = false;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tds = Morphiacxn.getInstance().getMORPHIADB(\"test\");\n\t\t\t\t\toid = new ObjectId(companyId);\n\t\t\t\t\tQuery<Company> query = ds.createQuery(Company.class).field(\"id\").equal(oid);\n\t\t\t\t\tcmp = query.get();\n\t\t\t\t\tif(cmp == null)\n\t\t\t\t\t\tthrow new EntityException(404, \"cmp not found\", null, null);\n\t\t\t\t\t\n\t\t\t\t\t\n\n\t\t\t\t\t//check if invoice exists with object id for update , fetch invoice, make changes to it\n\t\t\t\t\n\t\t\t\t\tQuery<InwardEntity> iQuery = ds.find(InwardEntity.class).filter(\"company\",cmp).filter(\"isInvoice\", true).\n\t\t\t\t\t\t\tfilter(\"id\",entity.getId());\n\n\t\t\t\t\tinvoice = iQuery.get();\n\t\t\t\t\tif(invoice == null)\n\t\t\t\t\t\tthrow new EntityException(512, \"invoice not found\", null, null); //cant update\n\n\n\t\t\t\t\t/*check if vendor changed in update, if so then check if new vendor exists\n\t\t\t\t\t * if vendor hasnt changed bt was deleted - let it be\n\t\t\t\t\t */\n\n\t\t\t\t\tif(!(customerId.equals(invoice.getCustomer().getId().toString())))\n\t\t\t\t\t{\n\t\t\t\t\t\tcustomerChange = true;\n\t\t\t\t\t\tcustomerOid = new ObjectId(customerId);\n\t\t\t\t\t\tQuery<BusinessPlayers> bpquery = ds.createQuery(BusinessPlayers.class).field(\"company\").equal(cmp).field(\"isCustomer\").equal(true).field(\"id\").equal(customerOid).field(\"isDeleted\").equal(false);\n\t\t\t\t\t\tcustomer = bpquery.get();\n\t\t\t\t\t\tif(customer == null)\n\t\t\t\t\t\t\tthrow new EntityException(512, \"customer not found\", null, null);\n\n\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t/*if bill number is editable, do check if there is new /old vendor + new/old bill number combo unique\n\t\t\t\t\t * if vendor hasnt changed and bill number hasnt chngd - no prob\n\t\t\t\t\t * if vendor/bill number has chngd do check\n\t\t\t\t\t */\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t// front end list cant be null\n\t\t\t\t\tList<OrderDetails> invoiceDetails = entity.getInvoiceDetails();\n\n\t\t\t\t\tfor(OrderDetails details : invoiceDetails)\n\t\t\t\t\t{\n\n\t\t\t\t\t\t//check tax exists, if not deleted\n\t\t\t\t\t\tif(details.getTax().getId() != null && details.getTax().isDeleted() == false)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\ttaxOid = new ObjectId(details.getTax().getId().toString());\n\t\t\t\t\t\t\tQuery<Tax> taxquery = ds.createQuery(Tax.class).field(\"company\").equal(cmp).field(\"id\").equal(taxOid).field(\"isDeleted\").equal(false);\n\t\t\t\t\t\t\ttax = taxquery.get();\n\t\t\t\t\t\t\tif(tax == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(513, \"tax not found\", null, null); //has been deleted in due course\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t//check tax exists, if deleted\n\t\t\t\t\t\tif(details.getTax().getId() != null && details.getTax().isDeleted() == true)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\ttaxOid = new ObjectId(details.getTax().getId().toString());\n\t\t\t\t\t\t\tQuery<Tax> taxquery = ds.createQuery(Tax.class).field(\"company\").equal(cmp).field(\"id\").equal(taxOid).field(\"isDeleted\").equal(true);\n\t\t\t\t\t\t\ttax = taxquery.get();\n\t\t\t\t\t\t\tif(tax == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(513, \"tax not found\", null, null); //tax doesn't exists / may not be deleted\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(details.getProduct().isDeleted() == false)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\tprodOid = new ObjectId(details.getProduct().getId().toString());\n\t\t\t\t\t\t\tQuery<Products> prodquery = ds.createQuery(Products.class).field(\"company\").equal(cmp).field(\"id\").equal(prodOid).field(\"isDeleted\").equal(false);\n\t\t\t\t\t\t\tprod = prodquery.get();\n\t\t\t\t\t\t\tif(prod == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(514, \"product not found\", null, null); //has been deleted in due course\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif(details.getProduct().isDeleted() == true)\n\t\t\t\t\t\t{\n\n\t\t\t\t\t\t\tprodOid = new ObjectId(details.getProduct().getId().toString());\n\t\t\t\t\t\t\tQuery<Products> prodquery = ds.createQuery(Products.class).field(\"company\").equal(cmp).field(\"id\").equal(prodOid).field(\"isDeleted\").equal(true);\n\t\t\t\t\t\t\tprod = prodquery.get();\n\t\t\t\t\t\t\tif(prod == null)\n\t\t\t\t\t\t\t\tthrow new EntityException(514, \"product not found\", null, null); //product doesn't exists / may not be deleted\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t\tdetails.setId(new ObjectId());\n\t\t\t\t\t\tdetails.setTax(tax);\n\t\t\t\t\t\tdetails.setProduct(prod);\n\n\t\t\t\t\t\ttax = null;\n\t\t\t\t\t\ttaxOid = null;\n\t\t\t\t\t\tprod = null;\n\t\t\t\t\t\tprodOid = null;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tSystem.out.println(\"protax\");\n\t\t\t\t\t\n\t\t\t\t\tinvoice.setInvoiceDetails(invoiceDetails);\n\t\t\t\t\tinvoice.setCompany(cmp);\n\t\t\t\t\tif(customerChange == true)\n\t\t\t\t\t\tinvoice.setCustomer(customer); //set only if vendor has changed\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tinvoice.setInvoiceDate(entity.getInvoiceDate());\n\t\t\t\t\tinvoice.setInvoiceDate(entity.getInvoiceDate());\n\t\t\t\t\tinvoice.setInvoiceDuedate(entity.getInvoiceDuedate());\n\t\t\t\t\t\n\t\t\t\t\tinvoice.setInvoiceGrandtotal(entity.getInvoiceGrandtotal());\n\t\t\t\t\tinvoice.setInvoiceSubtotal(entity.getInvoiceSubtotal());\n\t\t\t\t\tinvoice.setInvoiceTaxtotal(entity.getInvoiceTaxtotal());\n\t\t\t\t\tjava.math.BigDecimal balance = invoice.getInvoiceGrandtotal().subtract(invoice.getInvoiceAdvancetotal()); //grand total is just set, read prev advance\n\t\t\t\t\tinvoice.setInvoiceBalance(balance);\n\n\t\t\t\t\tkey = ds.merge(invoice);\n\t\t\t\t\tif(key == null)\n\t\t\t\t\t\tthrow new EntityException(515, \"could not update\", null, null);\n\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\tcatch(EntityException e)\n\t\t\t\t{\n\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t\tcatch(Exception e)\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tthrow new EntityException(500, null , e.getMessage(), null);\n\t\t\t\t}\n\n\t\t\t\treturn invoice;\n\t\t\t}",
"public void updateSalerCustomerByDel(int uid) {\n\t\tthis.salerCustomerMapper.updateSalerCustomerByDel(uid);\n\t}",
"public int Edituser(Long userid, Long brokerId, String firstname,\r\n\t\tString lastname, String address, String city, String eMail, Long phone,\r\n\t\tLong pincode) throws SQLException {\n\tLong useridd=null;\r\n\trs=DbConnect.getStatement().executeQuery(\"select user_id from customer where login_id=\"+userid+\"\");\r\n\tif(rs.next())\r\n\t{\r\n\t\tuseridd=rs.getLong(1);\r\n\t}\r\n\tint i=DbConnect.getStatement().executeUpdate(\"update customer set address='\"+address+\"',city='\"+city+\"',e_mail='\"+eMail+\"',phone=\"+phone+\",pincode=\"+pincode+\" where user_id=\"+useridd+\"\");\r\n\treturn i;\r\n}",
"private void getEditCustomer(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t//int id=Integer.parseInt(request.getParameter(\"id\"));\n\t\tCustomer c=cr.getCustomer(1);\n\t\tSystem.out.println(c);\n\t\trequest.setAttribute(\"c\", c);\n\t\tRequestDispatcher rd=request.getRequestDispatcher(\"editCus.jsp\");\n\t\trd.forward(request, response);\n\t\t\n\t}",
"private void update() {\n\n\t\tfloat shopping = Float.parseFloat(label_2.getText());\n\t\tfloat giveing = Float.parseFloat(label_5.getText());\n\t\tfloat companyDemand = Float.parseFloat(label_7.getText());\n\n\t\ttry {\n\t\t\tPreparedStatement statement = DBConnection.connection\n\t\t\t\t\t.prepareStatement(\"update customer_list set Shopping_Account = \"\n\t\t\t\t\t\t\t+ shopping\n\t\t\t\t\t\t\t+ \" , Giving_Money_Account = \"\n\t\t\t\t\t\t\t+ giveing\n\t\t\t\t\t\t\t+ \", Company_demand = \"\n\t\t\t\t\t\t\t+ companyDemand\n\t\t\t\t\t\t\t+ \" where Name = '\"\n\t\t\t\t\t\t\t+ name\n\t\t\t\t\t\t\t+ \"' And Last_Name = '\"\n\t\t\t\t\t\t\t+ lastName + \"' \");\n\t\t\tstatement.execute();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\n\t\t}\n\n\t}",
"protected void setCustomer(Customer customer) {\n this.customer = customer;\n }",
"public static int updateCustomer(int id, String name, String cnic,\r\n\t\t\tString phone, String address, int familySize, double monthlyIncome,\r\n\t\t\tdouble familyIncome, int status, String occupation) {\r\n\t\tConnection con = connection.Connect.getConnection();\r\n\t\tString query = \"Update customer SET customer_name = '\" + name\r\n\t\t\t\t+ \"',customer_cnic= '\" + cnic + \"',customer_address= '\"\r\n\t\t\t\t+ address + \"',customer_family_size= '\" + familySize\r\n\t\t\t\t+ \"',customer_phone ='\" + phone + \"',customer_monthly_income='\"\r\n\t\t\t\t+ monthlyIncome + \"',customer_family_income='\" + familyIncome\r\n\t\t\t\t+ \"',status= '\" + status + \"',occupation= '\" + occupation\r\n\t\t\t\t+ \"' WHERE customer_id= \" + id + \";\";\r\n\t\tint row = 0;\r\n\t\ttry {\r\n\t\t\tStatement st = con.createStatement();\r\n\t\t\trow = st.executeUpdate(query);\r\n\t\t\tif (row > 0) {\r\n\t\t\t\tSystem.out.println(\"Data is updated\");\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Data is not updated\");\r\n\t\t\t}\r\n\r\n\t\t\tst.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (Exception ex) {\r\n\t\t\tlogger.error(\"\", ex);\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn row;\r\n\t}",
"@Test\n\t// @Disabled\n\tvoid testUpdateCustomer() {\n\t\tCustomer customer1 = new Customer(1, \"tommy\", \"cruise\", \"951771122\", \"[email protected]\");\n\t\tMockito.when(custRep.findById(1)).thenReturn(Optional.of(customer1));\n\t\tMockito.when(custRep.save(customer1)).thenReturn(customer1);\n\t\tCustomer persistedCust = custService.updateCustomer(1, customer1);\n\t\tassertEquals(1, persistedCust.getCustomerId());\n\t}",
"public Response<CustomerUpdateResponseDto> updateCustomer(CustomerUpdateReqDto requestDto) {\n\t\tResponse<CustomerUpdateResponseDto> responseDto = new Response<>();\n\t\tCustomerUpdateResponseDto response = null;\n\t\tOptional<Customer> customer = customerRepo.findByCustomerId(requestDto.getCustomerId());\n\t\tif (customer.isPresent()) {\n\t\t\tCustomer customerDetail = customer.get();\n\t\t\tcustomerDetail.setAddress(requestDto.getAddress());\n\t\t\tcustomerDetail.setBillingType(requestDto.getBillingType());\n\t\t\tcustomerDetail.setBusinessType(requestDto.getBusinessType());\n\t\t\tcustomerDetail.setCustomerColourConfig(requestDto.getCustomerColourConfig());\n\t\t\tcustomerDetail.setCustomerDescription(requestDto.getCustomerDescription());\n\t\t\tcustomerDetail.setCustomerEmailId(requestDto.getCustomerEmailId());\n\t\t\tcustomerDetail.setCustomerGroupEmailId(requestDto.getCustomerGroupEmailId());\n\t\t\tcustomerDetail.setCustomerLogo(requestDto.getCustomerLogo());\n\t\t\tcustomerDetail.setCustomerMobileNumber(requestDto.getCustomerMobileNumber());\n\t\t\tcustomerDetail.setCustomerName(requestDto.getCustomerName());\n\t\t\tcustomerDetail.setCustomerPhoneNumber(requestDto.getCustomerPhoneNumber());\n\t\t\tcustomerDetail.setCustomerStatus(requestDto.getCustomerStatus());\n\t\t\tcustomerDetail.setUtilityId(requestDto.getCustomerUtilityId());\n\t\t\tcustomerDetail.setModifiedBy(requestDto.getCustomerId());\n\t\t\tcustomerDetail.setModifiedDate(new Date());\n\t\t\tcustomerRepo.save(customerDetail);\n\t\t\tOptional<User> user = userRepo.findByCustomer(customer.get());\n\t\t\tif (!user.isPresent())\n\t\t\t\tthrow new NoDataFoundException(CustomerConstants.CUSTOMER_NOT_FOUND);\n\t\t\tUser userStatus = user.get();\n\t\t\tuserStatus.setUserStatus(requestDto.getCustomerStatus());\n\t\t\tuserStatus.setModifiedBy(requestDto.getCustomerId());\n\t\t\tuserStatus.setModifiedDate(new Date());\n\t\t\tuserRepo.save(userStatus);\n\t\t\tresponse = new CustomerUpdateResponseDto();\n\t\t\tresponse.setCustomerId(customerDetail.getCustomerId());\n\t\t\tresponseDto.setData(response);\n\t\t\tresponseDto.setMessage(CustomerConstants.CUSTOMER_UPDATED_SUCCESSFULLY);\n\t\t\tresponseDto.setStatus(HttpServletResponse.SC_OK);\n\t\t\tresponseDto.setError(false);\n\n\t\t} else {\n\t\t\tresponseDto.setStatus(HttpServletResponse.SC_NO_CONTENT);\n\t\t\tresponseDto.setError(true);\n\t\t\tresponseDto.setMessage(CustomerConstants.CUSTOMER_NOT_FOUND);\n\t\t}\n\t\treturn responseDto;\n\n\t}",
"public Boolean updateCustomer(String customerId, Customer updatedValuedCustomer){\n Boolean success = false;\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"UPDATE Customer SET FirstName=?, LastName=?, Country=?, PostalCode=?, Phone=?, Email=? WHERE CustomerId = ?\");\n preparedStatement.setString(1, updatedValuedCustomer.getFirstName());\n preparedStatement.setString(2, updatedValuedCustomer.getLastName());\n preparedStatement.setString(3, updatedValuedCustomer.getCountry());\n preparedStatement.setString(4, updatedValuedCustomer.getPostalCode());\n preparedStatement.setString(5, updatedValuedCustomer.getPhoneNumber());\n preparedStatement.setString(6, updatedValuedCustomer.getEmail());\n preparedStatement.setString(7, customerId);\n\n int result = preparedStatement.executeUpdate();\n success = (result != 0);\n System.out.println(\"Added customer\");\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return success;\n }",
"int updateByPrimaryKey(CustomerVisit record);",
"private void updateCustomerCredit(BusinessPartner businessPartner, BigDecimal amount, boolean add) {\n OBDal.getInstance().refresh(businessPartner);\n BigDecimal creditUsed = businessPartner.getCreditUsed();\n if (add) {\n creditUsed = creditUsed.add(amount);\n } else {\n creditUsed = creditUsed.subtract(amount);\n }\n businessPartner.setCreditUsed(creditUsed);\n OBDal.getInstance().save(businessPartner);\n OBDal.getInstance().flush();\n }",
"@PreAuthorize(\"hasRole('ROLE_ADMIN')\")\n\t@RequestMapping(value = \"/{id}\", params = \"form\", method = RequestMethod.POST)\n\tpublic String update(@Valid Customer customer, BindingResult bindingResult, \n\t\t\t\t\t\tModel uiModel, HttpServletRequest httpServletRequest, \n\t\t\t\t\t\tRedirectAttributes redirectAttributes, Locale locale) {\n\t\t\tlogger.info(\"Updating customer\"); \n\t\t\tif (bindingResult.hasErrors()) {\n\t\t\t\tuiModel.addAttribute(\"message\", new Message(\"error\", messageSource.getMessage(\"customer_save_fail\", new Object[]{}, locale)));\n\t\t\t\tuiModel.addAttribute(\"customer\", customer);\n\t\t\t\treturn \"customers/update\"; \n\t\t\t}\n\t\t\tuiModel.asMap().clear(); \n\t\t\tredirectAttributes.addFlashAttribute(\"message\", new Message(\"success\",messageSource.getMessage(\"customer_save_success\", new Object[]{}, locale))); \n\t\t\tcustomerService.save(customer);\n\t\t\treturn \"redirect:/customers/\" + UrlUtil.encodeUrlPathSegment(customer.getId().toString(),httpServletRequest);\n\t}",
"public void updateSalerCustomer(SalerCustomer salerCustomer) {\n\t\tthis.salerCustomerMapper.updateSalerCustomer(salerCustomer);\n\t}",
"@Override\n\tpublic void saveCustomer(Customer theCustomer){\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n//\t\tcurrentSession.createQuery(\"from Customer c where c.firstName=\"+ theCustomer.getFirstName()).executeUpdate();\n\n\t\tQuery<Customer> query =\n\t\t\t\tcurrentSession.createQuery(\"select c from Customer c \"+\n\t\t\t\t\t\t\t\t\"where c.firstName =:theCustomerFirstName and \" +\n\t\t\t\t\t\t\t\t\"c.lastName =:theCustomerLastName and \" +\n\t\t\t\t\t\t\t\t\"c.email=:theCustomerEmail\",\n\t\t\t\t\t\t Customer.class);\n\n\t\t// set parameter on query\n\t\tquery.setParameter(\"theCustomerFirstName\", theCustomer.getFirstName());\n\t\tquery.setParameter(\"theCustomerLastName\", theCustomer.getLastName());\n\t\tquery.setParameter(\"theCustomerEmail\", theCustomer.getEmail());\n\n\t\ttry {\n\t\t\t// execute query and get instructor\n\t\t\tCustomer temp = query.getSingleResult();\n\t\t}\n\t\tcatch (Exception exe){\n\t\t\tlogger.log(Level.INFO,\"Already exists!!\");\n\t\t\tcurrentSession.saveOrUpdate(theCustomer);\n\t\t}\n\t}"
]
| [
"0.82911676",
"0.8127249",
"0.8127249",
"0.8113978",
"0.7974079",
"0.7940226",
"0.7845244",
"0.7708672",
"0.7639388",
"0.76373684",
"0.76114446",
"0.7533467",
"0.75269043",
"0.75058126",
"0.7478054",
"0.7462301",
"0.7428085",
"0.7400976",
"0.739798",
"0.737726",
"0.7376896",
"0.73708034",
"0.73470706",
"0.7346832",
"0.7334707",
"0.7322456",
"0.7320888",
"0.728361",
"0.7245623",
"0.7233579",
"0.7196373",
"0.71810377",
"0.71707827",
"0.7144841",
"0.7112406",
"0.7094764",
"0.7094585",
"0.7085732",
"0.70826703",
"0.7074202",
"0.7072666",
"0.70629925",
"0.7062579",
"0.70561016",
"0.70391786",
"0.6976755",
"0.6969315",
"0.6926121",
"0.6921954",
"0.6915633",
"0.69021505",
"0.68671644",
"0.6822575",
"0.6821786",
"0.6807142",
"0.67735595",
"0.67723453",
"0.6762795",
"0.67492104",
"0.6740748",
"0.6722602",
"0.6720705",
"0.67119545",
"0.67112416",
"0.6703114",
"0.6696192",
"0.6689833",
"0.66896516",
"0.6683669",
"0.6682166",
"0.6672147",
"0.6641594",
"0.6639746",
"0.6620823",
"0.66182077",
"0.6606682",
"0.6605309",
"0.6602721",
"0.6596403",
"0.65793055",
"0.6578064",
"0.6577213",
"0.657169",
"0.6558869",
"0.6556828",
"0.6542126",
"0.65364766",
"0.65287507",
"0.652597",
"0.65022445",
"0.6496504",
"0.6493551",
"0.6482845",
"0.6478584",
"0.64746904",
"0.6473564",
"0.64650214",
"0.64587784",
"0.6455539",
"0.64555365"
]
| 0.64483815 | 100 |
function that delete customer | @GET
@Path("DeleteCustomer")
public Reply deleteCustomer(@QueryParam("id") int id) {
return ManagerHelper.getCustomerManager().deleteCustomer(id);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void delete(Customer customer);",
"public boolean deleteCustomer(String custId);",
"void deleteCustomerById(int customerId);",
"@Override\n\tpublic void delete(Customer customer) {\n\t\t\n\t}",
"@Override\n\tpublic void delete(Customer customer) {\n\t\t\n\t}",
"void deleteCustomerById(Long id);",
"public void DeleteCust(String id);",
"public void deletecustomer(long id) {\n\t\t customerdb.deleteById(id);\n\t }",
"boolean delete(CustomerOrder customerOrder);",
"void deleteCustomerDDPayById(int id);",
"@Override\n\tpublic void delete() {\n\t\tSystem.out.println(\"Mobile Customer delete()\");\n\t}",
"@Override\n public void deleteCustomer(UUID id) {\n log.debug(\"Customer has been deleted: \"+id);\n }",
"public abstract void delete(CustomerOrder customerOrder);",
"void removeCustomer(Customer customer);",
"@Test\n\tpublic void deleteCustomer() {\n\n\t\t// Given\n\t\tString name = \"Leo\";\n\t\tString address = \"Auckland\";\n\t\tString telephoneNumber = \"021123728381\";\n\t\tICustomer customer = customerController.create(name, address, telephoneNumber);\n\t\tlong id = customer.getId();\n\t\tint originalLength = customerController.read().size();\n\n\t\t// When\n\t\tICustomer cus = customerController.delete(id);\n\n\t\t// Then\n\t\tint expected = originalLength - 1;\n\t\tint actual = customerController.read().size();\n\t\tAssert.assertEquals(expected, actual);\n\t\tAssert.assertNotNull(cus);\n\t}",
"public void deleteCustomer(Customer customer){\n _db.delete(\"Customer\", \"customer_name = ?\", new String[]{customer.getName()});\n }",
"@Override\r\n\tpublic boolean deleteCustomer(int customerID) {\n\t\treturn false;\r\n\t}",
"public boolean deleteCustomer() {\n\t\treturn false;\r\n\t}",
"@Then(\"^user deletes customer \\\"([^\\\"]*)\\\"$\")\r\n\tpublic void user_deletes_customer(String arg1) throws Throwable {\n\t DeleteCustomer delete=new DeleteCustomer();\r\n\t StripeCustomer.response=delete.deleteCustomer(new PropertFileReader().getTempData(arg1));\r\n\t}",
"@Override\n\tpublic boolean deleteCustomer(int customerId) {\n\t\treturn false;\n\t}",
"@RequestMapping(value = \"/customer-addres/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteCustomerAddres(@PathVariable Long id) {\n log.debug(\"REST request to delete CustomerAddres : {}\", id);\n customerAddresRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"customerAddres\", id.toString())).build();\n }",
"@Override\n\tpublic void deleteCustomer(Long custId) {\n\t\tcustomerRepository.deleteById(custId);\n\t\t\n\t}",
"BrainTreeCustomerResult removeCustomer(BrainTreeCustomerRequest request);",
"@Override\n\tpublic void deleteCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// delete object with primary key\n\t\tQuery theQuery = \n\t\t\t\tcurrentSession.createQuery(\"delete from Customer where id=:customerId\");\n\t\ttheQuery.setParameter(\"customerId\", theId);\n\t\t\n\t\ttheQuery.executeUpdate();\t\t\n\t}",
"@Test\n public void testDeleteCustomer() {\n System.out.println(\"deleteCustomer\");\n String name = \"Gert Hansen\";\n String address = \"Grønnegade 12\";\n String phone = \"98352010\";\n CustomerCtr instance = new CustomerCtr();\n int customerID = instance.createCustomer(name, address, phone);\n instance.deleteCustomer(customerID);\n Customer result = instance.getCustomer(customerID);\n assertNull(result);\n // TODO review the generated test code and remove the default call to fail.\n// fail(\"The test case is a prototype.\");\n }",
"public void delete(Customer customer) {\n\t\tcustRepo.delete(customer);\n\t}",
"private void deleteCustomerById(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n int idCustomer = Integer.parseInt(request.getParameter(\"id\"));\n CustomerDao.deleteCustomer(idCustomer);\n response.sendRedirect(\"/\");\n }",
"@Override\n\t@Transactional\n\tpublic void deleteCustomer(Customer customer) {\n\t\thibernateTemplate.delete(customer);\n\n\t\tSystem.out.println(customer + \"is deleted\");\n\t}",
"@Override\n\tpublic int deleteCustomerReprieve(Integer id) {\n\t\treturn customerDao.deleteCustomerReprieve(id);\n\t}",
"@Override\r\n\tpublic void removeCustomer() {\n\t\t\r\n\t}",
"@Override\n\tpublic void deleteCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t// delete object with primary key\n\t\tQuery theQuery = currentSession.createQuery(\"delete from Customer where id=:customerId\");\n\t\ttheQuery.setParameter(\"customerId\", theId);\n\n\t\ttheQuery.executeUpdate();\n\t}",
"@GetMapping(\"/delete\")\r\n\tpublic String deleteCustomer(@RequestParam(\"customerId\") int id){\n\t\tcustomerService.deleteCustomer(id);\r\n\t\t\r\n\t\t//send over to our form\r\n\t\treturn \"redirect:/customer/list\";\r\n\t}",
"@Override\n\tpublic boolean deleteCustomer(int customerId) {\n Session session =sessionFactory.getCurrentSession();\n Customer customer= getCustomer(customerId);\n session.delete(customer);\n\t\treturn true;\n\t}",
"@Override\n\tpublic void deleteCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// delete the object with the primary key\n\t\tQuery theQuery = currentSession.createQuery(\"delete from Customer where id=:customerId\");\n\t\ttheQuery.setParameter(\"customerId\", theId);\n\t\t\n\t\ttheQuery.executeUpdate();\n\t}",
"@Override\n\tpublic void deleteCoustomer(Customer customer) throws Exception {\n\t\tgetHibernateTemplate().delete(customer);\n\t}",
"@Override\n\tpublic void removeCustomer(Session session){\n\t\ttry{\n\t\t\tSystem.out.print(\"*--------------Remove Customers here--------------*\\n\");\n\t\t\t//scanner class allows the admin to enter his/her input\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\t//read input customer id\n\t\t\tSystem.out.print(\"Enter Customer Id to delete the customer: \");\n\t\t\tint customerId = scanner.nextInt();\n\n\t\t\t//pass these input items to client controller\n\t\t\tsamp=mvc.removeCustomer(session,customerId);\n\t\t\tSystem.out.println(samp);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"Online Market App- Remove Customer Exception: \" +e.getMessage());\n\t\t}\n\t}",
"@Override\n\t@Transactional\n\tpublic void deleteCustomer(int theId) {\n\t\tcustomerDAO.deleteCustomer(theId);\n\t}",
"@Override\n\tpublic void deleteCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t//now delete the customer using parameter theId i.e., Customer id (primary key)\n\t\t//HQL query\n\t\tQuery theQuery = currentSession.createQuery(\"delete from Customer where id=:customerId\");\n\n\t\t//prev parameter theId is assigned to customerId\n\t\ttheQuery.setParameter(\"customerId\",theId);\n\n\t\t//this works with update, delete , so on ...\n\t\ttheQuery.executeUpdate();\n\n\t}",
"public void delete(Customer c){\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n try {\n ppst = conn.prepareCall(\"DELETE FROM customer WHERE customer_key = ?\");\n ppst.setInt(1, c.getCustomerKey());\n ppst.executeUpdate();\n System.out.println(\"Successfully deleted.\");\n } catch (SQLException e) {\n throw new RuntimeException(\"Delete error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst);\n }\n }",
"@Override\n\tpublic void delete(Customer o) {\n\n\t\tif (o.getId() == null) {\n\t\t\treturn;\n\t\t}\n\n\t\tString deleteQuery = \"DELETE FROM TB_customer WHERE \" + COLUMN_NAME_ID + \"=\" + o.getId();\n\n\t\ttry (Statement deleteStatement = dbCon.createStatement()) {\n\t\t\tdeleteStatement.execute(deleteQuery);\n\t\t} catch (SQLException s) {\n\t\t\tSystem.out.println(\"Delete of customer \" + o.getId() + \" falied : \" + s.getMessage());\n\t\t}\n\t}",
"public void delete(String custNo) {\n\t\tcstCustomerDao.update(custNo);\n\t\t\n\t}",
"private void deletePurchase(CustomerService customerService) throws DBOperationException\n\t{\n\t\tSystem.out.println(\"To delete coupon purchase enter coupon ID\");\n\t\tString idStr = scanner.nextLine();\n\t\tint id;\n\t\ttry\n\t\t{\n\t\t\tid=Integer.parseInt(idStr);\n\t\t}\n\t\tcatch(NumberFormatException e)\n\t\t{\n\t\t\tSystem.out.println(\"Invalid id\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t// retrieve all coupons of this customer\n\t\tList<Coupon> coupons = customerService.getCustomerCoupons();\n\t\tCoupon coupon = null;\n\t\t\n\t\t// find coupon whose purchase to be deleted\n\t\tfor(Coupon tempCoupon : coupons)\n\t\t\tif(tempCoupon.getId() == id)\n\t\t\t{\n\t\t\t\tcoupon = tempCoupon;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\t// delete purchase of the coupon\n\t\tif(coupon != null)\n\t\t{\n\t\t\tcustomerService.deletePurchase(coupon);\n\t\t\tSystem.out.println(customerService.getClientMsg());\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"Customer dors not have coupon with this id\");\n\t}",
"@Override\r\n\tpublic void delete(String cust_ID) {\n\t\tConnection con = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\r\n\t\ttry {\r\n\t\t\tcon = ds.getConnection();\r\n\t\t\tpstmt = con.prepareStatement(DELETE);\r\n\r\n\t\t\tpstmt.setString(1, cust_ID);\r\n\r\n\t\t\tpstmt.executeUpdate();\r\n\t\t} catch (SQLException se) {\r\n\t\t\tthrow new RuntimeException(\"A database error occured.\" + se.getMessage());\r\n\t\t} finally {\r\n\t\t\tif (pstmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tpstmt.close();\r\n\t\t\t\t} catch (SQLException se) {\r\n\t\t\t\t\tse.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (con != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcon.close();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t}",
"public void deleteCustomer(Customer customer) {\n\n\t\tcustomers.remove(customer);\n\n\t\tString sql = \"UPDATE customer SET active = 0 WHERE customerId = ?\";\n\n\t\ttry ( Connection conn = DriverManager.getConnection(URL, USER_NAME, PASSWORD);\n\t\t\t\tPreparedStatement prepstmt = conn.prepareStatement(sql); ) {\n\n\t\t\tint customerId = Customer.getCustomerId(customer);\n\t\t\tprepstmt.setInt(1, customerId);\n\t\t\tprepstmt.executeUpdate();\n\n\t\t} catch (SQLException e){\n\t\t\tSystem.out.println(\"SQLException: \" + e.getMessage());\n\t\t\tSystem.out.println(\"SQLState: \" + e.getSQLState());\n\t\t\tSystem.out.println(\"VendorError: \" + e.getErrorCode());\n\t\t}\n\t}",
"public void delete(Customer customer) {\r\n EntityManagerHelper.beginTransaction();\r\n CUSTOMERDAO.delete(customer);\r\n EntityManagerHelper.commit();\r\n renderManager.getOnDemandRenderer(customer.getCustomernumber().toString()).requestRender();\r\n //renderManager.removeRenderer(renderManager.getOnDemandRenderer(customer.getCustomernumber().toString()));\r\n }",
"@RequestMapping(value = \"/customer/{id}\",method=RequestMethod.DELETE)\n @ResponseStatus(HttpStatus.NO_CONTENT)\n public void removeCustomer(@PathVariable(\"id\") int id){\n //simply remove the customer using the id. If it does not exist, nothing will happen anyways\n service.removeCustomer(id);\n }",
"@DeleteMapping()\n public Customer deleteCustomer(@RequestBody Customer customer ) {\n customerRepository.delete(customer);\n return customerRepository.findById(customer.getId()).isPresent() ? customer : null;\n }",
"@Override\n\tpublic Item delete() {\n\t\treadAll();\n\t\tLOGGER.info(\"\\n\");\n\t\t//user can select either to delete a customer from system with either their id or name\n\t\tLOGGER.info(\"Do you want to delete record by Item ID\");\n\t\tlong id = util.getLong();\n\t\titemDAO.deleteById(id);\n\t\t\t\t\n\t\t\t\t\n\t\treturn null;\n\t}",
"@DeleteMapping(\"/{id}\")\n public Boolean deleteCustomer(@PathVariable(\"id\") Long customerId) {\n return true;\n }",
"public void removeCustomer(){\n String message = \"Choose one of the Customer to remove it\";\n if (printData.checkAndPrintCustomer(message)){\n subChoice = GetChoiceFromUser.getSubChoice(data.numberOfCustomer());\n if (subChoice!=0){\n data.removeCustomer(data.getCustomer(subChoice-1),data.getBranch(data.getBranchEmployee(ID).getBranchID()));\n System.out.println(\"Customer has removed Successfully!\");\n }\n }\n }",
"@DeleteMapping(\"/customers/{customer_id}\")\n\tpublic String deletecustomer(@PathVariable(\"customer_id\") int customerid ) {\n\t\t\n\t\t//first check if there is a customer with that id, if not there then throw our exception to be handled by @ControllerAdvice\n\t\tCustomer thecustomer=thecustomerService.getCustomer(customerid);\n\t\tif(thecustomer==null) {\n\t\t\tthrow new CustomerNotFoundException(\"Customer with id : \"+customerid+\" not found\");\n\t\t}\n\t\t//if it is happy path(customer found) then go ahead and delete the customer\n\t\tthecustomerService.deleteCustomer(customerid);\n\t\treturn \"Deleted Customer with id: \"+customerid;\n\t}",
"public void delete__customers( String qualificationId, final VoidCallback callback){\n\n /**\n Call the onBefore event\n */\n callback.onBefore();\n\n\n //Definging hashMap for data conversion\n Map<String, Object> hashMapObject = new HashMap<>();\n //Now add the arguments...\n \n hashMapObject.put(\"qualificationId\", qualificationId);\n \n\n \n invokeStaticMethod(\"prototype.__delete__customers\", hashMapObject, new Adapter.Callback() {\n @Override\n public void onError(Throwable t) {\n callback.onError(t);\n //Call the finally method..\n callback.onFinally();\n }\n\n @Override\n public void onSuccess(String response) {\n callback.onSuccess();\n //Call the finally method..\n callback.onFinally();\n }\n });\n \n\n\n \n\n \n\n }",
"private static void generateDeleteCustomer() {\n long accountNo = getRandAccountD();\n writeToFile(String.format(\"%d\\n\", accountNo));\n }",
"@Test\n public void deleteCustomer() {\n Customer customer = new Customer();\n customer.setFirstName(\"Dominick\");\n customer.setLastName(\"DeChristofaro\");\n customer.setEmail(\"[email protected]\");\n customer.setCompany(\"Omni\");\n customer.setPhone(\"999-999-9999\");\n customer = service.saveCustomer(customer);\n\n // Delete the Customer from the database\n service.removeCustomer(customer.getCustomerId());\n\n // Test the deleteCustomer() method\n verify(customerDao, times(1)).deleteCustomer(integerArgumentCaptor.getValue());\n assertEquals(customer.getCustomerId(), integerArgumentCaptor.getValue().intValue());\n }",
"@DELETE\n\t@Path(\"/delete\")\n\t@Consumes(MediaType.APPLICATION_JSON)\n\tpublic void delCustomer(String id)\n\t\t\tthrows MalformedURLException, RemoteException, NotBoundException, ClassNotFoundException, SQLException {\n\n\t\t// Connect to RMI and setup crud interface\n\t\tDatabaseOption db = (DatabaseOption) Naming.lookup(\"rmi://\" + address + service);\n\n\t\t// Connect to database\n\t\tdb.Connect();\n\n\t\t// Delete the customers table\n\t\tdb.Delete(\"DELETE FROM CUSTOMERS WHERE id='\" + id + \"'\");\n\n\t\t// Delete the bookings table\n\t\tdb.Delete(\"DELETE FROM BOOKINGS WHERE CUSTOMERID='\" + id + \"'\");\n\n\t\t// Disconnect to database\n\t\tdb.Close();\n\t}",
"@DeleteMapping(\"/customers/{customerId}\")\n public String deleteCustomer(@PathVariable int customerId) {\n CustomerHibernate customerHibernate = customerService.findById(customerId);\n\n if (customerHibernate == null) {\n throw new RuntimeException(\"Customer id not found - \" + customerId);\n }\n customerService.deleteById(customerId);\n\n return String.format(\"Deleted customer id - %s \", customerId);\n }",
"void deleteAccountByCustomer(String customerId, String accountNumber) throws AccountException, CustomerException;",
"public int deleteUser(int id) {\n\t\t\t String deleteQuery=\"delete from registration_customer_data where id='\"+id+\"' \";\n\t\t\t return template.update(deleteQuery); \n\t\t\n\t\t}",
"@RequestMapping(method = RequestMethod.DELETE, value = \"/{id}\")\n\t public ResponseEntity<?> deleteCustomer(@PathVariable(\"id\") Long id, @RequestBody Customer customer) {\n\t \treturn service.deleteCustomer(id, customer);\n\t }",
"public void deleteCustomerbyId(int i) {\n\t\tObjectSet result = db.queryByExample(new Customer(i, null, null, null, null, null));\n\n\t\twhile (result.hasNext()) {\n\t\t\tdb.delete(result.next());\n\t\t}\n\t\tSystem.out.println(\"\\nEsborrat el customer \" + i);\n\t}",
"public void removeUser(Customer user) {}",
"public int deleteSupplier(int id) {\n\t\t\t String deleteQuery=\"delete from registration_customer_data where id='\"+id+\"' \";\n\t\t\t return template.update(deleteQuery); \n\t\t}",
"@GetMapping(\"/cancel/{custId}\")\n\tpublic String customerDelete(@PathVariable Integer custId) {\n\t\tCustomer cust = customerService.getCustomer(custId);\n\t\tSimpleMailMessage mailMessage = new SimpleMailMessage();\n\t\tmailMessage.setTo(cust.getCustomerEmail());\n\t\tmailMessage.setSubject(\"Account Denied\");\n\t\tmailMessage.setFrom(\"balumathi333.com\");\n\t\tmailMessage.setText(\"Document that have submitted is not valid!!!Please try to register with valid Document\");\n\t\temailSenderService.sendEmail(mailMessage);\n\t\tCustomer customer = customerService.deleteCustomer(custId);\n\t\treturn \"redirect:/verifycustomer\";\n\t}",
"@Override\n\tpublic void deleteOne(Customer c) {\n\t\tthis.getHibernateTemplate().delete(c);\n\t}",
"public Boolean removeCustomer() {\r\n boolean ok = false;\r\n\t\t//Input customer phone.\r\n\t\tString phone = readString(\"Input the customer phone: \");\r\n\t\tCustomer f = my.findByPhone(phone);\r\n\t\tif (f != null) {\r\n ok = my.remove(f);\r\n\t\t\t\r\n\t\t}\r\n\t\telse alert(\"Customer not found\\n\");\t\r\n return ok;\r\n\t}",
"public boolean removeCustomer(int deleteId) {\n\t\tCallableStatement stmt = null;\n\t\tboolean flag = true;\n\t\tCustomer ck= findCustomer(deleteId);\n\t\tif(ck==null){\n\t\t\tSystem.out.println(\"Cutomer ID not present in inventory.\");\n\t\t\treturn false;\n\t\t}\n\t\t\t\n\t\telse\n\t\t{\n\t\t\tString query = \"{call deleteCustomer(?)}\";\n\t\t\ttry {\n\t\t\t\tstmt = con.prepareCall(query);\n\t\t\t\tstmt.setInt(1, deleteId);\n\t\t\t\tflag=stmt.execute();\n\t\t\t\t//System.out.println(flag);\n\t\t\t} catch (SQLException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\tSystem.out.println(\"Error in database operation. Try agian!!\");\n\t\t\t\t//e.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\treturn flag;\n\t\t\t\n\t\t}\n\t\t\n\t}",
"@Test\n public void testCustomerFactoryRemove() {\n CustomerController customerController = customerFactory.getCustomerController();\n customerController.addCustomer(CUSTOMER_NAME, CUSTOMER_CONTACT, false);\n customerController.removeCustomer(CUSTOMER_NAME,1);\n assertEquals(0, customerController.getCustomerList().size());\n }",
"@Override\n\t@Transactional\n\tpublic void delete(Long id) {\n\t\tcustomerDAO.deleteById(id);\n\t}",
"@Override\n\tpublic void removeCustomer(Customer customer) throws Exception {\n\t\tConnection con = pool.getConnection();\n\t\t\n\t\tCustomer custCheck = getCustomer(customer.getId());\n\t\tif(custCheck.getCustName() == null)\n\t\t\tthrow new Exception(\"No Such customer Exists.\");\n\t\t\n\t\tif(custCheck.getCustName().equalsIgnoreCase(customer.getCustName()) && customer.getId() == custCheck.getId()) {\n\t\t\ttry {\n\t\t\t\t\tStatement st = con.createStatement();\n\t\t\t\t\tString remove = String.format(\"delete from customer where id in('%d')\", \n\t\t\t\t\t\tcustomer.getId());\n\t\t\t\t\tst.executeUpdate(remove);\n\t\t\t\t\tSystem.out.println(\"Customer removed successfully\");\n\t\t\t} catch (SQLException e) {\n\t\t\t\tSystem.out.println(e.getMessage() + \" Could not retrieve data from DB\");\n\t\t\t}finally {\n\t\t\t\ttry {\n\t\t\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t\t\t} catch (Exception e) {\n\t\t\t\t\tSystem.out.println(e.getMessage());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"@DeleteMapping(\"/customer/id/{id}\")\r\n\tpublic Customer deleteCustomerbyId(@PathVariable(\"id\") int customerId) {\r\n\tif(custService.deleteCustomerbyId(customerId)==null) {\r\n\t\t\tthrow new CustomerNotFoundException(\"Customer not found with this id\" +customerId);\r\n\t\t}\r\n\t\treturn custService.deleteCustomerbyId(customerId);\r\n\t}",
"public static int deleteCustomer(long custID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\ttry {\n\t\t\tcon = pool.getConnection();\n\t\t\tStatement stmt = con.createStatement();\n\t\t\treturn stmt.executeUpdate(\"DELETE FROM customersCoupons WHERE customerID=\" + custID);\n\t\t} catch (Exception e) {\n\t\t\tthrow new CouponSystemException(\"Customer Not Deleted\");\n\t\t} finally {\n\t\t\tpool.returnConnection(con);\n\t\t}\n\t}",
"public void deleteCustomer(Connection connection, int CID) throws SQLException {\n\n Scanner scan = new Scanner(System.in);\n\n DatabaseMetaData dmd = connection.getMetaData();\n ResultSet rs = dmd.getTables(null, null, \"CUSTOMER\", null);\n\n if (rs.next()){\n\n String sql = \"DELETE FROM Customer WHERE c_ID = ?\";\n PreparedStatement pStmt = connection.prepareStatement(sql);\n pStmt.clearParameters();\n\n setCID(CID);\n pStmt.setInt(1, getCID());\n\n try { pStmt.executeUpdate(); }\n catch (SQLException e) { throw e; }\n finally {\n pStmt.close();\n rs.close();\n }\n }\n else {\n System.out.println(\"ERROR: Error loading CUSTOMER Table.\");\n }\n }",
"void deleteCustomerOrderBroadbandASIDById(int id);",
"@Test\n\t// @Disabled\n\tvoid testDeleteCustomer() {\n\t\tCustomer customer = new Customer(1, \"tommy\", \"cruise\", \"951771122\", \"[email protected]\");\n\t\tMockito.when(custRep.findById(1)).thenReturn(Optional.of(customer));\n\t\tcustRep.deleteById(1);\n\t\tCustomer persistedCust = custService.deleteCustomerbyId(1);\n\t\tassertEquals(1, persistedCust.getCustomerId());\n\t\tassertEquals(\"tommy\", persistedCust.getFirstName());\n\n\t}",
"public void deleteCustomer(Integer id) {\n\t\t//get current session\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t//query for deleting the account\n\t\tQuery<Customer> query = currentSession.createQuery(\n\t\t\t\t\t\t\t\t\t\"delete from Customer where customerId=:id\",Customer.class);\n\t\tquery.setParameter(id, id);\n\t\tquery.executeUpdate();\n\t}",
"@Override\r\n\tpublic boolean deletePostPaidAccount(int customerID, long mobileNo) {\n\t\treturn false;\r\n\t}",
"@ApiOperation(value = \"Delete a customer\", notes = \"\")\n @DeleteMapping(value = {\"/{customerId}\"}, produces = MediaType.APPLICATION_JSON_VALUE)\n @ResponseStatus(HttpStatus.OK)\n public void deleteCustomer(@PathVariable Long customerId) {\n\n customerService.deleteCustomerById(customerId);\n\n }",
"public void deleteCustomer(String id) {\n\t\tConnection connection = DBConnect.getDatabaseConnection();\n\t\ttry {\n\t\t\tStatement deleteStatement = connection.createStatement();\n\t\t\t\n\t\t\tString deleteQuery = \"DELETE FROM Customer WHERE CustomerID='\"+id+\"')\";\n\t\t\tdeleteStatement.executeUpdate(deleteQuery);\t\n\t\t\t\n\t\t\t//TODO delete all DB table entries related to this entry:\n\t\t\t//address\n\t\t\t//credit card\n\t\t\t//All the orders?\n\t\t\t\n\t\t}catch(SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t}finally {\n\t\t\tif(connection != null) {\n\t\t\t\ttry {\n\t\t\t\t\tconnection.close();\n\t\t\t\t} catch (SQLException e) {}\n\t\t\t}\n\t\t}\n\t\n\t}",
"public void deleteSalerCustomer(int uid) {\n\t\tthis.salerCustomerMapper.deleteSalerCustomer(uid);\n\t}",
"void removeCustomer(String code) throws CustomerCodeNotExistsException;",
"@Test\r\n public void testdeleteCustomer() throws Exception {\r\n List<Server.Customer> lesClients = DAOCustomer.loadCustomer(Con());\r\n DAOCustomer.deleteCustomer(Con(),2);\r\n List<Server.Customer> r = DAOCustomer.loadCustomer(Con());\r\n assertEquals(lesClients.size()-1 , r.size());\r\n \r\n \r\n }",
"@RequestMapping(value = \"/customerOrders/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteCustomerOrder(@PathVariable Long id) {\n log.debug(\"REST request to delete CustomerOrder : {}\", id);\n customerOrderRepository.delete(id);\n customerOrderSearchRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"customerOrder\", id.toString())).build();\n }",
"public boolean deleteCustomer(int id, int customerID)\n throws RemoteException, DeadlockException;",
"public void delete(Privilege pri) throws Exception {\n\t\tCommandUpdatePrivilege com=new CommandUpdatePrivilege(AuthModel.getInstance().getUser(),pri);\r\n\t\tClient.getInstance().write(com);\r\n\t\tObject obj=Client.getInstance().read();\r\n\t\tif(obj instanceof Command){\r\n\t\t\tdirty=true;\r\n\t\t\tlist=this.get(cond);\r\n\t\t\tthis.fireModelChange(list);\r\n\t\t\treturn ;\r\n\t\t}\r\n\t\tthrow new Exception(\"Delete Customer failed...\"+list);\r\n\t}",
"@DeleteMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Map<String, Boolean>> deleteCustomer(@PathVariable Long id) {\n\t\tCustomer customer = customerRepository.findById(id)\n\t\t\t\t.orElseThrow(() -> new ResourceNotFoundException(\"Customer not exist with id :\" + id));\n\n\t\tcustomerRepository.delete(customer);\n\t\tMap<String, Boolean> response = new HashMap<>();\n\t\tresponse.put(\"deleted\", Boolean.TRUE);\n\t\treturn ResponseEntity.ok(response);\n\t}",
"@DeleteMapping(\"/api/customer/{id}\")\n\tpublic ResponseEntity<?> deleteCustomerDetails(@PathVariable(\"id\") long id) {\n\t\tcustomerService.deleteCustomerDetails(id);\n\t\treturn ResponseEntity.ok().body(\"Customer Details is deleted\");\n\n\t}",
"@Override\n\tpublic void delete(Integer deptno) {\n\t\t\n\t}",
"@PreAuthorize(\"#oauth2.hasAnyScope('write','read-write')\")\n\t@RequestMapping(method = DELETE, value = \"/{id}\")\n\tpublic Mono<ResponseEntity<?>> deleteCustomer(@PathVariable @NotNull ObjectId id) {\n\n\t\tfinal Mono<ResponseEntity<?>> noContent = Mono.just(noContent().build());\n\n\t\treturn repo.existsById(id)\n\t\t\t.filter(Boolean::valueOf) // Delete only if customer exists\n\t\t\t.flatMap(exists -> repo.deleteById(id).then(noContent))\n\t\t\t.switchIfEmpty(noContent);\n\t}",
"@Override\n\tpublic void delete(int ShopLoyaltyCardId) {\n\t\t\n\t}",
"void DeleteCompteUser(int id);",
"@Atomic\n public void deleteAdhocCustomer(AdhocCustomer adhocCustomer) {\n }",
"public void Delete(int id) {\n\t\tString sql4 = \"DELETE FROM customers where customer_id= \" + id;\n\t\ttry {\n\t\t\tstmt.executeUpdate(sql4);\n\t\t\tSystem.out.println(\"Deleted\");\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\tpublic Uni<Boolean> deleteCustomerById(Long cid) {\n\t\treturn repo.deleteById(cid).chain(repo::flush).onItem().transform(ignore ->true);\n\t}",
"int delete(String clientId);",
"void removeAuthorisationsOfCustomer(CustomerModel customer);",
"public void deleteAccount(String userName) {\n\n }",
"public void deleteOneForCustomer(Customer customer, int todoListNum) {\n TodoList todoList = todoListDao.findByCustomerAndNum(customer, todoListNum);\n todoListDao.deleteById(todoList.getId());\n computeTodoListNum(customer);\n }",
"public static void deleteCustomer(int customerID) throws SQLException{\r\n\r\n //connection and prepared statement set up\r\n Connection conn = DBConnection.getConnection();\r\n String deleteStatement = \"DELETE from customers WHERE Customer_ID = ?;\";\r\n DBQuery.setPreparedStatement(conn, deleteStatement);\r\n PreparedStatement ps = DBQuery.getPreparedStatement();\r\n ps.setInt(1,customerID);\r\n ps.execute();\r\n\r\n if (ps.getUpdateCount() > 0) {\r\n System.out.println(ps.getUpdateCount() + \" row(s) effected\");\r\n } else {\r\n System.out.println(\"no change\");\r\n }\r\n }",
"@Override\n\tpublic boolean deleteRecord(Customer record) {\n\t\tfinal int res = JOptionPane.showConfirmDialog(null,\n\t\t\t\t\"Are you sure you want to delete the selected customer?\", \"Delete Record\",\n\t\t\t\tJOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);\n\t\tif (res == JOptionPane.YES_OPTION) {\n\t\t\t// Remove customer from model\n\t\t\tsynchronized (model.customers) {\n\t\t\t\tmodel.customers.remove(record.getLogin());\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"private void endCustomer(MyCustomer customer){ \n\tDo(\"Table \" + customer.tableNum + \" is cleared!\");\n\thost.msgTableIsFree(customer.tableNum);\n\tcustomers.remove(customer);\n\tstateChanged();\n }"
]
| [
"0.8483218",
"0.83995086",
"0.8356925",
"0.81706417",
"0.81706417",
"0.8099872",
"0.8097399",
"0.8028445",
"0.79858744",
"0.79035723",
"0.7711121",
"0.7635617",
"0.75761056",
"0.7525573",
"0.75206333",
"0.7488899",
"0.7482914",
"0.744846",
"0.74224246",
"0.7386226",
"0.7386079",
"0.7374967",
"0.73620105",
"0.73532945",
"0.7324305",
"0.7320713",
"0.7320256",
"0.7305299",
"0.7301805",
"0.7300492",
"0.72826487",
"0.72795475",
"0.7277728",
"0.7277428",
"0.72706926",
"0.7252014",
"0.724311",
"0.7220194",
"0.7209044",
"0.7198498",
"0.7190441",
"0.7185408",
"0.7184171",
"0.71220297",
"0.710652",
"0.71049476",
"0.7087707",
"0.7073243",
"0.7048882",
"0.7048137",
"0.70413756",
"0.7035251",
"0.7022805",
"0.70130193",
"0.6999227",
"0.6996354",
"0.6989119",
"0.69664526",
"0.69604516",
"0.69181293",
"0.6909419",
"0.69087094",
"0.69046986",
"0.6903063",
"0.6878679",
"0.6876445",
"0.68720025",
"0.68659776",
"0.68621683",
"0.6855332",
"0.68495196",
"0.6847511",
"0.6831857",
"0.68049073",
"0.680405",
"0.67934585",
"0.67849636",
"0.6776675",
"0.6775391",
"0.674132",
"0.6715747",
"0.6700981",
"0.67007315",
"0.6692358",
"0.66901994",
"0.6673176",
"0.6647342",
"0.66375375",
"0.66223824",
"0.66187215",
"0.6617598",
"0.66121614",
"0.6597637",
"0.6592882",
"0.65758073",
"0.65749353",
"0.65443856",
"0.6538941",
"0.65296084",
"0.65258384"
]
| 0.66983557 | 83 |
function that get big customers | @GET
@Path("getBigCustomer")
public List<Customer> getBigCustomer() {
return ManagerHelper.getCustomerManager().getBigCustomer();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void listAllCustomers () {\r\n\t\t\r\n customersList = my.resturnCustomers();\r\n\t\t\r\n\t}",
"@RequestMapping(value = \"/v2/customers\", method = RequestMethod.GET)\r\n\tpublic List<Customer> customers() {\r\n JPAQuery<?> query = new JPAQuery<Void>(em);\r\n QCustomer qcustomer = QCustomer.customer;\r\n List<Customer> customers = (List<Customer>) query.from(qcustomer).fetch();\r\n // Employee oneEmp = employees.get(0);\r\n\t\treturn customers;\r\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_suggested() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE e.status=3\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_notinterested_Super() {\r\n\t\tCustomerInfoBean bean = null;\r\n\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+\r\n\r\n\t\t\t\t\t\" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE e.status=3 GROUP BY cs.customer_id\\n\";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"List<Customer> getCustomers();",
"public static ArrayList<CustomerInfoBean> getCutomers_onWait() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE e.status=0;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_onCash() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,sld.payement_option, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+\r\n\r\n\t\t\t\t\t\" WHERE sld.payement_option=0\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public Object getAllCustomers(HttpServletRequest req);",
"public static ArrayList<CustomerInfoBean> getCutomers_notinterested() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id join city c on cs.customer_city=c.city_id WHERE cs.status=3 GROUP BY cs.customer_id\\n\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"List<Customer> getCustomerList();",
"public static ArrayList<CustomerInfoBean> getCustomers() {\r\n\t\tSystem.out.println(\"CustomerBAL.get_customers()\");\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, e_status, c_status, state;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tConnection connection = Connect.getConnection();\r\n\t\ttry {\r\n\r\n\t\t\tif (connection != null) {\r\n\t\t\t\t// Begin Stored Procedure Calling -- Jetander\r\n\t\t\t\tCallableStatement prepareCall = connection\r\n\t\t\t\t\t\t.prepareCall(\"{call get_customers()}\");\r\n\t\t\t\tResultSet rs = prepareCall.executeQuery();\r\n\t\t\t\twhile (rs.next()) {\r\n\t\t\t\t\tcustomerId = rs.getInt(\"customer_id\");\r\n\t\t\t\t\tcustomerName = rs.getString(\"customer_name\");\r\n\t\t\t\t\tcnicNo = rs.getString(\"customer_cnic\");\r\n\t\t\t\t\tphoneNo = rs.getString(\"customer_phone\");\r\n\t\t\t\t\tdistrict = rs.getString(\"district_name\");\r\n\t\t\t\t\tmonthlyIncome = rs.getString(\"salary_range\");\r\n\t\t\t\t\tgsmNumber = rs.getString(\"appliance_gsmno\");\r\n\t\t\t\t\tstate = rs.getInt(\"appliance_status\");\r\n\t\t\t\t\tsalesmanName = rs.getString(\"salesman_name\");\r\n\r\n\t\t\t\t\tapplianceId = rs.getInt(\"appliance_id\");\r\n\t\t\t\t\tsalesmanId = rs.getInt(\"salesman_id\");\r\n\t\t\t\t\tapplianceName = rs.getString(\"appliance_name\");\r\n\t\t\t\t\te_status = rs.getInt(\"e.status\");\r\n\t\t\t\t\tc_status = rs.getInt(\"cs.status\");\r\n\t\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\t\tbean.setApplianceStatus(state);\r\n\t\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\t\tbean.setStatus(e_status);\r\n\t\t\t\t\tbean.setCustomerStatus(c_status);\r\n\t\t\t\t\tcustomerList.add(bean);\r\n\t\t\t\t\t// End Stored Procedure Calling -- Jetander\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (connection != null) {\r\n\t\t\t\tconnection.close();\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public static ArrayList<CustomerInfoBean> getDoCutomers(int districtId) {\r\n\t\tSystem.out.println(\"CustomerBAL.get_do_customers()\");\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize, state;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tConnection connection = Connect.getConnection();\r\n\t\ttry {\r\n\t\t\tif (connection != null) {\r\n\t\t\t\t// Begin Stored Procedure Calling -- Jetander\r\n\t\t\t\tCallableStatement prepareCall = connection\r\n\t\t\t\t\t\t.prepareCall(\"{call get_do_customers(?)}\");\r\n\t\t\t\tprepareCall.setInt(1, districtId);\r\n\t\t\t\tResultSet rs = prepareCall.executeQuery();\r\n\t\t\t\twhile (rs.next()) {\r\n\t\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\t\tstate = rs.getInt(8);\r\n\t\t\t\t\tsalesmanName = rs.getString(9);\r\n\t\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\t\t// End Stored Procedure Calling -- Jetander\r\n\t\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\t\tbean.setApplianceStatus(state);\r\n\t\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\t\tbean.setStatus(status);\r\n\t\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\t\tcustomerList.add(bean);\r\n\t\t\t\t}\r\n\t\t\t\trs.close();\r\n\t\t\t\tconnection.close();\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public String getCustomer(String custId);",
"private void getLargeOrderList(){\n sendPacket(CustomerTableAccess.getConnection().getLargeOrderList());\n \n }",
"private void getCustomer() {\n final LoginGet loginget = new LoginGet();\n loginget.setLoginGetListener(new LoginGetListener() {\n\n @Override\n public void getMember(ArrayList<Customer> list) {\n\n }\n\n @Override\n public void getCustomer(ArrayList<Customer> list) {\n customerList = new ArrayList<Customer>();\n customerList.addAll(list);\n if (customerList.size() > 0) {\n defaultPage.setVisibility(View.GONE);\n ll.setVisibility(View.VISIBLE);\n myNewCustomersAdapter = new MyNewCustomersAdapter(\n NewFriendsActivity.this, customerList);\n listView.setAdapter(myNewCustomersAdapter);\n } else {\n tv2.setText(\"You haven't friends for a long time\");\n }\n\n }\n });\n loginget.CustomerRequest(NewFriendsActivity.this);\n\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_Accepted() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id WHERE e.status=1 or e.status=6;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"com.google.cloud.channel.v1.Customer getCustomers(int index);",
"int getCustomersCount();",
"@Override\r\n\tpublic int getCustomerIdCustomerDistribution(int CostomerorId) {\n\t\tList<?> resultList = null;\r\n\t\tString sql1= \"SELECT DISTINCT company_id FROM companiesusers where user_id='\"+CostomerorId+\"'\";\r\n\t\tresultList= dao.executeSQLQuery(sql1);\r\n\t\tObject l = resultList.get(0);\r\n\t\tint Customer_ID = Integer.valueOf(String.valueOf(l));\t\r\n\t\t\r\n\t\t\r\n\t\treturn Customer_ID;\r\n\t}",
"List<Customer> loadAllCustomer();",
"public List<CustomerModel> getCustomers();",
"@Override\n\tpublic List<Customer> retrieveAllCustomers() {\n\t\tlogger.info(\"A GET call retrieved all customers: retrieveAllCustomers()\");\n\t\treturn customers;\n\t}",
"public static List<Customer> getAllCustomers() {\r\n\t\tList<Customer> customerList = new ArrayList<Customer>();\r\n\t\tConnection conn = ConnectionFactory.getConnection();\r\n\r\n\t\tString query = \"SELECT customerUuid, customerType, customerName, personKey, addressKey FROM Customer\";\r\n\r\n\t\tPreparedStatement ps = null;\r\n\t\tResultSet rs = null;\r\n\t\tCustomer customer = null;\r\n\r\n\t\ttry {\r\n\t\t\tps = conn.prepareStatement(query);\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tString customerUuid = rs.getString(\"customerUuid\");\r\n\t\t\t\tString customerType = rs.getString(\"customerType\");\r\n\t\t\t\tString customerName = rs.getString(\"customerName\");\r\n\t\t\t\tint personKey = rs.getInt(\"personKey\");\r\n\t\t\t\tPerson primaryContact = Person.getPersonByKey(personKey);\r\n\t\t\t\tint addressKey = rs.getInt(\"addressKey\");\r\n\t\t\t\tAddress address = Address.getAddressByKey(addressKey);\r\n\t\t\t\t\r\n\t\t\t\tif (customerType.equals(\"G\")) {\r\n\t\t\t\t\tcustomer = new GovernmentCustomer(customerUuid, primaryContact, customerName, address);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcustomer = new CorporateCustomer(customerUuid, primaryContact, customerName, address);\r\n\t\t\t\t}\r\n\t\t\t\tcustomerList.add(customer);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"SQLException: \");\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new RuntimeException(e);\r\n\t\t} finally {\r\n\t\t\tConnectionFactory.closeConnection(conn, ps, rs);\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"ListResponse<BonusResponse> getAll(int start, int size, Long customerId);",
"public ArrayList<Customer> getSubsetOfCustomers(int limit, int offset){\n ArrayList<Customer> customers = new ArrayList<>();\n\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT CustomerId, FirstName, LastName, Country, PostalCode, Phone, Email FROM Customer LIMIT ? , ?\");\n preparedStatement.setInt(1, offset);\n preparedStatement.setInt(2,limit);\n\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n customers.add(\n new Customer(\n set.getString(\"CustomerId\"),\n set.getString(\"FirstName\"),\n set.getString(\"LastName\"),\n set.getString(\"Country\"),\n set.getString(\"PostalCode\"),\n set.getString(\"Phone\"),\n set.getString(\"Email\")\n ));\n\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return customers;\n }",
"@GetMapping(\"/buckets/customer/{id}\")\n @Timed\n public ResponseEntity<List<BucketDTO>> getAllBucketsWithCustomer(@PathVariable Long id, @ApiParam Pageable pageable) {\n log.debug(\"REST request to get a page of Products\", id);\n List<BucketDTO> list = bucketService.findAllBucketsWithCustomer(id);\n // HttpHeaders headers = PaginationUtil.generateSearchPaginationHttpHeaders( \"/api/products/category/{id}\");\n return new ResponseEntity<>(list, HttpStatus.OK);\n }",
"@GetMapping(\"/customers\")\r\n\tprivate List<Customer> getAllCustomers() {\r\n\t\treturn customerService.getAllCustomers();\r\n\t}",
"@GetMapping(\"/allCustomers\")\n public List<Customer> getAllCusData() {\n return customerData.showList();\n }",
"void getTotalNumerCustomer();",
"@GetMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Object> getCustomerDetailed(@PathVariable(\"id\") Integer id, HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tCustomer cus = cService.findById(id);\n\t\t\tif(cus == null) return new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t\tMappingJacksonValue mappedCustomer = new MappingJacksonValue(cus);\n\t\t\tmappedCustomer.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.serializeAll()));\n\t\t\treturn new ResponseEntity<>(mappedCustomer, HttpStatus.OK);\n\t\t}\n\t}",
"public ArrayList<String[]> getCustomersInfo(int index)\n\t{\n\t\tint customerAmount = 0;\n\t\tArrayList<String[]> returnValue = new ArrayList<>();\n\t\tArrayList<Customer> customers = CustomerContainer.getInstance().getCustomers();\t\n\t\tif (customers.size() == 0)\n\t\t{\n\t\t\treturn returnValue;\n\t\t}\n\t\t//If we have more than 50 elements we set the customerAmount to 50\n\t\tif ((int)(Math.floor(customers.size() / 50))+1 > index)\n\t\t{\n\t\t\tcustomerAmount = 50;\n\t\t}\n\t\t//If a page contains less then 50 elements, the customerAmount is set to the leftover amount.\n\t\telse if ((int)(Math.floor(customers.size() / 50))+1 == index)\n\t\t{\n\t\t\tcustomerAmount = (int)(customers.size()%50);\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn returnValue;\n\t\t}\n\t\t//All of the customers are added to returnValue based on the customerAmount\n\t\tfor (int e = (index-1)*50; e < (index-1)*50+customerAmount; e++)\n\t\t{\n\t\t\treturnValue.add(customers.get(e).tableFill());\n\t\t}\n\t\treturn returnValue;\n\t}",
"private int getNumberOfCustomers(){\n FileServices fs = new FileServices();\n return fs.loadCustomers().size();\n }",
"public List<Customer> generateData(int clientsNo, int maxOrders, int maxElems) {\n List<Customer> customers = generateClients(clientsNo, maxOrders, maxElems);\n return customers;\n }",
"public ArrayList<Customer> getAllCustomers();",
"@RequestMapping(value = \"/customer-addres\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<CustomerAddres> getAllCustomerAddres() {\n log.debug(\"REST request to get all CustomerAddres\");\n List<CustomerAddres> customerAddres = customerAddresRepository.findAll();\n return customerAddres;\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_onInActive() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,a.appliance_status, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE a.appliance_status=0\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();",
"public static ArrayList<CustomerBean> getCutomersById(int customerID) {\r\n\t\tCustomerBean bean = null;\r\n\t\tArrayList<CustomerBean> customerList = new ArrayList<CustomerBean>();\r\n\t\tint customerId, familyMember;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, customer_district, customer_family_size, customer_phone,customer_monthly_income, customer_family_income, customer_payment_type, customr_image, created_on FROM customer where customer_id=?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setInt(1, customerID);\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tfamilyMember = rs.getInt(6);\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\t\t\t\trs.getString(10);\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setFamilyMember(familyMember);\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t\trs.close();\r\n\t\t\tstmt.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"List<CustomerInformation> queryListByCustomer(Integer page, Integer rows, CustomerInformation cust);",
"@SuppressWarnings(\"rawtypes\")\n public MapList getCustomerCRs(Context context, String[] args) throws Exception {\n\n Pattern relationship_pattern = new Pattern(TigerConstants.RELATIONSHIP_PSS_SUBPROGRAMPROJECT);\n relationship_pattern.addPattern(TigerConstants.RELATIONSHIP_PSS_CONNECTEDPCMDATA);\n\n Pattern type_pattern = new Pattern(TigerConstants.TYPE_PSS_CHANGEREQUEST);\n type_pattern.addPattern(TigerConstants.TYPE_PSS_PROGRAMPROJECT);\n\n Pattern finalType = new Pattern(TigerConstants.TYPE_PSS_CHANGEREQUEST);\n\n try {\n\n StringList slselectObjStmts = getSLCTableSelectables(context);\n\n Map programMap = (Map) JPO.unpackArgs(args);\n String strProgProjId = (String) programMap.get(\"objectId\");\n // TIGTK-16801 : 30-08-2018 : START\n boolean bAdminOrPMCMEditAllow = isAdminOrPMCMofRelatedPP(context, strProgProjId);\n StringBuffer sbObjectWhere = new StringBuffer();\n sbObjectWhere.append(\"(type==\\\"\");\n sbObjectWhere.append(TigerConstants.TYPE_PSS_CHANGEREQUEST);\n sbObjectWhere.append(\"\\\"&&attribute[\");\n sbObjectWhere.append(TigerConstants.ATTRIBUTE_PSS_CRORIGINTYPE);\n sbObjectWhere.append(\"] == \");\n sbObjectWhere.append(\"\\\"\");\n sbObjectWhere.append(\"Customer\");\n sbObjectWhere.append(\"\\\")\");\n // TIGTK-16801 : 30-08-2018 : END\n\n DomainObject domainObj = DomainObject.newInstance(context, strProgProjId);\n\n MapList mapList = domainObj.getRelatedObjects(context, relationship_pattern.getPattern(), // relationship pattern\n type_pattern.getPattern(), // object pattern\n slselectObjStmts, // object selects\n null, // relationship selects\n false, // to direction\n true, // from direction\n (short) 0, // recursion level\n sbObjectWhere.toString(), // object where clause\n null, (short) 0, false, // checkHidden\n true, // preventDuplicates\n (short) 1000, // pageSize\n finalType, // Postpattern\n null, null, null);\n // TIGTK_3961:Sort CR data according to CR state :23/1/2017:Rutuja Ekatpure:Start\n if (mapList.size() > 1) {\n // return sortCRListByState(context, mapList);\n // PCM2.0 Spr4:TIGTK-6894:19/9/2017:START\n MapList mlReturn = sortCRListByState(context, mapList);\n\n Iterator<Map<String, String>> itrCR = mlReturn.iterator();\n while (itrCR.hasNext()) {\n Map tempMap = itrCR.next();\n String strCRId = (String) tempMap.get(DomainConstants.SELECT_ID);\n MapList mlIA = getImpactAnalysis(context, strCRId);\n\n String strIAId = \"\";\n if (!mlIA.isEmpty()) {\n Map mpIA = (Map) mlIA.get(0);\n strIAId = (String) mpIA.get(DomainConstants.SELECT_ID);\n }\n tempMap.put(\"LatestRevIAObjectId\", strIAId);\n // TIGTK-16801 : 30-08-2018 : START\n tempMap.put(\"bAdminOrPMCMEditAllow\", bAdminOrPMCMEditAllow);\n // TIGTK-16801 : 30-08-2018 : END\n }\n return mlReturn;\n // PCM2.0 Spr4:TIGTK-6894:19/9/2017:END\n } else {\n return mapList;\n }\n // TIGTK_3961:Sort CR data according to CR state :23/1/2017:Rutuja Ekatpure:End\n } catch (Exception ex) {\n logger.error(\"Error in getCustomerCRs: \", ex);\n throw ex;\n }\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_onLoan(int active) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tString querycon = null;\r\n\t\tif (active == 1) {\r\n\t\t\tquerycon = \" and cs.status=1 \";\r\n\t\t} else {\r\n\t\t\tquerycon = \"\";\r\n\t\t}\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE sld.payement_option=1\"\r\n\t\t\t\t\t+ querycon;\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public Collection<Customer> listCustomer10() {\r\n\t\tfinal Collection<Customer> list = this.customerRepository.listCustomer10();\r\n\t\treturn list;\r\n\t}",
"List<Customer> getList();",
"java.util.List<com.google.cloud.channel.v1.Customer> \n getCustomersList();",
"List<CustomerOrder> getAllCustomerOrder();",
"@Override\n public List<Customer> call() throws Exception {\n string = string.replace(\"[\", \"\");\n string = string.replace(\"]\",\"\");\n string = string.replace(\" \", \"\");\n String str = \"http://10.0.2.2:8082/getCustomersByID?customerIDs=\" + string.replace(\"\\\"\", \"'\");\n URLConnection urlConn;\n BufferedReader bufferedReader;\n List<Customer> customerList = new ArrayList<>();\n\n\n try {\n URL url = new URL(str);\n urlConn = url.openConnection();\n bufferedReader = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));\n\n String line;\n while ((line = bufferedReader.readLine()) != null) {\n JSONObject jsonObject = new JSONObject(line);\n Customer customer = new Customer();\n customer.setCustomerID(jsonObject.getString(\"_id\"));\n customer.setLastName(jsonObject.getString(\"lastName\"));\n customer.setFirstName(jsonObject.getString(\"firstName\"));\n customer.setPhoneNumber(jsonObject.getString(\"phoneNumber\"));\n customer.setAddress(jsonObject.getString(\"address\"));\n customer.setBalance(jsonObject.getString(\"balance\"));\n customerList.add(customer);\n\n }\n\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return customerList;\n }",
"@Override\n\t@Transactional\n\tpublic List<AMOUNT> getCustomers() {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t// create a query\n\t\tQuery<AMOUNT> theQuery = currentSession.createQuery(\"from Customer ORDER BY lastName\", AMOUNT.class);\n\n\t\t// execute query and get result list\n\t\tList<AMOUNT> customers = theQuery.getResultList();\n\n\t\t// return the results\n\t\treturn customers;\n\t}",
"public static ArrayList<CustomerBean> getCutomers(Date fromDate, Date toDate) {\r\n\t\tCustomerBean bean = null;\r\n\t\tArrayList<CustomerBean> customerList = new ArrayList<CustomerBean>();\r\n\t\tint customerId, familyMember;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, customer_district, customer_family_size, customer_phone,customer_monthly_income, customer_family_income, customer_payment_type, customr_image, created_on FROM customer where created_on BETWEEN(\"\r\n\t\t\t\t\t+ fromDate + \"\" + toDate + \") ;\";\r\n\t\t\tStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tfamilyMember = rs.getInt(6);\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\t\t\t\trs.getString(10);\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setFamilyMember(familyMember);\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public Collection<Customer> listCustomer10() {\n\t\tfinal Collection<Customer> list = this.customerRepository.listCustomer10();\n\t\treturn list;\n\t}",
"public static CustomerInfoBean getCutomers(int soldID) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, soldId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, createdOn, handoverAt;\r\n\t\tboolean state;\r\n\t\tBlob image;\r\n\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name , sal.salary_range, a.appliance_GSMno, \"\r\n\t\t\t\t\t+ \"a.appliance_status, s.salesman_name, sold.payement_option, sold.sold_to_id, sold.appliance_id, sold.customer_id, sold.salesman_id, cs.created_on, sold.product_handover,cs.status,cs.customr_image,d.district_name FROM sold_to sold INNER JOIN customer cs ON cs.customer_id=sold.customer_id \"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON a.appliance_id=sold.appliance_id INNER JOIN salesman s ON s.salesman_id = sold.salesman_id join city c on cs.customer_city=c.city_id JOIN salary sal on cs.customer_monthly_income=sal.salary_id JOIN district d ON s.salesman_district=d.district_id WHERE sold.sold_to_id=?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setInt(1, soldID);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerName = rs.getString(1);\r\n\t\t\t\tcnicNo = rs.getString(2);\r\n\t\t\t\tphoneNo = rs.getString(3);\r\n\t\t\t\tdistrict = rs.getString(19) + \"/\" + rs.getString(4);\r\n\t\t\t\tmonthlyIncome = rs.getString(5);\r\n\t\t\t\tgsmNumber = rs.getString(6);\r\n\t\t\t\tstate = rs.getBoolean(7);\r\n\t\t\t\tsalesmanName = rs.getString(8);\r\n\t\t\t\trs.getBoolean(9);\r\n\t\t\t\tsoldId = rs.getInt(10);\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tcustomerId = rs.getInt(12);\r\n\t\t\t\tsalesmanId = rs.getInt(13);\r\n\r\n\t\t\t\tcreatedOn = rs.getString(14);\r\n\t\t\t\thandoverAt = rs.getString(15);\r\n\t\t\t\tstatus = rs.getInt(16);\r\n\t\t\t\timage = rs.getBlob(17);\r\n\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSoldId(soldId);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setHandoverAt(handoverAt);\r\n\t\t\t\tbean.setCreatedOn(createdOn);\r\n\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setImage(image);\r\n\t\t\t}\r\n\r\n\t\t\trs.close();\r\n\t\t\tstmt.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn bean;\r\n\t}",
"Customer getCustomer();",
"CustomerDTO getCustomerDetails(Long customerId,String userName) throws EOTException;",
"@GetMapping(\"/customers\")\n\tpublic List<Customer> getcustomers(){\n\t\t\n\t\treturn thecustomerService.getCustomers();\n\t}",
"public String searchCustomerOfPromotion() throws Exception {\n\t\tactionStartTime = new Date();\n\t\tif (promotionId == null || promotionId <= 0) {\n\t\t\tresult.put(\"rows\", new ArrayList<PromotionCustomerVO>());\n\t\t\tresult.put(\"total\", 0);\n\t\t\treturn JSON;\n\t\t}\n\t\ttry {\n\t\t\tPromotionCustomerFilter filter = new PromotionCustomerFilter();\n\t\t\tfilter.setPromotionId(promotionId);\n\t\t\tfilter.setCode(code);\n\t\t\tfilter.setName(name);\n\t\t\tfilter.setAddress(address);\n\t\t\tfilter.setIsCustomerOnly(false);\n\t\t\tif (shopId == null || shopId == 0) {\n\t\t\t\tfilter.setStrListShopId(getStrListShopId());\n\t\t\t} else {\n\t\t\t\tfilter.setShopId(shopId);\n\t\t\t}\n\t\t\tObjectVO<PromotionCustomerVO> obj = promotionProgramMgr.getCustomerInPromotionProgram(filter);\n\t\t\tList<PromotionCustomerVO> lst = obj.getLstObject();\n\n\t\t\tList<TreeGridNode<PromotionCustomerVO>> tree = new ArrayList<TreeGridNode<PromotionCustomerVO>>();\n\t\t\tif (lst == null || lst.size() == 0) {\n\t\t\t\tresult.put(\"rows\", tree);\n\t\t\t\treturn JSON;\n\t\t\t}\n\n\t\t\t// Tao cay\n\t\t\tint i, sz = lst.size();\n\t\t\tPromotionCustomerVO vo = null;\n\t\t\tLong shId = currentUser.getShopRoot().getShopId();\n\t\t\tfor (i = 0; i < sz; i++) {\n\t\t\t\tvo = lst.get(i);\n\t\t\t\tif (vo.getIsCustomer() == 0 && shId.equals(vo.getId())) {\n\t\t\t\t\ti++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//PromotionStaffVO vo = lst.get(0);\n\t\t\tTreeGridNode<PromotionCustomerVO> node = new TreeGridNode<PromotionCustomerVO>();\n\t\t\tnode.setNodeId(\"sh\" + vo.getId());\n\t\t\tnode.setAttr(vo);\n\t\t\tnode.setState(ConstantManager.JSTREE_STATE_OPEN);\n\t\t\tnode.setText(vo.getCustomerCode() + \" - \" + vo.getCustomerName());\n\t\t\tList<TreeGridNode<PromotionCustomerVO>> chidren = new ArrayList<TreeGridNode<PromotionCustomerVO>>();\n\t\t\tnode.setChildren(chidren);\n\t\t\ttree.add(node);\n\n\t\t\tTreeGridNode<PromotionCustomerVO> tmp;\n\t\t\tTreeGridNode<PromotionCustomerVO> tmp2;\n\t\t\tfor (; i < sz; i++) {\n\t\t\t\tvo = lst.get(i);\n\n\t\t\t\ttmp2 = getNodeFromTree(tree, \"sh\" + vo.getParentId());\n\t\t\t\tif (tmp2 != null) {\n\t\t\t\t\ttmp = new TreeGridNode<PromotionCustomerVO>();\n\t\t\t\t\ttmp.setAttr(vo);\n\t\t\t\t\tif (0 == vo.getIsCustomer()) {\n\t\t\t\t\t\ttmp.setNodeId(\"sh\" + vo.getId());\n\t\t\t\t\t\ttmp.setState(ConstantManager.JSTREE_STATE_OPEN);\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttmp.setNodeId(\"st\" + vo.getId());\n\t\t\t\t\t\ttmp.setState(ConstantManager.JSTREE_STATE_LEAF);\n\t\t\t\t\t}\n\t\t\t\t\ttmp.setText(vo.getCustomerCode() + \" - \" + vo.getCustomerName());\n\n\t\t\t\t\tif (tmp2.getChildren() == null) {\n\t\t\t\t\t\ttmp2.setChildren(new ArrayList<TreeGridNode<PromotionCustomerVO>>());\n\t\t\t\t\t}\n\t\t\t\t\ttmp2.getChildren().add(tmp);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tresult.put(\"rows\", tree);\n\t\t} catch (Exception ex) {\n\t\t\tLogUtility.logErrorStandard(ex, R.getResource(\"web.log.message.error\", \"vnm.web.action.program.PromotionCatalogAction.searchCustomerOfPromotion\"), createLogErrorStandard(actionStartTime));\n\t\t\tresult.put(\"errMsg\", ValidateUtil.getErrorMsg(ConstantManager.ERR_SYSTEM));\n\t\t\tresult.put(ERROR, true);\n\t\t}\n\t\treturn JSON;\n\t}",
"@GetMapping(\"/api/customer\")\n\tpublic ResponseEntity<List<CustomerDetails>> getAllCustomerDetails() {\n\n\t\tList<CustomerDetails> customerDetaillist = customerService.getAllCustomerDetails();\n\n\t\treturn ResponseEntity.ok().body(customerDetaillist);\n\n\t}",
"void generate(List<Customer> customers);",
"public static ArrayList<CustomerInfoBean> getCutomerTicket(int doId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> list = new ArrayList<>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, soldId, customerId, salesmanId, size, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, createdOn, handoverAt;\r\n\t\tboolean state;\r\n\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name , cs.customer_monthly_income, a.appliance_GSMno, \"\r\n\t\t\t\t\t+ \"a.appliance_status, s.salesman_name, sold.payement_option, sold.sold_to_id, a.appliance_id, sold.customer_id, sold.salesman_id, \"\r\n\t\t\t\t\t+ \"cs.customer_family_size,cs.created_on, sold.product_handover,cs.status FROM sold_to sold INNER JOIN customer cs ON cs.customer_id=sold.customer_id \"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON a.appliance_id=sold.appliance_id join city c on cs.customer_city INNER JOIN salesman s ON s.salesman_id = sold.salesman_id JOIN city_district cd ON cs.customer_city=cd.city_id INNER JOIN alerts al ON sold.appliance_id = al.appliance_id INNER JOIN do_salesman ds \"\r\n\t\t\t\t\t+ \"ON s.salesman_id=ds.salesman_id WHERE cd.district_id=\"\r\n\t\t\t\t\t+ doId + \" AND al.status=1 ORDER BY al.status ;\";\r\n\t\t\tStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerName = rs.getString(1);\r\n\t\t\t\tcnicNo = rs.getString(2);\r\n\t\t\t\tphoneNo = rs.getString(3);\r\n\t\t\t\tdistrict = rs.getString(4);\r\n\t\t\t\tmonthlyIncome = rs.getString(5);\r\n\t\t\t\tgsmNumber = rs.getString(6);\r\n\t\t\t\tstate = rs.getBoolean(7);\r\n\t\t\t\tsalesmanName = rs.getString(8);\r\n\t\t\t\trs.getBoolean(9);\r\n\t\t\t\tsoldId = rs.getInt(10);\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tcustomerId = rs.getInt(12);\r\n\t\t\t\tsalesmanId = rs.getInt(13);\r\n\t\t\t\tsize = rs.getInt(14);\r\n\t\t\t\tcreatedOn = rs.getString(15);\r\n\t\t\t\thandoverAt = rs.getString(16);\r\n\t\t\t\tstatus = rs.getInt(17);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSoldId(soldId);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setHandoverAt(handoverAt);\r\n\t\t\t\tbean.setCreatedOn(createdOn);\r\n\t\t\t\tbean.setFamilySize(size);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tlist.add(bean);\r\n\t\t\t}\r\n\r\n\t\t\trs.close();\r\n\t\t\tstmt.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn list;\r\n\t}",
"public static ArrayList<CustomerInfoBean> getDoCutomers_notinterested(\r\n\t\t\tint districtId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+\r\n\r\n\t\t\t\t\t\" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE cd.district_id=\"\r\n\t\t\t\t\t+ districtId + \" AND cs.status=3 GROUP BY cs.customer_id\\n\";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public HashMap<Integer,String> customers() {\n ResultSet res = database.getResult();\n HashMap<Integer,String> customers = new HashMap<>();\n try {\n res = database.getStat().executeQuery(\"select * from customers\");\n while(res.next()) {\n customers.put(res.getInt(\"id_customer\"),res.getString(\"nama_customer\"));\n }\n } catch(SQLException e) {\n e.printStackTrace();\n }\n return customers;\n }",
"public void listCustomers() {\r\n\t\tSystem.out.println(store.listCustomers());\r\n\t}",
"public static List<Customer> getCustomers(){\n \treturn Customer.findAll();\n }",
"private void printCustomerCouponsByMaxPrice(CustomerService customerService) \n\t\t\t\t\t\tthrows DBOperationException\n\t{\n\t\tList<Coupon> coupons;\n\t\tSystem.out.println(\"------------------------------------------------------------\");\n\t\tSystem.out.println(\"Enter maximum price to filter coupons:\");\n\t\tString maxPriceStr = scanner.nextLine();\n\t\tdouble maxPrice;\n\t\ttry\n\t\t{\n\t\t\tmaxPrice = Double.parseDouble(maxPriceStr);\n\t\t}\n\t\tcatch(NumberFormatException e)\n\t\t{\n\t\t\tSystem.out.println(\"Invalid input\");\n\t\t\treturn;\n\t\t}\n\t\tcoupons = customerService.getCustomerCoupons(maxPrice);\n\t\tSystem.out.println(customerService.getClientMsg());\n\t\tif(coupons == null)\n\t\t{\n\t\t\tSystem.out.println(\"Error retrieving coupons\");\n\t\t\treturn;\n\t\t}\n\t\tif(coupons.size() == 0)\n\t\t{\n\t\t\tSystem.out.println(\"This customer has no coupons below this price\");\n\t\t\treturn;\n\t\t}\n//\t\tSystem.out.println(coupons.size()+\" coupons found for this customer below this price\");\n\t\tfor(Coupon currCoupon : coupons)\n\t\t\tSystem.out.println(currCoupon);\n\t}",
"public int Customers()\r\n\t{\r\n\t\treturn customers.size();\r\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_onActive(int onloan,\r\n\t\t\tint oncash) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tSystem.out.println(\"Onloan \" + onloan + \" oncsah \" + oncash);\r\n\t\t// if(onloan==0 && oncash==0){querycon=\"\";}\r\n\t\t//\r\n\t\t// if(onloan==1){querycon=\"and sld.payement_option=1\";}\r\n\t\t// else if (oncash==1){querycon=\"and sld.payement_option=0\";} else\r\n\t\t// {querycon=\"\";}\r\n\t\t// // if((onloan==1) && (oncash==1)){querycon=\"and sld.payement_option=0\r\n\t\t// or sld.payement_option=1\";} else {querycon=\"\";}\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,sld.payement_option, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" WHERE a.appliance_status=1;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tSystem.out.print(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@Override\n\tpublic List<Customer> getCustomerList() {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tQuery query=session.createQuery(\"Select c from Customer c\");\n\t\tList<Customer> list=(List<Customer>)query.getResultList();\n\t\t/*\n\t\t * Customer customer = (Customer)session.load(Customer.class,customerId);\n\t\t * */\n\t\treturn list;\n\t}",
"public List<Customer> findCustomers(int limit, int offset){\n\tString sql = \"SELECT * FROM CUSTOMER LIMIT ? OFFSET ?\";\n\tConnection conn = null;\n\tList<Customer> goods = new ArrayList<Customer>();\n\ttry {\n\t\tconn = dataSource.getConnection();\n\t\tPreparedStatement ps = conn.prepareStatement(sql);\n\t\tps.setInt(1, limit);\n\t\tps.setInt(2, offset);\n\t\tCustomer customer = null;\n\t\tResultSet rs = ps.executeQuery();\n\t\t\n\t\twhile (rs.next()) { \n\t\t\tcustomer = new Customer(\n\t\t\t\t\trs.getInt(\"CUST_ID\"),\n\t\t\t\t\trs.getString(\"NAME\"), \n\t\t\t\t\trs.getInt(\"Age\")\n\t\t\t);\n\t\t\tCustomer g = new Customer();\n\t g.setName(customer.getName());\n\t g.setCustId(customer.getCustId());\n\t g.setAge(customer.getAge());\n\t goods.add(g);\n\t\t}\n\t\trs.close();\n\t\tps.close();\n\t\treturn goods;\n\t} catch (SQLException e) {\n\t\tthrow new RuntimeException(e);\n\t} finally {\n\t\tif (conn != null) {\n\t\t\ttry {\n\t\t\tconn.close();\n\t\t\t} catch (SQLException e) {}\n\t\t}\n\t}\n}",
"public static ArrayList<CustomerInfoBean> getDoCutomers_accepted(\r\n\t\t\tint districtId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE cd.district_id =\"\r\n\t\t\t\t\t+ districtId + \" AND e.status=1 or e.status=6; \";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t\trs.close();\r\n\t\t\tst.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public static ArrayList<CustomerInfoBean> getDoCutomers_inactive(\r\n\t\t\tint districtId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE cd.district_id=\"\r\n\t\t\t\t\t+ districtId\r\n\t\t\t\t\t+ \" AND a.appliance_status =0 GROUP BY cs.customer_id\\n\";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@Override\n\tpublic List<MstCustomerDto> getAllCustomer() {\n\t\tList<MstCustomerDto> listMstCustomerDtos=new ArrayList<>();\n\t\tList<Object[]> obj=new ArrayList<>();\n\t\t\n\t\tobj = mstCustomerDao.getAll();\n\t\tlistMstCustomerDtos = mapperFacade.mapAsList(obj, MstCustomerDto.class);\n\t\t\n\t\treturn listMstCustomerDtos;\n\t}",
"List<Account> getAccountsForCustomerId(int customerId);",
"public ArrayList<Hotel> getCustomerHotels(Integer customerId);",
"public List<Compte> getComptesClient(int numeroClient);",
"public static CustomerBean getCutomer(int customerID) {\r\n\t\tCustomerBean bean = null;\r\n\t\tint customerId;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, city_name, customer_phone,customer_monthly_income, customer_family_income, customr_image,created_on FROM customer join city on customer_city=city_id Where customer_id = ?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setInt(1, customerID);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t}\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn bean;\r\n\t}",
"public static ArrayList<CustomerInfoBean> getDoCutomers_rejected(\r\n\t\t\tint districtId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+ \" \\n\"\r\n\t\t\t\t\t+ \" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE cd.district_id=\"\r\n\t\t\t\t\t+ districtId\r\n\t\t\t\t\t+ \" AND cs.status=2 GROUP BY cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" \";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t\trs.close();\r\n\t\t\tst.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public Collection<Object> findPurchaserSpendMoreMoney(){\n\t\tcheckAdminRole();\n\t\tCollection<Object> res=new ArrayList<Object>();\n\t\tres=purchaserRepository.findPurchaserSpendMoreMoney();\n\t\treturn res;\n\t}",
"@RequestMapping(value = \"/customers\", method = RequestMethod.GET)\n public ResponseEntity<?> getCustomers() {\n Iterable<Customer> customerList = customerService.getCustomers();\n return new ResponseEntity<>(customerList, HttpStatus.OK);\n }",
"public String list(){\n\t\tif(name == null) {\n\t\t\ttry {\n\t\t\t\tlist = customerBO.getAll();\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\tList<Customer> l = new ArrayList<Customer>();\n\t\t\ttry {\n\t\t\t\tl = customerBO.getAll();\n\t\t\t\tfor(Customer cus: l) {\n\t\t\t\t\tString CustomerName = cus.getFirstName() + \" \" + cus.getLastName();\n\t\t\t\t\tif(CustomerName.compareTo(name) == 0) {\n\t\t\t\t\t\tlist.add(cus);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tint total = list.size();\n\t\t\t\tint div = total / STATIC_ROW_MAX;\n\t\t\t\tif(div * STATIC_ROW_MAX == total) {\n\t\t\t\t\ttotalPage = div;\n\t\t\t\t} else {\n\t\t\t\t\ttotalPage = div + 1;\n\t\t\t\t}\t\n\n\t\t\t} catch (Exception e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t}\n\t\tint index = 0, begin = 0;\n\t\tbegin = (pageIndex - 1) * STATIC_ROW_MAX;\n\t\tif(pageIndex < totalPage) {\n\t\t\tindex = pageIndex * STATIC_ROW_MAX;\n\t\t} else {\n\t\t\tindex = list.size();\n\t\t}\n\t\tfor(int i = begin; i < index; i++) {\n\t\t\tlistCustomer.add(list.get(i));\t\t\t\t\n\t\t}\n\n\t\treturn \"list\";\n\t}",
"@GetMapping(\"/customer/discount\")\n\tpublic List<Customer> getCustomerByDiscount(){\n\t\treturn customerRepository.getCustomerByDiscount(true);\n\t}",
"public List<Customer> getCustomerByID() {\n Query query = em.createNamedQuery(\"Customer.findByCustomerId\")\r\n .setParameter(\"customerId\", custID);\r\n // return query result\r\n return query.getResultList();\r\n }",
"@Test\n\tpublic void shouldGetCustomersByCustomerListIdWithPaging()\n\t{\n\t\tfinal Response getWithPaging = getWsSecuredRequestBuilder(OAUTH_USERNAME, OAUTH_PASSWORD).path(CUSTOMER_SEARCH_URI)\n\t\t\t\t.queryParam(CUSTOMER_LIST_PARAM, TEMP_CUSTOMER_LIST_ID).queryParam(BASE_SITE_PARAM, BASE_SITE_ID)\n\t\t\t\t.queryParam(PAGE_SIZE, \"1\").queryParam(CURRENT_PAGE, \"0\").build().accept(MediaType.APPLICATION_JSON).get();\n\t\tgetWithPaging.bufferEntity();\n\t\tassertResponse(Status.OK, getWithPaging);\n\t\tfinal CustomerSearchPageWsDTO entity = getWithPaging.readEntity(CustomerSearchPageWsDTO.class);\n\t\tfinal List<String> uids = entity.getEntries().stream().map(UserWsDTO::getUid).collect(Collectors.toList());\n\t\tassertThat(uids.contains(\"user2\")).isTrue();\n\t\tassertThat(entity.getPagination().getPageSize() == NumberUtils.INTEGER_ONE).isTrue();\n\t\tassertThat(entity.getPagination().getSort().equalsIgnoreCase(\"byOrderDateDesc\")).isTrue();\n\t}",
"@Override\n\tpublic Collection<Customer> getAllCustomers() throws Exception {\n\t\tArrayList<Customer> customers = new ArrayList<Customer>();\n\t\tConnection con = pool.getConnection();\n\t\t\n\t\ttry {\n\t\t\tString getAllCustomers = \"select * from customer\";\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(getAllCustomers);\n\t\t\tint result = 0;\n\n\t\t\t\twhile (rs.next()) {\n\t\t\t\t\tCustomer cust = new Customer();\n\t\t\t\t\tcust.setId(rs.getLong(\"ID\"));\n\t\t\t\t\tcust.setCustName(rs.getString(\"Cust_Name\"));\n\t\t\t\t\tcust.setPassword(rs.getString(\"Password\"));\n\t\t\t\t\tcustomers.add(cust);\n\t\t\t\t\tresult++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result + \" Customers were retrieved.\");\n \n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \" Could not retrieve data from DB.\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage() + \" Could not close the connection to the DB\");\n\t\t\t}\n\t\t}\n\t\treturn customers;\n\t}",
"Customer getCustomerById(int customerId);",
"public ArrayList<Customer> getAllCustomers(){\n ArrayList<Customer> customers = new ArrayList<>();\n\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT CustomerId, FirstName, LastName, Country, PostalCode, Phone, Email FROM Customer \");\n\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n customers.add(\n new Customer(\n set.getString(\"CustomerId\"),\n set.getString(\"FirstName\"),\n set.getString(\"LastName\"),\n set.getString(\"Country\"),\n set.getString(\"PostalCode\"),\n set.getString(\"Phone\"),\n set.getString(\"Email\")\n ));\n\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return customers;\n }",
"public List<Customer> getCustomers()\n {\n List<Customer> customers = new ArrayList<>();\n\n customers.add(new Customer(\"Recipient\", \"One\", \"[email protected]\", \"Green\"));\n customers.add(new Customer(\"Recipient\", \"Two\", \"[email protected]\", \"Red\"));\n customers.add(new Customer(\"Recipient\", \"Three\", \"[email protected]\", \"Blue\"));\n customers.add(new Customer(\"Recipient\", \"Four\", \"[email protected]\", \"Orange\"));\n\n return customers;\n }",
"public static List<GroupCustomerItems> getGroupCustomer() {\n\n\t\tList<GroupCustomerItems> showCustomerItems = null;\n\n\t\ttry {\n\t\t\tshowCustomerItems = CustomerItemsDAO.showCustomerPurchase();\n\n\t\t} catch (SQLException | ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn showCustomerItems;\n\t}",
"public static ArrayList<CustomerInfoBean> getDoCutomers_appliad(\r\n\t\t\tint districtId) {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status, familySize;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id,\\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status, cs.customer_family_size FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN appliance a ON e.appliance_id =a.appliance_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN salesman s ON e.salesman_id =s.salesman_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city_district cd ON cs.customer_city=cd.city_id\\n\"\r\n\t\t\t\t\t+ \" INNER JOIN do_salesman ds ON s.salesman_id=ds.salesman_id WHERE cd.district_id=\"\r\n\t\t\t\t\t+ districtId + \" AND cs.status=0 GROUP BY cs.customer_id\\n\";\r\n\t\t\tStatement st = con.prepareStatement(query);\r\n\t\t\tResultSet rs = st.executeQuery(query);\r\n\t\t\tSystem.err.println(query);\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tfamilySize = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tbean.setFamilySize(familySize);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t\trs.close();\r\n\t\t\tst.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@Transactional\n\tpublic List<Customer> getCustomers() {\n\t\t\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t\t\t// create a query ... sort by last name\n\t\t\t\tQuery<Customer> theQuery = currentSession.createQuery(\"from Customer order by lastName\", Customer.class);\n\n\t\t\t\t// execute query and get result list\n\t\t\t\tList<Customer> customers = theQuery.getResultList();\n\n\t\t\t\t// return the results\n\t\t\t\treturn customers;\n\t}",
"private void getCustomerData() {\r\n\t\t// get next customer data : from file or random number generator\r\n\t\t// set anyNewArrival and transactionTime\r\n\t\t// see readme file for more info\r\n\r\n\t\tif (dataSource == 1) { // file\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// 0/1 random or file input\r\n\t\t\t\t\tif (dataFile.hasNextInt()) {\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// checks for a line of information\r\n\t\t\t\t\t\tint data1 = dataFile.nextInt();\t\t\t\t\t\t\t\t\t\t\t\t\t\t// every line has 2 numbers of info\r\n\t\t\t\t\t\tint data2 = dataFile.nextInt();\r\n\t\t\t\t\t\tanyNewArrival \t= (((data1%100)+1)<= chancesOfArrival);\t\t// computes anyNewArrival boolean\r\n\t\t\t\t transactionTime = (data2%maxTransactionTime)+1;\t\t\t\t\t// computes transactionTime integer\r\n\t\t\t\t\t}\r\n\t\t} else { // random\r\n\t\t\tdataRandom = new Random();\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// generates random boolean and int\r\n\t\t\tanyNewArrival \t= ((dataRandom.nextInt(100) + 1) <= chancesOfArrival);\r\n\t\t\ttransactionTime = dataRandom.nextInt(maxTransactionTime) + 1;\r\n\t\t}\r\n\t}",
"@GetMapping(\"/customers\")\n public List<CustomerHibernate> listCustomers() {\n return customerService.findAll();\n }",
"private void loadCustomerData() {\n\t\tCustomerDTO cust1 = new CustomerDTO();\n\t\tcust1.setId(null);\n\t\tcust1.setFirstName(\"Steven\");\n\t\tcust1.setLastName(\"King\");\n\t\tcust1.setEmail(\"[email protected]\");\n\t\tcust1.setCity(\"Hyderabad\");\n\t\tcustomerService.createCustomer(cust1);\n\n\t\tCustomerDTO cust2 = new CustomerDTO();\n\t\tcust2.setId(null);\n\t\tcust2.setFirstName(\"Neena\");\n\t\tcust2.setLastName(\"Kochhar\");\n\t\tcust2.setEmail(\"[email protected]\");\n\t\tcust2.setCity(\"Pune\");\n\t\tcustomerService.createCustomer(cust2);\n\n\t\tCustomerDTO cust3 = new CustomerDTO();\n\t\tcust3.setId(null);\n\t\tcust3.setFirstName(\"John\");\n\t\tcust3.setLastName(\"Chen\");\n\t\tcust3.setEmail(\"[email protected]\");\n\t\tcust3.setCity(\"Bangalore\");\n\t\tcustomerService.createCustomer(cust3);\n\n\t\tCustomerDTO cust4 = new CustomerDTO();\n\t\tcust4.setId(null);\n\t\tcust4.setFirstName(\"Nancy\");\n\t\tcust4.setLastName(\"Greenberg\");\n\t\tcust4.setEmail(\"[email protected]\");\n\t\tcust4.setCity(\"Mumbai\");\n\t\tcustomerService.createCustomer(cust4);\n\n\t\tCustomerDTO cust5 = new CustomerDTO();\n\t\tcust5.setId(5L);\n\t\tcust5.setFirstName(\"Luis\");\n\t\tcust5.setLastName(\"Popp\");\n\t\tcust5.setEmail(\"[email protected]\");\n\t\tcust5.setCity(\"Delhi\");\n\t\tcustomerService.createCustomer(cust5);\n\n\t}",
"@GetMapping(\"/customers\")\n\tpublic ResponseEntity<Object> getAllCustomers(HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tList<Customer> c = cService.findAll();;\n\t\t\tMappingJacksonValue mappedCustomers = new MappingJacksonValue(c);\n\t\t\tmappedCustomers.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.filterOutAllExcept(\"id\", \"email\", \"name\")));\n\t\t\treturn new ResponseEntity<>(mappedCustomers, HttpStatus.OK);\n\t\t}\n\t}",
"public static ArrayList<CustomerBean> getCutomerByName(\r\n\t\t\tString customerFirstName) {\r\n\t\tCustomerBean bean = null;\r\n\t\tArrayList<CustomerBean> list = new ArrayList<CustomerBean>();\r\n\t\tint customerId, familyMember;\r\n\t\tdouble monthlyIncome, familyIncome;\r\n\t\tString customerName, cnicNo, phoneNo, address, district, customer_pic, accountCreatedDate;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT customer_id, customer_name, customer_cnic, customer_address, customer_district, customer_family_size, customer_phone,customer_monthly_income, customer_family_income, customer_payment_type, customr_image, created_on FROM customer Where user_name = ?;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tstmt.setString(1, customerFirstName);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\taddress = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tfamilyMember = rs.getInt(6);\r\n\t\t\t\tphoneNo = rs.getString(7);\r\n\t\t\t\tmonthlyIncome = rs.getDouble(8);\r\n\t\t\t\tfamilyIncome = rs.getDouble(9);\r\n\t\t\t\trs.getString(10);\r\n\t\t\t\tcustomer_pic = rs.getString(11);\r\n\t\t\t\taccountCreatedDate = rs.getString(12);\r\n\t\t\t\tbean = new CustomerBean();\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setAddress(address);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setFamilyMember(familyMember);\r\n\t\t\t\tbean.setFamilyIncome(familyIncome);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\r\n\t\t\t\tbean.setAccountCreatedDate(accountCreatedDate);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\tbean.setCustomer_pic(customer_pic);\r\n\t\t\t\tlist.add(bean);\r\n\t\t\t}\r\n\t\t} catch (SQLException ex) {\r\n\t\t\tlogger.error(\"\", ex);\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t\treturn list;\r\n\t}",
"public ArrayList<Hotel> getUserHotels(Integer userId, Integer customerId);",
"@GetMapping(value = CustomerRestURIConstants.GET_ALL_CUSTOMER )\n\tpublic ResponseEntity<List<Customer>> list() {\n\t\tList<Customer> customers = customerService.getAllCustomers();\n\t\treturn ResponseEntity.ok().body(customers);\n\t}",
"@GetMapping(\"/customers\")\n public List<Customer> findAll()\n {\n return customerService.findAll();\n }",
"@GetMapping(value = \"/showCustomers\")\n\tpublic String getAllCustomers(Model model) {\n\t\t// AllCustomers model attribute iterated over to display Customers in table on\n\t\t// JSP page\n\t\tmodel.addAttribute(\"AllCustomers\", customerService.getCustomers());\n\t\t// Returns showCustomers.jsp (see webapp/jsp folder)\n\t\treturn \"showCustomers\";\n\t}",
"void getMarketOrders();",
"@Override\n\tpublic List<CustomerData> getAllCustomer() {\n\t\treturn customerRepository.findAll();\n\t}",
"@GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)\n\t/*\n\t * @ApiOperation(value = \"Get all the customers\", notes =\n\t * \"Send GET request to get all the customers\" , httpMethod = \"GET\", code = 200,\n\t * response = CustomerResponse.class, responseContainer = \"List\", produces =\n\t * MediaType.APPLICATION_JSON_VALUE)\n\t * \n\t * @ApiResponses(value = {\n\t * \n\t * @ApiResponse(code = 200, response = CustomerResponse.class, responseContainer\n\t * = \"List\", message = \"List of all customers\"),\n\t * \n\t * @ApiResponse(code = 401, response = ErrorResponse.class, message =\n\t * \"Invalid or expired token provided. Error code: CREDENTIALS_REJECTED\"),\n\t * \n\t * @ApiResponse(code = 500, response = ErrorResponse.class, message =\n\t * \"Runtime server error occurred. Error code: SERVER_ERROR\")})\n\t */\n\tpublic List<CustomerResponse> getCustomers() {\n\t\tlog.info(\"hit the controller\");\n\t\treturn customerService.findAll();\n\t}",
"public List<Customer> getAllCustomers() {\n return customerRepository.findAll();\n }"
]
| [
"0.65296376",
"0.6407081",
"0.63828117",
"0.6361093",
"0.6350191",
"0.6339881",
"0.63092494",
"0.62968785",
"0.62711656",
"0.62675476",
"0.6237466",
"0.6190887",
"0.61798257",
"0.61760277",
"0.61557186",
"0.61462575",
"0.6144215",
"0.6110354",
"0.6099395",
"0.6065075",
"0.60635227",
"0.6054824",
"0.6030499",
"0.60192007",
"0.6015871",
"0.60115075",
"0.5997588",
"0.5982992",
"0.5982911",
"0.5982375",
"0.59663916",
"0.5961888",
"0.59509015",
"0.59481233",
"0.5938059",
"0.59363693",
"0.59320855",
"0.59304905",
"0.592662",
"0.59254104",
"0.5904996",
"0.5903681",
"0.5895423",
"0.58855295",
"0.58708894",
"0.5867436",
"0.5861044",
"0.58456945",
"0.58341235",
"0.58246773",
"0.5820674",
"0.58135253",
"0.5799185",
"0.5794512",
"0.57915765",
"0.578954",
"0.5775197",
"0.5772675",
"0.5771093",
"0.57660115",
"0.57490796",
"0.574857",
"0.5747734",
"0.57319605",
"0.5708196",
"0.5707768",
"0.56939095",
"0.56933486",
"0.5689995",
"0.5688989",
"0.56870097",
"0.56865764",
"0.5684402",
"0.5683501",
"0.5679544",
"0.5677931",
"0.5672578",
"0.56698424",
"0.56662756",
"0.56661093",
"0.5659264",
"0.565048",
"0.56473136",
"0.5646247",
"0.5632594",
"0.5625942",
"0.562362",
"0.5622546",
"0.5619588",
"0.56182295",
"0.56106365",
"0.55999136",
"0.5599505",
"0.559682",
"0.55898035",
"0.5582159",
"0.5580719",
"0.5567874",
"0.556437",
"0.55620104"
]
| 0.7019486 | 0 |
function that get all the customers | @GET
@Path("getAllCustomer")
public List<Customer> getAllCustomer() {
return ManagerHelper.getCustomerManager().getAllCustomer();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void listAllCustomers () {\r\n\t\t\r\n customersList = my.resturnCustomers();\r\n\t\t\r\n\t}",
"@RequestMapping(value = \"/v2/customers\", method = RequestMethod.GET)\r\n\tpublic List<Customer> customers() {\r\n JPAQuery<?> query = new JPAQuery<Void>(em);\r\n QCustomer qcustomer = QCustomer.customer;\r\n List<Customer> customers = (List<Customer>) query.from(qcustomer).fetch();\r\n // Employee oneEmp = employees.get(0);\r\n\t\treturn customers;\r\n }",
"public static List<Customer> getCustomers(){\n \treturn Customer.findAll();\n }",
"List<Customer> getCustomers();",
"@Override\n\tpublic List<Customer> retrieveAllCustomers() {\n\t\tlogger.info(\"A GET call retrieved all customers: retrieveAllCustomers()\");\n\t\treturn customers;\n\t}",
"public ArrayList<Customer> getAllCustomers();",
"List<Customer> getCustomerList();",
"public List<Customer> getAllCustomers() {\n return customerRepository.findAll();\n }",
"public List<CustomerModel> getCustomers();",
"List<Customer> loadAllCustomer();",
"@GetMapping(\"/customers\")\r\n\tprivate List<Customer> getAllCustomers() {\r\n\t\treturn customerService.getAllCustomers();\r\n\t}",
"public static List<Customer> getAllCustomers() {\r\n\t\tList<Customer> customerList = new ArrayList<Customer>();\r\n\t\tConnection conn = ConnectionFactory.getConnection();\r\n\r\n\t\tString query = \"SELECT customerUuid, customerType, customerName, personKey, addressKey FROM Customer\";\r\n\r\n\t\tPreparedStatement ps = null;\r\n\t\tResultSet rs = null;\r\n\t\tCustomer customer = null;\r\n\r\n\t\ttry {\r\n\t\t\tps = conn.prepareStatement(query);\r\n\t\t\trs = ps.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tString customerUuid = rs.getString(\"customerUuid\");\r\n\t\t\t\tString customerType = rs.getString(\"customerType\");\r\n\t\t\t\tString customerName = rs.getString(\"customerName\");\r\n\t\t\t\tint personKey = rs.getInt(\"personKey\");\r\n\t\t\t\tPerson primaryContact = Person.getPersonByKey(personKey);\r\n\t\t\t\tint addressKey = rs.getInt(\"addressKey\");\r\n\t\t\t\tAddress address = Address.getAddressByKey(addressKey);\r\n\t\t\t\t\r\n\t\t\t\tif (customerType.equals(\"G\")) {\r\n\t\t\t\t\tcustomer = new GovernmentCustomer(customerUuid, primaryContact, customerName, address);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcustomer = new CorporateCustomer(customerUuid, primaryContact, customerName, address);\r\n\t\t\t\t}\r\n\t\t\t\tcustomerList.add(customer);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"SQLException: \");\r\n\t\t\te.printStackTrace();\r\n\t\t\tthrow new RuntimeException(e);\r\n\t\t} finally {\r\n\t\t\tConnectionFactory.closeConnection(conn, ps, rs);\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"@GetMapping(\"/customers\")\n\tpublic List<Customer> getcustomers(){\n\t\t\n\t\treturn thecustomerService.getCustomers();\n\t}",
"@Override\n\tpublic Uni<List<Customer>> findAllCustomer() {\n\t\treturn repo.findAll().list();\n\t}",
"@Override\n\tpublic List<CustomerData> getAllCustomer() {\n\t\treturn customerRepository.findAll();\n\t}",
"List<Customer> getList();",
"public List<Customer> getAllCustomers() {\n Query query = em.createNamedQuery(\"Customer.findAll\");\r\n // return query result\r\n return query.getResultList();\r\n }",
"@Override\n\tpublic List<MstCustomerDto> getAllCustomer() {\n\t\tList<MstCustomerDto> listMstCustomerDtos=new ArrayList<>();\n\t\tList<Object[]> obj=new ArrayList<>();\n\t\t\n\t\tobj = mstCustomerDao.getAll();\n\t\tlistMstCustomerDtos = mapperFacade.mapAsList(obj, MstCustomerDto.class);\n\t\t\n\t\treturn listMstCustomerDtos;\n\t}",
"@GetMapping(value = CustomerRestURIConstants.GET_ALL_CUSTOMER )\n\tpublic ResponseEntity<List<Customer>> list() {\n\t\tList<Customer> customers = customerService.getAllCustomers();\n\t\treturn ResponseEntity.ok().body(customers);\n\t}",
"public List<Customer> getCustomers()\n {\n List<Customer> customers = new ArrayList<>();\n\n customers.add(new Customer(\"Recipient\", \"One\", \"[email protected]\", \"Green\"));\n customers.add(new Customer(\"Recipient\", \"Two\", \"[email protected]\", \"Red\"));\n customers.add(new Customer(\"Recipient\", \"Three\", \"[email protected]\", \"Blue\"));\n customers.add(new Customer(\"Recipient\", \"Four\", \"[email protected]\", \"Orange\"));\n\n return customers;\n }",
"public Object getAllCustomers(HttpServletRequest req);",
"@GetMapping(\"/allCustomers\")\n public List<Customer> getAllCusData() {\n return customerData.showList();\n }",
"@Override\n\tpublic List<Customer> getCustomers() {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\t//create the query\n\t\tQuery<Customer> query = session.createQuery(\"from Customer order by lastName\", Customer.class);\n\t\t//get the result list\n\t\tList<Customer> customers = query.getResultList();\n\t\treturn customers;\n\t}",
"public List<Customermodel> getCustomers() {\n\t return customerdb.findAll();\n\t }",
"public void listCustomers() {\r\n\t\tSystem.out.println(store.listCustomers());\r\n\t}",
"@Override\n\tpublic List<Customer> findAllCustomer() {\n\t\treturn customerDao.findAllCustomer();\n\t}",
"@Override\n\tpublic List<Customer> getAllCustomers() {\n\t\treturn customerRepository.findAllCustomer();\n\t}",
"@Override\n\t@Transactional\n\tpublic List<AMOUNT> getCustomers() {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t// create a query\n\t\tQuery<AMOUNT> theQuery = currentSession.createQuery(\"from Customer ORDER BY lastName\", AMOUNT.class);\n\n\t\t// execute query and get result list\n\t\tList<AMOUNT> customers = theQuery.getResultList();\n\n\t\t// return the results\n\t\treturn customers;\n\t}",
"@Override\r\n\tpublic List<Customer> getAllCustomers() {\n\t\treturn null;\r\n\t}",
"@GET\r\n\t@Produces({ MediaType.APPLICATION_JSON })\r\n\tpublic ArrayList<Customer> getCustomers() {\r\n\t\treturn custDao.readAll();\r\n\t}",
"@Transactional\n\tpublic List<Customer> getCustomers() {\n\t\t\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t\t\t// create a query ... sort by last name\n\t\t\t\tQuery<Customer> theQuery = currentSession.createQuery(\"from Customer order by lastName\", Customer.class);\n\n\t\t\t\t// execute query and get result list\n\t\t\t\tList<Customer> customers = theQuery.getResultList();\n\n\t\t\t\t// return the results\n\t\t\t\treturn customers;\n\t}",
"@Override\n\tpublic List<Customer> getCustomers() {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t// create a query\n\t\tQuery<Customer> theQuery =\n\t\t\t\tcurrentSession.createQuery(\"from Customer order by lastName\", Customer.class);\n\n\t\t// execute query and get result list\n\t\tList<Customer> customers = theQuery.getResultList();\n\n\t\treturn customers;\n\t}",
"@Override\n\tpublic Collection<Customer> getAllCustomers() throws Exception {\n\t\tArrayList<Customer> customers = new ArrayList<Customer>();\n\t\tConnection con = pool.getConnection();\n\t\t\n\t\ttry {\n\t\t\tString getAllCustomers = \"select * from customer\";\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(getAllCustomers);\n\t\t\tint result = 0;\n\n\t\t\t\twhile (rs.next()) {\n\t\t\t\t\tCustomer cust = new Customer();\n\t\t\t\t\tcust.setId(rs.getLong(\"ID\"));\n\t\t\t\t\tcust.setCustName(rs.getString(\"Cust_Name\"));\n\t\t\t\t\tcust.setPassword(rs.getString(\"Password\"));\n\t\t\t\t\tcustomers.add(cust);\n\t\t\t\t\tresult++;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result + \" Customers were retrieved.\");\n \n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \" Could not retrieve data from DB.\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage() + \" Could not close the connection to the DB\");\n\t\t\t}\n\t\t}\n\t\treturn customers;\n\t}",
"public List<Customer> findAll(){\n\t\treturn custRepo.findAll();\n\t}",
"public static ObservableList<Customers> getAllCustomers() {\n return allCustomers;\n }",
"@Override\n\tpublic List<Customer> getCustomers() {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\t\t\n\t\t// create a query ... sort by the lastname\n\t\tQuery<Customer> theQuery = \n\t\t\t\tcurrentSession.createQuery(\"from Customer order by lastName\",Customer.class);\n\t\t\n\t\t// execute query and get result list\n\t\tList<Customer> customers = theQuery.getResultList();\n\t\t\t\t\n\t\t// return the results\t\t\n\t\treturn customers;\n\t}",
"@GetMapping(\"/customers\")\n public List<Customer> findAll()\n {\n return customerService.findAll();\n }",
"public void listCustomers() {\n\t\tSystem.out.println(\"\\nCustomers llegits desde la base de dades\");\n\n\t\tObjectSet<Customer> customers = db.query(Customer.class);\n\t\tcustomers.stream()\n\t\t\t.forEach(System.out::println);\n\n\t}",
"@Override\n\t@Transactional\n\tpublic List<Customer> getCustomers() {\n\t\treturn customerDAO.getCustomers();\n\t\t\n\t}",
"@Override\n\tpublic List<Customer> getCustomers() {\n\n\t\treturn sessionFactory.getCurrentSession().createQuery(\"from Customer order by lastName\", Customer.class)\n\t\t\t\t.getResultList();\n\n\t}",
"public List<Customer> findAllCustomers() throws DatabaseOperationException;",
"List<CustomerOrder> getAllCustomerOrder();",
"@GetMapping(\"/api/customer\")\n\tpublic ResponseEntity<List<CustomerDetails>> getAllCustomerDetails() {\n\n\t\tList<CustomerDetails> customerDetaillist = customerService.getAllCustomerDetails();\n\n\t\treturn ResponseEntity.ok().body(customerDetaillist);\n\n\t}",
"@Override\n\tpublic List<Customer> getAllCustomers() {\n\t\treturn null;\n\t}",
"@GetMapping(\"/customers\")\n public List<CustomerHibernate> listCustomers() {\n return customerService.findAll();\n }",
"@RequestMapping(value = \"/customers\", method = RequestMethod.GET)\n public ResponseEntity<?> getCustomers() {\n Iterable<Customer> customerList = customerService.getCustomers();\n return new ResponseEntity<>(customerList, HttpStatus.OK);\n }",
"@PreAuthorize(\"#oauth2.hasAnyScope('read','write','read-write')\")\n\t@RequestMapping(method = GET)\n\tpublic Mono<ResponseEntity<List<Customer>>> allCustomers() {\n\n\t\treturn repo.findAll().collectList()\n\t\t\t.filter(customers -> customers.size() > 0)\n\t\t\t.map(customers -> ok(customers))\n\t\t\t.defaultIfEmpty(noContent().build());\n\t}",
"public List<Customer> getCustomerByID() {\n Query query = em.createNamedQuery(\"Customer.findByCustomerId\")\r\n .setParameter(\"customerId\", custID);\r\n // return query result\r\n return query.getResultList();\r\n }",
"@RequestMapping(value = \"/customer-addres\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<CustomerAddres> getAllCustomerAddres() {\n log.debug(\"REST request to get all CustomerAddres\");\n List<CustomerAddres> customerAddres = customerAddresRepository.findAll();\n return customerAddres;\n }",
"@Override\n\tpublic Iterable<Customer> displayCust() {\n\t\treturn customerRepository.findAll();\n\t}",
"@RequestMapping(\"getAllCustomers\")\r\n\t @ResponseBody\r\n\t public List<Customer> getAllCustomers() {\r\n\t\t return repo.findAll();\r\n\t }",
"public List<Customer> findAll() {\n\t\t//get current session\n\t\tSession currentSession = entityManager.unwrap(Session.class);\n\t\t//query to fetch all records\n\t\tQuery<Customer> query = currentSession.createQuery(\n\t\t\t\t\t\t\t\t\"from Customer where customerId!=:customerId\", Customer.class);\n\t\t//get account details of all accounts\n\t\tquery.setParameter(\"customerId\", 9999999);\n\t\tList<Customer> customer = query.getResultList();\n\t\t//return the result\n\t\treturn customer;\n\t}",
"@GetMapping(\"/customers\")\n\tpublic ResponseEntity<Object> getAllCustomers(HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tList<Customer> c = cService.findAll();;\n\t\t\tMappingJacksonValue mappedCustomers = new MappingJacksonValue(c);\n\t\t\tmappedCustomers.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.filterOutAllExcept(\"id\", \"email\", \"name\")));\n\t\t\treturn new ResponseEntity<>(mappedCustomers, HttpStatus.OK);\n\t\t}\n\t}",
"@Override\n\tpublic List<Customer> getCustomerList() {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tQuery query=session.createQuery(\"Select c from Customer c\");\n\t\tList<Customer> list=(List<Customer>)query.getResultList();\n\t\t/*\n\t\t * Customer customer = (Customer)session.load(Customer.class,customerId);\n\t\t * */\n\t\treturn list;\n\t}",
"public void listAllCustomers() {\n List<Customer> list = model.findAllCustomers();\n if(list != null){\n if(list.isEmpty())\n view.showMessage(not_found_error);\n else\n view.showTable(list);\n }\n else\n view.showMessage(retrieving_data_error); \n }",
"java.util.List<com.google.cloud.channel.v1.Customer> \n getCustomersList();",
"public String allCustomers(){\n String outputString = \"Customer accounts:\"+\"\\n\";\n for(Customer record : bank.getName2CustomersMapping().values()){\n outputString += record.getFullName()+\" \"+record.getAccounts().toString()+\"\\n\";\n }\n return outputString;\n }",
"com.google.cloud.channel.v1.Customer getCustomers(int index);",
"@Override\n\tpublic List<Customer> findAll() {\n\t\treturn customerRepository.findAll();\n\t}",
"Set<Customer> getCustomers(final CustomerQueryFilter filter);",
"@RequestMapping(method = RequestMethod.GET)\n\t\tpublic ResponseEntity<Collection<Customer>> getAllUsers() {\n\t\t\treturn service.getAllCustomers();\n\t\t}",
"@Override\n\tpublic List<Customer> listCustomers() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic List<Customer> getAllCustomers() {\r\n\t\tList<Customer> allCustomers = new ArrayList<Customer>();\r\n\t\tallCustomers = customerRepository.findAll();\r\n\t\tif (!allCustomers.isEmpty()) {\r\n\t\t\treturn allCustomers;\r\n\t\t} else {\r\n\t\t\tthrow new EmptyEntityListException(\"No Customers Found.\");\r\n\t\t}\r\n\r\n\t}",
"public ArrayList<Customer> getAllCustomers(){\n ArrayList<Customer> customers = new ArrayList<>();\n\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT CustomerId, FirstName, LastName, Country, PostalCode, Phone, Email FROM Customer \");\n\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n customers.add(\n new Customer(\n set.getString(\"CustomerId\"),\n set.getString(\"FirstName\"),\n set.getString(\"LastName\"),\n set.getString(\"Country\"),\n set.getString(\"PostalCode\"),\n set.getString(\"Phone\"),\n set.getString(\"Email\")\n ));\n\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return customers;\n }",
"public List<Customer> read() {\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n ResultSet rest = null;\n List<Customer> customers = new ArrayList<>();\n try {\n ppst = conn.prepareStatement(\"SELECT * FROM customer\");\n rest = ppst.executeQuery();\n while (rest.next()) {\n Customer c = new Customer(\n rest.getInt(\"customer_key\"),\n rest.getString(\"name\"),\n rest.getString(\"id\"),\n rest.getString(\"phone\")\n );\n customers.add(c);\n }\n } catch (SQLException e) {\n throw new RuntimeException(\"Query error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst, rest);\n }\n return customers;\n }",
"public List<Customer> getCustomerList() {\n return new ArrayList<Customer>(customersList);\n }",
"public Collection<Customer> listCustomer10() {\r\n\t\tfinal Collection<Customer> list = this.customerRepository.listCustomer10();\r\n\t\treturn list;\r\n\t}",
"@GetMapping()\n public Iterable<Customer> getCustomers(CustomerSpec spec){\n return customerRepository.findAll(spec);\n }",
"public List<Customer> getCustomers() {\n\t\treturn customers;\n\t}",
"public List<Customer> getCustomerList() {\r\n\t\tList<Object> columnList = null;\r\n\t\tList<Object> valueList = null;\r\n\t\tList<Customer> customers = new ArrayList<Customer>();\r\n\r\n\t\tif (searchValue != null && !searchValue.trim().equals(\"\")) {\r\n\t\t\tcolumnList = new ArrayList<Object>();\r\n\t\t\tvalueList = new ArrayList<Object>();\r\n\t\t\tcolumnList.add(searchColumn);\r\n\t\t\tvalueList.add(searchValue);\r\n\t\t}\r\n\t\tcustomers = customerService.searchCustomer(columnList, valueList,\r\n\t\t\t\tfirst, pageSize);\r\n\t\t\r\n\r\n\t\treturn customers;\r\n\t}",
"@Override\n\t@Transactional\n\tpublic List<Customer> getAll() {\n\t\tList<Customer> loadAll = hibernateTemplate.loadAll(Customer.class);\n\t\treturn loadAll;\n\t}",
"@GetMapping(value = \"/showCustomers\")\n\tpublic String getAllCustomers(Model model) {\n\t\t// AllCustomers model attribute iterated over to display Customers in table on\n\t\t// JSP page\n\t\tmodel.addAttribute(\"AllCustomers\", customerService.getCustomers());\n\t\t// Returns showCustomers.jsp (see webapp/jsp folder)\n\t\treturn \"showCustomers\";\n\t}",
"public Collection<Customer> listCustomer10() {\n\t\tfinal Collection<Customer> list = this.customerRepository.listCustomer10();\n\t\treturn list;\n\t}",
"public List<Customer> getCustomerByName() {\n Query query = em.createNamedQuery(\"Customer.findByName\")\r\n .setParameter(\"name\", custName);\r\n // return query result\r\n return query.getResultList();\r\n }",
"@GetMapping()\n public String showAllCustomers(Model model) {\n model.addAttribute(CUSTOMERS, customerService.showCustomerList());\n return CUSTOMERS_INDEX;\n }",
"@GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)\n\t/*\n\t * @ApiOperation(value = \"Get all the customers\", notes =\n\t * \"Send GET request to get all the customers\" , httpMethod = \"GET\", code = 200,\n\t * response = CustomerResponse.class, responseContainer = \"List\", produces =\n\t * MediaType.APPLICATION_JSON_VALUE)\n\t * \n\t * @ApiResponses(value = {\n\t * \n\t * @ApiResponse(code = 200, response = CustomerResponse.class, responseContainer\n\t * = \"List\", message = \"List of all customers\"),\n\t * \n\t * @ApiResponse(code = 401, response = ErrorResponse.class, message =\n\t * \"Invalid or expired token provided. Error code: CREDENTIALS_REJECTED\"),\n\t * \n\t * @ApiResponse(code = 500, response = ErrorResponse.class, message =\n\t * \"Runtime server error occurred. Error code: SERVER_ERROR\")})\n\t */\n\tpublic List<CustomerResponse> getCustomers() {\n\t\tlog.info(\"hit the controller\");\n\t\treturn customerService.findAll();\n\t}",
"public void getCustomerNames() throws SQLException {\n ResultSet rs; \n Statement st = dbConnection.dbConnect().createStatement();\n String recordQuery = (\"Select * from customer\");\n rs = st.executeQuery(recordQuery);\n while(rs.next()){\n customers.getItems().add(rs.getString(\"customerName\"));\n }\n }",
"@ApiOperation(value = \"Lists all the customers\", notes = \"\")\n @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)\n @ResponseStatus(HttpStatus.OK)\n public CustomerListDTO getCustomers() {\n\n return new CustomerListDTO(customerService.getCustomers());\n }",
"public static ArrayList<CustomerInfoBean> getCustomers() {\r\n\t\tSystem.out.println(\"CustomerBAL.get_customers()\");\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, e_status, c_status, state;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tConnection connection = Connect.getConnection();\r\n\t\ttry {\r\n\r\n\t\t\tif (connection != null) {\r\n\t\t\t\t// Begin Stored Procedure Calling -- Jetander\r\n\t\t\t\tCallableStatement prepareCall = connection\r\n\t\t\t\t\t\t.prepareCall(\"{call get_customers()}\");\r\n\t\t\t\tResultSet rs = prepareCall.executeQuery();\r\n\t\t\t\twhile (rs.next()) {\r\n\t\t\t\t\tcustomerId = rs.getInt(\"customer_id\");\r\n\t\t\t\t\tcustomerName = rs.getString(\"customer_name\");\r\n\t\t\t\t\tcnicNo = rs.getString(\"customer_cnic\");\r\n\t\t\t\t\tphoneNo = rs.getString(\"customer_phone\");\r\n\t\t\t\t\tdistrict = rs.getString(\"district_name\");\r\n\t\t\t\t\tmonthlyIncome = rs.getString(\"salary_range\");\r\n\t\t\t\t\tgsmNumber = rs.getString(\"appliance_gsmno\");\r\n\t\t\t\t\tstate = rs.getInt(\"appliance_status\");\r\n\t\t\t\t\tsalesmanName = rs.getString(\"salesman_name\");\r\n\r\n\t\t\t\t\tapplianceId = rs.getInt(\"appliance_id\");\r\n\t\t\t\t\tsalesmanId = rs.getInt(\"salesman_id\");\r\n\t\t\t\t\tapplianceName = rs.getString(\"appliance_name\");\r\n\t\t\t\t\te_status = rs.getInt(\"e.status\");\r\n\t\t\t\t\tc_status = rs.getInt(\"cs.status\");\r\n\t\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\t\t\t\t\tbean.setApplianceStatus(state);\r\n\t\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\t\tbean.setStatus(e_status);\r\n\t\t\t\t\tbean.setCustomerStatus(c_status);\r\n\t\t\t\t\tcustomerList.add(bean);\r\n\t\t\t\t\t// End Stored Procedure Calling -- Jetander\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (connection != null) {\r\n\t\t\t\tconnection.close();\r\n\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"private void getCustomer() {\n final LoginGet loginget = new LoginGet();\n loginget.setLoginGetListener(new LoginGetListener() {\n\n @Override\n public void getMember(ArrayList<Customer> list) {\n\n }\n\n @Override\n public void getCustomer(ArrayList<Customer> list) {\n customerList = new ArrayList<Customer>();\n customerList.addAll(list);\n if (customerList.size() > 0) {\n defaultPage.setVisibility(View.GONE);\n ll.setVisibility(View.VISIBLE);\n myNewCustomersAdapter = new MyNewCustomersAdapter(\n NewFriendsActivity.this, customerList);\n listView.setAdapter(myNewCustomersAdapter);\n } else {\n tv2.setText(\"You haven't friends for a long time\");\n }\n\n }\n });\n loginget.CustomerRequest(NewFriendsActivity.this);\n\n }",
"@GetMapping()\n public List<AgentCustomerList> findAllAgentsCustomerList() {\n return agentRepo.findAllAgentCustomerListBy();\n }",
"public static ObservableList<Customer> getCustomerList() throws SQLException{\r\n customerList.clear();\r\n Connection conn = DBConnection.getConnection();\r\n String selectStatement = \"SELECT * FROM customers;\";\r\n DBQuery.setPreparedStatement(conn, selectStatement);\r\n PreparedStatement ps = DBQuery.getPreparedStatement();\r\n ps.execute();\r\n ResultSet rs = ps.getResultSet();\r\n\r\n //creates customer and adds to list\r\n while(rs.next())\r\n {\r\n int customerID = rs.getInt(\"Customer_ID\");\r\n String customerName = rs.getString(\"Customer_Name\");\r\n String address = rs.getString(\"Address\");\r\n String state = getDivisionName(rs.getInt(\"Division_ID\"));\r\n String postalCode = rs.getString(\"Postal_Code\");\r\n String country = getCountryName(getCountryID(rs.getInt(\"Division_ID\")));\r\n String phoneNumber = rs.getString(\"Phone\");\r\n Customer customer = new Customer(customerID,customerName,address,state,postalCode,country,phoneNumber);\r\n customerList.add(customer);\r\n }\r\n return customerList;\r\n }",
"@Override\n\t@Transactional(readOnly=true)\n\tpublic List<Customer> findAll() {\n\t\treturn (List<Customer>) customerDAO.findAll();\n\t}",
"public ArrayList<Customer> getCustomers()\r\n {\r\n return this.Customers;\r\n }",
"@GetMapping(\"/customers\")\n\tpublic String findAll(Model theModel) {\n\t\tList<Customer> theCustomer = customerServices.findAll();\n\t\ttheModel.addAttribute(\"customer\", theCustomer);\n\t\treturn \"customer/list-customer\";\n\t}",
"@RequestMapping(value = \"/\", method = RequestMethod.GET)\n\tpublic @ResponseBody\n\tIterable<Customer> findAll() {\n\t\tLOGGER.debug(\"Rendering persons list\");\n\t\treturn customerService.findAll();\n\n\t}",
"@RequestMapping( value = CONTEXT_URL,\n method = RequestMethod.GET,\n produces = {MediaType.APPLICATION_JSON_VALUE} )\n public List<CustomerDTO> getCustomers()\n throws CustomerNotFoundException\n {\n final String methodName = \"getCustomers\";\n logMethodBegin( methodName );\n List<CustomerDTO> customerDTOs = customerEntityService.getAllCustomers();\n logMethodEnd( methodName, customerDTOs );\n return customerDTOs;\n }",
"public static ArrayList<CustomerInfoBean> getCutomers_onCash() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name ,sld.payement_option, a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id \\n\"\r\n\t\t\t\t\t+ \" JOIN sold_to sld ON cs.customer_id=sld.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id\\n\"\r\n\t\t\t\t\t+\r\n\r\n\t\t\t\t\t\" WHERE sld.payement_option=0\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(11);\r\n\t\t\t\tsalesmanId = rs.getInt(12);\r\n\t\t\t\tapplianceName = rs.getString(13);\r\n\t\t\t\tstatus = rs.getInt(14);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"List<CustomerDto> findAll();",
"@Override\n\tpublic List<Customer> findall() {\n\t\treturn (List<Customer>) h.find(\"from Customer\");\n\t}",
"public List<CustomerPurchase> getAll() throws SQLException;",
"public List<CustomerEntity> findAll() {\n\t\treturn customerRepository.findAll();\n\t}",
"public static ObservableList<Customers> getAllCustomers() {\n\n ObservableList<Customers> clist = FXCollections.observableArrayList();\n\n try {\n String sql = \"SELECT * FROM customers\";\n\n PreparedStatement ps = DBConnection.getConnection().prepareStatement(sql);\n\n ResultSet rs = ps.executeQuery();\n\n while(rs.next()) {\n\n int customerID = rs.getInt(\"Customer_ID\");\n String customerName = rs.getString(\"Customer_Name\");\n String customerAddress = rs.getString(\"Address\");\n String customerPostalCode = rs.getString(\"Postal_Code\");\n String customerPhone = rs.getString(\"Phone\");\n Date customerCreateDate = rs.getDate(\"Create_Date\");\n String customerCreatedBy = rs.getString(\"Created_By\");\n Timestamp customerLastUpdate = rs.getTimestamp(\"Last_Update\");\n String customerLastUpdatedBy = rs.getString(\"Last_Updated_By\");\n int customerDivisionId = rs.getInt(\"Division_ID\");\n\n models.Customers C = new models.Customers(\n customerID,\n customerName,\n customerAddress,\n customerPostalCode,\n customerPhone,\n customerCreateDate,\n customerCreatedBy,\n customerLastUpdate,\n customerLastUpdatedBy,\n customerDivisionId\n );\n clist.add((Customers) C);\n }\n\n } catch (Exception throwables) {\n throwables.printStackTrace();\n }\n\n return clist;\n }",
"@Accessor(qualifier = \"Customers\", type = Accessor.Type.GETTER)\n\tpublic Collection<B2BCustomerModel> getCustomers()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(CUSTOMERS);\n\t}",
"public static ArrayList<CustomerInfoBean> getCutomers_Accepted() {\r\n\t\tCustomerInfoBean bean = null;\r\n\t\tArrayList<CustomerInfoBean> customerList = new ArrayList<CustomerInfoBean>();\r\n\t\tString monthlyIncome;\r\n\t\tint applianceId, customerId, salesmanId, status;\r\n\t\tString customerName, cnicNo, phoneNo, district, gsmNumber, salesmanName, applianceName;\r\n\t\tboolean state;\r\n\t\ttry {\r\n\t\t\tConnection con = connection.Connect.getConnection();\r\n\t\t\tString query = \"SELECT cs.customer_id ,cs.customer_name, cs.customer_cnic ,cs.customer_phone, c.city_name, cs.customer_monthly_income, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_GSMno, a.appliance_status, s.salesman_name , a.appliance_id, s.salesman_id, \\n\"\r\n\t\t\t\t\t+ \" a.appliance_name, cs.status FROM eligibility e\\n\"\r\n\t\t\t\t\t+ \" JOIN appliance a ON e.appliance_id =a.appliance_id \\n\"\r\n\t\t\t\t\t+ \" JOIN salesman s ON e.salesman_id =s.salesman_id \\n\"\r\n\t\t\t\t\t+ \" JOIN customer cs ON e.customer_id = cs.customer_id\\n\"\r\n\t\t\t\t\t+ \" JOIN city c ON cs.customer_city=c.city_id WHERE e.status=1 or e.status=6;\";\r\n\t\t\tPreparedStatement stmt = con.prepareStatement(query);\r\n\t\t\tResultSet rs = stmt.executeQuery();\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustomerId = rs.getInt(1);\r\n\t\t\t\tcustomerName = rs.getString(2);\r\n\t\t\t\tcnicNo = rs.getString(3);\r\n\t\t\t\tphoneNo = rs.getString(4);\r\n\t\t\t\tdistrict = rs.getString(5);\r\n\t\t\t\tmonthlyIncome = rs.getString(6);\r\n\t\t\t\tgsmNumber = rs.getString(7);\r\n\t\t\t\tstate = rs.getBoolean(8);\r\n\t\t\t\tsalesmanName = rs.getString(9);\r\n\r\n\t\t\t\tapplianceId = rs.getInt(10);\r\n\t\t\t\tsalesmanId = rs.getInt(11);\r\n\t\t\t\tapplianceName = rs.getString(12);\r\n\t\t\t\tstatus = rs.getInt(13);\r\n\t\t\t\tbean = new CustomerInfoBean();\r\n\t\t\t\tbean.setCustomerName(customerName);\r\n\t\t\t\tbean.setCnicNo(cnicNo);\r\n\t\t\t\tbean.setDistrict(district);\r\n\t\t\t\tbean.setGsmNumber(gsmNumber);\r\n\t\t\t\tbean.setMonthlyIncome(monthlyIncome);\r\n\r\n\t\t\t\tbean.setState(state);\r\n\t\t\t\tbean.setSalesmanName(salesmanName);\r\n\t\t\t\tbean.setPhoneNo(phoneNo);\r\n\t\t\t\tbean.setSalesamanId(salesmanId);\r\n\t\t\t\tbean.setApplianceId(applianceId);\r\n\t\t\t\tbean.setCustomerId(customerId);\r\n\t\t\t\tbean.setApplianceName(applianceName);\r\n\t\t\t\tbean.setStatus(status);\r\n\t\t\t\tcustomerList.add(bean);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tlogger.error(\"\", e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn customerList;\r\n\t}",
"public Customer[] getCustomers() {\r\n\t\tArrayList<Customer> customers = new ArrayList<Customer>();\r\n\t\ttry (ResultSet result = manager.performSql(\"SELECT id FROM Customer\")) {\r\n\t\t\twhile (result.next()) {\r\n\t\t\t\tcustomers.add(manager.getCustomer(result.getInt(1)));\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tCustomer[] ret = new Customer[customers.size()];\r\n\t\tfor (int i = 0; i < ret.length; i++) {\r\n\t\t\tret[i] = customers.get(i);\r\n\t\t}\r\n\t\treturn ret;\r\n\t}",
"@GetMapping(\"/customer/discount\")\n\tpublic List<Customer> getCustomerByDiscount(){\n\t\treturn customerRepository.getCustomerByDiscount(true);\n\t}",
"@Override\r\n\tpublic List<CustVO> getAll() {\n\t\tList<CustVO> list = new ArrayList<CustVO>();\r\n\t\tCustVO custVO = null;\r\n\r\n\t\tConnection con = null;\r\n\t\tPreparedStatement pstmt = null;\r\n\t\tResultSet rs = null;\r\n\r\n\t\ttry {\r\n\t\t\tcon = ds.getConnection();\r\n\t\t\tpstmt = con.prepareStatement(GET_ALL_STMT);\r\n\t\t\trs = pstmt.executeQuery();\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tcustVO = new CustVO();\r\n\t\t\t\tcustVO.setCust_ID(rs.getString(\"CUST_ID\"));\r\n\t\t\t\tcustVO.setCust_acc(rs.getString(\"CUST_ACC\"));\r\n\t\t\t\tcustVO.setCust_pwd(rs.getString(\"CUST_PWD\"));\r\n\t\t\t\tcustVO.setCust_name(rs.getString(\"CUST_NAME\"));\r\n\t\t\t\tcustVO.setCust_sex(rs.getString(\"CUST_SEX\"));\r\n\t\t\t\tcustVO.setCust_tel(rs.getString(\"CUST_TEL\"));\r\n\t\t\t\tcustVO.setCust_addr(rs.getString(\"CUST_ADDR\"));\r\n\t\t\t\tcustVO.setCust_pid(rs.getString(\"CUST_PID\"));\r\n\t\t\t\tcustVO.setCust_mail(rs.getString(\"CUST_MAIL\"));\r\n\t\t\t\tcustVO.setCust_brd(rs.getDate(\"CUST_BRD\"));\r\n\t\t\t\tcustVO.setCust_reg(rs.getDate(\"CUST_REG\"));\r\n\t\t\t\tcustVO.setCust_pic(rs.getBytes(\"CUST_PIC\"));\r\n\t\t\t\tcustVO.setCust_status(rs.getString(\"CUST_STATUS\"));\r\n\t\t\t\tcustVO.setCust_niname(rs.getString(\"CUST_NINAME\"));\r\n\t\t\t}\r\n\t\t} catch (SQLException se) {\r\n\t\t\tthrow new RuntimeException(\"A database error occured. \" + se.getMessage());\r\n\t\t} finally {\r\n\t\t\tif (rs != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\trs.close();\r\n\t\t\t\t} catch (SQLException se) {\r\n\t\t\t\t\tse.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (pstmt != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tpstmt.close();\r\n\t\t\t\t} catch (SQLException se) {\r\n\t\t\t\t\tse.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (con != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tcon.close();\r\n\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\te.printStackTrace(System.err);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list;\r\n\t}",
"private List<AdhocCustomer> getSearchUniverseSearchAdhocCustomerDataSet() {\n // The initialization of the result list must be done here\n //\n //\n return AdhocCustomer.findAll().collect(Collectors.toList());\n }",
"List<Customer> findAllWithFetch();"
]
| [
"0.8442817",
"0.8356001",
"0.8307082",
"0.8270868",
"0.82237643",
"0.81114215",
"0.806669",
"0.802125",
"0.7978341",
"0.7958394",
"0.79446185",
"0.7924346",
"0.7916713",
"0.7860486",
"0.7855547",
"0.78523237",
"0.7836497",
"0.7833235",
"0.78074247",
"0.7778139",
"0.7773143",
"0.7772314",
"0.776035",
"0.7728857",
"0.77167404",
"0.7709055",
"0.7705574",
"0.77015424",
"0.76941353",
"0.7693763",
"0.769146",
"0.7664195",
"0.7654987",
"0.7640621",
"0.7628753",
"0.7625123",
"0.7612601",
"0.75978744",
"0.75864655",
"0.75722814",
"0.7569254",
"0.75685835",
"0.7564099",
"0.7557137",
"0.75351566",
"0.752866",
"0.752529",
"0.75246835",
"0.74923813",
"0.7473945",
"0.7473466",
"0.74591404",
"0.74560815",
"0.7433203",
"0.7426598",
"0.7411303",
"0.7384126",
"0.73833376",
"0.73730403",
"0.7370781",
"0.73419154",
"0.7330285",
"0.73282254",
"0.7320968",
"0.73111016",
"0.7277017",
"0.7269751",
"0.7253977",
"0.72499",
"0.7245573",
"0.72419035",
"0.72140115",
"0.7204507",
"0.72007483",
"0.71762526",
"0.71300036",
"0.7128905",
"0.71283656",
"0.71255463",
"0.71167153",
"0.7103138",
"0.7078461",
"0.7050656",
"0.7048918",
"0.7045848",
"0.70454574",
"0.70429784",
"0.70333886",
"0.7031921",
"0.7028018",
"0.7026161",
"0.7005676",
"0.69833654",
"0.6980827",
"0.6980476",
"0.6973773",
"0.6967515",
"0.6961357",
"0.69592065",
"0.6949426"
]
| 0.770963 | 25 |
function that get customers by userId | @GET
@Path("getCustomerByUser")
public Customer getCustomerByUser(@QueryParam("user")int user) {
return ManagerHelper.getCustomerManager().getCustomerByUser(user);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public Customer getCustomer(Long userId) {\n Optional<Customer> customer = customerDao.getCustomer(userId);\n if (!customer.isPresent()) {\n logger.error(\"Customer with this id {} doesn't exist\", userId);\n }\n return customer.orElseThrow(ResourceNotFoundException::new);\n }",
"public String getCustomer(String custId);",
"public Customer getCustomer(int userId) {\n\t\tIterator i = customers.iterator();\n\t\twhile (i.hasNext()) {\n\t\t\tCustomer customer = (Customer) i.next();\n\t\t\tif (userId == customer.getUserId()) {\n\t\t\t\treturn customer;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"public ArrayList<Customer> findValidCustomers(Integer UserId);",
"Customer getCustomerById(final Long id);",
"Customer getCustomerById(int customerId);",
"public ArrayList<Hotel> getUserHotels(Integer userId, Integer customerId);",
"public Customer getCustomers(int customerId) {\n for(Customer customer:customers){\n if(customer.getId() == customerId){\n return customer;\n }\n }\n return null;\n }",
"CustomerDTO getCustomerDetails(Long customerId,String userName) throws EOTException;",
"public Customer fetchProfileDetails(Long userId) {\n\t\tCustomer cust = null;\n\t\ttry (Connection con = DBUtil.getInstance().getDbConnection()) {\n\t\t\t//Create object of Customer DAO & call respective method\n\t\t\tCustomerDAO customerDAO = new CustomerDAO(con); \n\t\t\tcust=customerDAO.getCustomerById(userId);\n\t\t} catch (SQLException e) {\n\t\t\tthrow new ServiceException(\"Internal Server issue to validate CRM User, Please contact admin\");\n\t\t}\n\t\treturn cust;\n\t}",
"public List<Customer> getCustomerByID() {\n Query query = em.createNamedQuery(\"Customer.findByCustomerId\")\r\n .setParameter(\"customerId\", custID);\r\n // return query result\r\n return query.getResultList();\r\n }",
"@Override\n\tpublic Customer getCustomers(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// retrieve object from database using the ID\n\t\tCustomer theCustomer = currentSession.get(Customer.class, theId);\n\t\t\n\t\t// return the results\n\t\treturn theCustomer;\n\t}",
"@Override\n\tpublic Customer retrieveCustomer(Integer id) {\n\n\t\tCustomer customer = new Customer();\n\n\t\tfor (Customer cust : customers) {\n\t\t\tif (cust.getId() == id) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcustomer.setUsername(cust.getUsername());\n\t\t\t\tcustomer.setFirstName(cust.getFirstName());\n\t\t\t\tcustomer.setLastName(cust.getLastName());\n\t\t\t\tcustomer.setEmail(cust.getEmail());\n\t\t\t\tcustomer.setUserType(cust.getUserType());\n\t\t\t\tcustomer.setPassword(cust.getPassword());\n\t\t\t\tcustomer.setAddress(cust.getAddress());\n\t\t\t}\n\t\t}\n\t\tlogger.info(\"A GET call retrieved a customer: retrieveCustomer()\");\n\t\treturn customer;\n\t}",
"static customer getCustomer(String uid) {\n return null;\n }",
"public ResultSet Custmr(Long Userid) throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from customer c,customer_details cd where c.user_id=cd.user_id and c.user_id=\"+Userid+\" \");\r\n\treturn rs;\r\n\t\r\n}",
"public static Customer getCustomer(int id_cust) {\n Connection c = connection();\n PreparedStatement stmt;\n int id = 0;\n String name = null;\n String email = null;\n String password = null;\n Customer customer = null;\n try {\n String sql = \"SELECT * FROM customer WHERE id=?;\";\n stmt = c.prepareStatement(sql);\n stmt.setInt(1, id_cust);\n ResultSet rs = stmt.executeQuery();\n while (rs.next()) {\n id = rs.getInt(\"id\");\n name = rs.getString(\"name\");\n email = rs.getString(\"email\");\n password = rs.getString(\"password\");\n }\n stmt.close();\n c.close();\n customer = new Customer(id, name, email, password);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n return customer;\n }",
"@RequestMapping(value = \"/v2/customers\", method = RequestMethod.GET)\r\n\tpublic List<Customer> customers() {\r\n JPAQuery<?> query = new JPAQuery<Void>(em);\r\n QCustomer qcustomer = QCustomer.customer;\r\n List<Customer> customers = (List<Customer>) query.from(qcustomer).fetch();\r\n // Employee oneEmp = employees.get(0);\r\n\t\treturn customers;\r\n }",
"@Override\n public CustomerEntity getCustomerData(Long id) {\n return customerPersistencePort.getUser(id);\n }",
"@Override\n\tpublic CustomerData getCustomer(Long custId) {\n\t \n\t\tOptional<CustomerData> optionalCust = customerRepository.findById(custId);\n\t\t//Optional object use for check if a customer id is existing or not\n if(optionalCust.isPresent()) {\n return optionalCust.get(); //if customer id is exist then return a value\n }\n\t\treturn null;\n\t\t\n\t}",
"@Override\n public CustomerDetails viewAccount(String user) {\n CustomerDetails details=customerRepository.findById(user).get(); \n log.debug(user);\n return details; \n\n }",
"@GetMapping(\"/customer/{id}\")\r\n\tpublic Customer viewCustomerbyId(@PathVariable(\"id\") int customerId){\r\n\t\tif(custService.viewCustomerbyId(customerId)==null) {\r\n\t\t\tthrow new CustomerNotFoundException(\"Customer not found with this id\" +customerId);\r\n\t\t}\r\n\t\treturn custService.viewCustomerbyId(customerId);\r\n\t\t\r\n\t}",
"List<Customer> getCustomers();",
"Customer getCustomer();",
"String getCustomerNameById(int customerId);",
"@GetMapping(\"/customers/{customer_id}\")\n\tpublic Customer getcustomer(@PathVariable(\"customer_id\") int customerid) {\n\t\tCustomer thecustomer=thecustomerService.getCustomer(customerid);\n\t\tif(thecustomer==null) {\n\t\t\tthrow new CustomerNotFoundException(\"Customer with id : \"+customerid+\" not found\");\n\t\t}\n\t\t\n\t\treturn thecustomer;\n\t}",
"@GetMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Object> getCustomerDetailed(@PathVariable(\"id\") Integer id, HttpServletRequest request){\n\t\tif(service.findByEmail(SessionManager.getInstance().getSessionEmail(request.getSession())) == null) {\n\t\t\tSessionManager.getInstance().delete(request.getSession());\n\t\t\treturn new ResponseEntity<>(HttpStatus.UNAUTHORIZED); \n\t\t}else {\n\t\t\tCustomer cus = cService.findById(id);\n\t\t\tif(cus == null) return new ResponseEntity<>(HttpStatus.NOT_FOUND);\n\t\t\tMappingJacksonValue mappedCustomer = new MappingJacksonValue(cus);\n\t\t\tmappedCustomer.setFilters(new SimpleFilterProvider().addFilter(Customer.FILTER, SimpleBeanPropertyFilter.serializeAll()));\n\t\t\treturn new ResponseEntity<>(mappedCustomer, HttpStatus.OK);\n\t\t}\n\t}",
"public Object getAllCustomers(HttpServletRequest req);",
"private void getCustomer() {\n final LoginGet loginget = new LoginGet();\n loginget.setLoginGetListener(new LoginGetListener() {\n\n @Override\n public void getMember(ArrayList<Customer> list) {\n\n }\n\n @Override\n public void getCustomer(ArrayList<Customer> list) {\n customerList = new ArrayList<Customer>();\n customerList.addAll(list);\n if (customerList.size() > 0) {\n defaultPage.setVisibility(View.GONE);\n ll.setVisibility(View.VISIBLE);\n myNewCustomersAdapter = new MyNewCustomersAdapter(\n NewFriendsActivity.this, customerList);\n listView.setAdapter(myNewCustomersAdapter);\n } else {\n tv2.setText(\"You haven't friends for a long time\");\n }\n\n }\n });\n loginget.CustomerRequest(NewFriendsActivity.this);\n\n }",
"public List<Order> getAllUsersOrdersById(long userId);",
"List<Account> getAccountsForCustomerId(int customerId);",
"Customer findById(Long id);",
"Set<Customer> getCustomers(final CustomerQueryFilter filter);",
"@Override\r\n\tpublic void getById(String userId) {\n\t\t\r\n\t}",
"com.google.cloud.channel.v1.Customer getCustomers(int index);",
"public Customer getCustomerByName(String customerName);",
"@RequestMapping(value=\"/purchase/user/{userId}\",method=RequestMethod.GET)\n\t\tpublic @ResponseBody ResponseEntity<List<Purchases>> getUserPurchaseDetails(@PathVariable Long userId)throws Exception{\n\t\t\tList<Purchases> purchase=null;\n\t\t\tUser user=null;\n\t\t\tBooks book=null;\n\t\t\tuser=userDAO.findOne(userId);\n\t\t\tif(user==null){\n\t\t\t\tthrow new Exception(\" User with id : \"+userId+\" does not exists !!!\"); \n\t\t\t}\n\t\t\tpurchase=purchaseDAO.findByUserId(userId);\n\t\t\tif(purchase!=null){\n\t\t\t\t for(Purchases purch : purchase) {\n\t\t\t\t\t book=booksDAO.findOne(purch.getIsbn());\n\t\t\t\t\t purch.setBook(book);\n\t\t\t\t }\n\t\t\t\t return new ResponseEntity<List<Purchases>>(purchase, HttpStatus.OK);\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn new ResponseEntity<List<Purchases>>(HttpStatus.NOT_FOUND);\n\t\t\t}\n\t\t}",
"List<Customer> getCustomerList();",
"@Override\r\n\tpublic int getCustomerIdCustomerDistribution(int CostomerorId) {\n\t\tList<?> resultList = null;\r\n\t\tString sql1= \"SELECT DISTINCT company_id FROM companiesusers where user_id='\"+CostomerorId+\"'\";\r\n\t\tresultList= dao.executeSQLQuery(sql1);\r\n\t\tObject l = resultList.get(0);\r\n\t\tint Customer_ID = Integer.valueOf(String.valueOf(l));\t\r\n\t\t\r\n\t\t\r\n\t\treturn Customer_ID;\r\n\t}",
"@Override\n public Collection<Order> getOrdersByUserId(String id) {\n Collection<Order> orders = getAll();\n return orders.stream()\n .filter(x -> x.getCustomerId().equals(id))\n .collect(Collectors.toList());\n }",
"public Customer findCustomerById(long id) throws DatabaseOperationException;",
"com.google.ads.googleads.v6.resources.Customer getCustomer();",
"java.lang.String getCustomerId();",
"java.lang.String getCustomerId();",
"public static Customer getCustomer(int _customerID) throws SQLException{\n ResultSet rs = ConnectionManager.selectAllColumns(\"Tbl_Customer_GroupNo\", \"CustomerID= \"+_customerID);\n if(rs.next()){\n Customer cus = new Customer(rs.getInt(\"CustomerId\"), rs.getString(\"FirstName\"), rs.getString(\"LastName\"), rs.getString(\"Address\"), rs.getString(\"Email\"), rs.getString(\"Phone\"));\n return cus;\n }else{\n return null;\n }\n }",
"public Customer getSpecificCustomerById(String customerId){\n Customer specificCustomer = null;\n\n try{\n // try and connect\n conn = DriverManager.getConnection(URL);\n\n // make sql query\n PreparedStatement preparedStatement =\n conn.prepareStatement(\"SELECT CustomerId, FirstName, LastName, Country, PostalCode, Phone, Email FROM Customer WHERE CustomerId=?\");\n preparedStatement.setString(1, customerId);\n // execute query\n ResultSet set = preparedStatement.executeQuery();\n\n while(set.next()){\n specificCustomer = new Customer(\n set.getString(\"CustomerId\"),\n set.getString(\"FirstName\"),\n set.getString(\"LastName\"),\n set.getString(\"Country\"),\n set.getString(\"PostalCode\"),\n set.getString(\"Phone\"),\n set.getString(\"Email\")\n );\n }\n }\n catch(Exception exception){\n System.out.println(exception.toString());\n }\n finally{\n try{\n conn.close();\n }\n catch (Exception exception){\n System.out.println(exception.toString());\n }\n }\n return specificCustomer;\n }",
"FetchRequest<Customer> byId(String id);",
"@Override\n public JSONObject viewCustomerById(long id) {\n\n return in_salescustdao.viewSLCustomerByID(id);\n }",
"@Override\n public JSONObject viewSLCustomerByExecuticeID(String username) {\n\n return in_salescustdao.viewSLCustomerByExecutiveID(username);\n }",
"@Override\n\tpublic Customer getCustomer(Integer id) {\n\t\treturn customerDao.findById(id);\n\t}",
"@Query(value = \"select subscribers from User u where u.id =:userId\")\n List<User> findSubscribers(@Param(\"userId\") long userId);",
"public ResultSet Appuser(Long userid) throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from customer where user_id=\"+userid+\"\");\r\n\treturn rs;\r\n}",
"List<ClientResponse> findUsersClient(User user) throws BaseException;",
"@Override\n\tpublic List<Customer> getCustomerById(int customerid) {\n\t\treturn null;\n\t}",
"List<Purchase> retrieveForCustomerID(Long customerID) throws SQLException, DAOException;",
"@Override\n public JSONObject viewCustomerByFnExecutive(String username) {\n\n return in_salescustdao.viewSLCustomerByFnExecutor(username);\n }",
"@GetMapping(\"/users/{id}\")\n public Transportador getUserById(@PathVariable(value = \"id\") Long userId) {\n return transportadorRepository.findByNolicencia(userId);\n }",
"@RequestMapping(method = RequestMethod.GET, params = {\"name\"})\n\t public ResponseEntity<Collection<Customer>> findUserWithName(@RequestParam(value=\"name\") String name) {\n\t return service.findCustomerWithName(name);\n\t }",
"@Override\n\tpublic Customer getCustomer(long id) throws Exception {\n\t\tConnection con = pool.getConnection();\n\t\tCustomer customer = new Customer();\n\t\ttry {\n\t\t\tString getCustomer = String.format(\"select * from customer where id in('%d')\", id);\n\n\t\t\tStatement st = con.createStatement();\n\t\t\tResultSet rs = st.executeQuery(getCustomer);\n\n\t\t\tif (rs.next()) {\n\t\t\t\tcustomer.setId(id);\n\t\t\t\tcustomer.setCustName(rs.getString(\"Cust_Name\"));\n\t\t\t\tcustomer.setPassword(rs.getString(\"Password\"));\n\t\t\t\tSystem.out\n\t\t\t\t\t\t.println(\"Customer \" + customer.getCustName() + \" ID: \" + customer.getId() + \" was retrived.\");\n\t\t\t} else {\n\t\t\t\tthrow new Exception(\"Customer with ID: \" + id + \" was not found in the DB.\");\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(e.getMessage() + \" Could not retrieve data from DB.\");\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t\t} catch (Exception e) {\n\t\t\t\tSystem.out.println(e.getMessage() + \" Could not close connection\");\n\t\t\t}\n\t\t}\n\t\treturn customer;\n\t}",
"public void retrieveACustomerWithID(long id) {\r\n\t\tSystem.out.println(\"\\nCustomer with id \" + id);\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\ttx.begin();\r\n\t\tCustomer2 customer = em.find(Customer2.class, id);\r\n\t\tif(customer == null){\r\n\t\t\tSystem.out.println(\"\\nNo such customer with id: \" + id);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tSystem.out.println(customer);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}",
"public Customer displayCustomer(int cid);",
"public User getUser(Long userId);",
"@GetMapping(\"/{customerid}\")\n public ResponseEntity<List<Order>> byCustomer(@PathVariable(value = \"customerid\") Long customerId) {\n return new ResponseEntity<>(orderService.getAllByCustomerId(customerId), HttpStatus.OK);\n }",
"String getCustomerID();",
"@Override\n\t@Transactional\n\tpublic Customer getCustomer(int theId) {\n\t\t;\n\t\treturn customerDAO.getCustomer(theId);\n\t}",
"public List<CustomerModel> getCustomers();",
"@Override\r\n\tpublic Customer getCustomer(String custId) {\r\n\t\tOptional<Customer> optionalCustomer = null;\r\n\t\tCustomer customer = null;\r\n\t\toptionalCustomer = customerRepository.findById(custId);\r\n\t\tif (optionalCustomer.isPresent()) {\r\n\t\t\tcustomer = optionalCustomer.get();\r\n\t\t\treturn customer;\r\n\t\t} else {\r\n\t\t\tthrow new EntityNotFoundException(\"Customer With Id \" + custId + \" does Not Exist.\");\r\n\t\t}\r\n\r\n\t}",
"User getUser(String userId);",
"@Override\n\tpublic Customer getCustomer(int customerId) {\n\t\tSession session=sessionFactory.getCurrentSession();\n\t\ttry {\n\t\t\t\n\t\t\tCustomer customer =session.get(Customer.class, customerId);\n\t\t return customer;\t\t\t\n\t\t}\n\t\tcatch(HibernateException exception){\n\t\t\texception.printStackTrace();\n\t\t}\n\t\treturn null;\n\t\t\n\t}",
"public Customer getCustomer(String cID, ArrayList<Customer> customers) throws NotFoundException\r\n\t{\t\r\n\t\tCustomer cust = null;\r\n\t\tfor(int i=0; i<customers.size(); i++)\r\n\t\t{\r\n\t\t\tif(customers.get(i).getcID().equals(cID))\r\n\t\t\t\tcust = customers.get(i);\r\n\t\t}\r\n\t\t\r\n\t\tif(cust == null)\r\n\t\t\tthrow new NotFoundException(cID);\r\n\t\t\r\n\t\treturn cust;\t\t\r\n\t}",
"public Customer getCustomerBy_id(ObjectId _id) {\n\t\treturn custRepo.findBy_id(_id);\n\t}",
"io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();",
"@RequestMapping(\"/cars/{carId}/Customer/{id}\")//لما حطيت id لازم احط تحت باث فاريبل\r\n\t public CustomerDto FindCustomer(@PathVariable String id) {\r\n\t\treturn serviceUsers.getCustomer(id);\r\n\t }",
"@Override\n public User getUser(String userId){\n return userDAO.getUser(userId);\n }",
"List<UserOrder> findUserOrdersByUserId(Long userId);",
"@Override\n public Customer getCustomerById(Long id) {\n log.debug(\"Inside getCustomerById method\");\n return customerRepository.findById(id).orElseThrow(\n () -> new ResourceNotFoundException(\"No customer present with the id : \" + id));\n }",
"public void listAllCustomers () {\r\n\t\t\r\n customersList = my.resturnCustomers();\r\n\t\t\r\n\t}",
"@RequestMapping(method = RequestMethod.GET, value = \"/{id}\")\n\t public ResponseEntity<Customer> getCustomerWithId(@PathVariable Long id) {\n\t return service.getCustomerWithId(id);\n\t }",
"@CrossOrigin(origins = \"*\")\n @GetMapping(\"/orders/user/{userid}\")\n public ResponseEntity<List<Order>> getAllOrdersByUserId(@PathVariable(\"userid\") UUID userId) {\n List<Order> orders = ordersRepository.findAllByUserId(userId);\n return ResponseEntity.ok(orders);\n }",
"@Override\r\n\tpublic Customer getCustomerById(int id) {\n\t\treturn customerdao.getCustomerById(id);\r\n\t}",
"@Override\n\tpublic Customer getCustomer(int id) {\n\t\treturn sessionFactory.getCurrentSession().get(Customer.class, id);\n\t}",
"@GetMapping(\"/customers\")\n\tpublic List<Customer> getcustomers(){\n\t\t\n\t\treturn thecustomerService.getCustomers();\n\t}",
"Userinfo selectByPrimaryKey(String userId);",
"@Override\n\tpublic Customer getCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\n\t\t//now retrieve/read from database using the primary key or id..\n\t\tCustomer theCustomer = currentSession.get(Customer.class,theId);\n\n\t\treturn theCustomer;\n\t}",
"private ObservableList<Order> getAllCustomerOrders(int customerId){\r\n ObservableList<Order> customerOrders = null;\r\n try {\r\n OrderDB odb = new OrderDB();\r\n customerOrders = odb.getAllOrders(customerId);\r\n } catch (Exception e){\r\n System.err.println(e.getMessage());\r\n }\r\n return customerOrders;\r\n }",
"public User getUserFromId(int userId){\n for (int i = 0; i < regUsers.size(); i++){\n if (regUsers.get(i).getUserId() == userId){\n return regUsers.get(i);\n }\n }\n\n for (int i = 0; i < adminUsers.size(); i++){\n if (adminUsers.get(i).getUserId() == userId){\n return adminUsers.get(i);\n }\n }\n return null;\n }",
"@Override\n\tpublic Customer viewCustomer(int customerId) {\n\t\t// TODO Auto-generated method stub\n\t\tCustomer cust = repository.findById(customerId)\n\t\t\t\t.orElseThrow(() -> new EntityNotFoundException(\"Currently No Customer is available with this id\"));\n\t\treturn cust;\n\t}",
"static Customer getCustomerWithId(int id){ return new Customer();}",
"@GetMapping(\"/customer/{id}\")\n\tpublic ResponseEntity<Customer> getCustomerById(@PathVariable Long id) {\n\t\tCustomer customer = customerRepository.findById(id)\n\t\t\t\t.orElseThrow(() -> new ResourceNotFoundException(\"Customer not exist with id :\" + id));\n\t\treturn ResponseEntity.ok(customer);\n\t}",
"@SuppressWarnings(\"finally\")\n\tpublic Customer getCustomer(int cust_id) throws SQLException //final&complete IMPL\n\t{\n\t\tCustomer res=null;\n\t\t\n\t\ttry\n\t\t{\n\t\t\tConnection connection = openConnection();\n\t\t\tPreparedStatement queryStatement;\n\t\t\tResultSet queryResult;\n\t\t\t\n\t\t\tqueryStatement =connection.prepareStatement(\"select * from CUSTOMERS where customer_id=?;\");\n\t\t\tqueryStatement.setString(1, Integer.toString(cust_id));\n\t\t\tqueryResult = queryStatement.executeQuery();\n\t\t\t\n\t\t\tif(queryResult.next())\n\t\t\t{\n\t\t\t\tString cust_username=null, cust_password=null, user_email=null, user_PicURL=null;\n\t\t\t\tString cust_fname=null, cust_lname=null;\n\t\t\t\tboolean isCustomer = true;\n\t\t\t\t\n\t\t\t\tcust_fname = queryResult.getString(2);\n\t\t\t\tcust_lname = queryResult.getString(3);\n\t\t\t\tcust_username = queryResult.getString(4);\n\t\t\t\tcust_password = queryResult.getString(5);\n\t\t\t\tuser_email = queryResult.getString(6);\n\t\t\t\t\n\t\t\t\tres = new Customer((short)cust_id, cust_username, cust_password, cust_fname + cust_lname, user_email, user_PicURL, isCustomer, null, null);\n\t\t\t}\n\t\t}\t\n\t\tfinally\n\t\t{\n\t\t\tcloseConnection();\n\t\t\tif(res==null)\n\t\t\t\tthrow new SQLException(\"No customer user found for provided credantials!\");\n\t\t\telse\n\t\t\t\treturn res;\n\t\t}\n\t}",
"Request<List<SimpleTravelProxy>> getSimpleTravelsFromUser(Long userId);",
"@Override\n\tpublic List<Customer> retrieveAllCustomers() {\n\t\tlogger.info(\"A GET call retrieved all customers: retrieveAllCustomers()\");\n\t\treturn customers;\n\t}",
"@Override\n public List<Account> getAccounts(Long customerId) {\n return customerDao.getAccounts(customerId);\n }",
"public List getUsers(User user);",
"@GetMapping(path = \"userId\")\r\n\tpublic List<CatalogItem> getCatalog(@RequestParam String userId) {\r\n\r\n\t\tUserRating ratings = restTemplate.getForObject(\"http:localhost:8765//ratings-data-service/ratingsData/users?userId=\" + userId,\r\n\t\t\t\tUserRating.class);\r\n\t\treturn ratings.getUserRating().stream().map(rating -> {\r\n\t\t\t//for each movie Id, call movie info service and get details.\r\n\t\t\tMovie movie = restTemplate\r\n\t\t\t\t\t.getForObject(\"http:localhost:8765//movie-info-service/movies/movieId?movieId=\" + rating.getMovieId(), Movie.class);\r\n/*\t\t\t//using webClient\r\n\t\t\tMovie movie = webClientBuilder.build()\r\n\t\t\t\t\t.get()\r\n\t\t\t\t\t.uri(\"http://localhost:8082/movies/movieId?movieId=\"+rating.getMovieId())\r\n\t\t\t\t\t.retrieve()\r\n\t\t\t\t\t.bodyToMono(Movie.class)\r\n\t\t\t\t\t.block();\t*/\r\n\t\t\t//put them all together\r\n\t\t\treturn new CatalogItem(movie.getName(), \"Desc\", rating.getRating());\r\n\t\t}).collect(Collectors.toList());\r\n\t\t// return Collections.singletonList(new CatalogItem(\"Bhahubali\", \"War\", 8));\r\n\t}",
"public ResultSet getCustomerInfo(int cid) throws IllegalStateException{\n\t \n if(!isLoggedIn())\n throw new IllegalStateException(\"MUST BE LOGGED IN FIRST!\");\n try{\n \t stmt = con.createStatement();\n String queryString = \"Select * FROM CUSTOMER where\"\n \t\t+ \" id= '\" + cid +\"'\";\n result = stmt.executeQuery(queryString);\n } \n catch (Exception E) {\n \t E.printStackTrace();\n }\n return result;\n\t}",
"public void lookupCustomer(String customerId) {\r\n customer = transaction.getCustomerInfo(customerId);\r\n }",
"public ResponseEntity<customer.controller.Customer> getCustomerById(Long id);",
"@Override\n\tpublic Customer getCustomer(int theId) {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\n\t\t// now retrieve/read from database using the primary key\n\t\tCustomer theCustomer = currentSession.get(Customer.class, theId);\n\t\t\n\t\treturn theCustomer;\n\t}",
"@Override\n @Transactional\n public Customer getCustomer(int customerId) {\n Optional<Customer> queryResult = customerRepository.findById(customerId);\n // if null return new Customer(), otherwise return the Customer\n return queryResult.orElseGet(Customer::new);\n }",
"@Override\n\t@Transactional\n\tpublic Customer getCustomerbyId(int theid) {\n\n\t\tCustomer thecustomer = hibernateTemplate.get(Customer.class, theid);\n\n\t\treturn thecustomer;\n\t}"
]
| [
"0.76293296",
"0.7458957",
"0.74420434",
"0.72151494",
"0.7090446",
"0.7025485",
"0.7010937",
"0.7010847",
"0.693809",
"0.69315964",
"0.6808822",
"0.6743053",
"0.67339736",
"0.6656128",
"0.6624569",
"0.65962815",
"0.65912735",
"0.6568786",
"0.65560305",
"0.6528699",
"0.65086114",
"0.6502762",
"0.650114",
"0.64895624",
"0.64817905",
"0.64762294",
"0.6475881",
"0.6452541",
"0.64318144",
"0.6417372",
"0.64132625",
"0.6407442",
"0.6391979",
"0.6390954",
"0.6376577",
"0.6369589",
"0.63503873",
"0.63422525",
"0.63365054",
"0.6308962",
"0.63081187",
"0.6305429",
"0.6305429",
"0.6300427",
"0.629284",
"0.6292473",
"0.6283245",
"0.6278626",
"0.6278328",
"0.62690187",
"0.6260996",
"0.62589216",
"0.62544703",
"0.6246462",
"0.6245926",
"0.62416226",
"0.62338614",
"0.6196212",
"0.61927766",
"0.61892104",
"0.6189082",
"0.61887276",
"0.61878306",
"0.6177039",
"0.6172823",
"0.6171909",
"0.616718",
"0.6156157",
"0.61460054",
"0.6142484",
"0.61376005",
"0.613628",
"0.61327964",
"0.6132662",
"0.6130767",
"0.61253",
"0.6115447",
"0.6105431",
"0.60953987",
"0.60942036",
"0.6090597",
"0.608859",
"0.60852015",
"0.6082894",
"0.6071972",
"0.6069917",
"0.60680693",
"0.60678756",
"0.6067131",
"0.6066774",
"0.6065253",
"0.60587925",
"0.60570407",
"0.60514855",
"0.6048309",
"0.6046487",
"0.60461265",
"0.60448736",
"0.6038842",
"0.6029434"
]
| 0.65562356 | 18 |
Unpickle an attribute from a string. | public abstract Object unpickle(String value); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object unpickle (String value) {\n\treturn Long.valueOf(value);\n }",
"public static UserDetails deSerialize(String s) throws IOException, ClassNotFoundException\r\n\t{\r\n\t\tbyte [] data = Base64Coder.decode(s);\r\n\t\tObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(data));\r\n\t\tUserDetails o = (UserDetails) ois.readObject();\r\n\t\tois.close();\r\n\t\treturn o;\r\n\t}",
"void setString(String attributeValue);",
"void unsetValueString();",
"String attributeToSetter(String name);",
"public static Object unserialize(String asString) {\n\t\treturn null;\n\t}",
"String attributeToGetter(String name);",
"public abstract T deserialize(String serial);",
"Object decode(String encoded);",
"public static Object deserialize(String s){\n\t\tObject m = null;\n\t\ttry\n\t\t{\n\t\t\tFileInputStream fileIn = new FileInputStream(s + \".ser\");\n\t\t\tObjectInputStream in = new ObjectInputStream(fileIn);\n\t\t\tm = in.readObject();\n\t\t\tin.close();\n\t\t\tfileIn.close();\n\t\t}catch(IOException i)\n\t\t{\n\t\t\ti.printStackTrace();\n\n\t\t}catch(ClassNotFoundException c)\n\t\t{\n\t\t\tSystem.out.println(\"Map class not found\");\n\t\t\tc.printStackTrace();\n\n\t\t}\n\t\treturn m;\n\t}",
"public static String getAttributeValue(String attr_string, String attr_name)\n {\n StringTokenizer st = new StringTokenizer(attr_string, \"^\");\n\n attr_name += \"=\";\n while (st.hasMoreTokens())\n {\n String str = st.nextToken();\n if (str.startsWith(attr_name))\n {\n return str.substring(attr_name.length());\n }\n }\n return \"\";\n }",
"@SuppressWarnings(\"unchecked\")\n\tpublic static <T extends Serializable> T deserializeObject(final byte[] str) {\n\t\tfinal ObjectInputStream in;\n\t\tfinal ByteArrayInputStream inputStream = new ByteArrayInputStream(str);\n\t\tfinal T ret;\n\n\t\ttry {\n\t\t\tin = new ObjectInputStream(inputStream);\n\n\t\t\tret = (T) in.readObject();\n\t\t} catch (final Exception e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\n\t\treturn ret;\n\t}",
"public void decodeVal(String val)\n throws Exception\n { \n set(val); \n }",
"public void fromString(String xmlString) throws Exception {\r\n\t\tJAXBContext jc = JAXBContext.newInstance(TaskTypes.class);\r\n\t\tUnmarshaller u = jc.createUnmarshaller();\r\n\t\tTaskTypes tt = (TaskTypes) u.unmarshal(new StringReader(xmlString));\r\n\t\tthis.taskTypes = tt.taskTypes;\r\n\t}",
"void unregisterAttributeOnChangeHandler(String attribute);",
"public void unregister(Attribute attribute) {\n usedByObjects.remove(attribute);\n }",
"Type.Remote<SomeRemoteType, SomeRemoteThing> unkey(AttributeType<?> attributeType);",
"public Attribute fetchAttribute(String key, String value);",
"Holder deser(String s) throws Exception {\n return (Holder)(new XStreamSerializer().deserialize(new StringReader(s)));\n }",
"public Attribute setValue(String value) {\n Attribute result = null;\n if (!\"\".equals(value)) {\n result = super.setValue(value);\n } else {\n this.detach();\n }\n return result;\n }",
"private Object string2Object (final String str)\n throws IllegalArgumentException,\n IOException,\n SecurityException,\n ClassNotFoundException {\n\n Object object = null;\n\n ObjectInputStream objectInputStream = null;\n\n try {\n\n final byte [] data;\n\n // might throw an IllegalArgumentException;\n data = Base64Coder.decode(str);\n\n final ByteArrayInputStream byteArrayInputStream =\n new ByteArrayInputStream(data);\n\n // might throw a StreamCorrupted-, IO-, Security-, or\n // NullPointerException (StreamCorrupted- is an IOException,\n // NullPointerException should never happen here);\n // note: might additionally throw an EOFException!\n objectInputStream = new ObjectInputStream(byteArrayInputStream);\n\n // might throw a ClassNotFound-, InvalidClass-, StreamCorrupted-,\n // OptionalData- or IOException (InvalidClass-, StreamCorrupted-,\n // OptionalDataException denote IOExceptions);\n object = objectInputStream.readObject();\n\n } catch (final EOFException ex) {\n\n final String message = String.format(\n ObjectStringConverter.ERROR_DECODING_FAILED,\n str);\n\n throw new IOException (message);\n\n } finally {\n\n if (objectInputStream != null) {\n\n try {\n\n // might throw an IOException;\n objectInputStream.close();\n\n } catch (final IOException ex) {\n\n // ignore exception, since this is the \"finally\" block;\n // TODO: exception message should be written to log file;\n }\n }\n }\n\n return object;\n }",
"public IValuable parse(String value);",
"public void load(String string) {\n Validate.notNull(string, \"String may not be null\");\n\n load(new StringReader(string));\n }",
"protected static final String m2869c(XmlPullParser xmlPullParser, String str) {\n String attributeValue = xmlPullParser.getAttributeValue(null, str);\n if (attributeValue != null) {\n return attributeValue;\n }\n throw new bdc(str);\n }",
"public void unsetValue()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(VALUE$12);\n }\n }",
"public void unset(AttributeDefinition attribute)\n throws ValueRequiredException, UnknownAttributeException\n {\n if(builtinAttributes.containsKey(attribute.getName()))\n {\n throw new IllegalArgumentException(\"builtin attribute \"+attribute.getName()+\n \" cannot be removed with unset method\"); \n }\n else\n {\n throw new UnknownAttributeException(\"not a builtin attribute\");\n }\n }",
"@Override\n\tpublic OrdineTestata fromString(String ordineTestata) {\n\t\treturn null;\n\t}",
"public T getFromString(String str) throws NumberFormatException;",
"public static MElement createFromStrings(String attribute, String value,\n MFeatureType type) {\n AbstractMFeature2 mf = AbstractMFeature2.getInstance(attribute,\n value);\n return getInstance(mf, type);\n }",
"protected static final int m2868b(XmlPullParser xmlPullParser, String str) {\n String attributeValue = xmlPullParser.getAttributeValue(null, str);\n if (attributeValue != null) {\n try {\n return Integer.parseInt(attributeValue);\n } catch (NumberFormatException e) {\n throw new ako(e);\n }\n } else {\n throw new bdc(str);\n }\n }",
"@JsonCreator\n public static DataType fromString(String name) {\n return fromString(name, DataType.class);\n }",
"boolean deserialize(String inputString);",
"public void removeAttribute(TLAttribute attribute);",
"public void decodeFromUrlString(String newValue) throws IOException {\n decodeWritable(this, newValue);\n }",
"@Override\n public Endpoint convertToEntityAttribute(final String s) {\n try {\n return serializer.deserialize(s, Endpoint.class);\n } catch (IOException e) {\n log.error(e.getMessage(), e);\n return null;\n }\n }",
"public final synchronized Object removeAttribute(String name) {\n\t if ( m_cache == null)\n\t \treturn null;\n\t return m_cache.remove(name);\n\t}",
"private String loadAttributeName() {\n return parseMapField().getKey();\n }",
"@SuppressWarnings(\"unchecked\")\n public T decodeIdentifier() throws IOException {\n Class<? extends TokenIdentifier> cls = getClassForIdentifier(getKind());\n if (cls == null) {\n return null;\n }\n TokenIdentifier tokenIdentifier = ReflectionUtils.newInstance(cls, null);\n ByteArrayInputStream buf = new ByteArrayInputStream(identifier);\n DataInputStream in = new DataInputStream(buf);\n tokenIdentifier.readFields(in);\n in.close();\n return (T) tokenIdentifier;\n }",
"Object getAttribute(String name);",
"Object getAttribute(String name);",
"Object getAttribute(String name);",
"@Override\n\tpublic UUID decode(String urn) {\n\t\tif (!isUuidUrn(urn)) {\n\t\t\tthrow InvalidUuidException.newInstance(urn);\n\t\t}\n\t\treturn StringCodec.INSTANCE.decode(urn);\n\t}",
"@Override\n\t\tpublic void removeAttribute(String name) {\n\t\t\t\n\t\t}",
"public GraphSprite unstringify(String str) {\n // canonize new lines.\n str = str.replace(\"\\r\\n\", \"\\n\").replace(\"\\r\", \"\\n\");\n str = removeComments(str);\n Debug.debugln(str);\n return parseGraph(str);\n }",
"public static void decodeItem(final ItemStack stack, final Player player, final String str) {\n ItemUtils.restoreMeta(stack, str);\n }",
"public void set_attribute(Object instance, String attribute_name, Object value) throws XtumlException;",
"void setUnmarshalRecord(UNMARSHAL_RECORD unmarshalRecord);",
"Attribute getAttribute();",
"protected final Object fromStringImpl(String string)\n throws TypeValueException {\n int y, m, d;\n try {\n y = Integer.parseInt(string.substring(0, 4));\n m = Integer.parseInt(string.substring(4, 6));\n d = Integer.parseInt(string.substring(6, 8));\n } catch (NumberFormatException nfe) {\n\n // Should never happen, since isValidValueImpl(String) will have been\n // called\n throw new TypeValueException(this, string);\n }\n\n // Check that the values are in the correct range\n return new Value(y, m, d);\n }",
"public T parse(String value);",
"public void unsetStr()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(STR$0, 0);\r\n }\r\n }",
"public final Object mo37919a(String str) {\n return this.f38530a.get(str);\n }",
"public Object parse(String arg) {\n return (arg);\n }",
"public org.python.Object __getattribute__(java.lang.String name);",
"protected Object readResolve() {\n\tlabelSet = Label.parse(labelString);\n\treturn this;\n }",
"public static String extractValueForAttribute(final String string, final String attribute,\n final String separator) {\n String result = null;\n\n // check string and att are not empty\n if (!isNullOrEmpty(string) && !isNullOrEmpty(attribute)) {\n // find start index\n int start = string.indexOf(attribute);\n\n if ((start >= 0) && (start < string.length())) {\n start += attribute.length() + 1;\n\n if (start < string.length()) {\n // find end index\n int end = 0;\n\n if (isNullOrEmpty(separator)) {\n // no separator, end = end of string\n end = string.length();\n } else {\n // a separator is specified, find end index\n end = string.indexOf(separator, start);\n\n if (end < 0) {\n end = string.length();\n }\n }\n result = string.substring(start, end);\n }\n }\n }\n return result;\n }",
"public TreeNode deserialize(String data) {\n return preOrderFromString(data);\n }",
"public TreeNode deserialize(String data) {\n String[] dchar = data.split(\",\");\n return deserialize(dchar, new Index(0));\n }",
"void unsetString();",
"public void setIdByString(String uuid) {\n mId = UUID.fromString(uuid);\n }",
"public final IValue parseString(String s) {\r\n SimpleType v = doParseString(s);\r\n if (v != null) {\r\n v.blueprint = false;\r\n }\r\n return (IValue) v;\r\n }",
"private static Attribute parseAttribute(String line, int attributeNumber) {\n line = line.trim();\n ArrayList<String> values = new ArrayList<>();\n\n int space1 = line.indexOf(\" \");\n int space2 = line.indexOf(\" \", space1 + 1);\n\n String attributename = line.substring(space1 + 1, space2);\n String symbol = line.substring(space2 + 1);\n\n symbol = symbol.replace(\"{\", \"\");\n symbol = symbol.replace(\"}\", \"\");\n symbol = symbol.replace(\" \", \"\");\n\n String[] tmpValues = symbol.split(\",\");\n\n for (int i = 0; i < tmpValues.length; i++) {\n values.add(tmpValues[i]);\n }\n\n Attribute attribute = new Attribute(attributename, values, attributeNumber);\n return attribute;\n\n }",
"@Override\n\tpublic void removeAttribute(String arg0) {\n\t}",
"T read(String identifier) throws IOException;",
"@Override\n\t\tpublic Object removeAttribute(String name) {\n\t\t\treturn null;\n\t\t}",
"String decodeString();",
"public void unsetOID()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(OID$12);\r\n }\r\n }",
"public static Obj fromString(String xml) \n { \n try\n {\n ByteArrayInputStream in = new ByteArrayInputStream(xml.getBytes(\"UTF-8\"));\n ObixDecoder decoder = new ObixDecoder(in);\n return decoder.decodeDocument(); \n }\n catch(Exception e)\n {\n throw new RuntimeException(e.toString());\n }\n }",
"public String removeStringProperty(String propertyName);",
"public static DataValue parseValue(String value) {\r\n \tif(value == null) {\r\n \t\tthrow new IllegalArgumentException(\"null value\");\r\n \t}\r\n \t\r\n \tint i = value.indexOf(\",\");\r\n \tif(i < 0 || i == value.length()) {\r\n \t\tthrow new IllegalArgumentException(\"wrong string format\");\r\n \t}\r\n \t\r\n \tString rmName = value.substring(0, i);\r\n \tDataValue dv = dataValueMap.get(rmName);\r\n \t\r\n \tif(dv == null) {\r\n \t\tthrow new IllegalArgumentException(\"unsupported RM class[\" + rmName + \"]\");\r\n \t}\r\n \t\r\n \tString v = value.substring(i + 1).trim(); \t\r\n \treturn dv.parse(v);\r\n }",
"@Override\n\tpublic void removeAttribute(String arg0) {\n\n\t}",
"@Override\n\tpublic void removeAttribute(String name) {\n\t\t\n\t}",
"@Override\n\tpublic void removeAttribute(String arg0) {\n\t\t\n\t}",
"private void m131991a(String str) {\n this.f107705a.mo102020a().setPoiActivity(PoiContext.unserializeFromJson(str));\n }",
"<S> S fromStr(String s, Class<S> clazz);",
"@Override\n\tpublic function initFromString(String s) {\n\t\treturn new Monom(s);\n\t}",
"public final /* synthetic */ Object retrieve(String str) {\n AppMethodBeat.m2504i(89541);\n Long l = GservicesValue.zzmu.getLong(this.mKey, (Long) this.mDefaultValue);\n AppMethodBeat.m2505o(89541);\n return l;\n }",
"public Object getAttribute(String name);",
"public static ArtMapArt valueOf(String string) {\n\t\treturn valueOf(string, null);\n\t}",
"public static String decode(String string){\n\t\treturn new String(decode(string.getBytes()));\n\t}",
"String getAttribute();",
"public TreeNode deserialize(String data) {\n return deserialize(data, new int[]{0});\n }",
"public <T> T get(String attr) {\n return (T) (super.get(attr));\n }",
"public TreeNode deserialize(String data) {\n int[] ptr = { 0 };\n return parse(data, ptr);\n }",
"public Node deserialize(String data) {\n return deserialize_helper(data, new int[]{1}, new StringBuilder());\n }",
"@Override\n void load(String data) {\n }",
"public void storeAttribute(final String attributeLocator, final String variableName);",
"public TLAttribute getAttribute(String attributeName);",
"RakudoObject get_attribute(ThreadContext tc, RakudoObject object, RakudoObject classHandle, String name);",
"protected <T> T deserialize(final String value, final Class<T> type) throws JsonDeserializationException {\n return json.deserialize(value, type);\n }",
"java.lang.String getAttribute();",
"public Long getLong(String attr) {\n return (Long) super.get(attr);\n }",
"Object getAttribute(int attribute);",
"public static <T extends AbstractEntity<?>> PropertyDescriptor<T> fromString(final String toStringRepresentation) {\n try {\n final String[] parts = toStringRepresentation.split(\":\");\n final Class<T> entityType = (Class<T>) Class.forName(parts[0]);\n final String propertyName = parts[1];\n return new PropertyDescriptor<>(entityType, propertyName);\n } catch (final ClassNotFoundException ex) {\n throw Result.failure(ex);\n }\n }",
"public TreeNode deserialize(String data) {\n if (data.length()==0 || data.equals(\"#\")) return null;\n String[] n = data.split(\",\");\n idx = 0;\n return helper(n);\n }",
"@JsonCreator\n public static RestoreDetailsName fromString(String name) {\n return fromString(name, RestoreDetailsName.class);\n }",
"public TreeNode deserialize(String data) {\n return null;\n }",
"public void unsetID()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ID$12);\n }\n }",
"public void unsetID()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_attribute(ID$12);\n }\n }",
"public Method deserialize(String typeName, String tagName, Class<?> clas, String value, Object object) {\n\t\ttry {\n\t\t\tMethod methodInt = null;\n\t\t\tif (typeName.equals(\"int\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Integer.TYPE);\n\t\t\t\tmethodInt.invoke(object, Integer.parseInt(value));\n\t\t\t\t// int v = (Integer.TYPE) value;\n\t\t\t} else if (typeName.equals(\"double\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Double.TYPE);\n\t\t\t\tmethodInt.invoke(object, Double.parseDouble(value));\n\t\t\t} else if (typeName.equals(\"long\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Long.TYPE);\n\t\t\t\tmethodInt.invoke(object, Long.parseLong(value));\n\t\t\t} else if (typeName.equals(\"string\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, java.lang.String.class);\n\t\t\t\tmethodInt.invoke(object, value);\n\t\t\t} else if (typeName.equals(\"float\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Float.TYPE);\n\t\t\t\tmethodInt.invoke(object, Float.parseFloat(value));\n\t\t\t} else if (typeName.equals(\"short\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Short.TYPE);\n\t\t\t\tmethodInt.invoke(object, Short.parseShort(value));\n\t\t\t} else if (typeName.equals(\"char\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Character.TYPE);\n\t\t\t\tmethodInt.invoke(object, value.charAt(0));\n\t\t\t} else if (typeName.equals(\"boolean\")) {\n\t\t\t\tmethodInt = clas.getMethod(\"set\" + tagName, Boolean.TYPE);\n\t\t\t\tmethodInt.invoke(object, Boolean.parseBoolean(value));\n\t\t\t}\n\t\t} catch (NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException\n\t\t\t\t| InvocationTargetException e) {\n\t\t\tSystem.err.println(\"Error while deserializing\");\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}"
]
| [
"0.6037313",
"0.54704946",
"0.5362543",
"0.5307494",
"0.517854",
"0.5150346",
"0.51093924",
"0.50427496",
"0.49658588",
"0.48305094",
"0.48158047",
"0.47834185",
"0.47682625",
"0.4679389",
"0.46152464",
"0.46068627",
"0.45967707",
"0.45948535",
"0.45848805",
"0.45334944",
"0.45255384",
"0.45166722",
"0.45025063",
"0.4500529",
"0.44866568",
"0.44832754",
"0.44773275",
"0.447381",
"0.44632134",
"0.44599065",
"0.44598883",
"0.44539377",
"0.44511914",
"0.4446593",
"0.44436684",
"0.44259742",
"0.44245932",
"0.44232798",
"0.4414018",
"0.4414018",
"0.4414018",
"0.4413418",
"0.44133523",
"0.44025174",
"0.4385794",
"0.4382876",
"0.43690395",
"0.4367833",
"0.43663836",
"0.43627676",
"0.4362271",
"0.4359307",
"0.43506458",
"0.43496123",
"0.43486476",
"0.43357375",
"0.43338397",
"0.4329351",
"0.43266574",
"0.43091902",
"0.43075547",
"0.43014053",
"0.43003175",
"0.42846203",
"0.42784703",
"0.42745927",
"0.42722294",
"0.42716923",
"0.42689356",
"0.4263327",
"0.426037",
"0.4259593",
"0.42589486",
"0.42520627",
"0.42495906",
"0.42432714",
"0.42386484",
"0.42297998",
"0.42284817",
"0.42252037",
"0.42236218",
"0.42191675",
"0.42185175",
"0.4211807",
"0.42101443",
"0.42095667",
"0.42093986",
"0.42083514",
"0.42053476",
"0.42042235",
"0.42030683",
"0.4201108",
"0.42010558",
"0.42004722",
"0.4196495",
"0.41931218",
"0.41928697",
"0.4192839",
"0.4192839",
"0.41918972"
]
| 0.71078926 | 0 |
Pickle an attribute into a String. | public abstract String pickle(Object obj); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getStringAttribute();",
"String serialize();",
"public String getStr(String attr) {\n return (String) super.get(attr);\n }",
"protected String getAttributeStr(String attr)\n {\n Object res = getAttributes().get(attr);\n return (res != null) ? res.toString() : null;\n }",
"public abstract String serialise();",
"public String toString() {\r\n\t\tString result = \" \" + StunConstants.getAttributeName(type) \r\n\t\t\t+ \"=[\" + Conversion.hexString(type)\r\n\t\t\t+ \"] valueLen=[\" + length \r\n\t\t\t+ \"] value=[\" + Conversion.hexString(value) + \"] padding=[\" + padding + \"]\";\r\n\t\treturn result;\r\n\t}",
"com.google.protobuf.ByteString getAttributeBytes();",
"private String getStringAttr(String attrName)\n {\n return String.valueOf(getAttributes().get(attrName));\n }",
"String getAttributeStringValue(Object attr);",
"@Override\n public String getAttributesToString() {\n StringBuilder attributes = new StringBuilder();\n attributes.append(\"1 - Nominal Power: \" + nominalPower + \"\\n\");\n attributes.append(\"2 - Number of Bottles: \" + numberOfBottles + \"\\n\");\n attributes.append(\"3 - Annual Energy Consumption: \" + annualEnergyConsumption + \"\\n\");\n\n return attributes.toString();\n }",
"java.lang.String getAttribute();",
"String getAttribute();",
"public String encode() {\n\t\tString encoded_string = ATTRIBUTE_FIELD;\n\t\tif (attribute != null)\n\t\t\tencoded_string += attribute.encode();\n\t\treturn encoded_string + Separators.NEWLINE;\n\t}",
"@Override\n\tpublic String stringValue(final Attribute att) {\n\t\treturn null;\n\t}",
"public String getLable () {\n return getString(ATTRIBUTE_LABEL);\n }",
"@java.lang.Override\n public java.lang.String getA() {\n java.lang.Object ref = a_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n a_ = s;\n return s;\n }\n }",
"public String getAttribute() {\n return attribute;\n }",
"public String getReadWriteAttribute();",
"private String getClassAttribute() {\n return String.join(\" \", classAttribute);\n }",
"String attributeToGetter(String name);",
"void setString(String attributeValue);",
"public abstract String toSaveString();",
"public String attribute() {\n return this.attribute;\n }",
"public static String getAttributeValue(AttributeList attributeList, AttributeTag tag) {\r\n Attribute attribute = attributeList.get(tag);\r\n String value = (attribute == null) ? null : attribute.getSingleStringValueOrNull();\r\n if (value != null) {\r\n value = value.replace('\\0', ' ').trim();\r\n byte[] vr = attribute.getVR();\r\n \r\n Class<?> vrClass = AttributeFactory.getClassOfAttributeFromValueRepresentation(tag, vr, true, TRANSFER_BUFFER_SIZE, true);\r\n \r\n if (vrClass.equals(TimeAttribute.class)) {\r\n String text = value.replaceFirst(\"\\\\..*\", \"\");\r\n Date date = null;\r\n try {\r\n date = new Date(Long.parseLong(text) * 1000);\r\n }\r\n catch (Exception ex) {\r\n // if there is a badly formatted time, then just return the unprocessed value.\r\n return value;\r\n }\r\n SimpleDateFormat timeFormat = new SimpleDateFormat(\"HH:mm:ss\");\r\n return timeFormat.format(date);\r\n }\r\n \r\n if (vrClass.equals(DateAttribute.class)) {\r\n String text = value.replaceFirst(\"\\\\..*\", \"\");\r\n ParsePosition parsePosition = new ParsePosition(0);\r\n SimpleDateFormat dateParse = new SimpleDateFormat(\"yyyyMMdd\");\r\n Date date = dateParse.parse(text, parsePosition);\r\n if (date == null) {\r\n // if there is a badly formatted date, then just return the value.\r\n return value;\r\n }\r\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"EEE MMM dd, yyyy\");\r\n return dateFormat.format(date);\r\n \r\n }\r\n \r\n if (vrClass.equals(PersonNameAttribute.class)) {\r\n return value.replaceAll(\"\\\\^\", \" \").replaceAll(\" *\", \" \");\r\n }\r\n }\r\n return value;\r\n }",
"public String getAttr() {\n return attr;\n }",
"@Override\n\tpublic String toString(final Attribute att) {\n\t\treturn null;\n\t}",
"public java.lang.String getA() {\n java.lang.Object ref = a_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n a_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getAttribute() {\n\t\treturn attribute;\n\t}",
"public String getAttribute() {\n\t\treturn attribute;\n\t}",
"private String getAttrValue(Object name) {\n\t return (String)this.mAtts.get(name);//.toString();\n\t}",
"private String getDataAttributes() {\n StringBuilder sb = new StringBuilder();\n\n dataAttribute.forEach((key, value) -> {\n sb.append(key).append(\"='\").append(value).append(\"' \");\n });\n\n return sb.toString().trim();\n }",
"public String getAttribute4()\n {\n return (String)getAttributeInternal(ATTRIBUTE4);\n }",
"public String getAttribute4() {\n return (String) getAttributeInternal(ATTRIBUTE4);\n }",
"public final String getAttributesString() {\n String returnAttributes = \"\";\n boolean debut = true;\n for (int i = 0; i < this.attributes.length; i++) {\n if (debut) {\n debut = false;\n } else {\n returnAttributes += \"|\";\n }\n returnAttributes += this.attributes[i];\n }\n return returnAttributes;\n }",
"public String getAttribute4() {\n return (String)getAttributeInternal(ATTRIBUTE4);\n }",
"public String getAttribute4() {\n return (String)getAttributeInternal(ATTRIBUTE4);\n }",
"public String getAttribute4() {\n return (String)getAttributeInternal(ATTRIBUTE4);\n }",
"public String getAttribute4() {\n return (String)getAttributeInternal(ATTRIBUTE4);\n }",
"public String getAttribute4() {\n return (String)getAttributeInternal(ATTRIBUTE4);\n }",
"@Transient\n @JsonIgnore\n public String getAttributeWithVariableValues() {\n return insertVariableValues(attribute);\n }",
"public String serialize() {\n return x + \", \" + y + \", \" + z;\n }",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }",
"public String getStrAttribType() {\r\n\t\treturn strAttribType;\r\n\t}",
"String attributeToSetter(String name);",
"public abstract Object unpickle(String value);",
"@Test\n\tpublic void test_TCM__String_toString() {\n\t\t//expected value\n\t\tfinal Namespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\t\tfinal Attribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tString str= attr.toString();\n\t\tassertTrue(\"incorrect toString form\", str.equals(\"[Attribute: prefx:test=\\\"value\\\"]\"));\n\n\t}",
"public String toString() {\n\n\t\tfinal StringBuilder buffer = new StringBuilder();\n\n\t\tbuffer.append(\"tAttrDataTypeId=[\").append(tAttrDataTypeId).append(\"] \");\n\t\tbuffer.append(\"dataTypeName=[\").append(dataTypeName).append(\"] \");\n\t\tbuffer.append(\"dataTypeDesc=[\").append(dataTypeDesc).append(\"] \");\n\t\tbuffer.append(\"activeFlag=[\").append(activeFlag).append(\"] \");\n\n\t\treturn buffer.toString();\n\t}",
"protected String attributeToString(PropertyDescriptor prop,\r\n Object value,\r\n Field fieldDef) throws DataLayerException {\r\n try {\r\n // Statement param indexes start with 1, not 0.\r\n if (logCore.isDebugEnabled()) {\r\n logCore.debug(\"Property:\");\r\n logCore.debug(\" Property Name: \" + prop.getDisplayName());\r\n logCore.debug(\" prop.getPropertyType(): \" + prop.getPropertyType().getName());\r\n logCore.debug(\" Value: \" + value.toString());\r\n logCore.debug(\" value.getClass(): \" + value.getClass().getName());\r\n logCore.debug(\" FieldDef Name: \" + fieldDef.getName());\r\n logCore.debug(\" FieldDef Type: \" + fieldDef.getType());\r\n logCore.debug(\" FieldDef Format: \" + fieldDef.getFormat());\r\n }\r\n\r\n String fieldName = prop.getName().toLowerCase();\r\n String fieldType = fieldDef.getType();\r\n String result = null;\r\n\r\n if (fieldType.equals(\"key\") && value == null)\r\n return \"\";\r\n\r\n if (fieldType.equals(\"string\")) {\r\n // value is a String.\r\n result = \"'\" + FormatUtils.parseString(value.toString(), fieldDef) + \"'\";\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> \" + result);\r\n return result;\r\n } else if (fieldType.equals(\"key\")) {\r\n // value is a primary key.\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> \" + value.toString());\r\n return value.toString();\r\n } else if (fieldType.equals(\"date\")) {\r\n if (value != null) {\r\n java.util.Date date = null;\r\n\r\n if (String.class.isAssignableFrom(prop.getPropertyType()))\r\n date = FormatUtils.parseDate(value.toString(), fieldDef);\r\n else if (java.util.Date.class.isAssignableFrom(prop.getPropertyType()))\r\n date = (java.util.Date) value;\r\n else\r\n throw new DataLayerException(\"Error parsing value for field \" + fieldName\r\n + \". Type expected to be Date or String.\");\r\n String out = DateUtils.dateToString(date, \"yyyy-MM-dd HH:mm:ss\");\r\n\r\n result = \"TO_DATE('\" + out + \"', 'YYYY-MM-DD HH24:MI:SS')\";\r\n } else\r\n result = \"''\";\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> \" + result);\r\n return result;\r\n } else if (fieldType.equals(\"long\")) {\r\n Long num = null;\r\n\r\n if (String.class.isAssignableFrom(prop.getPropertyType()))\r\n num = FormatUtils.parseLong(value.toString());\r\n else if (Long.class.isAssignableFrom(prop.getPropertyType()))\r\n num = (Long) value;\r\n else\r\n throw new DataLayerException(\"Error parsing value for field \" + fieldName\r\n + \". Type expected to be Long or String.\");\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> \" + num.toString());\r\n return num.toString();\r\n } else if (fieldType.equals(\"int\")) {\r\n Integer num = null;\r\n\r\n if (String.class.isAssignableFrom(prop.getPropertyType()))\r\n num = FormatUtils.parseInteger(value.toString());\r\n else if (value instanceof Integer)\r\n num = (Integer) value;\r\n else {\r\n log.debug(\"value.getClass(): \" + value.getClass().getName());\r\n throw new DataLayerException(\"Error parsing value for field \" + fieldName\r\n + \". Type expected to be Integer or String.\");\r\n }\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> \" + num.toString());\r\n return num.toString();\r\n } else if (fieldType.equals(\"boolean\")) {\r\n Boolean item = null;\r\n\r\n if (String.class.isAssignableFrom(prop.getPropertyType()))\r\n item = FormatUtils.parseBoolean(value.toString(), fieldDef);\r\n else if (value instanceof Boolean)\r\n item = (Boolean) value;\r\n else\r\n throw new DataLayerException(\"Error parsing value for field \" + fieldName\r\n + \". Type expected to be Boolean or String.\");\r\n\r\n if (item.booleanValue())\r\n result = \"'Y'\";\r\n else\r\n result = \"'N'\";\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> \" + result);\r\n return result;\r\n } else if (fieldType.equals(\"double\") || fieldType.equals(\"float\")) {\r\n BigDecimal item = null;\r\n\r\n if (String.class.isAssignableFrom(prop.getPropertyType()))\r\n item = FormatUtils.parseBigDecimal(value.toString(), fieldDef);\r\n else if (BigDecimal.class.isAssignableFrom(prop.getPropertyType()))\r\n item = (BigDecimal) value;\r\n else\r\n throw new DataLayerException(\"Error parsing value for field \" + fieldName\r\n + \". Type expected to be BigDecimal or String.\");\r\n logCore.debug(\" \" + fieldName + \" (\" + fieldType + \") = '\" + value.toString()\r\n + \"' --> '\" + item.toString() + \"'\");\r\n return item.toString();\r\n } else {\r\n throw new DataLayerException(\r\n \"Error converting attribute to string. Unrecognized data type (\"\r\n + value.getClass() + \").\");\r\n }\r\n } catch (DataLayerException e) {\r\n throw e;\r\n } catch (java.lang.Exception e) {\r\n throw new DataLayerException(\"Error converting attribute to string.\", e);\r\n }\r\n }",
"public Object attribute(String name) {\n return Classes.getFieldValue(this, name);\n }",
"java.lang.String getSer();",
"private String strBufToElementNameString() {\n return strBufToString().intern();\n }",
"public String getAsString() {\n\t\treturn new String(this.getAsBytes());\n\t}",
"public byte[] getBytes(String attr) {\n return (byte[]) super.get(attr);\n }",
"private String getCustomAttributes() {\n StringBuilder sb = new StringBuilder();\n\n customAttribute.forEach((key, value) -> {\n sb.append(key).append(\"='\").append(value).append(\"' \");\n });\n\n return sb.toString().trim();\n }",
"public String toString(){\n \treturn \"todo: use serialize() method\";\r\n }",
"public String getAttribute8() {\n return (String) getAttributeInternal(ATTRIBUTE8);\n }",
"private String loadAttributeName() {\n return parseMapField().getKey();\n }",
"protected String exportAttribute(String tag, String value) {\n\t\treturn \" \" + tag + \"=\\\"\" + value + \"\\\"\";\n\t}",
"public String getExtAttribute4() {\n return (String) getAttributeInternal(EXTATTRIBUTE4);\n }",
"public String getAttribute8()\n {\n return (String)getAttributeInternal(ATTRIBUTE8);\n }",
"public int storeAttribute(String key, String value);",
"protected String transformAttributePath(AttributePath attributePath) {\n\t\treturn attributePath.getProperty();\n\t}",
"public String getAttribute12()\n {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }",
"public String getAttribute12() {\n return (String) getAttributeInternal(ATTRIBUTE12);\n }",
"public String getAttribute3() {\n return (String) getAttributeInternal(ATTRIBUTE3);\n }",
"public String serialize() throws IOException \r\n\t{\r\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n\t\tObjectOutputStream oos = new ObjectOutputStream(baos);\r\n\t\toos.writeObject(this);\r\n\t\toos.close();\r\n\t\treturn new String(Base64Coder.encode(baos.toByteArray()));\r\n\t}",
"@Test\n\tpublic void test_TCM__String_getSerializedForm() {\n\t\t/* noop because the method is deprecated\n\n\t\tNamespace ns = Namespace.getNamespace(\"prefx\", \"http://some.other.place\");\n\t\tAttribute attr = new Attribute(\"test\", \"value\", ns);\n\t\tString serialized = attr.getSerializedForm();\n\t\tassertTrue(\"incorrect serialized form\", serialized.equals(\"prefx:test=\\\"value\\\"\"));\n\t\t*/\n\n\t}",
"public String getAttribute8() {\n return (String)getAttributeInternal(ATTRIBUTE8);\n }",
"public String getAttribute8() {\n return (String)getAttributeInternal(ATTRIBUTE8);\n }",
"public String getAttribute8() {\n return (String)getAttributeInternal(ATTRIBUTE8);\n }",
"public org.python.Object __getattribute__(java.lang.String name);",
"private String getAttributeValue(final Attribute attribute) {\n\t List<String> values = this.getAttributeValues(attribute);\n\t if (values.size()>0) {\n\t return values.get(0);\n\t } else {\n\t return \"\";\n\t }\n\t}",
"protected String exportAttributes() {\n\t\treturn \"\";\n\t}",
"public static String getTypeString(XAttribute attribute) {\n\t\tif (attribute instanceof XAttributeLiteral) {\n\t\t\treturn \"LITERAL\";\n\t\t} else if (attribute instanceof XAttributeBoolean) {\n\t\t\treturn \"BOOLEAN\";\n\t\t} else if (attribute instanceof XAttributeContinuous) {\n\t\t\treturn \"CONTINUOUS\";\n\t\t} else if (attribute instanceof XAttributeDiscrete) {\n\t\t\treturn \"DISCRETE\";\n\t\t} else if (attribute instanceof XAttributeTimestamp) {\n\t\t\treturn \"TIMESTAMP\";\n\t\t} else if (attribute instanceof XAttributeID) {\n\t\t\treturn \"ID\";\n\t\t} else {\n\t\t\tthrow new AssertionError(\"Unexpected attribute type!\");\n\t\t}\n\t}",
"public String toStr() {\r\n return value.toString();\r\n }",
"public String serialize() {\n switch (type) {\n case LIST:\n return serializeList();\n\n case OBJECT:\n return serializeMap();\n\n case UNKNOWN:\n return serializeUnknown();\n }\n return \"\";\n }",
"public String getAttribute3() {\n return attribute3;\n }",
"public java.lang.String getAttributeValue() {\r\n return localAttributeValue;\r\n }",
"public String getAttribute3() {\n return (String)getAttributeInternal(ATTRIBUTE3);\n }",
"public String getAttribute3() {\n return (String)getAttributeInternal(ATTRIBUTE3);\n }",
"public String getAttribute3() {\n return (String)getAttributeInternal(ATTRIBUTE3);\n }",
"public String getAttribute3() {\n return (String)getAttributeInternal(ATTRIBUTE3);\n }",
"public String getAttribute3() {\n return (String)getAttributeInternal(ATTRIBUTE3);\n }",
"public String toString() { return stringify(this, true); }",
"public static String getAttributeContent(Attribute attribute){\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n for(int j = 0; j < attribute.getValues().size() - 1; j++){\n sb.append(attribute.getValues().get(j));\n sb.append(\", \");\n }\n sb.append(attribute.getValues().get(attribute.getValues().size() - 1));\n sb.append(\"}\\n\");\n String result = sb.toString();\n if(\"{real}\\n\".equals( result)){\n return \"real\\n\";\n }\n return result;\n }",
"public String getAttribute3()\n {\n return (String)getAttributeInternal(ATTRIBUTE3);\n }",
"public String getAttribute12() {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }",
"public String getAttribute12() {\n return (String)getAttributeInternal(ATTRIBUTE12);\n }",
"public String getListAttributesPref()\n {\n Serializer<Collection<RecognizedElement>> serializer = new Serializer<Collection<RecognizedElement>>();\n return serializer.serialize(tree.getChildren());\n }",
"@Override\n public String toString() {\n StringBuilder sb = new StringBuilder(name.trim());\n sb.append(\"=\\\"\");\n sb.append(value);\n sb.append('\"');\n return sb.toString() ;\n }",
"Attribute getAttribute();",
"public java.lang.String getSer() {\n java.lang.Object ref = ser_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n ser_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getAttribute1() {\n return (String) getAttributeInternal(ATTRIBUTE1);\n }",
"@Override\n public String convertToDatabaseColumn(String attribute) {\n String bytes = null;\n try {\n\n bytes = Base64.getEncoder().encodeToString(encrypt(attribute));\n// bytes = encrypt(attribute).toString();\n\n }catch (Exception e){\n e.printStackTrace();\n }\n\n return bytes;\n\n }",
"public String getAttribute1() {\n return attribute1;\n }",
"public String getAttr4() {\n return attr4;\n }",
"public String getAttr4() {\n return attr4;\n }",
"public native final String attr(final String name)\n\t/*-{\n\t\treturn this.attr(name);\n\t}-*/;",
"public java.lang.String getSer() {\n java.lang.Object ref = ser_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n ser_ = s;\n }\n return s;\n }\n }"
]
| [
"0.63118714",
"0.61950177",
"0.6099851",
"0.6088944",
"0.58503056",
"0.5781807",
"0.5754151",
"0.56699497",
"0.5656054",
"0.56295806",
"0.5578071",
"0.55027664",
"0.5468675",
"0.5460238",
"0.5439408",
"0.5422871",
"0.5408826",
"0.54028845",
"0.5400826",
"0.5398671",
"0.53660405",
"0.5356652",
"0.53394765",
"0.53287363",
"0.53270674",
"0.52743244",
"0.5271938",
"0.5262013",
"0.5262013",
"0.52367747",
"0.5234392",
"0.5232943",
"0.52216893",
"0.521155",
"0.51917976",
"0.51917976",
"0.51917976",
"0.51917976",
"0.51917976",
"0.5184582",
"0.51834613",
"0.51746583",
"0.51746583",
"0.51599145",
"0.51529145",
"0.5144526",
"0.51304466",
"0.51255333",
"0.5116875",
"0.5107598",
"0.5101717",
"0.51016474",
"0.5084815",
"0.5077136",
"0.5066415",
"0.5058988",
"0.505605",
"0.5044598",
"0.5044245",
"0.5042356",
"0.5028076",
"0.50240266",
"0.5023024",
"0.5018784",
"0.5017782",
"0.5016552",
"0.5011676",
"0.50050193",
"0.49991974",
"0.49991974",
"0.49991974",
"0.49983838",
"0.49931672",
"0.49897793",
"0.4988893",
"0.4985736",
"0.49762186",
"0.49688655",
"0.4958406",
"0.49568984",
"0.49568984",
"0.49568984",
"0.49568984",
"0.49568984",
"0.4955521",
"0.49554676",
"0.49547347",
"0.49474636",
"0.49474636",
"0.49397904",
"0.49328694",
"0.49307638",
"0.4914911",
"0.49098217",
"0.4907689",
"0.4903639",
"0.48990306",
"0.48990306",
"0.48970792",
"0.48799732"
]
| 0.5365048 | 21 |
/ Menu constructors handle adding their choices, obtaining the surveyManager, and creating private instances of needed variables | public Menu() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Menu(String[] choices)\n {\n\t\n\tthis.choices = choices;\n }",
"private void menuSetup()\n {\n menuChoices = new String []\n {\n \"Add a new product\",\n \"Remove a product\",\n \"Rename a product\",\n \"Print all products\",\n \"Deliver a product\",\n \"Sell a product\",\n \"Search for a product\",\n \"Find low-stock products\",\n \"Restock low-stock products\",\n \"Quit the program\" \n };\n }",
"private QuestMenu() {\n }",
"public SysMenuExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"private void initializeMenu() {\n menu = new Menu(parent.getShell());\n MenuItem item1 = new MenuItem(menu, SWT.NONE);\n item1.setText(Resources.getMessage(\"LatticeView.9\")); //$NON-NLS-1$\n item1.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(final SelectionEvent arg0) {\n model.getClipboard().addToClipboard(selectedNode);\n controller.update(new ModelEvent(ViewSolutionSpace.this, ModelPart.CLIPBOARD, selectedNode));\n model.setSelectedNode(selectedNode);\n controller.update(new ModelEvent(ViewSolutionSpace.this, ModelPart.SELECTED_NODE, selectedNode));\n actionRedraw();\n }\n });\n \n MenuItem item2 = new MenuItem(menu, SWT.NONE);\n item2.setText(Resources.getMessage(\"LatticeView.10\")); //$NON-NLS-1$\n item2.addSelectionListener(new SelectionAdapter() {\n @Override\n public void widgetSelected(final SelectionEvent arg0) {\n controller.actionApplySelectedTransformation();\n model.setSelectedNode(selectedNode);\n controller.update(new ModelEvent(ViewSolutionSpace.this, ModelPart.SELECTED_NODE, selectedNode));\n actionRedraw();\n }\n });\n }",
"public Menu() {\n }",
"public Menu() {\n\n\t}",
"public Menu()\n {\n \n }",
"public void init() {\n\t\tMenu menu = new Menu();\n\t\tmenu.register();\n\n\t\t// Application.getInstance().getGUILog().showMessage(\"Show a popup the proper\n\t\t// way !\");\n\n\t\t// final ActionsConfiguratorsManager manager =\n\t\t// ActionsConfiguratorsManager.getInstance();\n\n\t\t// final MDAction action = new ExampleAction();\n\t\t// Adding action to main menu\n\t\t// manager.addMainMenuConfigurator(new MainMenuConfigurator(action));\n\t\t// Adding action to main toolbar\n\t\t// manager.addMainToolbarConfigurator(new MainToolbarConfigurator(action));\n\n\t\t// pluginDir = getDescriptor().getPluginDirectory().getPath();\n\n\t\t// Creating submenu in the MagicDraw main menu\n\t\t// ActionsConfiguratorsManager manager =\n\t\t// ActionsConfiguratorsManager.getInstance();\n\t\t// manager.addMainMenuConfigurator(new\n\t\t// MainMenuConfigurator(getSubmenuActions()));\n\n\t\t/**\n\t\t * @Todo: load project options (@see myplugin.generator.options.ProjectOptions)\n\t\t * from ProjectOptions.xml and take ejb generator options\n\t\t */\n\n\t\t// for test purpose only:\n\t\t// GeneratorOptions ejbOptions = new GeneratorOptions(\"c:/temp\", \"ejbclass\",\n\t\t// \"templates\", \"{0}.java\", true, \"ejb\");\n\t\t// ProjectOptions.getProjectOptions().getGeneratorOptions().put(\"EJBGenerator\",\n\t\t// ejbOptions);\n\n\t\t// ejbOptions.setTemplateDir(pluginDir + File.separator +\n\t\t// ejbOptions.getTemplateDir()); //apsolutna putanja\n\t}",
"@Override\n\tprotected void setMenu() {\n\t\t\n\t\tfinal ButtonGroup actionButtonGroup = new ButtonGroup();\n\t\tfor (String s : ((TreeSite) object).actions) {\n\t\t\tJRadioButton button = new JRadioButton(s);\n\t\t\tbutton.setActionCommand(s);\n\t\t\tactionButtonGroup.add(button);\n\t\t\tmenu.add(button);\n\t\t}\n\t\t\n\t\tJPanel headingPanel = new JPanel();\n\t\theadingPanel.setLayout(new BoxLayout(headingPanel, BoxLayout.LINE_AXIS));\n\t\theadingPanel.add(new JLabel(\"Heading: \"));\n\t\tfinal JTextField headingField = new JTextField();\n\t\theadingField.setText(Float.toString(INITIAL_FLOAT_VALUE));\n\t\theadingField.setColumns(10);\n\t\theadingPanel.add(headingField);\n\t\tmenu.add(headingPanel);\n\t\t\n\t\tJPanel lengthPanel = new JPanel();\n\t\tlengthPanel.setLayout(new BoxLayout(lengthPanel, BoxLayout.LINE_AXIS));\n\t\tlengthPanel.add(new JLabel(\"Length: \"));\n\t\tfinal JTextField lengthField = new JTextField();\n\t\tlengthField.setText(Integer.toString(INITIAL_INTEGER_VALUE));\n\t\tlengthField.setColumns(10);\n\t\tlengthPanel.add(lengthField);\n\t\tmenu.add(lengthPanel);\n\t\t\n\t\tJPanel counterPanel = new JPanel();\n\t\tcounterPanel.setLayout(new BoxLayout(counterPanel, BoxLayout.LINE_AXIS));\n\t\tcounterPanel.add(new JLabel(\"Counter: \"));\n\t\tfinal JTextField counterField = new JTextField();\n\t\tcounterField.setText(Integer.toString(INITIAL_INTEGER_VALUE));\n\t\tcounterField.setColumns(10);\n\t\tcounterPanel.add(counterField);\n\t\tmenu.add(counterPanel);\n\t\t\n\t\tJPanel targetPanel = new JPanel();\n\t\ttargetPanel.setLayout(new BoxLayout(targetPanel, BoxLayout.LINE_AXIS));\n\t\ttargetPanel.add(new JLabel(\"Target position: \"));\n\t\ttargetFieldX = new JTextField();\n\t\ttargetFieldX.setEditable(false);\n\t\ttargetFieldX.setText(\"\");\n\t\ttargetFieldX.setColumns(4);\n\t\ttargetFieldY = new JTextField();\n\t\ttargetFieldY.setEditable(false);\n\t\ttargetFieldY.setText(\"\");\n\t\ttargetFieldY.setColumns(4);\n\t\ttargetPanel.add(targetFieldX);\n\t\ttargetPanel.add(new JLabel(\", \"));\n\t\ttargetPanel.add(targetFieldY);\n\t\tmenu.add(targetPanel);\n\t\tmenu.add(new SetTargetPositionButton(editor).button);\n\t\t\n\t\tJButton removeTargetButton = new JButton(\"Remove Target\");\n\t\tremoveTargetButton.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\ttargetFieldX.setText(\"\");\n\t\t\t\ttargetFieldY.setText(\"\");\n\t\t\t\teditor.targetIcon.setVisible(false);\n\t\t\t}\n\t\t\t\n\t\t});\n\t\tmenu.add(removeTargetButton);\n\t\t\n\t\tfinal CyclicButtonGroup cyclicButtons = new CyclicButtonGroup();\n\t\t\n\t\tJRadioButton nonCyclicButton = new JRadioButton(\"Set to non-cyclic\");\n\t\tnonCyclicButton.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\ttry {\n\t\t\t\t\tcyclicButtons.beginningOfCycle.data.cycleStart = false;\n\t\t\t\t\tcyclicButtons.beginningOfCycle = null;\n\t\t\t\t} catch (NullPointerException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t});\n\t\tcyclicButtons.add(nonCyclicButton);\n\t\t\n\t\tfinal JButton addActionButton = new JButton(\"Add Action\");\n\t\t\n\t\tmenu.add(addActionButton);\n\t\tmenu.add(nonCyclicButton);\n\t\t\n\t\taddActionButton.addActionListener(new ActionListener() {\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tif (actionButtonGroup.getSelection() == null) {\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please select an action type\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tFloat headingValue = null;\n\t\t\t\tInteger lengthValue = null;\n\t\t\t\tInteger counterValue = null;\n\t\t\t\tInteger targetValueX = null;\n\t\t\t\tInteger targetValueY = null;\n\t\t\t\tboolean noTarget = false;\n\t\t\t\ttry {\n\t\t\t\t\ttargetValueX = Integer.parseInt(targetFieldX.getText());\n\t\t\t\t\ttargetValueY = Integer.parseInt(targetFieldY.getText());\n\t\t\t\t} catch (NumberFormatException nfe) {\n\t\t\t\t\tnoTarget = true;\n\t\t\t\t}\n\t\t\t\tif (headingField.getText() == null || !isValidHeading(headingField.getText())) {\n\t\t\t\t\tif (noTarget) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please enter a heading value greater than or equal to 0 and less than 360\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\theadingValue = Float.parseFloat(headingField.getText());\n\t\t\t\t}\n\t\t\t\tif (lengthField.getText() == null || !isValidLength(lengthField.getText())) {\n\t\t\t\t\tif (noTarget) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please enter an integer length value greater than 0\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tlengthValue = Integer.parseInt(lengthField.getText());\n\t\t\t\t}\n\t\t\t\tif (counterField.getText() == null || !isValidCounter(counterField.getText(), Integer.parseInt(lengthField.getText()))) {\n\t\t\t\t\tif (noTarget) {\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please enter an integer counter value greater than 0 and less than the length value\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tcounterValue = Integer.parseInt(counterField.getText());\n\t\t\t\t}\t\n\t\t\t\t\n\t\t\t\tActionMetadata data = new ActionMetadata(actionButtonGroup.getSelection().getActionCommand(),\n\t\t\t\t\t\theadingValue, lengthValue, counterValue, false, targetValueX, targetValueY);\n\t\t\t\t((TreeSite) object).actionQueue.add(data);\n\t\t\t\tcreateActionPanel(cyclicButtons, data);\n\t\t\t}\n\t\t\t\n\t\t});\n\t\t\n\t\tfor (ActionMetadata metadata : ((TreeSite) object).actionQueue) {\n\t\t\tcreateActionPanel(cyclicButtons, metadata);\n\t\t}\n\t\t\n\t}",
"private void setItemMenu() {\n choices = new ArrayList<>();\n \n choices.add(Command.INFO);\n if (item.isUsable()) {\n choices.add(Command.USE);\n }\n if (item.isEquipped()) {\n choices.add(Command.UNEQUIP);\n } else {\n if (item.isEquipable()) {\n choices.add(Command.EQUIP);\n }\n }\n \n if (item.isActive()) {\n choices.add(Command.UNACTIVE);\n } else {\n if (item.isActivable()) {\n choices.add(Command.ACTIVE);\n }\n }\n if (item.isDropable()) {\n choices.add(Command.DROP);\n }\n if (item.isPlaceable()) {\n choices.add(Command.PLACE);\n }\n choices.add(Command.DESTROY);\n choices.add(Command.CLOSE);\n \n this.height = choices.size() * hItemBox + hGap * 2;\n }",
"public void initMenu(){\n\t}",
"public AutoAnswerMenu()\n {\n super(GuiActivator.getResources()\n .getI18NString(\"service.gui.AUTO_ANSWER\"));\n\n loadSkin();\n\n registerMenuItems(this);\n }",
"private void initOption() {\r\n\t\tthis.option = new JMenu(\"Options\");\r\n\t\tthis.add(option);\r\n\t\tthis.initNewGame();\r\n\t\tthis.initNewServer();\r\n\t\tthis.initNewConnect();\r\n\t\tthis.initExitConnect();\r\n\t\tthis.initExitGame();\r\n\t}",
"protected abstract void addMenuOptions();",
"public MyMenu() {\n this(DSL.name(\"MY_MENU\"), null);\n }",
"private void constructMenus()\n\t{\n\t\tthis.fileMenu = new JMenu(\"File\");\n\t\tthis.editMenu = new JMenu(\"Edit\");\n\t\tthis.caseMenu = new JMenu(\"Case\");\n\t\tthis.imageMenu = new JMenu(\"Image\");\n\t\tthis.fileMenu.add(this.saveImageMenuItem);\n\t\tthis.fileMenu.addSeparator();\n\t\tthis.fileMenu.add(this.quitMenuItem);\n\t\tthis.editMenu.add(this.undoMenuItem);\n\t\tthis.editMenu.add(this.redoMenuItem);\n\t\tthis.caseMenu.add(this.removeImageMenuItem);\n\t\tthis.imageMenu.add(this.antiAliasMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.brightenMenuItem);\n\t\tthis.imageMenu.add(this.darkenMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.grayscaleMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.resizeMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.cropMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.rotate90MenuItem);\n\t\tthis.imageMenu.add(this.rotate180MenuItem);\n\t\tthis.imageMenu.add(this.rotate270MenuItem);\n\t}",
"private void initMenu() {\n \n JMenuBar menuBar = new JMenuBar();\n \n JMenu commands = new JMenu(\"Commands\");\n \n JMenuItem add = new JMenuItem(\"Add\");\n add.addActionListener((ActionEvent e) -> {\n changeState(\"Add\");\n });\n commands.add(add);\n \n JMenuItem search = new JMenuItem(\"Search\");\n search.addActionListener((ActionEvent e) -> {\n changeState(\"Search\");\n });\n commands.add(search);\n \n JMenuItem quit = new JMenuItem(\"Quit\");\n quit.addActionListener((ActionEvent e) -> {\n System.out.println(\"QUITING\");\n System.exit(0);\n });\n commands.add(quit);\n \n menuBar.add(commands);\n \n setJMenuBar(menuBar);\n }",
"private void setUpMenu() {\n\t\trg = (RadioGroup) findViewById(R.id.rg);\n\t\trb1 = (RadioButton) findViewById(R.id.rb1);\n\t\trb2 = (RadioButton) findViewById(R.id.rb2);\n\t\trb3 = (RadioButton) findViewById(R.id.rb3);\n\t\trb4 = (RadioButton) findViewById(R.id.rb4);\n\t\trb5 = (RadioButton) findViewById(R.id.rb5);\n\t\trg.setOnCheckedChangeListener(this);\n\t\trb1.setChecked(true);\n\t\t// OnCheckedChangeListener listener = null;\n\t}",
"public Menu(){\n\t\tthis.player = null;\n\t\tthis.weapon = null;\n\t\tthis.power = null;\n\t\tthis.in = new Scanner(System.in);\n\t\tthis.bdd = new Driver();\n\t\tthis.savedIndex = 0;\n\n\t}",
"public AbstractMenu(MenuLoader menuLoader) \r\n\t{}",
"public OptionsMenu() {\n initComponents();\n }",
"public void initializeMenuItems() {\n\t\tuserMenuButton = new MenuButton();\n\t\tmenu1 = new MenuItem(bundle.getString(\"mVmenu1\")); //\n\t\tmenu2 = new MenuItem(bundle.getString(\"mVmenu2\")); //\n\t}",
"public ObjectFactoryMenu() {\n }",
"public OptionsMenu() {\n\t\tsuper(OPTIONS_WINDOW_TITLE);\n\t\tQ = new Quoridor();\n\t\tinitialize();\n\t\tsetVisible(true);\n\t}",
"private void prepare() {\n Menu menu = new Menu();\n addObject(menu, 523, 518);\n }",
"private void setupMenus() {\n\t\tJMenuBar menuBar = new JMenuBar();\n\n\t\t// Build the first menu.\n\t\tJMenu menu = new JMenu(Messages.getString(\"Gui.File\")); //$NON-NLS-1$\n\t\tmenu.setMnemonic(KeyEvent.VK_A);\n\t\tmenuBar.add(menu);\n\n\t\t// a group of JMenuItems\n\t\tJMenuItem menuItem = new JMenuItem(openAction);\n\t\tmenu.add(menuItem);\n\n\t\t// menuItem = new JMenuItem(openHttpAction);\n\t\t// menu.add(menuItem);\n\n\t\t/*\n\t\t * menuItem = new JMenuItem(crudAction); menu.add(menuItem);\n\t\t */\n\n\t\tmenuItem = new JMenuItem(showLoggingFrameAction);\n\t\tmenu.add(menuItem);\n\n\t\tmenuItem = new JMenuItem(quitAction);\n\t\tmenu.add(menuItem);\n\n\t\tmenuBar.add(menu);\n\n\t\tJMenu optionMenu = new JMenu(Messages.getString(\"Gui.Options\")); //$NON-NLS-1$\n\t\tmenuItem = new JCheckBoxMenuItem(baselineModeAction);\n\t\toptionMenu.add(menuItem);\n\t\tmenuItem = new JMenuItem(toggleButtonsAction);\n\t\toptionMenu.add(menuItem);\n\n\t\tmenuBar.add(optionMenu);\n\t\tJMenu buttonMenu = new JMenu(Messages.getString(\"Gui.Buttons\")); //$NON-NLS-1$\n\t\tmenuItem = new JMenuItem(wrongAnswerAction);\n\t\tbuttonMenu.add(menuItem);\n\t\tmenuItem = new JMenuItem(attendingAction);\n\t\tbuttonMenu.add(menuItem);\n\n\t\tmenuItem = new JMenuItem(independentAction);\n\t\tbuttonMenu.add(menuItem);\n\t\tmenuItem = new JMenuItem(verbalAction);\n\t\tbuttonMenu.add(menuItem);\n\t\tmenuItem = new JMenuItem(modelingAction);\n\t\tbuttonMenu.add(menuItem);\n\t\tmenuItem = new JMenuItem(noAnswerAction);\n\t\tbuttonMenu.add(menuItem);\n\n\t\tmenuBar.add(buttonMenu);\n\t\tframe.setJMenuBar(menuBar);\n\n\t\tframe.pack();\n\n\t\tframe.setVisible(true);\n\t}",
"public ScreenMainMenu() {\n\t\tsuper(AdapterInputMainMenu.class);\n\t\tobj.add(new MainMenuInteractObjTest<>(gRef,200,200,new Rectangle(0,0,32,32)));\n\t\tChartset.detect(\"resources\\\\Charts\");\n\t}",
"private void choiceBoxInitializer() {\n searchChoiceBox.getItems().addAll(\"Learning Applications\", \"Learning Categories\",\n \"Learning Units\");\n searchChoiceBox.setValue(\"Learning Applications\");\n }",
"@Override\n\tpublic void setUpMenu() {\n\t\t\n\t}",
"private void init(){\n //Selected value in Spinner\n String selectedSubj= getActivity().getIntent().getStringExtra(\"subj\");\n String selectedPoten= getActivity().getIntent().getStringExtra(\"prob\");\n String selectedInst= getActivity().getIntent().getStringExtra(\"inst\");\n String selectedY= getActivity().getIntent().getStringExtra(\"peri\");\n\n if(selectedY.equals(\"2015~2017\")){\n String yList[]= {\"2015\", \"2016\", \"2017\"};\n selectedY= yList[new Random().nextInt(yList.length)];\n }\n\n String e_inst= QuestionUtil.create_eInst(selectedY, selectedInst);\n String k_inst= QuestionUtil.create_kInst(e_inst);\n String m= QuestionUtil.createPeriodM(selectedY, e_inst);\n\n QuestionNameBuilder.inst= new QuestionNameBuilder(selectedY, m, k_inst, selectedSubj, QuestionNameBuilder.UNDEFINED\n , QuestionNameBuilder.UNDEFINED, QuestionNameBuilder.TYPE_KOR);\n qnBuilder= QuestionNameBuilder.inst;\n\n //Potential Load\n loadPotentials(selectedPoten);\n }",
"public Menu() {\n this(\"\");\n }",
"public void initializeMenuItems() {\n menuItems = new LinkedHashMap<TestingOption, MenuDrawerItem>();\n menuItems.put(TestingOption.TESTING_OPTION, create(TestingOption.TESTING_OPTION, getResources().getString(R.string.testing_section).toUpperCase(), MenuDrawerItem.SECTION_TYPE));\n menuItems.put(TestingOption.ANNOTATION_OPTION, create(TestingOption.ANNOTATION_OPTION, getResources().getString(R.string.option_annotation_POI), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_VIEW_SETTINGS_OPTION, create(TestingOption.MAP_VIEW_SETTINGS_OPTION, getResources().getString(R.string.option_map_view_settings), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_CACHE_OPTION, create(TestingOption.MAP_CACHE_OPTION, getResources().getString(R.string.option_map_cache), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.LAST_RENDERED_FRAME_OPTION, create(TestingOption.LAST_RENDERED_FRAME_OPTION, getResources().getString(R.string.option_last_rendered_frame), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ANIMATION_CUSTOM_VIEW_OPTION, create(TestingOption.ANIMATION_CUSTOM_VIEW_OPTION, getResources().getString(R.string.option_ccp_animation_custom_view), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.BOUNDING_BOX_OPTION, create(TestingOption.BOUNDING_BOX_OPTION, getResources().getString(R.string.option_bounding_box), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.INTERNALIZATION_OPTION, create(TestingOption.INTERNALIZATION_OPTION, getResources().getString(R.string.option_internalization), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ANIMATE_OPTION, create(TestingOption.ANIMATE_OPTION, getResources().getString(R.string.option_animate), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_STYLE_OPTION, create(TestingOption.MAP_STYLE_OPTION, getResources().getString(R.string.option_map_style), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.SCALE_VIEW_OPTION, create(TestingOption.SCALE_VIEW_OPTION, getResources().getString(R.string.option_scale_view), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.CALLOUT_VIEW_OPTION, create(TestingOption.CALLOUT_VIEW_OPTION, getResources().getString(R.string.option_callout_view), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ROUTING_OPTION, create(TestingOption.ROUTING_OPTION, getResources().getString(R.string.option_routing), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.ROUTE_WITH_POINTS, create(TestingOption.ROUTE_WITH_POINTS, getResources().getString(R.string.option_routing_with_points),MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.MAP_VERSION_OPTION, create(TestingOption.MAP_VERSION_OPTION, getResources().getString(R.string.option_map_version_information), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.OVERLAYS_OPTION, create(TestingOption.OVERLAYS_OPTION, getResources().getString(R.string.option_overlays), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.POI_TRACKER, create(TestingOption.POI_TRACKER, getResources().getString(R.string.option_poi_tracker), MenuDrawerItem.ITEM_TYPE));\n menuItems.put(TestingOption.POSITION_LOGGING_OPTION, create(TestingOption.POSITION_LOGGING_OPTION, getResources().getString(R.string.option_position_logging), MenuDrawerItem.ITEM_TYPE));\n\n list = new ArrayList<MenuDrawerItem>(menuItems.values());\n drawerList.setAdapter(new MenuDrawerAdapter(DebugMapActivity.this, R.layout.element_menu_drawer_item, list));\n drawerList.setOnItemClickListener(new DrawerItemClickListener());\n\n }",
"public Menu() {\n mainMenuScene = createMainMenuScene();\n mainMenu();\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.general_survey, menu);\n\t\treturn true;\n\t}",
"private void InitializeUI(){\n\t\t//Set up the menu items, which are differentiated by their IDs\n\t\tArrayList<MenuItem> values = new ArrayList<MenuItem>();\n\t\tMenuItem value = new MenuItem();\n\t\tvalue.setiD(0); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(1); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(2); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(3); values.add(value);\n\t\t\n\t\tvalue = new MenuItem();\n\t\tvalue.setiD(4); values.add(value);\n\n MenuAdapter adapter = new MenuAdapter(this, R.layout.expandable_list_item3, values);\n \n // Assign adapter to List\n setListAdapter(adapter);\n \n //Set copyright information\n Calendar c = Calendar.getInstance();\n\t\tString year = String.valueOf(c.get(Calendar.YEAR));\n\t\t\n\t\t//Set up the copyright message which links to the author's linkedin page\n TextView lblCopyright = (TextView)findViewById(R.id.lblCopyright);\n lblCopyright.setText(getString(R.string.copyright) + year + \" \");\n \n TextView lblName = (TextView)findViewById(R.id.lblName);\n lblName.setText(Html.fromHtml(\"<a href=\\\"http://uk.linkedin.com/in/lekanbaruwa/\\\">\" + getString(R.string.name) + \"</a>\"));\n lblName.setMovementMethod(LinkMovementMethod.getInstance());\n\t}",
"public myView() {\n initComponents();\n CreatMenu();\n }",
"public ChoiceQuestion() {\n m_choices = new ArrayList<>();\n }",
"public MenuService() {\n\t\tnew DisplayMenu();\n\t}",
"public static void chsrInit(){\n for(int i = 0; i < chsrDesc.length; i++){\n chsr.addOption(chsrDesc[i], chsrNum[i]);\n }\n chsr.setDefaultOption(chsrDesc[2] + \" (Default)\", chsrNum[2]); //Default MUST have a different name\n SmartDashboard.putData(\"JS/Choice\", chsr);\n SmartDashboard.putString(\"JS/Choosen\", chsrDesc[chsr.getSelected()]); //Put selected on sdb\n }",
"public FormMenu() {\n initComponents();\n menuController = new MenuController(this);\n menuController.nonAktif();\n }",
"@SuppressWarnings(\"unchecked\")\n private void init(JMenuBar menu, PSRelationshipInfoSet relationshipSet)\n {\n \n setLayout(new BoxLayout(this, BoxLayout.X_AXIS));\n PSDisplayOptions dispOptions =\n (PSDisplayOptions)UIManager.getDefaults().get(\n PSContentExplorerConstants.DISPLAY_OPTIONS);\n PSFocusBorder focusBorder = new PSFocusBorder(1, dispOptions);\n \n if(m_view.equals(PSUiMode.TYPE_VIEW_DT))\n {\n m_contentItem = new PSLocator(\n m_applet.getParameter(PSContentExplorerConstants.PARAM_CONTENTID),\n m_applet.getParameter(PSContentExplorerConstants.PARAM_REVISIONID));\n\n JPanel rsPanel = new JPanel();\n rsPanel.setLayout(new BoxLayout(rsPanel, BoxLayout.X_AXIS));\n JLabel rsLabel = new JLabel(\n m_applet.getResourceString(\n getClass().getName() + \"@Relationship:\"),\n SwingConstants.LEFT);\n rsLabel.setFocusable(true); \n char mnemonic = PSContentExplorerApplet.getResourceMnemonic(\n getClass(), \"Relationship:\", 'R');\n \n rsPanel.add(rsLabel);\n rsPanel.add(makeFillerOpaque(Box.createHorizontalStrut(5)));\n \n m_rsCombo = new JComboBox();\n rsLabel.setLabelFor(m_rsCombo); // Associate label with combobox\n if (mnemonic != 0) {\n rsLabel.setDisplayedMnemonic(mnemonic);\n } \n focusBorder.addToComponent(m_rsCombo, false);\n m_rsCombo.setRenderer(new DefaultListCellRenderer()\n {\n @Override\n public Component getListCellRendererComponent(\n JList list,\n Object value,\n int index,\n boolean isSelected,\n boolean cellHasFocus\n )\n {\n super.getListCellRendererComponent(list, value, index,\n isSelected, cellHasFocus);\n if(value instanceof PSRelationshipInfo)\n {\n PSRelationshipInfo relInfo = (PSRelationshipInfo)value;\n setText(m_applet.getResourceString(\n \"psx.\" + PSConfigurationFactory.RELATIONSHIPS_CFG + \".\" +\n relInfo.getName() + \"@\" + relInfo.getLabel()));\n }\n return this;\n }\n }\n );\n m_rsCombo.setPreferredSize(new Dimension(180,20));\n m_rsCombo.setMinimumSize(new Dimension(180,20));\n m_rsCombo.setMaximumSize(new Dimension(180,20));\n m_rsCombo.addItemListener(this);\n \n \n Iterator<PSRelationshipInfo> relationships = \n relationshipSet.getComponents();\n List<PSRelationshipInfo> orderedRels = \n new ArrayList<PSRelationshipInfo>();\n if(!relationships.hasNext())\n throw new IllegalStateException(\"No relationships found\");\n while (relationships.hasNext())\n {\n orderedRels.add(relationships.next());\n }\n Collections.sort(orderedRels, new Comparator<PSRelationshipInfo>()\n {\n /**\n * Order by label, ascending.\n */\n public int compare(PSRelationshipInfo o1, PSRelationshipInfo o2)\n {\n String l1 = o1.getLabel();\n String l2 = o2.getLabel();\n return l1.compareToIgnoreCase(l2);\n }\n });\n\n String relName = m_applet.getParameter(\n PSContentExplorerConstants.PARAM_RELATIONSHIP_NAME);\n if (relName == null)\n relName = StringUtils.EMPTY;\n relationships = orderedRels.iterator();\n while(relationships.hasNext())\n {\n PSRelationshipInfo relInfo = relationships.next();\n \n m_rsCombo.addItem(relInfo);\n \n if (relInfo.getName().equalsIgnoreCase(relName))\n {\n m_rsCombo.setSelectedItem(relInfo);\n }\n }\n \n rsPanel.add(m_rsCombo);\n\n add(rsPanel);\n\n if(menu != null)\n {\n menu.setAlignmentY(CENTER_ALIGNMENT);\n menu.setBorderPainted(false);\n add(menu);\n }\n\n JPanel labelPanel = new JPanel();\n labelPanel.setLayout(new BoxLayout(labelPanel, BoxLayout.X_AXIS));\n labelPanel.setAlignmentY(CENTER_ALIGNMENT);\n\n JLabel label = new JLabel(\n m_applet.getResourceString(\n getClass().getName() + \"@Content Item:\"));\n label.setIcon(PSImageIconLoader.loadIcon(\n CONTENT_PATH_SEPARATOR_ICON, false, m_applet));\n label.setFocusable(true);\n labelPanel.add(label);\n labelPanel.add(makeFillerOpaque(Box.createHorizontalStrut(5)));\n \n PSNameLabel nameLabel = new PSNameLabel();\n nameLabel.setText(\n m_applet.getParameter(PSContentExplorerConstants.PARAM_ITEM_TITLE));\n \n label.setLabelFor(nameLabel);\n \n labelPanel.add(nameLabel);\n labelPanel.add(makeFillerOpaque(Box.createHorizontalGlue()));\n add(makeFillerOpaque(Box.createHorizontalStrut(15)));\n add(labelPanel);\n \n }\n else\n {\n if(menu != null)\n {\n menu.setAlignmentY(CENTER_ALIGNMENT);\n menu.setBorderPainted(false); \n add(menu);\n \n }\n\n JPanel labelPanel = new JPanel();\n labelPanel.setLayout(new BoxLayout(labelPanel, BoxLayout.X_AXIS));\n labelPanel.setAlignmentY(CENTER_ALIGNMENT);\n labelPanel.setVisible(true);\n labelPanel.setFocusTraversalKeysEnabled(true);\n \n \n JLabel label = new JLabel(\n m_applet.getResourceString(\n getClass().getName() + \"@Content Path:\") + \" \");\n label.setIcon(PSImageIconLoader.loadIcon(\n CONTENT_PATH_SEPARATOR_ICON, false, m_applet));\n \n labelPanel.add(label);\n\n //Make the path text field as not edit able We need the text field \n // rather the label, so that we can copy from that field\n \n m_pathLabelField.setOpaque(false);\n \n \n labelPanel.add(m_pathLabelField);\n label.setLabelFor(m_pathLabelField);\n \n \n // add refresh button\n Icon refreshIcon = PSImageIconLoader.loadIcon(REFRESH_ICON, false, m_applet); \n m_refreshButton = new JButton(refreshIcon);\n Dimension buttonSize = new Dimension(refreshIcon.getIconWidth() + 5, \n refreshIcon.getIconHeight() + 5);\n m_refreshButton.setPreferredSize(buttonSize);\n m_refreshButton.setMaximumSize(buttonSize);\n m_refreshButton.setMinimumSize(buttonSize);\n m_refreshButton.setVisible(true);\n m_refreshButton.setBorder(focusBorder);\n m_refreshButton.getAccessibleContext().setAccessibleName(\n \"Click to refresh selected node in the navigation pane\");\n m_refreshButton.getAccessibleContext().setAccessibleDescription(\n \"Click to refresh selected node in the navigation pane description\");\n final PSMenuAction refreshAction = new PSMenuAction(\n IPSConstants.ACTION_REFRESH, \"refresh\");\n String tooltip = m_applet.getResourceString(getClass(),\n \"@Refresh View\");\n m_refreshButton.setToolTipText(tooltip);\n m_refreshButton.addActionListener(new ActionListener()\n {\n public void actionPerformed(\n @SuppressWarnings(\"unused\") ActionEvent e)\n {\n if (m_navSelection != null)\n m_applet.getActionManager().executeAction(refreshAction, \n m_navSelection);\n }\n });\n \n labelPanel.add(makeFillerOpaque(Box.createHorizontalGlue()));\n \n // add search results label\n m_resultsLabel.setVisible(false);\n labelPanel.add(m_resultsLabel);\n\n // add refresh button\n labelPanel.add(m_refreshButton);\n labelPanel.add(makeFillerOpaque(Box.createHorizontalStrut(10)));\n \n add(makeFillerOpaque(Box.createHorizontalStrut(15))); \n add(labelPanel);\n }\n }",
"public Menu() {\n initComponents();\n }",
"public Menu() {\n initComponents();\n }",
"public Menu() {\n initComponents();\n }",
"public void fillSpecChoices(List ChoiceMenu) {\n\n ChoiceMenu.add(\"Quadratic Koch Island 1 pg. 13\"); /* pg. 13 */\n ChoiceMenu.add(\"Quadratic Koch Island 2 pg. 14\"); /* pg. 14 */\n ChoiceMenu.add(\"Island & Lake Combo. pg. 15\"); /* pg.15 */\n ChoiceMenu.add(\"Koch Curve A pg. 16\");\n ChoiceMenu.add(\"Koch Curve B pg. 16\");\n ChoiceMenu.add(\"Koch Curve C pg. 16\");\n ChoiceMenu.add(\"Koch Curve D pg. 16\");\n ChoiceMenu.add(\"Koch Curve E pg. 16\");\n ChoiceMenu.add(\"Koch Curve F pg. 16\");\n ChoiceMenu.add(\"Mod of Snowflake pg. 14\");\n ChoiceMenu.add(\"Dragon Curve pg. 17\");\n ChoiceMenu.add(\"Hexagonal Gosper Curve pg. 19\");\n ChoiceMenu.add(\"Sierpinski Arrowhead pg. 19\");\n ChoiceMenu.add(\"Peano Curve pg. 18\");\n ChoiceMenu.add(\"Hilbert Curve pg. 18\");\n ChoiceMenu.add(\"Approx of Sierpinski pg. 18\");\n ChoiceMenu.add(\"Tree A pg. 25\");\n ChoiceMenu.add(\"Tree B pg. 25\");\n ChoiceMenu.add(\"Tree C pg. 25\");\n ChoiceMenu.add(\"Tree D pg. 25\");\n ChoiceMenu.add(\"Tree E pg. 25\");\n ChoiceMenu.add(\"Tree B pg. 43\");\n ChoiceMenu.add(\"Tree C pg. 43\");\n ChoiceMenu.add(\"Spiral Tiling pg. 70\");\n ChoiceMenu.add(\"BSpline Triangle pg. 20\");\n ChoiceMenu.add(\"Snake Kolam pg. 72\");\n ChoiceMenu.add(\"Anklets of Krishna pg. 73\");\n\n /*-----------\n Color examples \n -----------*/\n ChoiceMenu.add(\"Color1, Koch Curve B\");\n ChoiceMenu.add(\"Color2, Koch Curve B\");\n ChoiceMenu.add(\"Color X, Spiral Tiling\");\n ChoiceMenu.add(\"Color Center, Spiral Tiling\");\n ChoiceMenu.add(\"Color Spokes, Spiral Tiling\");\n ChoiceMenu.add(\"Color, Quad Koch Island 1\");\n ChoiceMenu.add(\"Color, Tree E\");\n ChoiceMenu.add(\"Color, Mod of Snowflake\");\n ChoiceMenu.add(\"Color, Anklets of Krishna\");\n ChoiceMenu.add(\"Color, Snake Kolam\");\n\n ChoiceMenu.add(\"Simple Branch\");\n\n\n }",
"private MenuBar setupMenu () {\n MenuBar mb = new MenuBar ();\n Menu fileMenu = new Menu (\"File\");\n openXn = makeMenuItem (\"Open Connection\", OPEN_CONNECTION);\n closeXn = makeMenuItem (\"Close Connection\", CLOSE_CONNECTION);\n closeXn.setEnabled (false);\n MenuItem exit = makeMenuItem (\"Exit\", EXIT_APPLICATION);\n fileMenu.add (openXn);\n fileMenu.add (closeXn);\n fileMenu.addSeparator ();\n fileMenu.add (exit);\n\n Menu twMenu = new Menu (\"Tw\");\n getWksp = makeMenuItem (\"Get Workspace\", GET_WORKSPACE);\n getWksp.setEnabled (false);\n twMenu.add (getWksp);\n\n mb.add (fileMenu);\n mb.add (twMenu);\n return mb;\n }",
"private void constructMenuItems()\n\t{\n\t\tthis.saveImageMenuItem = ComponentGenerator.generateMenuItem(\"Save Image\", this, KeyStroke.getKeyStroke(KeyEvent.VK_S, ActionEvent.CTRL_MASK));\n\t\tthis.quitMenuItem = ComponentGenerator.generateMenuItem(\"Quit\", this, KeyStroke.getKeyStroke(KeyEvent.VK_Q, ActionEvent.CTRL_MASK));\n\t\tthis.undoMenuItem = ComponentGenerator.generateMenuItem(\"Undo\", this, KeyStroke.getKeyStroke(KeyEvent.VK_Z, ActionEvent.CTRL_MASK));\n\t\tthis.redoMenuItem = ComponentGenerator.generateMenuItem(\"Redo\", this, KeyStroke.getKeyStroke(KeyEvent.VK_Y, ActionEvent.CTRL_MASK));\n\t\tthis.removeImageMenuItem = ComponentGenerator.generateMenuItem(\"Remove Image from Case\", this);\n\t\tthis.antiAliasMenuItem = ComponentGenerator.generateMenuItem(\"Apply Anti Aliasing\", this);\n\t\tthis.brightenMenuItem = ComponentGenerator.generateMenuItem(\"Brighten by 10%\", this);\n\t\tthis.darkenMenuItem = ComponentGenerator.generateMenuItem(\"Darken by 10%\", this);\n\t\tthis.grayscaleMenuItem = ComponentGenerator.generateMenuItem(\"Convert to Grayscale\", this);\n\t\tthis.resizeMenuItem = ComponentGenerator.generateMenuItem(\"Resize Image\", this);\n\t\tthis.cropMenuItem = ComponentGenerator.generateMenuItem(\"Crop Image\", this);\n\t\tthis.rotate90MenuItem = ComponentGenerator.generateMenuItem(\"Rotate Image 90\\u00b0 Right\", this);\n\t\tthis.rotate180MenuItem = ComponentGenerator.generateMenuItem(\"Rotate Image 180\\u00b0 Right\", this);\n\t\tthis.rotate270MenuItem = ComponentGenerator.generateMenuItem(\"Rotate Image 270\\u00b0 Right\", this);\n\t}",
"private void initMenu()\n {\n bar = new JMenuBar();\n fileMenu = new JMenu(\"File\");\n crawlerMenu = new JMenu(\"Crawler\"); \n aboutMenu = new JMenu(\"About\");\n \n bar.add(fileMenu);\n bar.add(crawlerMenu);\n bar.add(aboutMenu);\n \n exit = new JMenuItem(\"Exit\");\n preferences = new JMenuItem(\"Preferences\");\n author = new JMenuItem(\"Author\");\n startCrawlerItem = new JMenuItem(\"Start\");\n stopCrawlerItem = new JMenuItem(\"Stop\");\n newIndexItem = new JMenuItem(\"New index\");\n openIndexItem = new JMenuItem(\"Open index\");\n \n stopCrawlerItem.setEnabled(false);\n \n fileMenu.add(newIndexItem);\n fileMenu.add(openIndexItem);\n fileMenu.add(exit);\n aboutMenu.add(author);\n crawlerMenu.add(startCrawlerItem);\n crawlerMenu.add(stopCrawlerItem);\n crawlerMenu.add(preferences);\n \n author.addActionListener(this);\n preferences.addActionListener(this);\n exit.addActionListener(this);\n startCrawlerItem.addActionListener(this);\n stopCrawlerItem.addActionListener(this);\n newIndexItem.addActionListener(this);\n openIndexItem.addActionListener(this);\n \n frame.setJMenuBar(bar);\n }",
"public Menu() {\r\n \r\n ingresaVehiculo (); \r\n }",
"public Menu(String name) {\n// categoryIndex=categoryIterator;\n// categoryIterator++;\n categoryMenu = new ArrayList<>();\n this.name = name;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\tgetMenuInflater().inflate(R.menu.questionnaire, menu);\n\n\t\treturn true;\n\n\t}",
"public MenuPrincipal() {\n initComponents();\n \n }",
"public StockApp()\n {\n reader = new InputReader();\n manager = new StockManager();\n menuSetup();\n }",
"private void initializeMenuForListView() {\n\t\tMenuItem sItem = new MenuItem(labels.get(Labels.PROP_INFO_ADD_S_MENU));\n\t\tsItem.setOnAction(event ->\n\t\t\taddSAction()\n\t\t);\n\t\t\n\t\tMenuItem scItem = new MenuItem(labels.get(Labels.PROP_INFO_ADD_SC_MENU));\n\t\tscItem.setOnAction(event ->\n\t\t\t\taddScAction()\n\t\t);\n\t\t\n\t\tContextMenu menu = new ContextMenu(sItem, scItem);\n\t\tfirstListView.setContextMenu(menu);\n\t\tsecondListView.setContextMenu(menu);\n\t}",
"private void initMenuOptions(IUserAccount user, JPanel optionPanel) {\n\n String startNewTransactionButtonText = languageRB.getString(\"startNewTransactionButtonText\");\n String myItemsButtonText = languageRB.getString(\"myItemsButtonText\");\n String myTradesButtonText = languageRB.getString(\"myTradesButtonText\");\n String myAccountButtonText = languageRB.getString(\"myAccountButtonText\");\n String manageUserButtonText = languageRB.getString(\"manageUserButtonText\");\n String newMessagesButtonText = languageRB.getString(\"newMessagesButtonText\");\n String logOutButtonText = languageRB.getString(\"logOutButtonText\");\n\n JButton startNewTrans = new JButton(startNewTransactionButtonText);\n JButton myItems = new JButton(myItemsButtonText);\n JButton myTrades = new JButton(myTradesButtonText);\n JButton myAccount = new JButton(myAccountButtonText);\n JButton manageUser = new JButton(manageUserButtonText);\n JButton newMessages = new JButton(newMessagesButtonText);\n JButton logOut = new JButton(logOutButtonText);\n\n startNewTrans.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n SelectTradeType.MenuScreen(user, languageRB);\n menuFrame.setVisible(false);\n }\n });\n myItems.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n MyItemsMenu.MenuScreen(user, languageRB);\n menuFrame.setVisible(false);\n }\n });\n myTrades.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n MyTradesMenu.MenuScreen(user, languageRB);\n menuFrame.setVisible(false);\n }\n });\n myAccount.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n MyAccountMenu.MenuScreen(user, languageRB);\n menuFrame.setVisible(false);\n }\n });\n manageUser.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n ManageUserMenu.MenuScreen(user, languageRB);\n menuFrame.setVisible(false);\n }\n });\n newMessages.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n NewMessagesInterface.MenuScreen(user, languageRB);\n menuFrame.setVisible(false);\n }\n });\n logOut.addActionListener(new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n new LoginMenu(languageRB);\n menuFrame.setVisible(false);\n }\n });\n\n if (!user.getStatus().equals(\"Guest\")) {\n uiNavigator.formatButtonSize(startNewTrans, optionPanel);\n uiNavigator.formatButtonSize(myTrades, optionPanel);\n uiNavigator.formatButtonSize(newMessages, optionPanel);\n }\n uiNavigator.formatButtonSize(myItems, optionPanel);\n uiNavigator.formatButtonSize(myAccount, optionPanel);\n if (user.getStatus().equals(\"Admin\")){\n uiNavigator.formatButtonSize(manageUser, optionPanel);\n }\n uiNavigator.formatButtonSize(logOut, optionPanel);\n }",
"public menu() {\n initComponents();\n }",
"public menu() {\n initComponents();\n }",
"public ItemMenu(JDealsController sysCtrl) {\n super(\"Item Menu\", sysCtrl);\n\n this.addItem(\"Add general good\", new Callable() {\n @Override\n public Object call() throws Exception {\n return addItem(ProductTypes.GOODS);\n }\n });\n this.addItem(\"Restourant Event\", new Callable() {\n @Override\n public Object call() throws Exception {\n return addItem(ProductTypes.RESTOURANT);\n }\n });\n this.addItem(\"Travel Event\", new Callable() {\n @Override\n public Object call() throws Exception {\n return addItem(ProductTypes.TRAVEL);\n }\n });\n }",
"public void setUpEditMenu() {\n add(editMenu);\n\n //editMenu.add(cutItem);\n //editMenu.add(copyItem);\n //editMenu.add(pasteItem);\n //editMenu.addSeparator();\n clearAllItems.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n world.deleteAllEntities();\n }\n });\n editMenu.add(clearAllItems);\n editMenu.addSeparator();\n JMenuItem loadVectors = new JMenuItem(\"Load stimulus vectors...\");\n loadVectors.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n SFileChooser chooser = new SFileChooser(\".\", \"Load vectors\");\n File theFile = chooser.showOpenDialog();\n if (theFile != null) {\n double[][] vecs = Utils.getDoubleMatrix(theFile);\n world.loadStimulusVectors(vecs);\n }\n }\n });\n editMenu.add(loadVectors);\n\n }",
"public ItemMenu() {\n super(null, null);\n }",
"public Menu(String nameVV, double priceVV, String descriptionVV, String categoryVV, LocalDate dateVV)\n {\n myNameVV = nameVV;\n myPriceVV = priceVV;\n myDescriptionVV = descriptionVV;\n myCategoryVV = categoryVV;\n myDateVV = dateVV;\n }",
"private void buildMenu() {\n JMenuBar mbar = new JMenuBar();\n setJMenuBar(mbar);\n\n JMenu fileMenu = new JMenu(\"File\");\n fileMenu.addMenuListener(this);\n\n JMenuItem openItem = new JMenuItem(\"Open\");\n openItem.setEnabled(false);\n JMenuItem newItem = new JMenuItem(\"New\");\n newItem.setEnabled(false);\n saveItem = new JMenuItem(\"Save\");\n saveItem.setEnabled(false);\n saveAsItem = new JMenuItem(\"Save As\");\n saveAsItem.setEnabled(false);\n reloadCalItem = new JMenuItem(RELOAD_CAL);\n exitItem = new JMenuItem(EXIT);\n\n mbar.add(makeMenu(fileMenu, new Object[]{newItem, openItem, null,\n reloadCalItem, null,\n saveItem, saveAsItem, null, exitItem}, this));\n\n JMenu viewMenu = new JMenu(\"View\");\n mbar.add(viewMenu);\n JMenuItem columnItem = new JMenuItem(COLUMNS);\n columnItem.addActionListener(this);\n JMenuItem logItem = new JMenuItem(LOG);\n logItem.addActionListener(this);\n JMenu satMenu = new JMenu(\"Satellite Image\");\n JMenuItem irItem = new JMenuItem(INFRA_RED);\n irItem.addActionListener(this);\n JMenuItem wvItem = new JMenuItem(WATER_VAPOUR);\n wvItem.addActionListener(this);\n satMenu.add(irItem);\n satMenu.add(wvItem);\n viewMenu.add(columnItem);\n viewMenu.add(logItem);\n viewMenu.add(satMenu);\n\n observability = new JCheckBoxMenuItem(\"Observability\", true);\n observability.setToolTipText(\"Check that the source is observable.\");\n remaining = new JCheckBoxMenuItem(\"Remaining\", true);\n remaining.setToolTipText(\n \"Check that the MSB has repeats remaining to be observed.\");\n allocation = new JCheckBoxMenuItem(\"Allocation\", true);\n allocation.setToolTipText(\n \"Check that the project still has sufficient time allocated.\");\n\n String ZOA = System.getProperty(\"ZOA\", \"true\");\n boolean tickZOA = true;\n if (\"false\".equalsIgnoreCase(ZOA)) {\n tickZOA = false;\n }\n\n zoneOfAvoidance = new JCheckBoxMenuItem(\"Zone of Avoidance\", tickZOA);\n localQuerytool.setZoneOfAvoidanceConstraint(!tickZOA);\n\n disableAll = new JCheckBoxMenuItem(\"Disable All\", false);\n JMenuItem cutItem = new JMenuItem(\"Cut\",\n new ImageIcon(ClassLoader.getSystemResource(\"cut.gif\")));\n cutItem.setEnabled(false);\n JMenuItem copyItem = new JMenuItem(\"Copy\",\n new ImageIcon(ClassLoader.getSystemResource(\"copy.gif\")));\n copyItem.setEnabled(false);\n JMenuItem pasteItem = new JMenuItem(\"Paste\",\n new ImageIcon(ClassLoader.getSystemResource(\"paste.gif\")));\n pasteItem.setEnabled(false);\n\n mbar.add(makeMenu(\"Edit\",\n new Object[]{\n cutItem,\n copyItem,\n pasteItem,\n null,\n makeMenu(\"Constraints\", new Object[]{observability,\n remaining, allocation, zoneOfAvoidance, null,\n disableAll}, this)}, this));\n\n mbar.add(SampClient.getInstance().buildMenu(this, sorter, table));\n\n JMenu helpMenu = new JMenu(\"Help\");\n helpMenu.setMnemonic('H');\n\n mbar.add(makeMenu(helpMenu, new Object[]{new JMenuItem(INDEX, 'I'),\n new JMenuItem(ABOUT, 'A')}, this));\n\n menuBuilt = true;\n }",
"@Override\n public void initialize(URL url, ResourceBundle rb) {\n model=DomainController.getInstance();\n addDataToChoiceBox();\n \n }",
"public MainMenu() {\n super();\n }",
"public void init() {\n addStringOption(\"extractionId\", \"Extraction ID\", \"\");\n addStringOption(WORKFLOW_ID, \"Workflow ID\", \"\");\n addEditableComboBoxOption(LIMSConnection.WORKFLOW_LOCUS_FIELD.getCode(), \"Locus\", \"None\", SAMPLE_LOCI);\n addDateOption(\"date\", \"Date\", new Date());\n\n\n addComboBoxOption(RUN_STATUS, \"Reaction state\", STATUS_VALUES, STATUS_VALUES[0]);\n\n addLabel(\"\");\n addPrimerSelectionOption(PRIMER_OPTION_ID, \"Forward Primer\", DocumentSelectionOption.FolderOrDocuments.EMPTY, false, Collections.<AnnotatedPluginDocument>emptyList());\n addPrimerSelectionOption(PRIMER_REVERSE_OPTION_ID, \"Reverse Primer\", DocumentSelectionOption.FolderOrDocuments.EMPTY, false, Collections.<AnnotatedPluginDocument>emptyList());\n addPrimersButton = addButtonOption(ADD_PRIMER_TO_LOCAL_ID, \"\", \"Add primers to my local database\");\n\n\n List<OptionValue> cocktails = getCocktails();\n\n cocktailOption = addComboBoxOption(COCKTAIL_OPTION_ID, \"Reaction Cocktail\", cocktails, cocktails.get(0));\n\n updateCocktailOption(cocktailOption);\n\n cocktailButton = new ButtonOption(COCKTAIL_BUTTON_ID, \"\", \"Edit Cocktails\");\n cocktailButton.setSpanningComponent(true);\n addCustomOption(cocktailButton);\n Options.OptionValue[] cleanupValues = new OptionValue[] {new OptionValue(\"true\", \"Yes\"), new OptionValue(\"false\", \"No\")};\n ComboBoxOption cleanupOption = addComboBoxOption(\"cleanupPerformed\", \"Cleanup performed\", cleanupValues, cleanupValues[1]);\n StringOption cleanupMethodOption = addStringOption(\"cleanupMethod\", \"Cleanup method\", \"\");\n cleanupMethodOption.setDisabledValue(\"\");\n addStringOption(\"technician\", \"Technician\", \"\", \"May be blank\");\n cleanupOption.addDependent(cleanupMethodOption, cleanupValues[0]);\n TextAreaOption notes = new TextAreaOption(\"notes\", \"Notes\", \"\");\n addCustomOption(notes);\n\n labelOption = new LabelOption(LABEL_OPTION_ID, \"Total Volume of Reaction: 0uL\");\n addCustomOption(labelOption);\n }",
"private void createMenus() {\n\t\tJMenuBar menuBar = new JMenuBar();\n\n\t\tfileMenu = new JMenu(flp.getString(\"file\"));\n\t\tmenuBar.add(fileMenu);\n\n\t\tfileMenu.add(new JMenuItem(new ActionNewDocument(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionOpen(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionSave(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionSaveAs(flp, this)));\n\t\tfileMenu.addSeparator();\n\t\tfileMenu.add(new JMenuItem(new ActionExit(flp, this)));\n\t\tfileMenu.add(new JMenuItem(new ActionStatistics(flp, this)));\n\n\t\teditMenu = new JMenu(flp.getString(\"edit\"));\n\n\t\teditMenu.add(new JMenuItem(new ActionCut(flp, this)));\n\t\teditMenu.add(new JMenuItem(new ActionCopy(flp, this)));\n\t\teditMenu.add(new JMenuItem(new ActionPaste(flp, this)));\n\n\t\ttoolsMenu = new JMenu(flp.getString(\"tools\"));\n\n\t\titemInvert = new JMenuItem(new ActionInvertCase(flp, this));\n\t\titemInvert.setEnabled(false);\n\t\ttoolsMenu.add(itemInvert);\n\n\t\titemLower = new JMenuItem(new ActionLowerCase(flp, this));\n\t\titemLower.setEnabled(false);\n\t\ttoolsMenu.add(itemLower);\n\n\t\titemUpper = new JMenuItem(new ActionUpperCase(flp, this));\n\t\titemUpper.setEnabled(false);\n\t\ttoolsMenu.add(itemUpper);\n\n\t\tsortMenu = new JMenu(flp.getString(\"sort\"));\n\t\tsortMenu.add(new JMenuItem(new ActionSortAscending(flp, this)));\n\t\tsortMenu.add(new JMenuItem(new ActionSortDescending(flp, this)));\n\n\t\tmenuBar.add(editMenu);\n\t\tmenuBar.add(createLanguageMenu());\n\t\tmenuBar.add(toolsMenu);\n\t\tmenuBar.add(sortMenu);\n\n\t\tthis.setJMenuBar(menuBar);\n\t}",
"private void setMenu() {\n\n if (tree.isEmpty() || !treeGrid.anySelected()) {\n mainMenu.setItems(newMenuItem, new MenuItemSeparator(), settingMenuItem, searchMenuItem, correlationDiagramMenuItem, progMenuItem);\n } else if (treeGrid.getSelectedRecord() == null) {\n mainMenu.setItems(renameMenuItem, searchMenuItem, correlationDiagramMenuItem, progMenuItem);\n } else if (treeGrid.getSelectedRecords().length > 1) {\n ListGridRecord[] selectedNode = treeGrid.getSelectedRecords();\n if (isSameExtension(selectedNode, Extension.FP)) {\n mainMenu.setItems(deleteMenu, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, progMenuItem, exportMenuItem);\n } else if (isSameExtension(selectedNode, Extension.FPS)) {\n mainMenu.setItems(newFPItem, deleteMenu, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, progMenuItem);\n } else if (isSameExtension(selectedNode, Extension.BPS)) {\n mainMenu.setItems(newBPItem, deleteMenu, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, progMenuItem);\n } else if (isSameExtension(selectedNode, Extension.SCSS)) {\n mainMenu.setItems(newSCSItem, deleteMenu, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, progMenuItem);\n } else {\n mainMenu.setItems(deleteMenu, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, progMenuItem);\n }\n } else if (tree.isFolder(treeGrid.getSelectedRecord())) {\n mainMenu.setItems(newMenuItem, deleteMenu, renameMenuItem, copyMenuItem, pasteMenuItem, searchMenuItem, correlationDiagramMenuItem, progMenuItem, downloadMenuItem,\n copyPathMenuItem);\n } else {\n FileTreeNode selectedNode = (FileTreeNode) treeGrid.getSelectedRecord();\n VMResource resource = selectedNode.getResource();\n if (resource instanceof VMDirectory) {\n return;\n }\n Extension extension = ((VMFile) resource).getExtension();\n if (extension == null) {\n mainMenu.setItems(openWithMenuItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n } else\n switch (extension) {\n case ARC:\n mainMenu.setItems(newBPSItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case FM:\n mainMenu.setItems(newFMCItem, newTCItem, newFPSItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case FMC:\n mainMenu.setItems(deleteMenu, renameMenuItem, historyMenuItem, downloadMenuItem, searchMenuItem, correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case TC:\n mainMenu.setItems(newTCItem, newFPSItem, deleteMenu, renameMenuItem, historyMenuItem, downloadMenuItem, searchMenuItem, correlationDiagramMenuItem,\n copyPathMenuItem);\n break;\n case FPS:\n mainMenu.setItems(newFPItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case FP:\n mainMenu.setItems(newSPQLItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, exportMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case BPS:\n mainMenu.setItems(newBPItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case BP:\n mainMenu.setItems(newSPQLItem, deleteMenu, renameMenuItem, historyMenuItem, downloadMenuItem, searchMenuItem, correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case SCSS:\n mainMenu.setItems(newSCSItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n case SCS:\n mainMenu.setItems(newSPQLItem, deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem,\n correlationDiagramMenuItem, copyPathMenuItem);\n break;\n default:\n mainMenu.setItems(deleteMenu, renameMenuItem, historyMenuItem, copyMenuItem, pasteMenuItem, downloadMenuItem, searchMenuItem, correlationDiagramMenuItem,\n copyPathMenuItem);\n break;\n }\n }\n }",
"private MenuManager() {\r\n\r\n\t\t\tmenubar = new Menu(shell, SWT.BAR);\r\n\t\t\tshell.setMenuBar(menubar);\r\n\t\t}",
"public Menu createToolsMenu();",
"public Menu createViewMenu();",
"private static void createMenu(Scanner scanner) {\n\t\tSystem.out.println(\"\\n----------QUIZ MANAGER----------\");\n\t\tSystem.out.println(\"1. Create questions.\");\n\t\tSystem.out.println(\"2. Quiz view.\");\n\t\tSystem.out.println(\"3. Exit.\");\n\t\tSystem.out.println(\"Please choose an option: \");\n\t}",
"public LibrarianMenu() {\n initComponents();\n }",
"public MenuAnalyzer(){\n\t\tstopWords = StandardAnalyzer.STOP_WORDS_SET;\n\t\tinitModel();\n\t\ttagger = new POSTaggerME(model);\n\t}",
"private void init() {\n StateManager.setState(new MenuState());\n }",
"@Override\n public void initialize(URL url, ResourceBundle rb) {\n // Repartos\n// initializeMainMenu();\n connectMainMenuClickActions();\n \n initFirstMenu();\n }",
"public void createmenu(){\n\n\n Context context = getApplicationContext();\n menuadpater = new MenuAdapter(context);\n\n MENULIST.setAdapter(menuadpater);\n\n\n }",
"public static void registerMenuItems(SIPCommMenu parentMenu)\n {\n if(protocolProviderListener == null)\n {\n protocolProviderListener = new ProtocolProviderListener(parentMenu);\n GuiActivator.bundleContext\n .addServiceListener(protocolProviderListener);\n }\n\n for (ProtocolProviderFactory providerFactory : GuiActivator\n .getProtocolProviderFactories().values())\n {\n for (AccountID accountID : providerFactory.getRegisteredAccounts())\n {\n ServiceReference<ProtocolProviderService> serRef\n = providerFactory.getProviderForAccount(accountID);\n ProtocolProviderService protocolProvider\n = GuiActivator.bundleContext.getService(serRef);\n\n addAccountInternal(protocolProvider, parentMenu);\n }\n }\n\n // if we are in disabled menu mode and we have only one item\n // change its name (like global auto answer)\n if( ConfigurationUtils.isAutoAnswerDisableSubmenu()\n && getAutoAnswerItemCount(parentMenu) == 1)\n {\n updateItem(getAutoAnswerItem(parentMenu, 0), true);\n }\n }",
"private void initOptionsMenu() {\n final Function<Float, Void> changeAlpha = new Function<Float, Void>() {\n @Override\n public Void apply(Float input) {\n skyAlpha = Math.round(input);\n return null;\n }\n };\n\n final Function<Float, Void> changeMaxConfidence = new Function<Float, Void>() {\n @Override\n public Void apply(Float input) {\n options.confidenceThreshold = input;\n return null;\n }\n };\n\n bottomSheet = findViewById(R.id.option_menu);\n bottomSheet.setVisibility(View.VISIBLE);\n bottomSheet\n .withSlider(\"Alpha\", ALPHA_MAX, skyAlpha, changeAlpha, 1f)\n .withSlider(\"Confidence Threshold\", 1, options.confidenceThreshold, changeMaxConfidence);\n }",
"@Override\r\n\tpublic void createMenu(Menu menu) {\n\r\n\t}",
"@Override\n\tpublic void initialize(URL arg0, ResourceBundle arg1) {\n\n\t\thome = new MenuItem(\"Home Page\");\n\t\thome.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\tpublic void handle(ActionEvent t) {\n\t\t\t\tApplication_Navigator.loadVista(Application_Navigator.CREDENTIALS);\n\n\t\t\t}\n\t\t}); \n\n\t\t\n\t\tnewuser = new MenuItem(\"New User\");\n\t\tnewuser.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\tpublic void handle(ActionEvent t) {\n\t\t\t\tSystem.out.println(\"Calling New User window\");\n\t\t\t\tApplication_Navigator.loadVista(Application_Navigator.NEWUSER);\n\t\t\t}\n\t\t}); \n\t\t\n\t\t\n\t\texit = new MenuItem(\"Exit Application\");\n\t\texit.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\tpublic void handle(ActionEvent t) {\n\t\t\t\tSystem.out.println(\"quitting\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}); \n\n\t\t\n\t\tMain.getItems().add(home);\n\t\n\t\tMain.getItems().add(newuser);\n\n\t\tMain.getItems().add(exit);\n\t\t\n\n\t\t//---------------------------- Actions Menu Drop down --------------------------------\n\n\t\thistory = new MenuItem(\"View History\");\n\t\thistory.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\tpublic void handle(ActionEvent t) { \t\n\t\t\t\t// open the default web browser for the HTML page\n\t\t\t\ttry {\n\t\t\t\t\tURL webURL = new URL(\"http://webdevelopmentdev.azurewebsites.net/\");\n\t\t\t\t\tDesktop.getDesktop().browse(webURL.toURI());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t} catch (URISyntaxException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}); \n\n\t\tActions.getItems().add(history);\n\n\t\tbrowser = new MenuItem(\"View Browser\");\n\t\tbrowser.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\tpublic void handle(ActionEvent t) {\n\t\t\t\tSystem.out.println(\"Inside the browser\");\n\n\t\t\t\tApplication_Navigator.loadVista(Application_Navigator.BROWSER);\n\t\t\t}\n\t\t}); \n\n\t\tActions.getItems().add(browser);\n\t\tbrowser.setDisable(true);\n\t\t\n\t\tissue = new MenuItem(\"Report Issue\");\n\t\tissue.setOnAction(new EventHandler<ActionEvent>() {\n\t\t\tpublic void handle(ActionEvent t) {\n\t\t\t\tApplication_Navigator.loadVista(Application_Navigator.ISSUE);\n\t\t\t}\n\t\t}); \n\n\t\tActions.getItems().add(issue);\n\n\t\tStartConnection();\n\t}",
"public MenuItem(){\n\n }",
"private void setUpMenu() {\n\t\tresideMenu = new ResideMenu(this);\n\t\tresideMenu.setBackground(R.drawable.menu_background);\n\t\tresideMenu.attachToActivity(this);\n\t\tresideMenu.setMenuListener(menuListener);\n\t\t// valid scale factor is between 0.0f and 1.0f. leftmenu'width is\n\t\t// 150dip.\n\t\tresideMenu.setScaleValue(0.6f);\n\n\t\t// create menu items;\n\t\titemGame = new ResideMenuItem(this, R.drawable.icon_game,\n\t\t\t\tgetResources().getString(R.string.strGame));\n\t\titemBook = new ResideMenuItem(this, R.drawable.icon_book,\n\t\t\t\tgetResources().getString(R.string.strBook));\n\t\titemNews = new ResideMenuItem(this, R.drawable.icon_news,\n\t\t\t\tgetResources().getString(R.string.strNews));\n\t\t// itemSettings = new ResideMenuItem(this, R.drawable.icon_setting,\n\t\t// getResources().getString(R.string.strSetting));\n\t\titemLogin = new ResideMenuItem(this, R.drawable.icon_share,\n\t\t\t\tgetResources().getString(R.string.strShare));\n\t\titemBookPDF = new ResideMenuItem(this, R.drawable.icon_bookpdf,\n\t\t\t\tgetResources().getString(R.string.strBookPDF));\n\t\titemMore = new ResideMenuItem(this, R.drawable.icon_more,\n\t\t\t\tgetResources().getString(R.string.strMore));\n\n\t\titemGame.setOnClickListener(this);\n\t\titemBook.setOnClickListener(this);\n\t\titemNews.setOnClickListener(this);\n\t\t// itemSettings.setOnClickListener(this);\n\t\titemBookPDF.setOnClickListener(this);\n\t\titemMore.setOnClickListener(this);\n\t\titemLogin.setOnClickListener(this);\n\n\t\tresideMenu.addMenuItem(itemBookPDF, ResideMenu.DIRECTION_LEFT);\n\t\tresideMenu.addMenuItem(itemBook, ResideMenu.DIRECTION_LEFT);\n\t\tresideMenu.addMenuItem(itemNews, ResideMenu.DIRECTION_LEFT);\n\t\t// resideMenu.addMenuItem(itemSettings, ResideMenu.DIRECTION_RIGHT);\n\n\t\tresideMenu.addMenuItem(itemGame, ResideMenu.DIRECTION_RIGHT);\n\t\tresideMenu.addMenuItem(itemLogin, ResideMenu.DIRECTION_RIGHT);\n\t\tresideMenu.addMenuItem(itemMore, ResideMenu.DIRECTION_RIGHT);\n\n\t\t// You can disable a direction by setting ->\n\t\t// resideMenu.setSwipeDirectionDisable(ResideMenu.DIRECTION_RIGHT);\n\n\t\tfindViewById(R.id.title_bar_left_menu).setOnClickListener(\n\t\t\t\tnew View.OnClickListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View view) {\n\t\t\t\t\t\tresideMenu.openMenu(ResideMenu.DIRECTION_LEFT);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\tfindViewById(R.id.title_bar_right_menu).setOnClickListener(\n\t\t\t\tnew View.OnClickListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View view) {\n\t\t\t\t\t\tresideMenu.openMenu(ResideMenu.DIRECTION_RIGHT);\n\t\t\t\t\t}\n\t\t\t\t});\n\t}",
"public AdminMenu(JDealsController sysCtrl) {\n super(\"Select Menu\", sysCtrl);\n\n this.addItem(\"Admin Panel\", new Callable() {\n @Override\n public Boolean call() throws Exception {\n new AdminCommandList(getSysCtrl()).runMenu();\n return true;\n }\n });\n\n this.addItem(\"Default Menu\", new Callable() {\n @Override\n public Boolean call() throws Exception {\n new UserMenu(getSysCtrl()).runMenu();\n return true;\n }\n });\n }",
"IFormManager createFormManagerForMenu(IForm menu);",
"public Menus( Main mainApp ) {\n this(); // call the default constructor, which must always be called first\n this.mainApp = mainApp; // save the reference to the Main application\n }",
"public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}",
"public SysMenu() {\n this(DSL.name(\"sys_menu\"), null);\n }",
"public GLEnquiry() {\n this.setMenuName(\"Enquiry\");\n// this.setMenuList(new GLChartOfAccountsAnalysisBalancesMenu());\n// this.setMenuList(new GLChartOfAccountsBalancesMenu());\n this.setMenuList(new GLTransactionDaySummaryMI());\n this.setMenuList(new GLTransactionsDetailMI());\n this.setMenuList(new GLTransactionPeriodSummaryMI());\n this.setMenuList(new GLTransactionsSummaryMI());\n }",
"public MenuController() {\r\n\t \r\n\t }",
"protected void initialize() {\n\t\tthis.initializeFileMenu();\n\t\tthis.initializeEditMenu();\n\t\tthis.initializeNavigationMenu();\n\t\tthis.initializeHelpMenu();\n\t}",
"private void createMenus() {\r\n\t\t// File menu\r\n\t\tmenuFile = new JMenu(Constants.C_FILE_MENU_TITLE);\r\n\t\tmenuBar.add(menuFile);\r\n\t\t\r\n\t\tmenuItemExit = new JMenuItem(Constants.C_FILE_ITEM_EXIT_TITLE);\r\n\t\tmenuItemExit.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tactionOnClicExit();\t\t// Action triggered when the Exit item is clicked.\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuFile.add(menuItemExit);\r\n\t\t\r\n\t\t// Help menu\r\n\t\tmenuHelp = new JMenu(Constants.C_HELP_MENU_TITLE);\r\n\t\tmenuBar.add(menuHelp);\r\n\t\t\r\n\t\tmenuItemHelp = new JMenuItem(Constants.C_HELP_ITEM_HELP_TITLE);\r\n\t\tmenuItemHelp.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tactionOnClicHelp();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuHelp.add(menuItemHelp);\r\n\t\t\r\n\t\tmenuItemAbout = new JMenuItem(Constants.C_HELP_ITEM_ABOUT_TITLE);\r\n\t\tmenuItemAbout.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tactionOnClicAbout();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuHelp.add(menuItemAbout);\r\n\t\t\r\n\t\tmenuItemReferences = new JMenuItem(Constants.C_HELP_ITEM_REFERENCES_TITLE);\r\n\t\tmenuItemReferences.addActionListener(new ActionListener() {\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\tactionOnClicReferences();\r\n\t\t\t}\r\n\t\t});\r\n\t\tmenuHelp.add(menuItemReferences);\r\n\t}",
"public MenuTamu() {\n initComponents();\n \n }",
"private void createMenus() {\r\n\t\tJMenuBar menuBar = new JMenuBar();\r\n\t\t\r\n\t\tJMenu fileMenu = new LJMenu(\"file\", flp);\r\n\t\tmenuBar.add(fileMenu);\r\n\t\t\r\n\t\tfileMenu.add(new JMenuItem(createBlankDocument));\r\n\t\tfileMenu.add(new JMenuItem(openDocumentAction));\r\n\t\tfileMenu.add(new JMenuItem(saveDocumentAction));\r\n\t\tfileMenu.add(new JMenuItem(saveDocumentAsAction));\r\n\t\tfileMenu.add(new JMenuItem(closeCurrentTabAction));\r\n\t\tfileMenu.addSeparator();\r\n\t\tfileMenu.add(new JMenuItem(getStatsAction));\r\n\t\tfileMenu.addSeparator();\r\n\t\tfileMenu.add(new JMenuItem(exitAction));\r\n\t\t\r\n\t\tJMenu editMenu = new LJMenu(\"edit\", flp);\r\n\t\tmenuBar.add(editMenu);\r\n\t\t\r\n\t\teditMenu.add(new JMenuItem(copyAction));\r\n\t\teditMenu.add(new JMenuItem(pasteAction));\r\n\t\teditMenu.add(new JMenuItem(cutAction));\r\n\t\t\r\n\t\tJMenu langMenu = new LJMenu(\"lang\", flp);\r\n\t\tJMenuItem hr = new LJMenuItem(\"cro\", flp);\r\n\t\thr.addActionListener((l) -> { \r\n\t\t\tLocalizationProvider.getInstance().setLanguage(\"hr\");\r\n\t\t\tcurrentLang = \"hr\";\r\n\t\t});\r\n\t\t\r\n\t\tlangMenu.add(hr);\r\n\t\tJMenuItem en = new LJMenuItem(\"eng\", flp);\r\n\t\ten.addActionListener((l) -> { \r\n\t\t\t LocalizationProvider.getInstance().setLanguage(\"en\");\r\n\t\t\t currentLang = \"en\";\r\n\t\t});\r\n\t\tlangMenu.add(en);\r\n\t\tJMenuItem de = new LJMenuItem(\"de\", flp);\r\n\t\tde.addActionListener((l) -> { \r\n\t\t\t LocalizationProvider.getInstance().setLanguage(\"de\");\r\n\t\t\t currentLang = \"de\";\r\n\t\t});\r\n\t\tlangMenu.add(de);\r\n\t\tmenuBar.add(langMenu);\r\n\t\t\r\n\t\tJMenu toolsMenu = new LJMenu(\"tools\", flp);\r\n\t\tJMenuItem toUp = new JMenuItem(toUpperCaseAction);\r\n\t\ttoolsMenu.add(toUp);\r\n\t\ttoggable.add(toUp);\r\n\t\ttoUp.setEnabled(false);\r\n\t\tJMenuItem toLow = new JMenuItem(toLowerCaseAction);\r\n\t\ttoolsMenu.add(toLow);\r\n\t\ttoggable.add(toLow);\r\n\t\ttoLow.setEnabled(false);\r\n\t\tJMenuItem inv = new JMenuItem(invertSelected);\r\n\t\ttoolsMenu.add(inv);\r\n\t\ttoggable.add(inv);\r\n\t\tinv.setEnabled(false);\r\n\t\tmenuBar.add(toolsMenu);\r\n\t\t\r\n\t\tJMenu sort = new LJMenu(\"sort\", flp);\r\n\t\tJMenuItem sortAsc = new JMenuItem(sortAscAction);\r\n\t\tsort.add(sortAsc);\r\n\t\ttoggable.add(sortAsc);\r\n\t\tJMenuItem sortDesc = new JMenuItem(sortDescAction);\r\n\t\tsort.add(sortDesc);\r\n\t\ttoggable.add(sortDesc);\r\n\t\tJMenuItem uniq = new JMenuItem(uniqueLinesAction);\r\n\t\ttoolsMenu.add(uniq);\r\n\t\ttoggable.add(uniq);\r\n\t\t\r\n\t\ttoolsMenu.add(sort);\r\n\t\tsetJMenuBar(menuBar);\r\n\r\n\t}",
"@FXML\n private void initialize() {\n \tassert getMainMenu() != null : \"fx:id=\\\"mainMenu\\\" was not injected: check your FXML file 'RootLayout.fxml'.\";\n \tmessages = Messages.getMessages();\n \tMenu settingsMenu = new Menu(messages.getString(\"menu_settings\"));\n \tMenu menuLanguage = new Menu(messages.getString(\"menu_language\"));\n \t\n \tfinal ToggleGroup groupLanguage = new ToggleGroup();\n \tfinal Entry<String, Locale>[] languages = new Entry [] {\n \t\t\tnew SimpleEntry<String, Locale>(\"English\", Messages.enLocale),\n \t\t\tnew SimpleEntry<String, Locale>(\"Slovak\", Messages.skLocale)\n \t};\n \tfor (Entry<String, Locale> language : languages) {\n \t RadioMenuItem itemEffect = new RadioMenuItem(language.getKey());\n \t itemEffect.setSelected((language.getValue()).equals(messages.getLocale()));\n \t itemEffect.setOnAction(handleLanguage(language.getValue()));\n \t itemEffect.setToggleGroup(groupLanguage);\n \t menuLanguage.getItems().add(itemEffect);\n \t}\n \t\n \tsettingsMenu.getItems().add(menuLanguage);\n \tsettingsMenu.getItems().add(new SeparatorMenuItem());\n \t\n \tMenuItem aboutItem = new MenuItem(messages.getString(\"menu_about\"));\n \taboutItem.setOnAction(handleAbout());\n\n \tsettingsMenu.getItems().add(aboutItem);\n \tgetMainMenu().getMenus().add(settingsMenu);\n \n }",
"protected MenuTools() {\r\n\t\tthis(null);\r\n\t}",
"public startingMenu() {\r\n initComponents();\r\n }",
"public void setMenu() {\n\t \n\t\ttop = new JPanel(new FlowLayout(FlowLayout.LEFT));\n\t add(top, BorderLayout.CENTER);\n\t \n\t lPro = new JLabel(\"Projects: \");\n\t top.add(lPro);\n\t \n\t cPro = new JComboBox();\n\t getProject();\n\t\ttop.add(cPro);\n\t\t\n\t\tview = new JButton(\"View Sample\");\n\t\ttop.add(view);\n\t\t\n\t\tbottom = new JPanel(new FlowLayout(FlowLayout.CENTER));\n\t\tadd(bottom, BorderLayout.SOUTH);\n\t\t\n\t\tcancel = new JButton(\"Cancel\");\n\t\tbottom.add(cancel);\n\t\t\n\t\tdownload = new JButton(\"Download\");\n\t\tbottom.add(download);\n\t\t\n\t\tsetActionListener();\t\n\t}",
"@Override\n public void initialize(URL url, ResourceBundle rb) {\n try {\n localConf = JCineFX.leerConf();\n fillUserData();\n userMenuItem.setText(localConf.getUsuarioActual());\n if( JCineFX.getCurrentUser().getUsername().equals(\"guest\") )\n disableInput();\n } catch (Exception ex) {\n System.out.println(ex);\n }\n SalaBuilder.fillSalaChoices(salasChoice, new ArrayList<String>());\n salasChoice.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>() {\n\n @Override\n public void changed(ObservableValue<? extends Number> ov, Number t, Number t1) {\n loadHorarios();\n System.out.println(\"Salachoice changed \" + t1);\n }\n });\n }",
"public OptionsMenu(Quoridor Qu) {\n\t\tsuper(OPTIONS_WINDOW_TITLE);\n\t\tQ = Qu;\n\t\tinitialize();\n\t\tsetVisible(true);\t\n\t}"
]
| [
"0.7098885",
"0.6924937",
"0.6693156",
"0.65474755",
"0.64061165",
"0.6376172",
"0.63730484",
"0.6351512",
"0.6329041",
"0.6299754",
"0.6251181",
"0.62016726",
"0.61666435",
"0.616002",
"0.61597306",
"0.61263555",
"0.612407",
"0.6115157",
"0.6114677",
"0.6102684",
"0.60890836",
"0.60812235",
"0.60804546",
"0.60803306",
"0.6067867",
"0.6051551",
"0.6049784",
"0.6009497",
"0.5998953",
"0.5993514",
"0.5979879",
"0.5975891",
"0.59713256",
"0.59579444",
"0.5949189",
"0.59335536",
"0.5927345",
"0.59255034",
"0.5918093",
"0.59160537",
"0.5912266",
"0.5911679",
"0.59100085",
"0.59100085",
"0.59100085",
"0.59004885",
"0.58978474",
"0.5892072",
"0.5886927",
"0.58597624",
"0.58497983",
"0.5841445",
"0.58409166",
"0.583801",
"0.5833719",
"0.58051145",
"0.5802703",
"0.5802703",
"0.5790882",
"0.5790252",
"0.5790148",
"0.57847035",
"0.57805276",
"0.5777029",
"0.5772801",
"0.5771349",
"0.57707477",
"0.57639605",
"0.57631856",
"0.5761723",
"0.5759615",
"0.57548636",
"0.57493633",
"0.57367146",
"0.57345355",
"0.5720686",
"0.571749",
"0.5711262",
"0.5699667",
"0.5696149",
"0.5694448",
"0.5693651",
"0.56933236",
"0.56905967",
"0.5684463",
"0.5684201",
"0.5683156",
"0.5682805",
"0.5679603",
"0.5676129",
"0.56693035",
"0.5668445",
"0.56657577",
"0.5661769",
"0.56553316",
"0.56537974",
"0.56466115",
"0.5644798",
"0.5644628",
"0.5642937"
]
| 0.64207536 | 4 |
/ Most child classes override this to provide stylized output of their menu choices, as well as a header stating the name of the menu. | public String toString() {
String out = "";
for (int i = 0; i < this.getNumberChoices(); i++) {
MenuChoice thisChoice = this.getChoices().get(i);
out += thisChoice.getIndex() + ") " + thisChoice.getValue() + "\n";
}
return out;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void printMenu() {\n System.out.println(\"\\nChoose an option:\");\n }",
"private void printMenu() {\n\t\tSystem.out.printf(\"\\n********** MiRide System Menu **********\\n\\n\");\n\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Create Car\", \"CC\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Book Car\", \"BC\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Complete Booking\", \"CB\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Display ALL Cars\", \"DA\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Search Specific Car\", \"SS\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Search Available Cars\", \"SA\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Seed Data\", \"SD\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Load Cars\", \"LC\");\n\t\tSystem.out.printf(\"%-30s %s\\n\", \"Exit Program\", \"EX\");\n\t\tSystem.out.println(\"\\nEnter your selection: \");\n\t\tSystem.out.println(\"(Hit enter to cancel any operation)\");\n\t}",
"public static void displayMenu(){\n //*Displays the Menu\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"Food Item\", \"Size\", \"Options\", \"Price\" );\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"---------\", \"----\", \"-------\", \"-----\" );\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"Drink\", \"S,M,L\", \"Sprite, Rootbeer, and Orange Fanta\", \"$5.50 for small, +$.50 for each size increase\\n\" );\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"Burger\", \"N/A\", \"Extra Patty, bacon, cheese, lettuce\", \"$3.00 for a burger, +$.50 for additional toppings\" );\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"\", \"\", \"tomato, pickles, onions\", \"\\n\" );\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"Pizza\", \"S,M,L\", \"Pepperoni, sausage, peppers, chicken\", \"$5.00 for small, +$2.50 for each size increase,\" );\n System.out.printf( \"%-15s%-10s%-40s%-5s\\n\", \"\", \"\", \"salami, tomatoes, olives, anchovies\", \"+$1.00 for each extra topping\" );\n }",
"public static void menu() {\n\t\tSystem.out.println(\"Menu:\");\n\t\tSystem.out.println(\"1: Create\");\n\t\tSystem.out.println(\"2: Merge\");\n\t\tSystem.out.println(\"3: Collection\");\n\t\tSystem.out.println(\"4: Upgrades\");\n\t\tSystem.out.println(\"5: Sell\");\n\t\tSystem.out.println(\"6: Identify Crystal\");\n\t\tSystem.out.println(\"\");\n\t}",
"private void printMenu() {\n\t\tSystem.out.println(\"Select an option :\\n----------------\");\n\t\tfor (int i = 0, size = OPTIONS.size(); i < size; i++) {\n\t\t\tSystem.out.println(OPTIONS.get(i));\n\t\t}\n\t}",
"public static void inventoryMenuHeader() {\n System.out.print(\"Welcome to Inventory Menu!\\nType \\\"help\\\" for Inventory menu commands\\n\");\n }",
"private static String getMenu() { // method name changes Get_menu to getMenu()\r\n\t\tStringBuilder sb = new StringBuilder();\r\n\t\t\r\n\t\tsb.append(\"\\nLibrary Main Menu\\n\\n\")\r\n\t\t .append(\" M : add member\\n\")\r\n\t\t .append(\" LM : list members\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" B : add book\\n\")\r\n\t\t .append(\" LB : list books\\n\")\r\n\t\t .append(\" FB : fix books\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" L : take out a loan\\n\")\r\n\t\t .append(\" R : return a loan\\n\")\r\n\t\t .append(\" LL : list loans\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" P : pay fine\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\" T : increment date\\n\")\r\n\t\t .append(\" Q : quit\\n\")\r\n\t\t .append(\"\\n\")\r\n\t\t .append(\"Choice : \");\r\n\t\t \r\n\t\treturn sb.toString();\r\n\t}",
"String getMenuName();",
"public static void displayMenu() {\r\n System.out.print(\"\\nName Saver Server Menu\\n\\n\"\r\n +\"1. Add a name\\n2. Remove a name\\n3. List all names\\n\"\r\n +\"4. Check if name recorded\\n5. Exit\\n\\n\"\r\n +\"Enter selection [1-5]:\");\r\n }",
"@Override\r\n public final void display() {\r\n System.out.println(\"\\n\\t===============================================================\");\r\n System.out.println(\"\\tEnter the letter associated with one of the following commands:\");\r\n \r\n for (String[] menuItem : HelpMenuView.menuItems) {\r\n System.out.println(\"\\t \" + menuItem[0] + \"\\t\" + menuItem[1]);\r\n }\r\n System.out.println(\"\\t===============================================================\\n\");\r\n }",
"public static void readMenu(){\n\t\tSystem.out.println(\"Menu....\");\n\t\tSystem.out.println(\"=====================\");\n\t\tSystem.out.println(\"1. Book A Ticket\\t2. See Settings\\n3. Withdraw\\t4. Deposit\");\n\n\t}",
"public static void printMenu(){\n System.out.print(\"1. List all writing groups\\n\" +\n \"2. List all the data for one writing group\\n\"+\n \"3. List all publishers\\n\"+\n \"4. List all the data for one publisher\\n\"+\n \"5. List all books\\n\"+\n \"6. List all the data for one book\\n\"+\n \"7. Insert new book\\n\"+\n \"8. Insert new publisher\\n\"+\n \"9. Remove a book\\n\"+\n \"10. Quit\\n\\n\");\n }",
"private void displayMenu() {\r\n\t\tif (this.user instanceof Administrator) {\r\n\t\t\tnew AdminMenu(this.database, (Administrator) this.user);\r\n\t\t} else {\r\n\t\t\tnew BorrowerMenu(this.database);\r\n\t\t}\r\n\t}",
"public static void printMenu() {\n System.out.print(\"\\n(A)dd Item (R)emove Item (F)ind Item (I)nitialize Tree (N)ew Tree (Q)uit\\n\");\n }",
"private void displayOptions() {\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"Main System Menu\");\n\t\tSystem.out.println(\"----------------\");\n\t\tSystem.out.println(\"A)dd polling place\");\n\t\tSystem.out.println(\"C)lose the polls\");\n\t\tSystem.out.println(\"R)esults\");\n\t\tSystem.out.println(\"P)er-polling-place results\");\n\t\tSystem.out.println(\"E)liminate lowest candidate\");\n\t\tSystem.out.println(\"?) display this menu of choices again\");\n\t\tSystem.out.println(\"Q)uit\");\n\t\tSystem.out.println();\n\t}",
"private void displayMenu() {\r\n System.out.println(\"\\nSelect an option from below:\");\r\n System.out.println(\"\\t1. View current listings\");\r\n System.out.println(\"\\t2. List your vehicle\");\r\n System.out.println(\"\\t3. Remove your listing\");\r\n System.out.println(\"\\t4. Check if you won bid\");\r\n System.out.println(\"\\t5. Save listings file\");\r\n System.out.println(\"\\t6. Exit application\");\r\n\r\n }",
"public void printMenu()\n\t{\n\t\tSystem.out.println(SearchMenu.MENU_HEAD);\n\t\tSystem.out.println(SearchMenu.TYPE_MESSAGE );\n\t\tSystem.out.println(SearchMenu.QUIT);\n\t\tSystem.out.println(SearchMenu.MENU_TAIL);\n\t\tSystem.out.println(SearchMenu.INPUT_PROMPT);\n\t}",
"void renderNameSelection() {\n //sets the right letters for buttons\n String[] names = {Character.toString(arr[0]), Character.toString(arr[1]), Character.toString(arr[2])};\n changeNames(names);\n selectedButton = menuItems[iH];\n selectedButton.buildSelecter();\n //renders the startscreen\n renderStartScreen();\n }",
"public void setMenuLabel(java.lang.String value);",
"public void printMenu()\n\t{\n\t\tSystem.out.println(ChatMenu.MENU_HEAD);\n\t\tSystem.out.println(ChatMenu.TYPE_MESSAGE + ChatMaintainer.CS().getPartner());\n\t\tSystem.out.println(ChatMenu.QUIT);\n\t\tSystem.out.println(ChatMenu.MENU_TAIL);\n\t\tSystem.out.println(ChatMenu.INPUT_PROMPT);\n\t}",
"public void printMenu()\n\t{\n\t\tSystem.out.println(ChatMenu.MENU_HEAD);\n\t\tSystem.out.println(ChatMenu.TYPE_MESSAGE);\n\t\tSystem.out.println(ChatMenu.QUIT);\n\t\tSystem.out.println(ChatMenu.MENU_TAIL);\n\t\tSystem.out.println(ChatMenu.INPUT_PROMPT);\n\t}",
"private void displayMenu()\r\n {\r\n System.out.println();\r\n System.out.println(\"--------- Main Menu -------------\");\r\n System.out.println(\"(1) Search Cars\");\r\n System.out.println(\"(2) Add Car\");\r\n System.out.println(\"(3) Delete Car\");\r\n System.out.println(\"(4) Exit System\");\r\n System.out.println(\"(5) Edit Cars\");\r\n }",
"public void showMenu() {\n\t\tSystem.out.println(\"Please, choose one option!\");\n\t\tSystem.out.println(\"[ 1 ] - Highest Company Capital\");\n\t\tSystem.out.println(\"[ 2 ] - Lowest Company Capital\");\n\t\tSystem.out.println(\"[ 3 ] - Best Investor of the Day\");\n\t\tSystem.out.println(\"[ 4 ] - Worst Investor of the Day\");\n\t\tSystem.out.println(\"[ 0 ] - Exit\");\n\t}",
"private void printMenu()\n {\n System.out.println(\"\");\n System.out.println(\"*** Salg ***\");\n System.out.println(\"(0) Tilbage\");\n System.out.println(\"(1) Opret\");\n System.out.println(\"(2) Find\");\n System.out.println(\"(3) Slet\");\n System.out.print(\"Valg: \");\n }",
"private void displayMenu() {\n\t\tSystem.out.println(\"********Loan Approval System***********\");\n\t\tSystem.out.println(\"\\n\");\n\t\tSystem.out.println(\n\t\t\t\t\"Choose the following options:\\n(l)Load Applicaitons\\n(s)Set the Budget\\n(m)Make a decision\\n(p)Print\\n(u)Update the application\");\n\n\t}",
"public void menuDisplay() {\n\t\t\n\t\tjava.lang.System.out.println(\"\");\n\t\tjava.lang.System.out.println(\"~~~~~~~~~~~~Display System Menu~~~~~~~~~~~~\");\n\t\tjava.lang.System.out.println(\"**** Enter a Number from the Options Below ****\");\n\t\tjava.lang.System.out.println(\"Choice 1 – Print System Details\\n\" + \n\t\t\t\t\t\t \"Choice 2 - Display System Properties\\n\" +\n\t\t\t\t\t\t \"Choice 3 – Diagnose System\\n\" + \n\t\t\t\t\t\t \"Choice 4 – Set Details\\n\" + \n\t\t\t\t\t\t \"Choice 5 – Quit the program\");\n\t\t\n\t}",
"protected abstract void addMenuOptions();",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getMenuLabel();",
"public void printMenu(List<String> list) {\n\t\t\tSystem.out.println(HEADER);\n\t\t\tfor(String s : list) {\n\t\t\t\tSystem.out.println(s);\n\t\t\t}\n\t\t\tSystem.out.println(HEADER);\n\t\t}",
"public void printMenu()\n {\n String menu = (\"------------- Menu -------------\\nDisplay collection\\nCheck out materials\\nQuit\\n--------------------------------\\nPlease click one of the buttons to the right\");\n jTextPane1.setText(menu);\n jButton1.enableInputMethods(true);\n jButton2.enableInputMethods(true);\n jButton3.enableInputMethods(true);\n jButton4.enableInputMethods(false);\n }",
"public HomePageHelper writeTextOfMenuCommands(){\n System.out.println (\"Quantity of elements: \" + menuCommands.size());\n for(WebElement el : menuCommands){\n System.out.println(\"Name of menu: \" + el.getText());\n }\n return this;\n }",
"public static void f_menu(){\n System.out.println(\"_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\");\n System.out.println(\"_/_/_/_/_/_/softvectorwhith/_/_/_/_/_/_/\");\n System.out.println(\"/_/_/_/version 1.0 2020-oct-29_/_/_/_/_/\");\n System.out.println(\"/_/maked by Andres Felipe Torres Lopez_/\");\n System.out.println(\"_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/\");\n }",
"public Menu displayMenu() {\n return new CMDDisplayMenu(agg).execute();\n }",
"public void showMemberCategoryMenu() {\n System.out.println(\"Visa lista med: \");\n System.out.println(\"\\t1. Barnmedlemmar\");\n System.out.println(\"\\t2. Ungdomsmedlemmar\");\n System.out.println(\"\\t3. Vuxenmedlemmar\");\n System.out.println(\"\\t4. Seniormedlemmar\");\n System.out.println(\"\\t5. VIP-medlemmar\");\n System.out.print(\"Ange val: \");\n }",
"public String getName() {\n\t\treturn MenuString;\n\t}",
"@Override\n public String getMenuTitle() {\n return personManager.getCurrentUsername(currentUserId) + \"'s account settings\";\n }",
"public static void f_menu() {\n System.out.println(\"----------------------------------------\");\n System.out.println(\"--------------DIGITALSOFT---------------\");\n System.out.println(\"-----version:1.0------28/04/2020.-------\");\n System.out.println(\"-----Angel Manuel Correa Rivera---------\");\n System.out.println(\"----------------------------------------\");\n }",
"public static void printMenu(BankAgency ag) {\n\t\tSystem.out.println(\"Menu of \" + ag.getAgencyName() + \" (\" + ag.getAgencyLoc() + \")\");\n\t\tSystem.out.println(\"1 - List of the Agency accounts\");\n\t\tSystem.out.println(\"2 - See an account (by its number)\");\n\t\tSystem.out.println(\"3 - Operation on account\");\n\t\tSystem.out.println(\"4 - Account management\");\n\t\tSystem.out.println(\"0 - Quit\");\n\t\tSystem.out.print(\"Choice -> \");\n\t}",
"private void printLoggedInMenu(){\n\t\tprint(\"Please choose from the options below\"+System.lineSeparator(), \n\t\t\"1.Search Users\", \"2.Search Movies\", \"3.View Feed\", \"4.View Profile\", \"5.Logout\", \"6.Exit\");\n\t}",
"@Override\r\n\t\tpublic void render(com.google.gwt.cell.client.Cell.Context context,\r\n\t\t\t\tMainMenuItem value, SafeHtmlBuilder sb) {\n\t\t\tif(value == null){\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tsb.appendEscaped(value.getName());\r\n\t\t}",
"private void menuSetup()\n {\n menuChoices = new String []\n {\n \"Add a new product\",\n \"Remove a product\",\n \"Rename a product\",\n \"Print all products\",\n \"Deliver a product\",\n \"Sell a product\",\n \"Search for a product\",\n \"Find low-stock products\",\n \"Restock low-stock products\",\n \"Quit the program\" \n };\n }",
"static void displayMenu(){\n\t\tSystem.out.println(\"\");\n\t\tSystem.out.println(\"Select operation:\");\n\t\tSystem.out.println(\"1-List movies\");\n\t\tSystem.out.println(\"2-Show movie details\");\n\t\tSystem.out.println(\"3-Add a movie\");\n\t\tSystem.out.println(\"4-Add an example set of 5 movies\");\n\t\tSystem.out.println(\"5-Exit\");\n\t}",
"public abstract void displayMenu();",
"private void displayMenu() {\n\t\tint option = MenuView.getMenuOption(\n\t\t\t\"Welcome \" + movieGoer.getName() + \"!\",\n\t\t\t\"View movie showtimes\",\n\t\t\t\"Book a ticket\",\n\t\t\t\"View movie details\",\n\t\t\t\"List top 5 movies\",\n\t\t\t\"View booking history\",\n\t\t\t\"Exit\"\n\t\t);\n\t\t\n\t\tswitch (option) {\n\t\t\tcase 1:\n\t\t\t\tNavigationController.load(new ShowTimeController());\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 2:\n\t\t\t\tNavigationController.load(new BookingController(movieGoer));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 3:\n\t\t\t\tNavigationController.load(new MovieController(movieGoer));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t\t\n\t\t\tcase 4:\n\t\t\t\tNavigationController.load(new TopMoviesController());\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 5:\n\t\t\t\tNavigationController.load(new BookingHistoryController(movieGoer));\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\tcase 6:\n\t\t\t\tNavigationController.goBack();\n\t\t\t\tbreak;\n\t\t}\n\t}",
"@Override\n public View getView(int position, View convertView, ViewGroup parent) {\n View view = convertView;\n if (view == null) {\n LayoutInflater vi = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n view = vi.inflate(R.layout.menu_list, null);\n }\n\n ControlsMenuOptions menuItem = items.get(position);\n\n if (menuItem != null) {\n TextView header = (TextView) view.findViewById(R.id.tvMenuItem);\n header.setText(menuItem.getMenuDescription());\n }\n return view;\n }",
"private static void helpMenuLines(){\n setMenuLines(\"\",7,9,11,13,15,16,18,20);\n setMenuLines(\"Welcome to Ben's CMR program. Here are the main commands:\",1);\n setMenuLines(HIGHLIGHT_COLOR + \"new lead\" + ANSI_RESET + \" - Creates a new Lead\",4);\n setMenuLines(HIGHLIGHT_COLOR + \"convert <ID>\" + ANSI_RESET + \" - Converts a Lead into an Opportunity\",6);\n setMenuLines(HIGHLIGHT_COLOR + \"close-won <ID>\" + ANSI_RESET + \" - Close Won Opportunity\",8);\n setMenuLines(HIGHLIGHT_COLOR + \"close-lost <ID>\" + ANSI_RESET + \" - Close Lost Opportunity\",10);\n setMenuLines(HIGHLIGHT_COLOR + \"lookup <OBJECT> <ID>\" + ANSI_RESET + \" - Search for specific Lead, Opportunity, Account or Contact\",12);\n setMenuLines(HIGHLIGHT_COLOR + \"show <OBJECT PLURAL>\" + ANSI_RESET + \" - List all Leads, Opportunities, Accounts or Contacts\",14);\n setMenuLines(HIGHLIGHT_COLOR + \"help\" + ANSI_RESET + \" - Explains usage of available commands\",17);\n setMenuLines(HIGHLIGHT_COLOR + \"save\" + ANSI_RESET + \" - Saves the changed data\",19);\n setMenuLines(HIGHLIGHT_COLOR + \"exit\" + ANSI_RESET + \" - Saves and exits the program\",21);\n }",
"public static void printMenu(String menuChoice, String... params) {\n switch (menuChoice) {\n case \"main\":\n mainMenuLines();\n break;\n case \"help\":\n helpMenuLines();\n break;\n case \"exit\":\n saveBeforeQuit();\n break;\n case \"lead\":\n newLeadLines(params);\n break;\n case \"convert\":\n convertLeadLines(params);\n break;\n }\n clearCommandLine();\n printProgramTitle();\n for (String line : menuLine) {\n print(line);\n }\n printFull();\n }",
"private void printMainMenu(){\n\t\tprint(\"Please choose from the options below\", System.lineSeparator()+\"1.Login\", \"2.Exit\");\n\t}",
"private void displayMenu()\r\n {\r\n System.out.println(\"\\nWelcome to Car Park System\");\r\n System.out.println(\"=============================\");\r\n System.out.println(\"(1)Add a Slot \");\r\n System.out.println(\"(2)Delete a Slot\");\r\n System.out.println(\"(3)List all Slots\");\r\n System.out.println(\"(4)Park a Car\");\r\n System.out.println(\"(5)Find a Car \");\r\n System.out.println(\"(6)Remove a Car\");\r\n System.out.println(\"(7)Exit \");\r\n System.out.println(\"\\nSelect an Option: \");\r\n }",
"public static void listMainMenuOptions(){\n\t\tSystem.out.println(\"\\nWelcome to Vet Clinic Program. Please choose an option from the list below.\\n\");\n\t\tSystem.out.println(\"1: List all staff.\");\n\t\tSystem.out.println(\"2: List staff by category.\");\n\t\tSystem.out.println(\"3: List admin Staff performing a task.\");\n\t\tSystem.out.println(\"4: Search for a specific member of staff by name.\");\n\t\tSystem.out.println(\"5: List all animals.\");\n\t\tSystem.out.println(\"6: List animals by type.\");\n\t\tSystem.out.println(\"7: Search for a specific animal by name.\");\n\t\tSystem.out.println(\"8: See the Queue to the Veterinary\");\n\t\tSystem.out.println(\"9: Exit\");\n\t}",
"private static void MainMenuRec(){\n System.out.println(\"Choose one of the following:\");\n System.out.println(\"-----------------------------\");\n System.out.println(\"1. Book room\");\n System.out.println(\"2. Check-out\");\n System.out.println(\"3. See room list\");\n System.out.println(\"4. Create a new available room\");\n System.out.println(\"5. Delete a room\");\n System.out.println(\"6. Make a room unavailable\");\n System.out.println(\"7. Make a (unavailable) room available\");\n System.out.println(\"8. Back to main menu\");\n System.out.println(\"-----------------------------\");\n }",
"public void displayMenu() {\r\n\t\tSystem.out.println(\"Enter a number between 0 and 8 as explained below: \\n\");\r\n\t\tSystem.out.println(\"[\" + ADD_CUSTOMER + \"] Add a customer.\");\r\n\t\tSystem.out.println(\"[\" + ADD_MODEL + \"] Add a model.\");\r\n\t\tSystem.out.println(\"[\" + ADD_TO_INVENTORY + \"] Add a washer to inventory.\");\r\n\t\tSystem.out.println(\"[\" + PURCHASE + \"] Purchase a washer.\");\r\n\t\tSystem.out.println(\"[\" + LIST_CUSTOMERS + \"] Display all customers.\");\r\n\t\tSystem.out.println(\"[\" + LIST_WASHERS + \"] Display all washers.\");\r\n\t\tSystem.out.println(\"[\" + DISPLAY_TOTAL + \"] Display total sales.\");\r\n\t\tSystem.out.println(\"[\" + SAVE + \"] Save data.\");\r\n\t\tSystem.out.println(\"[\" + EXIT + \"] to Exit\");\r\n\t}",
"private void displayMenu() {\n System.out.println(\"\\nSelect from:\");\n System.out.println(\"\\t1 -> add item to to-do list\");\n System.out.println(\"\\t2 -> remove item from to-do list\");\n System.out.println(\"\\t3 -> view to-do list\");\n System.out.println(\"\\t4 -> save work room to file\");\n System.out.println(\"\\t5 -> load work room from file\");\n System.out.println(\"\\t6 -> quit\");\n }",
"public Menu(String[] choices)\n {\n\t\n\tthis.choices = choices;\n }",
"public void menu() {\n System.out.println(\n \" Warehouse System\\n\"\n + \" Stage 3\\n\\n\"\n + \" +--------------------------------------+\\n\"\n + \" | \" + ADD_CLIENT + \")\\tAdd Client |\\n\"\n + \" | \" + ADD_PRODUCT + \")\\tAdd Product |\\n\"\n + \" | \" + ADD_SUPPLIER + \")\\tAdd Supplier |\\n\"\n + \" | \" + ACCEPT_SHIPMENT + \")\\tAccept Shipment from Supplier |\\n\"\n + \" | \" + ACCEPT_ORDER + \")\\tAccept Order from Client |\\n\"\n + \" | \" + PROCESS_ORDER + \")\\tProcess Order |\\n\"\n + \" | \" + CREATE_INVOICE + \")\\tInvoice from processed Order |\\n\"\n + \" | \" + PAYMENT + \")\\tMake a payment |\\n\"\n + \" | \" + ASSIGN_PRODUCT + \")\\tAssign Product to Supplier |\\n\"\n + \" | \" + UNASSIGN_PRODUCT + \")\\tUnssign Product to Supplier |\\n\"\n + \" | \" + SHOW_CLIENTS + \")\\tShow Clients |\\n\"\n + \" | \" + SHOW_PRODUCTS + \")\\tShow Products |\\n\"\n + \" | \" + SHOW_SUPPLIERS + \")\\tShow Suppliers |\\n\"\n + \" | \" + SHOW_ORDERS + \")\\tShow Orders |\\n\"\n + \" | \" + GET_TRANS + \")\\tGet Transaction of a Client |\\n\"\n + \" | \" + GET_INVOICE + \")\\tGet Invoices of a Client |\\n\"\n + \" | \" + SAVE + \")\\tSave State |\\n\"\n + \" | \" + MENU + \")\\tDisplay Menu |\\n\"\n + \" | \" + EXIT + \")\\tExit |\\n\"\n + \" +--------------------------------------+\\n\");\n }",
"Menu getMenuHelp();",
"public MainMenuView() {\r\n super(\"\\n\" +\r\n \"**************************\\n\" +\r\n \"* CIT 360 - Technologies *\\n\" +\r\n \"**************************\\n\" +\r\n \" 1 - Java Collections\\n\" +\r\n \" 2 - Threads, Executors and Runnables\\n\" +\r\n \" 3 - Application Controller Pattern\\n\" +\r\n \" 4 - MVC\\n\" + \r\n \" 5 - Hibernate\\n\" +\r\n \" 6 - JSON\\n\" +\r\n \" 7 - HttpURLConnection\\n\" +\r\n \" 8 - Quit\\n\", \r\n 8);\r\n }",
"public void menu(){\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"<=======|\" + name + \"|=======>\");\n\t\tSystem.out.println(\"------------------------------------------------\");\n\t\tSystem.out.println(\"1 -> Jouer\");\n\t\tSystem.out.println(\"2 -> Creer votre personnage\");\n\t\tSystem.out.println(\"3 -> Charger\");\n\t\tSystem.out.println(\"4 -> Best Score\");\n\t\tSystem.out.println(\"5 -> Instruction\");\n\t\tSystem.out.println(\"6 -> Quitter\");\n\t\tSystem.out.println(\"------------------------------------------------\");\n\t\tint choice = in.nextInt();\n\n\t\t\tswitch (choice){\n\t\t\t\tcase 1:\n\t\t\t\t\tstartPlay();\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tcreateChar();\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\tchargeGame();\n\t\t\t\tcase 4:\n\t\t\t\t\tSystem.out.print(\" NOM -\");\n\t\t\t\t\tSystem.out.print(\" GENRE -\");\n\t\t\t\t\tSystem.out.print(\" SANTEE -\");\n\t\t\t\t\tSystem.out.print(\" FORCE -\");\n\t\t\t\t\tSystem.out.print(\" ARMES -\");\n\t\t\t\t\tSystem.out.println(\" ARGENT -\");\n\t\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\tbdd.dbQuery(\"SELECT * FROM score ORDER BY health DESC\");\n\t\t\t\t\tmenu();\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5:\n\t\t\t\t\trules();\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6:\n\t\t\t\t\texit();\n\t\t\t\tdefault:\n\t\t\t\t\tSystem.out.println(\"Choix non valide\");\n\t\t\t\t\tmenu();\n\t\t\t}\n\t}",
"public static void listMenuOptions(){\n\n System.out.println(\"Please choose an option:\");\n System.out.println(\"(1) Add a task.\");\n System.out.println(\"(2) Remove a task.\");\n System.out.println(\"(3) Update a task.\");\n System.out.println(\"(4) List all tasks.\");\n System.out.println(\"(0) Exit\");\n }",
"UIFormMenu toUIFormMenu(String heading);",
"static void montaMenu() {\n System.out.println(\"\");\r\n System.out.println(\"1 - Novo cliente\");\r\n System.out.println(\"2 - Lista clientes\");\r\n System.out.println(\"3 - Apagar cliente\");\r\n System.out.println(\"0 - Finalizar\");\r\n System.out.println(\"Digite a opcao desejada: \");\r\n System.out.println(\"\");\r\n }",
"private static void printMainMenu() {\n\t\tprintln(\"Main Menu:\");\n\t\tprintln(\"\\tI: Import Movie <Title>\");\n\t\tprintln(\"\\tD: Delete Movie <Title>\");\n\t\tprintln(\"\\tS: Sort Movies\");\n\t\tprintln(\"\\tA: Sort Actors\");\n\t\tprintln(\"\\tQ: Quit\");\n\t}",
"private void mainMenu() {\n System.out.println(\"Canteen Management System\");\n System.out.println(\"-----------------------\");\n System.out.println(\"1. Show Menu\");\n System.out.println(\"2.AcceptReject\");\n System.out.println(\"3.place orders\");\n System.out.println(\"4.show orders\");\n System.out.println(\"5. Exit\");\n mainMenuDetails();\n }",
"@Override\n\tpublic String menuDescription(Actor actor) {\n\t\treturn actor + \" says \" + speach;\n\t}",
"public void getMenuChoice()\n {\n boolean finished = false;\n \n while(!finished)\n {\n printHeading();\n String choice = Menu.getMenuChoice(menuChoices);\n executeMenuChoice(choice);\n \n if(choice.startsWith(\"quit\"))\n {\n finished = true;\n }\n }\n }",
"public void menu() {\n m.add(\"Go adventuring!!\", this::goAdventuring );\n m.add(\"Display information about your character\", this::displayCharacter );\n m.add(\"Visit shop\", this::goShopping);\n m.add (\"Exit game...\", this::exitGame);\n }",
"public interface MenuNames {\n public static final String FILE = I18N.get(\"ui.MenuNames.FILE\");\n public static final String FILE_NEW = I18N.get(\"ui.MenuNames.FILE.NEW\");\n public static final String FILE_SAVEVIEW = I18N.get(\"ui.MenuNames.FILE.SAVEVIEW\");\n public static final String EDIT = I18N.get(\"ui.MenuNames.EDIT\");\n public static final String TOOLS_EDIT_ATTRIBUTES = I18N.get(\"ui.MenuNames.EDIT\") + \" \" + I18N.get(\"ui.MenuNames.ATTRIBUTS\");\n public static final String TOOLS_EDIT_GEOMETRY = I18N.get(\"ui.MenuNames.EDIT\") + \" \" + I18N.get(\"ui.MenuNames.GEOMETRY\");\n public static final String VIEW = I18N.get(\"ui.MenuNames.VIEW\");\n public static final String MAP_DECORATIONS = I18N.get(\"ui.MenuNames.VIEW.MAP_DECORATIONS\");\n public static final String LAYER = I18N.get(\"ui.MenuNames.LAYER\");\n public static final String TOOLS = I18N.get(\"ui.MenuNames.TOOLS\");\n //public static final String TOOLS_ADVANCED = I18N.get(\"ui.MenuNames.TOOLS.ADVANCED\"); // not used, not translated\n public static final String TOOLS_ANALYSIS = I18N.get(\"ui.MenuNames.TOOLS.ANALYSIS\");\n public static final String TOOLS_GENERALIZATION = I18N.get(\"ui.MenuNames.TOOLS.GENERALIZATION\");\n public static final String TOOLS_GENERATE = I18N.get(\"ui.MenuNames.TOOLS.GENERATE\");\n public static final String TOOLS_JOIN = I18N.get(\"ui.MenuNames.TOOLS.JOIN\");\n public static final String TOOLS_QA = I18N.get(\"ui.MenuNames.TOOLS.QA\");\n public static final String TOOLS_WARP = I18N.get(\"ui.MenuNames.TOOLS.WARP\");\n //public static final String TOOLS_PROGRAMMING =I18N.get(\"ui.MenuNames.TOOLS.PROGRAMMING\");\n public static final String TOOLS_QUERIES =I18N.get(\"org.openjump.core.ui.plugin.queries.SimpleQuery.menu\");\n public static final String WINDOW = I18N.get(\"ui.MenuNames.WINDOW\");\n public static final String RASTERTOOLS = I18N.get(\"ui.MenuNames.RASTER\");\n // Michael Michaud 2008-04-06\n // New menu for synchronization\n public static final String WINDOW_SYNCHRONIZATION = I18N.get(\"ui.MenuNames.WINDOW.SYNCHRONIZATION\");\n public static final String HELP = I18N.get(\"ui.MenuNames.HELP\");\n public static final String PLUGINS = I18N.get(\"ui.MenuNames.PLUGINS\");\n \n // Michael Michaud 2007-03-23\n // New menu for plugin manager, beanshell console, scripts\n public static final String CUSTOMIZE = I18N.get(\"ui.MenuNames.CUSTOMIZE\");\n \n //erwan begin 2005-12-01 --- SIGLE\t\n //Menu\n public static final String ATTRIBUTS = I18N.get(\"ui.MenuNames.ATTRIBUTS\");\n public static final String SELECTION = I18N.get(\"ui.MenuNames.SELECTION\");\n public static final String RASTER = I18N.get(\"ui.MenuNames.RASTER\");\n public static final String STATISTICS = I18N.get(\"ui.MenuNames.STATISTICS\");\n public static final String GEOPROCESSING = \"SIGLE-\" + I18N.get(\"ui.MenuNames.GEOPROCESSING\");\n \n //Submenu\n //public static final String ONELAYER = I18N.get(\"ui.MenuNames.ONELAYER\");\n //public static final String TWOLAYERS = I18N.get(\"ui.MenuNames.TWOLAYERS\");\n \n public static final String CONVERT = I18N.get(\"ui.MenuNames.CONVERT\");\n public static final String EXTRACT = I18N.get(\"ui.MenuNames.EXTRACT\");\n public static final String MERGE = I18N.get(\"ui.MenuNames.MERGE\");\n public static final String GENERALIZATION = I18N.get(\"ui.MenuNames.GENERALIZATION\");\n public static final String TOPOLOGY = I18N.get(\"ui.MenuNames.TOPOLOGY\");\n //public static final String QA = I18N.get(\"ui.MenuNames.QA\"); // see MenuNames.TOOLS_QA\n public static final String DELETE = I18N.get(\"ui.MenuNames.DELETE\");\n public static final String DETECT = I18N.get(\"ui.MenuNames.DETECT\");\n public static final String PLOT = I18N.get(\"ui.MenuNames.PLOT\");\n \t\n //\terwan end 2005-12-01\n // Submenus for LayerName PopupMenu\n public static final String STYLE = I18N.get(\"ui.MenuNames.STYLE\");\n public static final String DATASTORE = I18N.get(\"ui.MenuNames.DATASTORE\");\n public static final String SCHEMA = I18N.get(\"ui.MenuNames.SCHEMA\");\n \n public static final String LAYERVIEWPANEL_POPUP = I18N.get(\"ui.MenuNames.LAYERVIEWPANEL_POPUP\");\n public static final String ATTRIBUTEPANEL_POPUP = I18N.get(\"ui.MenuNames.ATTRIBUTEPANEL_POPUP\");\n public static final String LAYERNAMEPANEL_LAYER_POPUP = I18N.get(\"ui.MenuNames.LAYERNAMEPANEL_LAYER_POPUP\");\n public static final String LAYERNAMEPANEL_CATEGORY_POPUP = I18N.get(\"ui.MenuNames.LAYERNAMEPANEL_CATEGORY_POPUP\");\n}",
"static void listerMenu() {\n System.out.println(\n \"-------------------------------------\\n\" +\n \"Saisir une option :\\n\" +\n \"1 : Liste des hôtes\\n\" +\n \"2 : Liste des logements\\n\" +\n \"3 : Liste des voyageurs\\n\" +\n \"4 : Liste des réservations\\n\" +\n \"5 : Fermer le programme\"\n );\n switch (Menu.choix(5)) {\n case 1:\n GestionHotes.listerHotes();\n break;\n case 2:\n GestionLogements.listerLogements();\n break;\n case 3:\n GestionVoyageurs.listerVoyageurs();\n break;\n case 4:\n GestionReservations.listerReservations();\n break;\n case 5:\n System.exit(0);\n break;\n }\n }",
"public static void structEngineerUpMenu(){\n\n //Displaying the menu options by using the system out method\n System.out.println(\"1 - Would you like to view all of the Structural Engineer's Information\");\n System.out.println(\"2 - Would you like to search for a Structural Engineer's Information\");\n System.out.println(\"3 - Adding a new Structural Engineer's Information\\n\");\n\n System.out.println(\"0 - Back to main menu\\n\");\n }",
"@Override\n public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {\n super.onCreateContextMenu(menu, v, menuInfo);\n getMenuInflater().inflate(R.menu.menu_main_for_context , menu);\n menu.setHeaderTitle(\"Select Menu \");\n }",
"public static void printMenu()\r\n\t{\r\n\t\tSystem.out.println(\"A) Add Scene\");\r\n\t\tSystem.out.println(\"R) Remove Scene\");\r\n\t\tSystem.out.println(\"S) Show Current Scene\");\r\n\t\tSystem.out.println(\"P) Print Adventure Tree\");\r\n\t\tSystem.out.println(\"B) Go Back A Scene\");\r\n\t\tSystem.out.println(\"F) Go Forward A Scene \");\r\n\t\tSystem.out.println(\"G) Play Game\");\r\n\t\tSystem.out.println(\"N) Print Path To Cursor\");\r\n\t\tSystem.out.println(\"M) Move Scene\");\r\n\t\tSystem.out.println(\"Q) Quit\");\r\n\t\tSystem.out.println();\r\n\t}",
"public void showMenu()\r\n {\r\n System.out.println(\"Enter Truck order: \");\r\n \r\n super.showCommon();\r\n \r\n \r\n super.showMenu(\"What size truck is this? \", SIZE);\r\n \r\n \r\n \r\n \r\n \r\n \r\n super.showMenu(\"What is the engine size of the truck?\", ENGINE_SIZE);\r\n \r\n \r\n \r\n }",
"public static void WriteMainMenu(){\r\n System.out.println(\"\\n=================Welcome to McDonalds=================\");\r\n System.out.println(\"1. Take Order \\n2. Edit McDonalds Menu \\n3. Exit application \");\r\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu)\n\t{\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.title_menu, menu);\n\t\treturn super.onCreateOptionsMenu(menu); \n\t}",
"MenuItem getMenuItemAbout();",
"public void menuOptions(String type) {\n System.out.println(\"\\n\" + \"To select an option, type what's inside the parenthesis.\");\n System.out.println(\"While in a sub-menu -> (0) Back out of a sub-menu. \\n\");\n System.out.println(\"Main Menu\");\n if (type.equals(\"Attendee\") || type.equals(\"VIP\")) {\n System.out.println(\"(1a) Message, (2a) Contacts, (3a) Signup, (4a) See Attendee Schedule\");\n System.out.println(\"(5a) Get Event Details, (6a) View Conference Schedule, \"+\n \" (p) Export the conference schedule to a PDF\");\n } else if (type.equals(\"Organizer\")) {\n System.out.println(\"(1o) Message, (2o) Contacts, (3o) View Conference Schedule\");\n System.out.println(\"(4o) Modify Events, (5o) Add room, (6o) Create a User account\"+\n \" (p) Export the conference schedule to a PDF\");\n System.out.println(\"(7o) View Current Rooms, (8o) Get Event Details\");\n } else if (type.equals(\"Speaker\")) {\n System.out.println(\"(1s) Message, (2s) Contacts, (3s) See Speaker Schedule\");\n System.out.println(\"(4s) Get Event Details, (5s) View Conference Schedule\"+\n \" (p) Export the conference schedule to a PDF\");\n }\n System.out.println(\"Type Quit to logout\");\n }",
"private void displayMenuOptions()\n {\n // display user options menu\n System.out.println(\"\");\n System.out.println(\"----------------------------------------------------\");\n System.out.println(\"\");\n System.out.println(\"COMMAND OPTIONS:\");\n System.out.println(\"\");\n System.out.println(\" 'on' to force power controller to ON state\");\n System.out.println(\" 'off' to force power controller to OFF state\");\n System.out.println(\" 'status' to see current power controller state\");\n System.out.println(\" 'sunrise' to display sunrise time.\");\n System.out.println(\" 'sunset' to display sunset time.\");\n System.out.println(\" 'next' to display next scheduled event.\");\n System.out.println(\" 'time' to display current time.\");\n System.out.println(\" 'coord' to display longitude and latitude.\");\n System.out.println(\" 'help' to display this menu.\");\n System.out.println(\"\");\n System.out.println(\"PRESS 'CTRL-C' TO TERMINATE\");\n System.out.println(\"\");\n System.out.println(\"----------------------------------------------------\");\n System.out.println(\"\");\n }",
"private void printMovieMenu(){\n\t\tprint(\"Please choose from the options below\"+System.lineSeparator(), \"1.Search by Actor\", \"2.Search by Title\", \"3.Search by Genre\",\"4.Back to Login Menu\");\n\t}",
"private void presentMenu() {\n System.out.println(\"\\nHi there, kindly select what you would like to do:\");\n System.out.println(\"\\ta -> add a task\");\n System.out.println(\"\\tr -> remove a task\");\n System.out.println(\"\\tc -> mark a task as complete\");\n System.out.println(\"\\tm -> modify a task\");\n System.out.println(\"\\tv -> view all current tasks as well as tasks saved previously\");\n System.out.println(\"\\tct -> view all completed tasks\");\n System.out.println(\"\\ts -> save tasks to file\");\n System.out.println(\"\\te -> exit\");\n }",
"@Override\n public String[] displayMenu() {\n\n PersonalMatchDAO personalMatchDAO = new PersonalMatchDAO();\n personalMatchDAO.listAllPersonalMatches();\n\n String[] str = {selection};\n return str;\n\n }",
"public void print() {\n stdout(name + \", \" + description);\n stdout(\"-----------------------------------\");\n for (MenuComponent menuComponent : components) {\n menuComponent.print();\n }\n stdout(\"\\n\");\n }",
"public void displaymenu()\r\n\t{\r\n\t\tSystem.out.println(\"Welcome to the COMP2396 Authentication system!\");\r\n\t\tSystem.out.println(\"1. Authenticate user\");\r\n\t\tSystem.out.println(\"2. Add user record\");\r\n\t\tSystem.out.println(\"3. Edit user record\");\r\n\t\tSystem.out.println(\"4. Reset user password\");\r\n\t\tSystem.out.println(\"What would you like to perform?\");\r\n\t}",
"public void readTheMenu();",
"private static void displayUserMenu() {\n\t\tSystem.out.println(\"\\t User Menu Help \\n\" \n\t\t\t\t+ \"====================================\\n\"\n\t\t\t\t+ \"ar <reponame> : To add a new repo \\n\"\n\t\t\t\t+ \"dr <reponame> : To delete a repo \\n\"\n\t\t\t\t+ \"or <reponame> : To open repo \\n\"\n\t\t\t\t+ \"lr : To list repo \\n\"\n\t\t\t\t+ \"lo : To logout \\n\"\n\t\t\t\t+ \"====================================\\n\");\n\t}",
"@Override\n public String menuDescription(Actor actor) {\n return \"Dinosaur dies\";\n }",
"private static void showMenu(){\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"What would you like to do?\");\r\n\t\tSystem.out.println(\"0) Show Shape information\");\r\n\t\tSystem.out.println(\"1) Create Shape\");\r\n\t\tSystem.out.println(\"2) Calculate perimeter\");\r\n\t\tSystem.out.println(\"3) Calculate area\");\r\n\t\tSystem.out.println(\"4) Scale shape\");\r\n\t}",
"private static void displayMenu() {\n System.out.println(\"Menu : \");\n System.out.println(\"Type any number for selection\");\n for (int i = 1; i <= totalPlayers; i++) {\n System.out.println(i + \")View \" + playerList.get(i - 1) + \" cards\");\n }\n System.out.println(\"8)Display Each Player's Hand Strength\");\n System.out.println(\"9)Declare Winner\");\n System.out.println(\"10)Exit\");\n }",
"@Override\r\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\r\n\t\tfor(int i=0;i<menu.size();i++)\r\n\t\t{\r\n\t\t\tif(menu.getItem(i).getItemId()!=R.id.action_childName)\r\n\t\t\t\tmenu.getItem(i).setVisible(true);\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tmenu.findItem(R.id.action_childName).setTitle(StaticVariables.currentChild.getFirstName());\r\n\t\t\t\tmenu.getItem(i).setVisible(true);\r\n\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\r\n\t}",
"public String getMenuName() {\n return menuName;\n }",
"public void mainMenu() {\n\n System.out.println(\"\\n HOTEL RESERVATION SYSTEM\");\n System.out.println(\"+------------------------------------------------------------------------------+\");\n System.out.println(\" COMMANDS:\");\n System.out.println(\" - View Tables\\t\\t(1)\");\n System.out.println(\" - Add Records\\t\\t(2)\");\n System.out.println(\" - Update Records\\t(3)\");\n System.out.println(\" - Delete Records\\t(4)\");\n System.out.println(\" - Search Records\\t(5)\");\n System.out.println(\"+------------------------------------------------------------------------------+\");\n System.out.print(\" > \");\n }",
"private static void printFileOperationMenu() {\n System.out.println(\"-------------------------------------\");\n System.out.println(\"File operation menu\");\n System.out.println(\"1. Retrieve file names from directory\");\n System.out.println(\"2. Add a file.\");\n System.out.println(\"3. Delete a file.\");\n System.out.println(\"4. Search a file.\");\n System.out.println(\"5. Change directory.\");\n System.out.println(\"6. Exit to main menu.\");\n\n }",
"public String choiceMenu() {\n\t\tSystem.out.println(\"What would you like to do?\");\n\t\tSystem.out.println(\"Move (W/A/S/D)\");\n\t\tSystem.out.println(\"Check Hero Info (I)\");\n\t\tSystem.out.println(\"Check Inventory (E)\");\n\t\tSystem.out.println(\"Check Map (M)\");\n\t\tSystem.out.println(\"End Turn (T)\");\n\t\tSystem.out.println(\"Quit (Q)\");\n\t\t\n\t\tString s = parseString().toUpperCase();\n\t\tboolean isValidString = false;\n\t\twhile(!isValidString) {\n\t\t\tif(s.equals(\"W\") || s.equals(\"A\") || s.equals(\"S\") || s.equals(\"D\") || s.equals(\"I\") \n\t\t\t\t\t|| s.equals(\"E\") || s.equals(\"M\") || s.equals(\"T\") || s.equals(\"Q\")) {\n\t\t\t\tisValidString = true;\t\n\t\t\t} else {\n\t\t\t\tprintErrorParse();\n\t\t\t\ts = parseString().toUpperCase();\n\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn s;\n\t}",
"public synchronized StringBuffer Print_Text_OptionSet_Menu(String Text){\n\t\tint i=0;\n\t\tStringBuffer Menu= new StringBuffer(\"\\n\\t\\t\"+Text.toUpperCase(Locale.getDefault())\n +\" OPTIONSET MENU\\n\"\n\t\t\t\t+ \"\\tPLEASE ENTER YOUR CHOICE AS THE INSTRUCTION BELOW:\");\n for (OptionSet Temp : opset) {\n Menu.append(\"\\n\\t\\t-Enter \").append(i+1)\n .append(\" for \").append(Temp.getName()).append(\" .\");\n }\n\t\treturn Menu;\n\t}",
"public void createDisplayHeader()\r\n\t{\r\n\t\tboolean isEType;\r\n\t\tint currentK, lowestJValue, highestJValue;\r\n\r\n\t\t// redundant now\r\n\t\tisEType = getIsEType();\r\n\t\tcurrentK = getCurrentK();\r\n\t\tlowestJValue = getLowestJValue();\r\n\t\thighestJValue = getHighestJValue();\r\n\r\n\t\tString symmetry;\r\n\t\tString kOutput;\r\n\r\n\t\tif (isEType) {\r\n\t\t\tif (currentK >= 0) {\r\n\t\t\t\tkOutput = currentK + \"\";\r\n\t\t\t\tsymmetry = \"E1\";\r\n\t\t\t} else {\r\n\t\t\t\tkOutput = Math.abs(currentK) + \"\";\r\n\t\t\t\tsymmetry = \"E2\";\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tkOutput = Math.abs(currentK) + \"\";\r\n\t\t\tsymmetry = \"A\";\r\n\r\n\t\t\tif (currentK >= 0) {\r\n\t\t\t\tkOutput += \"+\";\r\n\t\t\t} else {\r\n\t\t\t\tkOutput += \"-\";\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tString ls = System.lineSeparator();\r\n\t\tmainHeader = \"================================================================\"\r\n\t\t\t\t+ ls + \"Symmetry type:\\t\\t\\t\\t\\t\" + symmetry + ls\r\n\t\t\t\t+ \"The K of the lower energy is:\\t\\t\\t\" + kOutput + ls + \"The input \"\r\n\t\t\t\t+ INPUT_BRANCH_TYPE + \" branch was flipped:\\t\\t\\t\" + inputIsFlipped + ls\r\n\t\t\t\t+ \"The input \" + INPUT_BRANCH_TYPE + \" branch used a J range of:\\t\\t\"\r\n\t\t\t\t+ lowestJValue + \" to \" + highestJValue\r\n\t\t\t\t+ ls + ls + \"Results for these selections are...\" + ls;\r\n\r\n\t\tsetHeaderDisplayState(true);\r\n\t}",
"private static void printSortActorMenu() {\n\t\tprintln(\"Actor Sorting Options:\");\n\t\tprintln(\"\\tAA: Alphabetically Ascending\");\n\t\tprintln(\"\\tAD: Alphabetically Descending\");\n\t\tprintln(\"\\tNA: By Number of Movies They Are In Ascending\");\n\t\tprintln(\"\\tND: By Number of Movies They Are In\");\n\t}",
"private void constructMenus()\n\t{\n\t\tthis.fileMenu = new JMenu(\"File\");\n\t\tthis.editMenu = new JMenu(\"Edit\");\n\t\tthis.caseMenu = new JMenu(\"Case\");\n\t\tthis.imageMenu = new JMenu(\"Image\");\n\t\tthis.fileMenu.add(this.saveImageMenuItem);\n\t\tthis.fileMenu.addSeparator();\n\t\tthis.fileMenu.add(this.quitMenuItem);\n\t\tthis.editMenu.add(this.undoMenuItem);\n\t\tthis.editMenu.add(this.redoMenuItem);\n\t\tthis.caseMenu.add(this.removeImageMenuItem);\n\t\tthis.imageMenu.add(this.antiAliasMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.brightenMenuItem);\n\t\tthis.imageMenu.add(this.darkenMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.grayscaleMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.resizeMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.cropMenuItem);\n\t\tthis.imageMenu.addSeparator();\n\t\tthis.imageMenu.add(this.rotate90MenuItem);\n\t\tthis.imageMenu.add(this.rotate180MenuItem);\n\t\tthis.imageMenu.add(this.rotate270MenuItem);\n\t}",
"private static void displayMenu() {\n\t\tSystem.out.println(\"\\n\\nWelcome to Seneca@York Bank!\\n\" +\n\t\t\t\t\"1. Open an account.\\n\" +\n\t\t\t\t\"2. Close an account.\\n\" +\n\t\t\t\t\"3. Deposit money.\\n\" +\n\t\t\t\t\"4. Withdraw money.\\n\" +\n\t\t\t\t\"5. Display accounts. \\n\" +\n\t\t\t\t\"6. Display a tax statement.\\n\" +\n\t\t\t\t\"7. Exit\\n\");\n\t}",
"private int mainMenu(){\n System.out.println(\" \");\n System.out.println(\"Select an option:\");\n System.out.println(\"1 - See all transactions\");\n System.out.println(\"2 - See all transactions for a particular company\");\n System.out.println(\"3 - Detailed information about a company\");\n System.out.println(\"0 - Exit.\");\n\n return getUserOption();\n }",
"public void menu()\n {\n System.out.println(\"\\n\\t\\t============================================\");\n System.out.println(\"\\t\\t|| Welcome to the Movie Database ||\");\n System.out.println(\"\\t\\t============================================\");\n System.out.println(\"\\t\\t|| (1) Search Movie ||\");\n System.out.println(\"\\t\\t|| (2) Add Movie ||\");\n System.out.println(\"\\t\\t|| (3) Delete Movie ||\");\n System.out.println(\"\\t\\t|| (4) Display Favourite Movies ||\");\n System.out.println(\"\\t\\t|| (5) Display All Movies ||\");\n System.out.println(\"\\t\\t|| (6) Edit movies' detail ||\");\n System.out.println(\"\\t\\t|| (7) Exit System ||\");\n System.out.println(\"\\t\\t=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\");\n System.out.print( \"\\t\\tPlease insert your option: \");\n }",
"private void mainMenu() {\r\n System.out.println(\"Canteen Management System\");\r\n System.out.println(\"-----------------------\");\r\n System.out.println(\"1. Show Menu\");\r\n System.out.println(\"2. Employee Login\");\r\n System.out.println(\"3. Vendor Login\");\r\n System.out.println(\"4. Exit\");\r\n mainMenuDetails();\r\n }",
"private static void createMenu(Scanner scanner) {\n\t\tSystem.out.println(\"\\n----------QUIZ MANAGER----------\");\n\t\tSystem.out.println(\"1. Create questions.\");\n\t\tSystem.out.println(\"2. Quiz view.\");\n\t\tSystem.out.println(\"3. Exit.\");\n\t\tSystem.out.println(\"Please choose an option: \");\n\t}"
]
| [
"0.6711987",
"0.6686574",
"0.66110075",
"0.65840334",
"0.64515406",
"0.6384919",
"0.6355174",
"0.6324927",
"0.6295716",
"0.6264135",
"0.6260108",
"0.62085146",
"0.6204133",
"0.6187796",
"0.6180753",
"0.61782676",
"0.61767006",
"0.6163659",
"0.61567736",
"0.613708",
"0.6130021",
"0.6125011",
"0.61203766",
"0.6114635",
"0.6110587",
"0.607931",
"0.6067757",
"0.6057094",
"0.6053482",
"0.6046005",
"0.60451066",
"0.60135376",
"0.6013279",
"0.6004442",
"0.59848726",
"0.5983427",
"0.5977705",
"0.5976617",
"0.59715956",
"0.5961198",
"0.5953489",
"0.594285",
"0.5933737",
"0.5930666",
"0.59237313",
"0.59124774",
"0.5903973",
"0.5896806",
"0.5887756",
"0.58855426",
"0.58845127",
"0.58765185",
"0.58665603",
"0.5864009",
"0.5853028",
"0.5852949",
"0.58506715",
"0.58409774",
"0.5838843",
"0.5838733",
"0.5830607",
"0.5829142",
"0.5818978",
"0.5818681",
"0.58134586",
"0.58112437",
"0.5807278",
"0.5804875",
"0.5803908",
"0.5799666",
"0.5799026",
"0.5796425",
"0.5786714",
"0.578535",
"0.57850033",
"0.5782893",
"0.5782309",
"0.5780259",
"0.57747304",
"0.57711834",
"0.5766972",
"0.5765173",
"0.57615054",
"0.57576126",
"0.57456577",
"0.57401776",
"0.5738331",
"0.57325864",
"0.57266366",
"0.57232696",
"0.572267",
"0.5717422",
"0.5711522",
"0.5709014",
"0.5708911",
"0.5699687",
"0.56952494",
"0.5694958",
"0.56947356",
"0.56946886",
"0.56939787"
]
| 0.0 | -1 |
/ Virtually all child classes utilize a boolean prompt for user verification. This displays a prompt and returns a boolean based on the user's response. | protected boolean promptBoolean(String prompt) {
System.out.print(prompt + " ('y' or 'n'): ");
char userResponse = reader.nextLine().charAt(0);
while (userResponse != 'y' && userResponse != 'n') {
System.out.print("Please enter a valid choice.\n" + prompt + " ('y' or 'n'): ");
userResponse = reader.nextLine().charAt(0);
}
if (userResponse == 'y') {
return true;
} else {
return false;
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean displayPrompt(String msg);",
"private boolean promptCommand() {}",
"@Override\r\n\t\tpublic boolean promptYesNo(String message) {\n\t\t\treturn true;\r\n\t\t}",
"public boolean promptYesNo(String str)\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}",
"boolean hasInitialPromptFulfillment();",
"static boolean promptForComfirmation(String prompt) {\n String line;\n\n line = promptWithOptions(Arrays.asList(\"y\", \"n\"), prompt);\n\n return (line.compareTo(\"y\") == 0);\n }",
"private boolean promptID() {}",
"public abstract boolean verifyInput();",
"public static boolean askUserYesNo() {\n // Variable declarations\n String userInput = \"\"; // User input string\n\n // Get user input\n userInput = scnr.nextLine();\n\n // Validate whether user input is ok, and continue asking until right\n while (!userInput.equalsIgnoreCase(\"y\") &&\n !userInput.equalsIgnoreCase(\"yes\") &&\n !userInput.equalsIgnoreCase(\"n\") &&\n !userInput.equalsIgnoreCase(\"no\")) {\n System.out.print(\"That is not a valid input. Please try again. (y/n): \");\n userInput = scnr.nextLine();\n }\n\n // Return true if user says yes, and false if user says no\n if (userInput.equalsIgnoreCase(\"y\") || userInput.equalsIgnoreCase(\"yes\")) {\n return true;\n } else {\n return false;\n }\n }",
"static boolean yesNoQuestion(String prompt){\r\n while(true){\r\n System.out.println(prompt);\r\n String input = Console.in.readWord();\r\n if (input.equals(\"yes\")) return true;\r\n else if (input.equals(\"no\")) return false;\r\n }\r\n }",
"boolean hasCorrectAnswer();",
"public static boolean promptForBool(String prompt, String trueString, String falseString) {\n if(prompt == null) throw new IllegalArgumentException(\"prompt cannot be null.\");\n if(trueString == null) throw new IllegalArgumentException(\"trueString cannot be null.\");\n if(falseString == null) throw new IllegalArgumentException(\"falseString cannot be null.\");\n boolean isTrueString = true, invalidInput = true;\n String input = null;\n do {\n input = receiveInput(prompt);\n invalidInput = !(input.equalsIgnoreCase(trueString) || input.equalsIgnoreCase(falseString));\n if (invalidInput) {\n System.out.println(\"Please enter either \" + trueString + \" or \" + falseString);\n } else {\n isTrueString = trueString.equalsIgnoreCase(input);\n }\n } while (invalidInput);\n return isTrueString;\n }",
"Boolean getCompletelyCorrect();",
"Boolean getIsAnswered();",
"public abstract boolean confirm();",
"private static boolean getUserYesOrNo(SimpleReader in, SimpleWriter out) {\r\n String answer = in.nextLine();\r\n boolean answerIsYes = true;\r\n while (!answer.equalsIgnoreCase(\"y\") && !answer.equalsIgnoreCase(\"n\")) {\r\n out.print(\"Error: please enter 'y' or 'n' as a response: \");\r\n answer = in.nextLine();\r\n }\r\n if (answer.equalsIgnoreCase(\"n\")) {\r\n answerIsYes = false;\r\n }\r\n return answerIsYes;\r\n }",
"public boolean yesTo(String prompt) {\r\n System.out.print(prompt + \" (y/n)? \");\r\n String response = console.nextLine().trim().toLowerCase();\r\n while (!response.equals(\"y\") && !response.equals(\"n\")) {\r\n System.out.println(\"Please answer y or n.\");\r\n System.out.print(prompt + \" (y/n)? \");\r\n response = console.nextLine().trim().toLowerCase();\r\n }\r\n return response.equals(\"y\");\r\n }",
"public boolean yesTo(String prompt) {\r\n System.out.print(prompt + \" (y/n)? \");\r\n String response = console.nextLine().trim().toLowerCase();\r\n while (!response.equals(\"y\") && !response.equals(\"n\")) {\r\n System.out.println(\"Please answer y or n.\");\r\n System.out.print(prompt + \" (y/n)? \");\r\n response = console.nextLine().trim().toLowerCase();\r\n }\r\n return response.equals(\"y\");\r\n }",
"public void createTrueFalse() {\n Question q = new TrueFalse(this.in,this.o);\n this.o.setDisplay(\"Enter the prompt for your True/False question:\\n\");\n this.o.getDisplay();\n\n q.setPrompt(this.in.getUserInput());\n\n if (isTest) {\n Test t = (Test)this.survey;\n RCA ca = new RCA(this.in,this.o);\n\n this.o.setDisplay(\"Enter the correct answer (T/F):\\n\");\n this.o.getDisplay();\n\n ca.addResponse();\n\n while (!ca.getResponses().get(0).contains(\"T\") && !ca.getResponses().get(0).contains(\"F\")) {\n ca.removeResponse(0);\n this.o.setDisplay(\"Enter a valid answer (T/F):\\n\");\n this.o.getDisplay();\n ca.addResponse();\n }\n\n t.addAnswer(ca);\n }\n this.survey.addQuestion(q);\n }",
"public static boolean yesNo(String prompt) throws Exception {\n if (scanner == null) {\n throw new Exception(\"Input Utility's scanner is not set\");\n }\n boolean response;\n\n // enter the string\n if (prompt != null) {\n System.out.print(prompt);\n }\n response = scanner.nextLine().toLowerCase().contains(\"y\");\n return response;\n }",
"private void promptForSomething() {\n userInputValue = prompt(\"Please enter something: \", true);\n System.out.println(\"Thank you. You can see your input by choosing the Display Something menu\");\n }",
"private boolean yesOrNo(String prompt) {\r\n\t\tString more = getToken(prompt + \" (Y|y)[es] or anything else for no\");\r\n\t\tif (more.charAt(0) != 'y' && more.charAt(0) != 'Y') {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"public Boolean displayMessage(String message)\n\t{\n\t\tSystem.out.println(message +\" yes or no?\");\n\t\tString choice = new Scanner(System.in).next();\n\t\tif(choice.toLowerCase().equals(\"yes\") || choice.toUpperCase().equals(\"YES\"))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public static boolean promptForBool(String prompt, String trueString, String falseString) throws IOException {\r\n\r\n\t\tif (prompt == null || trueString == null || falseString == null) {\r\n\t\t\tthrow new IllegalArgumentException(\"Strings cannot be null\");\r\n\t\t}\r\n\r\n\t\tboolean isValid = false;\r\n\t\tboolean whatTheyWant = false;\r\n\t\tString userInput = null;\r\n\r\n\t\tdo {\r\n\t\t\tSystem.out.println(prompt);\r\n\t\t\tSystem.out.println(\"Enter [\" + trueString + \"] or [\" + falseString + \"]\");\r\n\t\t\ttry {\r\n\t\t\t\tuserInput = in.readLine();\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tSystem.out.println(userInput + \" is not a valid answer. Needs to be either [\" + trueString + \"] or [\"\r\n\t\t\t\t\t\t+ falseString + \"]\");\r\n\t\t\t}\r\n\t\t\tif (userInput == null\r\n\t\t\t\t\t|| !userInput.equalsIgnoreCase(trueString) && !userInput.equalsIgnoreCase(falseString)) {\r\n\t\t\t\tSystem.out.println(\"Your input is invalid. Enter [\" + trueString + \"] or [\" + falseString + \"]\");\r\n\t\t\t} else {\r\n\t\t\t\tisValid = true;\r\n\t\t\t}\r\n\t\t} while (!isValid);\r\n\r\n\t\tif (userInput.equalsIgnoreCase(trueString)) {\r\n\t\t\twhatTheyWant = true;\r\n\t\t}\r\n\t\treturn whatTheyWant;\r\n\t}",
"@Override\r\n\t\tpublic boolean promptPassword(String message) {\n\t\t\treturn false;\r\n\t\t}",
"public String getPrompt() {\r\n\t\treturn \"oui/non\";\r\n\t}",
"public String getPrompt(){ return _prompt ; }",
"public boolean presenceCheck()\r\n\t{\r\n\t\treturn validateAnswer();\r\n\t}",
"boolean getCorrect();",
"private boolean yesOrNo(String prompt) {\n String more = getToken(prompt + \" (Y|y)[es] or anything else for no: \");\n if (more.charAt(0) != 'y' && more.charAt(0) != 'Y') {\n return false;\n }\n return true;\n }",
"private boolean yesOrNo(String prompt) {\n String more = getToken(prompt + \" (Y|y)[es] or anything else for no: \");\n if (more.charAt(0) != 'y' && more.charAt(0) != 'Y') {\n return false;\n }\n return true;\n }",
"protected abstract boolean isConfirmEnabled();",
"public static boolean isSure() {\n Scanner in = new Scanner(System.in);\n in = new Scanner(System.in);\n String danger = \"This action might result in a loss of data,\";\n danger += \" do you want to continue? (yes/no)\";\n System.out.println(danger);\n String answer = in.nextLine();\n if (answer.equals(\"no\")) {\n return false;\n }\n return true;\n }",
"public boolean promptPassword(String message) \r\n\t\t{\r\n\t\t\treturn false;\r\n\t\t}",
"public static void checkFromUser() {\n\t\tif (askUser(\"Please type y to execute program and any other key to stop\").contentEquals(\"y\")) {\n\t\t\tSystem.out.println(\"Continuing\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"Terminating program\");\n\t\t\tSystem.exit(0); \n\t\t}\n\t\tSystem.out.println(\"Calculating the greatest house income, the greatest income after expenditure and greatest savings from the given 3 families\");\n\t}",
"abstract void mainPrompt();",
"public Boolean getPromptType() {\n\t\treturn this.isPromptKeyWord;\n\t}",
"public abstract void printPromptMessage();",
"boolean yesNoQuery(String prompt) throws IOException\n\t{\n\t\tboolean result = false;\n\t\tm_out.print(prompt);\n\t\tm_out.print(getLocalizationManager().getLocalizedTextString(\"yesOrNoAppendedToAllQuestions\")); //$NON-NLS-1$\n\n\t\tString in = readLine();\n\t\tif (in != null && in.equals(getLocalizationManager().getLocalizedTextString(\"singleCharacterUserTypesForYes\"))) //$NON-NLS-1$\n\t\t\tresult = true;\n\t\telse if (in != null && in.equals(\"escape\")) //$NON-NLS-1$\n\t\t\tthrow new IllegalArgumentException(\"escape\"); //$NON-NLS-1$\n\t\telse\n\t\t\tout(getLocalizationManager().getLocalizedTextString(\"yesNoQueryNotConfirmed\")); //$NON-NLS-1$\n\t\treturn result;\n\t}",
"public boolean checkInput();",
"protected abstract boolean checkInput();",
"public abstract boolean isConfirmed();",
"public boolean isUserAnswer() {\n return this.userAnswer;\n }",
"boolean checkYesNo (String choice){\r\n if (choice.equalsIgnoreCase(\"N\") || choice.equalsIgnoreCase(\"Y\")){\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }",
"private static boolean checkYorNResponse() {\n logger.log(Level.INFO, \"Logging method checkYorNResponse() in Ui.\");\n String response;\n do {\n response = readUserInput();\n assert response != null : \"response should not be null\";\n switch (response.trim()) {\n case Y:\n response = Y;\n break;\n case N:\n response = N;\n break;\n default:\n logger.log(Level.INFO, \"User entered response other than 'y' or 'n'\");\n logger.log(Level.INFO, \"Re-prompting...\");\n printInvalidYorNResponse();\n }\n } while (!response.trim().equals(Y) && !response.trim().equals(N));\n assert (response.equals(Y) || response.equals(N)) : \"Response should be y/n\";\n return response.equals(Y);\n }",
"public static boolean inputBoolean()\n\t{\n\t\treturn(sc.nextBoolean());\n\t}",
"public boolean promptUserWantsShutdown() {\r\n boolean result = true;\r\n\r\n if (isGUI()) {\r\n String msg = Messages.MainModel_4.toString();\r\n String title = Messages.MainModel_5.toString();\r\n int ans = JOptionPane.showConfirmDialog(null, msg, title,\r\n JOptionPane.OK_CANCEL_OPTION);\r\n\r\n if (ans == JOptionPane.CANCEL_OPTION) {\r\n result = false;\r\n }\r\n }\r\n\r\n return result;\r\n\r\n }",
"public void showPasswordPrompt();",
"public static boolean askYesNo(String message) {\n\n\t\t// Present the choice (and log it where chosen.)\n\t\tpresent(message + \" [Y/N] :: \");\n\n\t\tString choice = \"\";\n\n\t\t// Get a result from the user.\n\t\ttry {\n\t\t\tboolean chosen = false;\n\t\t\twhile ( !(chosen)) {\n\n\t\t\t\tchoice = System.console().readLine();\n\n\t\t\t\tchoice = choice.toUpperCase().trim();\n\n\t\t\t\tif ((choice.compareTo(\"Y\") == 0) || (choice.compareTo(\"N\") == 0) ){\n\t\t\t\t\tchosen = true;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} catch\t(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// Log the user's choice. \n\t\taddLine(\"(The user chose: \\\"\" + choice + \"\\\".)\");\n\n\t\tif (choice.compareTo(\"Y\") == 0 ) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\n\t}",
"@java.lang.Override\n public boolean hasInitialPromptFulfillment() {\n return initialPromptFulfillment_ != null;\n }",
"public abstract void promptForInput(final String msg);",
"private boolean askCustom(){\n String title = \"Custom mode?\";\n String message = \"Now the game mode is classical mode. \\nDo you wish to play custom pieces?\";\n ConfirmBox.display(title, message);\n return ConfirmBox.isConfirmed;\n }",
"boolean getIsOk();",
"public boolean callIntoQuestion();",
"public static boolean isResponseYes(String userResponse) {\n boolean result = false;\n if (null != userResponse) {\n char firstCharacter = userResponse.charAt(0);\n result = (firstCharacter == 'y' || firstCharacter == 'Y');\n }\n\n return result;\n }",
"public boolean saidYes(boolean onQuit) {\r\n\r\n System.out.print(\" (Y/N) \");\r\n \r\n\t\tchar responce = Keyboard.readChar();\r\n responce = Character.toLowerCase(responce);\r\n\r\n\t\tswitch (responce) {\r\n case 'y':\r\n return true;\r\n\r\n case 'q':\r\n case 'e':\r\n\r\n // Is the user is being asked to quit?\r\n if (onQuit) {\r\n return true;\r\n\t\t\t\t}\r\n\r\n endGameSwitch = true;\r\n return false;\r\n\r\n default:\r\n return false;\r\n }\r\n\t}",
"void bot_check_on_user() { // using Watson Speech-to-Text and text-to-Speech functions\r\n String output;\r\n String input;\r\n output: \"Are you okay?\";\r\n input = get voice input;\r\n if (input = \"Yes I’m okay.\") {} // nothing to do\r\n else if (input = \"A bit unwell.\") {\r\n output = \"Please list your symptoms.\";\r\n String symptoms;\r\n symptoms = get voice input;\r\n CFR_check(symptoms);\r\n }\r\n else if (input = …(no sound)) {\r\n CFR_check(\"No response, might be unconscious.\");\r\n else output : \"Please repeat.\";\r\n }",
"public static void main(String[] args) throws IOException {\n BufferedReader scanner = new BufferedReader(new InputStreamReader(System.in));\n String input = scanner.readLine();\n if (input.equals(\"True\")){\n System.out.println(\"Yes\");\n }\n else {\n System.out.println(\"No\");\n }\n }",
"private boolean isCorrect() {\n return !console.getTrueFalse(\"Is this correct?>>> \");\n }",
"protected abstract void hidePrompt();",
"public abstract void showConfirmationBox(String message, Consumer<Boolean> resultCallback);",
"public String sayYes(){\n return \"Yes\";\n }",
"@Override\r\n public void display() {\n super.display();\r\n System.out.println(\"You can choose one of the correct answers!\");\r\n }",
"private String promptForAnswer(AnswerChecker answerChecker) {\n String answer;\n while (true) {\n regularPresenter.newAnswerPrompter();\n answer = scanner.nextLine();\n if (answerChecker.isValidAnswerForm(answer)) break;\n else regularPresenter.illegalAnswerReporter();\n }\n return answer;\n }",
"public static boolean promptForYesNo(String title, String message) {\n // Bury Bones\n int yes = JOptionPane.showOptionDialog(null,\n message,\n title,\n JOptionPane.YES_NO_OPTION,\n JOptionPane.INFORMATION_MESSAGE,\n null,\n new String[]{\"Yes\", \"No\"},\n \"Yes\");\n\n return yes == 0;\n }",
"boolean isConfirmed();",
"public boolean pregunta(){\n int d = JOptionPane.showConfirmDialog(null, \"¿Desea escribir otra palabra?\", \"¿Escribir?\", JOptionPane.YES_NO_OPTION);\n if (d == 0) {\n return true;\n }else if (d == 1) {\n return false;\n }\n return false;\n }",
"public boolean getUserConfirmation() {\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION);\n alert.setTitle(\"Confirmation Box\");\n alert.setHeaderText(\"Are you sure you want to delete?\");\n alert.setResizable(false);\n Optional<ButtonType> result = alert.showAndWait();\n ButtonType button = result.orElse(ButtonType.CANCEL);\n\n if (button == ButtonType.OK) {\n return true;\n } else {\n return false;\n }\n }",
"@Override\n public <T> T promptUser(Prompt<T> prompt) {\n return null;\n }",
"public static boolean QuestionVisible(){\r\n\t return (question.getText().equalsIgnoreCase(\"How would you rate your satisfaction with this website?\"));\t\r\n\t}",
"public String getPrompt() { return prompt; }",
"public static boolean bool(String question) {\r\n\t\tSystem.out.println(question);\r\n\t\tboolean v = false, re = true;\r\n\t\twhile (!v) {\r\n\t\t\tString sr = scan.nextLine();\r\n\t\t\tString s = sr.toLowerCase();\r\n\t\t\tswitch (s) {\r\n\t\t\tcase \"y\":\r\n\t\t\t\tv = true;\r\n\t\t\t\tre = true;\r\n\t\t\t\tbreak;\r\n\t\t\tcase \"n\":\r\n\t\t\t\tv = true;\r\n\t\t\t\tre = false;\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tSystem.out.println(\"Not enter avalidable enter.(y/n)\");\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn re;\r\n\t}",
"private CheckBoolean() {\n\t}",
"private static void prompt(boolean isTestRun) {\n if (!isTestRun)\n System.out.print(\"> \");\n }",
"@Override\r\n\tpublic void checkAnswer() {\n\t\t\r\n\t}",
"public static boolean checkInput(String response) {\r\n\t\t\r\n\r\n\t\tif(response.length() != 1)\r\n\t\t\treturn false;\r\n\t\t\r\n\t\tswitch(response) {\r\n\t\tcase \"y\":\r\n\t\tcase \"Y\":return true;\r\n\t\tcase \"n\":\r\n\t\tcase \"N\":return true;\r\n\t\tdefault: return false;\r\n\t\t}\r\n\t\t\r\n\t}",
"private void checkUserInput() {\n }",
"boolean hasCorrect();",
"private static boolean getReplayResponse() {\n Scanner scan = new Scanner(System.in);\n // Keep looping until a non-zero-length string is entered\n while (true) {\n System.out.print(\"Play again (Yes or No)? \");\n String response = scan.nextLine().trim();\n if (response.length() > 0) {\n return response.toUpperCase().charAt(0) == 'Y';\n }\n }\n }",
"public Boolean waitingUser(){\n\t\tif (currentPlayer == 0){\n\t\t\tSystem.out.println(\"You are the first player, changing waitingUser to true\");\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"boolean checkVerification();",
"String prompt(String message) throws IOException;",
"public void getInput() {\r\n System.out.print(\"Is the car silent when you turn the key? \");\r\n setAnswer1(in.nextLine());\r\n if(getAnswer1().equals(YES)) {\r\n System.out.print(\"Are the battery terminals corroded? \");\r\n setAnswer2(in.nextLine());\r\n if(getAnswer2().equals(YES)){\r\n printString(\"Clean the terminals and try again\");\r\n }\r\n else {\r\n printString(\"The battery may be damaged.\\nReplace the cables and try again\");\r\n }\r\n\r\n }\r\n else {\r\n System.out.print(\"Does the car make a slicking noise? \");\r\n setAnswer3(in.nextLine());\r\n if(getAnswer3().equals(YES)) {\r\n printString(\"Replace the battery\");\r\n }\r\n else {\r\n System.out.print(\"Does the car crank up but fail to start? \");\r\n setAnswer4(in.nextLine());\r\n if(getAnswer4().equals(YES)) {\r\n printString(\"Check spark plug connections.\");\r\n }\r\n else{\r\n System.out.print(\"Does the engine start and then die? \");\r\n setAnswer5(in.nextLine());\r\n if(getAnswer5().equals(YES)){\r\n System.out.print(\"Does your care have fuel injection? \");\r\n setAnswer6(in.nextLine());\r\n if(getAnswer6().equals(YES)){\r\n printString(\"Get it in for service\");\r\n }\r\n else{\r\n printString(\"Check to insure the chock is opening and closing\");\r\n }\r\n }\r\n else {\r\n printString(\"This should be impossible\");\r\n }\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n\r\n }",
"boolean hasPlainApprove();",
"public static boolean getBoolean(String inputDialog) {\n return(Boolean.parseBoolean(JOptionPane.showInputDialog(inputDialog)));\n }",
"public boolean isAsked() {\n\t\treturn isAsked;\n\t}",
"String ask();",
"public boolean isUserChoice() {\n return ACTION_UserChoice.equals(getAction());\n }",
"public static boolean inputBoolean(String p) {\n String tmp;\n boolean b = true;\n\n do {\n try {\n System.out.print(p);\n tmp = in.nextLine();\n if (Boolean.parseBoolean(tmp.toLowerCase()) == Boolean.parseBoolean(tmp.toLowerCase())) {\n b = Boolean.parseBoolean(tmp);\n }\n break;\n } catch (Exception e) {\n System.err.print(\"You must enter TRUE or FALSE! Re-enter.\\n\");\n }\n } while (true);\n return b;\n }",
"public abstract boolean listenerUserInput();",
"boolean getAccepted();",
"public static String promptConfirmation(String[] parseInput) {\n String text = \" Are you sure all the listed details are correct?\\n\"\n + \" NRIC : \" + parseInput[0].toUpperCase().trim() + \"\\n\"\n + \" Date : \" + parseInput[1].trim() + \"\\n\"\n + \" Time : \" + parseInput[2].trim() + \"\\n\"\n + \" Reason : \" + parseInput[3].trim() + \"\\n\"\n + \" (Y/N)?\";\n return text;\n }",
"public void checkAnswer() {\n }",
"String promptString();",
"public void verifyUser() {\n\t\toutMessage.setAction(1);\n\t\toutMessage.setObject(this.getUser());\n\t\tmodelCtrl.sendServerMessage(outMessage);\n\t\tinMessage = modelCtrl.getServerResponse();\n\t\t//user is verified\n\t\tif (inMessage.getAction() == 1) {\n\t\t\taccept();\n\t\t}\n\t\t//user is not verified, return to start\n\t\telse {\n\t\t\tSystem.out.println(\"User is not verified\");\n\t\t\tdeny();\n\t\t\t\n\t\t}\n\t}",
"public void generalPrompt() {\n System.out.println(\"What would you like to do?\");\n }",
"private void askUser()\n { \n System.out.println(\"What is your command?\");\n\n String command = scanner.nextLine();\n commandPrompt(command);\n }",
"@SuppressWarnings(\"resource\")\n public static boolean askYN()\n {\n Scanner scanner = new Scanner(System.in);\n System.out.print(\"Continue(Y/N)?\");\n while (true)\n {\n char ans = Character.toUpperCase(scanner.nextLine().charAt(0));\n if (ans == 'Y' || ans == 'N')\n return (ans == 'Y');\n System.err.println(\"Error: y or n only.\");\n }\n }",
"@Override\r\n\t\tpublic boolean promptPassphrase(String message) {\n\t\t\treturn false;\r\n\t\t}",
"@Override\r\n public boolean getDefaultAnswer() {\n return true;\r\n }"
]
| [
"0.7336251",
"0.72674835",
"0.71588427",
"0.70557624",
"0.6967916",
"0.6908347",
"0.6798472",
"0.65777594",
"0.65499216",
"0.65307045",
"0.6513894",
"0.6481592",
"0.64773524",
"0.6473772",
"0.64733416",
"0.6448008",
"0.6430209",
"0.6430209",
"0.64219165",
"0.63492876",
"0.6331008",
"0.6292863",
"0.6278471",
"0.6274417",
"0.6260344",
"0.62369746",
"0.6236195",
"0.62219447",
"0.6214427",
"0.6197892",
"0.6197892",
"0.6191736",
"0.619133",
"0.61858153",
"0.61823773",
"0.61765444",
"0.6171174",
"0.61609274",
"0.6128062",
"0.61216986",
"0.6108371",
"0.61001474",
"0.6093152",
"0.60831594",
"0.6067239",
"0.6065038",
"0.6064089",
"0.60595447",
"0.60455924",
"0.6027911",
"0.602041",
"0.60201246",
"0.60178924",
"0.60102767",
"0.5987811",
"0.5986209",
"0.5985451",
"0.5973113",
"0.5969771",
"0.5963949",
"0.5960859",
"0.5957811",
"0.59472525",
"0.59452313",
"0.5944678",
"0.593946",
"0.59365845",
"0.5936293",
"0.5916853",
"0.59106153",
"0.5906988",
"0.5901429",
"0.5901117",
"0.5898974",
"0.5890693",
"0.58893853",
"0.58843505",
"0.58712775",
"0.5864157",
"0.5848444",
"0.58425677",
"0.58352304",
"0.5824213",
"0.5822965",
"0.58201975",
"0.5810239",
"0.580514",
"0.57965463",
"0.5784966",
"0.57791746",
"0.5777676",
"0.577473",
"0.5768938",
"0.5761987",
"0.57594997",
"0.575938",
"0.57582545",
"0.57547325",
"0.5750824",
"0.5742937"
]
| 0.7902286 | 0 |
Processes requests for both HTTP GET and POST methods. | protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
String Ename=request.getParameter("Employee-Name");
String Eid=request.getParameter("Employee-Id");
String Eemail=request.getParameter("Employee-Email");
String Econtact=request.getParameter("Employee-contact");
String Esupid=request.getParameter("Employee-superior-ID");
String Eorganisation=request.getParameter("Employee-organisation");
String Ebuilding=request.getParameter("Employee-building");
String Edept=request.getParameter("Employee-department");
String Esup=request.getParameter("Employee-superior");
String Eremarks=request.getParameter("Employee-Remarks");
String AssetDate=request.getParameter("oldAsset-Request-date");
String AssetModelid=request.getParameter("oldAsset-company-Id");
String Assetorgid=request.getParameter("oldAsset-organisation-Id");
String AssetType=request.getParameter("oldAsset-Type");
String Assetremarks=request.getParameter("oldAsset-Request-remarks");
String Assetreqtype=request.getParameter("oldAsset-request");
//Auto Refresh
Connection conn;
ResultSet rs;
try {
Class.forName("oracle.jdbc.driver.OracleDriver"); //JDBC Connection
}
catch (ClassNotFoundException ex)
{
ex.printStackTrace();
}
try {
conn=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","system", "sourabh007");
Statement st=conn.createStatement();
int i= st.executeUpdate("Insert into OLD_ASSET values('"+Ename+"','"+Eid+"','"+Eemail+"','"+Econtact+"','"+Esupid+"','"+Esup+"','"+Eorganisation+"','"+Ebuilding+"','"+Edept+"','"+Eremarks+"','"+AssetDate+"','"+AssetType+"','"+AssetModelid+"','"+Assetorgid+"','"+Assetremarks+"','"+Assetreqtype+"')");
if(i>0)
{
out.println("<html><head><h1 align='center'><b><i>Database-Storage</i></b></h1>");
out.println("<link href='Itasset.css' type='text/css' rel='stylesheet'/>");
out.println("</head>");
out.println("<body align='center' background='6899096-abstract-wallpaper.jpg'>You Have Been SuccessFully Registered<br>");
out.println("The Data We Have Recieved Are Following:-");
Enumeration e = request.getParameterNames();
out.println("<table border=3 align='center'><th>Attributes</th><th>VALUES</th>");
while(e.hasMoreElements())
{
String pname = (String)e.nextElement();
out.println("<tr><td>"+pname+"</td> ");
String pvalue = request.getParameter(pname);
out.println("<td>"+pvalue+"</td></tr>");
}
out.println("</table>");
out.println("<br>");
out.println("Please Click This Button To Go Back");
out.println("<a href='ITassetmngt.html'><input type='button' value='Back'/></a>");
out.println("</body></html>");
out.close();
}
else{
out.println("Error Occured");
}
}
catch(SQLException e){
e.printStackTrace();
}
finally {
out.close();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException {\n final String method = req.getParameter(METHOD);\n if (GET.equals(method)) {\n doGet(req, resp);\n } else {\n resp.setStatus(HttpServletResponse.SC_METHOD_NOT_ALLOWED);\n }\n }",
"private void processRequest(HttpServletRequest request, HttpServletResponse response) {\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n // only POST should be used\n doPost(request, response);\n }",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\nSystem.err.println(\"=====================>>>>>123\");\n\t\tString key=req.getParameter(\"method\");\n\t\tswitch (key) {\n\t\tcase \"1\":\n\t\t\tgetProvinces(req,resp);\n\t\t\tbreak;\n\t\tcase \"2\":\n\t\t\tgetCities(req,resp);\t\t\t\n\t\t\tbreak;\n\t\tcase \"3\":\n\t\t\tgetAreas(req,resp);\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\r\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\n\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\n\t}",
"@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOException {\n \t\tdoPost(req, resp);\n \t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tdoPost(req, resp);\r\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t\tdoGet(req, resp);\r\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tthis.doPost(req, resp);\r\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n processRequest(request, response);\n }",
"@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tprocessRequest(request, response);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tthis.doPost(req, resp);\n\t\t\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\n\t\tprocess(req,resp);\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }"
]
| [
"0.7004024",
"0.66585696",
"0.66031146",
"0.6510023",
"0.6447109",
"0.64421695",
"0.64405906",
"0.64321136",
"0.6428049",
"0.6424289",
"0.6424289",
"0.6419742",
"0.6419742",
"0.6419742",
"0.6418235",
"0.64143145",
"0.64143145",
"0.6400266",
"0.63939095",
"0.63939095",
"0.639271",
"0.63919044",
"0.63919044",
"0.63903785",
"0.63903785",
"0.63903785",
"0.63903785",
"0.63887113",
"0.63887113",
"0.6380285",
"0.63783026",
"0.63781637",
"0.637677",
"0.63761306",
"0.6370491",
"0.63626",
"0.63626",
"0.63614637",
"0.6355308",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896",
"0.63546896"
]
| 0.0 | -1 |
Handles the HTTP GET method. | @Override
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void doGet( )\n {\n \n }",
"@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}",
"@Override\n\tprotected Method getMethod() {\n\t\treturn Method.GET;\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}",
"@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t}",
"@Override\r\n\tprotected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoGet(req, resp);\r\n\t}",
"void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException;",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n metGet(request, response);\n }",
"public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException {\r\n\tlogTrace( req, \"GET log\" );\r\n\tString requestId = req.getQueryString();\r\n\tif (requestId == null) return;\r\n\tif (\"get-response\".equals( requestId )) {\r\n\t try {\r\n\t\tonMEVPollsForResponse( req, resp );\r\n\t } catch (Exception e) {\r\n\t\tlogError( req, resp, e, \"MEV polling error\" );\r\n\t\tsendError( resp, \"MEV polling error: \" + e.toString() );\r\n\t }\r\n\t}\r\n }",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n \r\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t\t\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}",
"public void doGet() throws IOException {\n\n // search ressource\n byte[] contentByte = null;\n try {\n contentByte = ToolBox.readFileByte(RESOURCE_DIRECTORY, this.url);\n this.statusCode = OK;\n ContentType contentType = new ContentType(this.extension);\n sendHeader(statusCode, contentType.getContentType(), contentByte.length);\n } catch (IOException e) {\n System.out.println(\"Ressource non trouvé\");\n statusCode = NOT_FOUND;\n contentByte = ToolBox.readFileByte(RESPONSE_PAGE_DIRECTORY, \"pageNotFound.html\");\n sendHeader(statusCode, \"text/html\", contentByte.length);\n }\n\n this.sendBodyByte(contentByte);\n }",
"public HttpResponseWrapper invokeGET(String path) {\n\t\treturn invokeHttpMethod(HttpMethodType.HTTP_GET, path, \"\");\n\t}",
"@Override\n\tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }",
"@Override\n\tprotected void doGet(HttpServletRequest request,\n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t}",
"public Result get(Get get) throws IOException;",
"@Override\n public void doGet(HttpServletRequest request, HttpServletResponse response) {\n System.out.println(\"[Servlet] GET request \" + request.getRequestURI());\n\n response.setContentType(FrontEndServiceDriver.APP_TYPE);\n response.setStatus(HttpURLConnection.HTTP_BAD_REQUEST);\n\n try {\n String url = FrontEndServiceDriver.primaryEventService +\n request.getRequestURI().replaceFirst(\"/events\", \"\");\n HttpURLConnection connection = doGetRequest(url);\n\n if (connection.getResponseCode() == HttpURLConnection.HTTP_OK) {\n PrintWriter pw = response.getWriter();\n JsonObject responseBody = (JsonObject) parseResponse(connection);\n\n response.setStatus(HttpURLConnection.HTTP_OK);\n pw.println(responseBody.toString());\n }\n }\n catch (Exception ignored) {}\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tSystem.out.println(\"get\");\n\t\tthis.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doGet(req, resp);\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \tSystem.out.println(\"---here--get--\");\n processRequest(request, response);\n }",
"@Override\n public final void doGet() {\n try {\n checkPermissions(getRequest());\n // GET one\n if (id != null) {\n output(api.runGet(id, getParameterAsList(PARAMETER_DEPLOY), getParameterAsList(PARAMETER_COUNTER)));\n } else if (countParameters() == 0) {\n throw new APIMissingIdException(getRequestURL());\n }\n // Search\n else {\n\n final ItemSearchResult<?> result = api.runSearch(Integer.parseInt(getParameter(PARAMETER_PAGE, \"0\")),\n Integer.parseInt(getParameter(PARAMETER_LIMIT, \"10\")), getParameter(PARAMETER_SEARCH),\n getParameter(PARAMETER_ORDER), parseFilters(getParameterAsList(PARAMETER_FILTER)),\n getParameterAsList(PARAMETER_DEPLOY), getParameterAsList(PARAMETER_COUNTER));\n\n head(\"Content-Range\", result.getPage() + \"-\" + result.getLength() + \"/\" + result.getTotal());\n\n output(result.getResults());\n }\n } catch (final APIException e) {\n e.setApi(apiName);\n e.setResource(resourceName);\n throw e;\n }\n }",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tthis.service(req, resp);\r\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\n\t}",
"@RequestMapping(value = \"/{id}\", method = RequestMethod.GET)\n public void get(@PathVariable(\"id\") String id, HttpServletRequest req){\n throw new NotImplementedException(\"To be implemented\");\n }",
"@Override\npublic void get(String url) {\n\t\n}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString action = req.getParameter(\"action\");\r\n\t\t\r\n\t\tif(action == null) {\r\n\t\t\taction = \"List\";\r\n\t\t}\r\n\t\t\r\n\t\tswitch(action) {\r\n\t\t\tcase \"List\":\r\n\t\t\t\tlistUser(req, resp);\r\n\t\t\t\t\t\t\r\n\t\t\tdefault:\r\n\t\t\t\tlistUser(req, resp);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\n\tprotected void doGet(HttpServletRequest request, \n\t\t\tHttpServletResponse response) throws ServletException, IOException {\n\t\tSystem.out.println(\"Routed to doGet\");\n\t}",
"@NonNull\n public String getAction() {\n return \"GET\";\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\n\t\tprocess(req,resp);\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"@Override\r\nprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t process(req,resp);\r\n\t }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tprocess(req, resp);\n\t}",
"@Override\n\tpublic HttpResponse get(final String endpoint) {\n\t\treturn httpRequest(HTTP_GET, endpoint, null);\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n System.out.println(\"teste doget\");\r\n }",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/plain\");\n // Actual logic goes here.\n PrintWriter out = response.getWriter();\n out.println(\"Wolken,5534-0848-5100,0299-6830-9164\");\n\ttry \n\t{\n Get g = new Get(Bytes.toBytes(request.getParameter(\"userid\")));\n Result r = table.get(g);\n byte [] value = r.getValue(Bytes.toBytes(\"v\"),\n Bytes.toBytes(\"\"));\n\t\tString valueStr = Bytes.toString(value);\n\t\tout.println(valueStr);\n\t}\n\tcatch (Exception e)\n\t{\n\t\tout.println(e);\n\t}\n }",
"@Override\r\n public void doGet(String path, HttpServletRequest request, HttpServletResponse response)\r\n throws Exception {\r\n // throw new UnsupportedOperationException();\r\n System.out.println(\"Inside the get\");\r\n response.setContentType(\"text/xml\");\r\n response.setCharacterEncoding(\"utf-8\");\r\n final Writer w = response.getWriter();\r\n w.write(\"inside the get\");\r\n w.close();\r\n }",
"@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\r\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n System.out.println(\"Console: doGET visited\");\n String result = \"\";\n //get the user choice from the client\n String choice = (request.getPathInfo()).substring(1);\n response.setContentType(\"text/plain;charset=UTF-8\");\n PrintWriter out = response.getWriter();\n //methods call appropriate to user calls\n if (Integer.valueOf(choice) == 3) {\n result = theBlockChain.toString();\n if (result != null) {\n out.println(result);\n response.setStatus(200);\n //set status if result output is not generated\n } else {\n response.setStatus(401);\n return;\n }\n }\n //verify chain method\n if (Integer.valueOf(choice) == 2) {\n response.setStatus(200);\n boolean validity = theBlockChain.isChainValid();\n out.print(\"verifying:\\nchain verification: \");\n out.println(validity);\n }\n }",
"@Override\n public DataObjectResponse<T> handleGET(DataObjectRequest<T> request)\n {\n if(getRequestValidator() != null) getRequestValidator().validateGET(request);\n\n DefaultDataObjectResponse<T> response = new DefaultDataObjectResponse<>();\n try\n {\n VisibilityFilter<T, DataObjectRequest<T>> visibilityFilter = visibilityFilterMap.get(VisibilityMethod.GET);\n List<Query> queryList = new LinkedList<>();\n if(request.getQueries() != null)\n queryList.addAll(request.getQueries());\n\n if(request.getId() != null)\n {\n // if the id is specified\n queryList.add(new ById(request.getId()));\n }\n\n DataObjectFeed<T> feed = objectPersister.retrieve(queryList);\n if(feed == null)\n feed = new DataObjectFeed<>();\n List<T> filteredObjects = visibilityFilter.filterByVisible(request, feed.getAll());\n response.setCount(feed.getCount());\n response.addAll(filteredObjects);\n }\n catch(PersistenceException e)\n {\n ObjectNotFoundException objectNotFoundException = new ObjectNotFoundException(String.format(OBJECT_NOT_FOUND_EXCEPTION, request.getId()), e);\n response.setErrorResponse(ErrorResponseFactory.objectNotFound(objectNotFoundException, request.getCID()));\n }\n return response;\n }",
"public void handleGet( HttpExchange exchange ) throws IOException {\n switch( exchange.getRequestURI().toString().replace(\"%20\", \" \") ) {\n case \"/\":\n print(\"sending /MainPage.html\");\n sendResponse( exchange, FU.readFromFile( getReqDir( exchange )), 200);\n break;\n case \"/lif\":\n // send log in page ( main page )\n sendResponse ( exchange, FU.readFromFile(getReqDir(exchange)), 200);\n //\n break;\n case \"/home.html\":\n\n break;\n case \"/book.html\":\n\n break;\n default:\n //checks if user is logged in\n\n //if not send log in page\n //if user is logged in then\n print(\"Sending\");\n String directory = getReqDir( exchange ); // dont need to do the / replace as no space\n File page = new File( getReqDir( exchange) );\n\n // IMPLEMENT DIFFERENT RESPONSE CODE FOR HERE IF EXISTS IS FALSE OR CAN READ IS FALSE\n sendResponse(exchange, FU.readFromFile(directory), 200);\n break;\n }\n }",
"public int handleGET(String requestURL) throws ClientProtocolException, IOException{\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\thttpGet = new HttpGet(requestURL);\t\t\r\n\t\t\t\t\t\t\r\n\t\tinputsource=null;\r\n\t\t\t\r\n\t\toutputString=\"\";\r\n\t\t\r\n\t\t//taking response by executing http GET object\r\n\t\tCloseableHttpResponse response = httpclient.execute(httpGet);\t\t\r\n\t\r\n\t\t/* \r\n\t\t * \tThe underlying HTTP connection is still held by the response object\r\n\t\t\tto allow the response content to be streamed directly from the network socket.\r\n\t\t\tIn order to ensure correct deallocation of system resources\r\n\t\t\tthe user MUST call CloseableHttpResponse.close() from a finally clause.\r\n\t\t\tPlease note that if response content is not fully consumed the underlying\r\n\t\t\tconnection cannot be safely re-used and will be shut down and discarded\r\n\t\t\tby the connection manager.\r\n\t\t */\r\n\t\t\r\n\t\t\tstatusLine= response.getStatusLine().toString();\t\t//status line\r\n\t\t\t\r\n\t\t\tHttpEntity entity1 = response.getEntity();\t\t\t\t//getting response entity from server response \t\r\n\t\t\t\t\t\r\n\t\t\tBufferedReader br=new BufferedReader(new InputStreamReader(entity1.getContent()));\r\n\r\n\t\t\tString line;\r\n\t\t\twhile((line=br.readLine())!=null)\r\n\t\t\t{\r\n\t\t\t\toutputString=outputString+line.toString();\r\n\t }\r\n\t\t\t\r\n\t\t\t//removing spaces around server response string.\r\n\t\t\toutputString.trim();\t\t\t\t\t\t\t\t\t\r\n\t\t\t\r\n\t\t\t//converting server response string into InputSource.\r\n\t\t\tinputsource = new InputSource(new StringReader(outputString));\t\r\n\t\t\t\r\n\t\t\t// and ensure it is fully consumed\r\n\t\t\tEntityUtils.consume(entity1);\t\t\t//consuming entity.\r\n\t\t\tresponse.close();\t\t\t\t\t\t//closing response.\r\n\t\t\tbr.close();\t\t\t\t\t\t\t\t//closing buffered reader\r\n\t\t\t\r\n\t\t\t//returning response code\r\n\t\t\treturn response.getStatusLine().getStatusCode();\r\n\t\r\n\t}",
"@Override\n\tprotected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t logger.error(\"BISHUNNN CALLED\");\n\t\tString category = request.getParameter(\"category\").trim();\n\t\tGetHttpCall getHttpCall = new GetHttpCall();\n\t\turl = APIConstants.baseURL+category.toLowerCase();\n\t\tresponseString = getHttpCall.execute(url);\n\t\tresponse.getWriter().write(responseString);\n\t}",
"@Override\r\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n //processRequest(request, response);\r\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tPrintWriter out = resp.getWriter();\n\t\tout.print(\"<h1>Hello from your doGet method!</h1>\");\n\t}",
"public void doGet(HttpServletRequest request,\n HttpServletResponse response)\n throws IOException, ServletException {\n response.setContentType(TYPE_TEXT_HTML.label);\n response.setCharacterEncoding(UTF8.label);\n request.setCharacterEncoding(UTF8.label);\n String path = request.getRequestURI();\n logger.debug(RECEIVED_REQUEST + path);\n Command command = null;\n try {\n command = commands.get(path);\n command.execute(request, response);\n } catch (NullPointerException e) {\n logger.error(REQUEST_PATH_NOT_FOUND);\n request.setAttribute(JAVAX_SERVLET_ERROR_STATUS_CODE, 404);\n command = commands.get(EXCEPTION.label);\n command.execute(request, response);\n }\n }",
"public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tString search = req.getParameter(\"searchBook\");\n\t\tString output=search;\n\n\t\t//redirect output to view search.jsp\n\t\treq.setAttribute(\"output\", output);\n\t\tresp.setContentType(\"text/json\");\n\t\tRequestDispatcher view = req.getRequestDispatcher(\"search.jsp\");\n\t\tview.forward(req, resp);\n\t\t\t\n\t}",
"public void doGet( HttpServletRequest request, HttpServletResponse response )\n throws ServletException, IOException\n {\n handleRequest( request, response, false );\n }",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}",
"public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\t}",
"@GET\n @Produces(MediaType.APPLICATION_JSON)\n public Response handleGet() {\n Gson gson = GSONFactory.getInstance();\n List allEmployees = getAllEmployees();\n\n if (allEmployees == null) {\n allEmployees = new ArrayList();\n }\n\n Response response = Response.ok().entity(gson.toJson(allEmployees)).build();\n return response;\n }",
"@Override\n\tprotected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows IOException, ServletException {\n\t\tsuper.doGet(request, response);\t\t\t\n\t}",
"private static String sendGET(String getURL) throws IOException {\n\t\tURL obj = new URL(getURL);\n\t\tHttpURLConnection con = (HttpURLConnection) obj.openConnection();\n\t\tcon.setRequestMethod(\"GET\");\n\t\tString finalResponse = \"\";\n\n\t\t//This way we know if the request was processed successfully or there was any HTTP error message thrown.\n\t\tint responseCode = con.getResponseCode();\n\t\tSystem.out.println(\"GET Response Code : \" + responseCode);\n\t\tif (responseCode == HttpURLConnection.HTTP_OK) { // success\n\t\t\tBufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));\n\t\t\tString inputLine;\n\t\t\tStringBuffer buffer = new StringBuffer();\n\n\t\t\twhile ((inputLine = in.readLine()) != null) {\n\t\t\t\tbuffer.append(inputLine);\n\t\t\t}\n\t\t\tin.close();\n\n\t\t\t// print result\n\t\t\tfinalResponse = buffer.toString();\n\t\t} else {\n\t\t\tSystem.out.println(\"GET request not worked\");\n\t\t}\n\t\treturn finalResponse;\n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n //processRequest(request, response);\n }",
"@Override\n \tpublic void doGet(HttpServletRequest req, HttpServletResponse resp)\n \t\t\tthrows ServletException, IOException {\n \t\tdoPost(req, resp);\n \t}",
"public BufferedReader reqGet(final String route) throws\n ServerStatusException, IOException {\n System.out.println(\"first reqGet\");\n return reqGet(route, USER_AGENT);\n }",
"HttpGet getRequest(HttpServletRequest request, String address) throws IOException;",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override \r\nprotected void doGet(HttpServletRequest request, HttpServletResponse response) \r\nthrows ServletException, IOException { \r\nprocessRequest(request, response); \r\n}",
"protected void doGet(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\n String action = request.getParameter(\"action\");\r\n\r\n try {\r\n switch (action)\r\n {\r\n case \"/getUser\":\r\n \tgetUser(request, response);\r\n break;\r\n \r\n }\r\n } catch (Exception ex) {\r\n throw new ServletException(ex);\r\n }\r\n }",
"@Override\n protected void doGet\n (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tdoProcess(req, resp);\n\t}",
"@Test\r\n\tpublic void doGet() throws Exception {\n\t\tCloseableHttpClient httpClient = HttpClients.createDefault();\r\n\t\t// Create a GET object and pass a url to it\r\n\t\tHttpGet get = new HttpGet(\"http://www.google.com\");\r\n\t\t// make a request\r\n\t\tCloseableHttpResponse response = httpClient.execute(get);\r\n\t\t// get response as result\r\n\t\tSystem.out.println(response.getStatusLine().getStatusCode());\r\n\t\tHttpEntity entity = response.getEntity();\r\n\t\tSystem.out.println(EntityUtils.toString(entity));\r\n\t\t// close HttpClient\r\n\t\tresponse.close();\r\n\t\thttpClient.close();\r\n\t}",
"private void requestGet(String endpoint, Map<String, String> params, RequestListener listener) throws Exception {\n String requestUri = Constant.API_BASE_URL + ((endpoint.indexOf(\"/\") == 0) ? endpoint : \"/\" + endpoint);\n get(requestUri, params, listener);\n }",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tint i = request.getRequestURI().lastIndexOf(\"/\") + 1;\n\t\tString action = request.getRequestURI().substring(i);\n\t\tSystem.out.println(action);\n\t\t\n\t\tString view = \"Error\";\n\t\tObject model = \"service Non disponible\";\n\t\t\n\t\tif (action.equals(\"ProductsList\")) {\n\t\t\tview = productAction.productsList();\n\t\t\tmodel = productAction.getProducts();\n\t\t}\n\t\t\n\t\trequest.setAttribute(\"model\", model);\n\t\trequest.getRequestDispatcher(prefix + view + suffix).forward(request, response); \n\t}",
"@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n\t throws ServletException, IOException {\n\tprocessRequest(request, response);\n }",
"protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tcommandAction(request,response);\r\n\t}"
]
| [
"0.7589609",
"0.71665615",
"0.71148175",
"0.705623",
"0.7030174",
"0.70291144",
"0.6995984",
"0.697576",
"0.68883485",
"0.6873811",
"0.6853569",
"0.6843572",
"0.6843572",
"0.6835363",
"0.6835363",
"0.6835363",
"0.68195957",
"0.6817864",
"0.6797789",
"0.67810035",
"0.6761234",
"0.6754993",
"0.6754993",
"0.67394847",
"0.6719924",
"0.6716244",
"0.67054695",
"0.67054695",
"0.67012346",
"0.6684415",
"0.6676695",
"0.6675696",
"0.6675696",
"0.66747975",
"0.66747975",
"0.6669016",
"0.66621476",
"0.66621476",
"0.66476154",
"0.66365504",
"0.6615004",
"0.66130257",
"0.6604073",
"0.6570195",
"0.6551141",
"0.65378064",
"0.6536579",
"0.65357745",
"0.64957607",
"0.64672184",
"0.6453189",
"0.6450501",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.6411481",
"0.64067316",
"0.6395873",
"0.6379907",
"0.63737476",
"0.636021",
"0.6356937",
"0.63410467",
"0.6309468",
"0.630619",
"0.630263",
"0.63014317",
"0.6283933",
"0.62738425",
"0.62680805",
"0.62585783",
"0.62553537",
"0.6249043",
"0.62457556",
"0.6239428",
"0.6239428",
"0.62376446",
"0.62359244",
"0.6215947",
"0.62125194",
"0.6207376",
"0.62067443",
"0.6204527",
"0.6200444",
"0.6199078",
"0.61876005",
"0.6182614",
"0.61762017",
"0.61755335",
"0.61716276",
"0.6170575",
"0.6170397",
"0.616901"
]
| 0.0 | -1 |
Handles the HTTP POST method. | @Override
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void doPost(Request request, Response response) {\n\n\t}",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) {\n }",
"public void doPost( )\n {\n \n }",
"@Override\n public String getMethod() {\n return \"POST\";\n }",
"public String post();",
"@Override\n\tpublic void doPost(HttpRequest request, AbstractHttpResponse response)\n\t\t\tthrows IOException {\n\t\t\n\t}",
"@Override\n public String getMethod() {\n return \"POST\";\n }",
"public ResponseTranslator post() {\n setMethod(\"POST\");\n return doRequest();\n }",
"protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException {\n }",
"public void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows IOException {\n\n\t}",
"public void postData() {\n\n\t}",
"@Override\n public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {\n logger.warn(\"doPost Called\");\n handle(req, res);\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n metPost(request, response);\n }",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n\r\n }",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tpublic void postHandle(WebRequest request, ModelMap model) throws Exception {\n\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows ServletException, IOException {\r\n\r\n\t\t\r\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\t\n\t}",
"@Override\n\tprotected HttpMethod requestMethod() {\n\t\treturn HttpMethod.POST;\n\t}",
"@Override\n\tprotected void handlePostBody(HashMap<String, HashMap<String, String>> params, DataFormat format) throws Exception {\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n }",
"@Override\n\tprotected void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n \r\n }",
"@Override\n\n\tpublic void handlePOST(CoapExchange exchange) {\n\t\tFIleStream read = new FIleStream();\n\t\tread.tempWrite(Temp_Path, exchange.getRequestText());\n\t\texchange.respond(ResponseCode.CREATED, \"POST successfully!\");\n\t\t_Logger.info(\"Receive post request:\" + exchange.getRequestText());\n\t}",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.getWriter().println(\"go to post method in manager\");\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\r\n\t}",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\t\n\t}",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n }",
"public abstract boolean handlePost(FORM form, BindException errors) throws Exception;",
"@Override\n protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n super.doPost(req, resp);\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\n\t\t\t\n\t\t \n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\t\tsuper.doPost(req, resp);\n\t}",
"public void processPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException\n {\n }",
"@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\t}",
"@Override\n\tpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\n\n\t}",
"public void doPost(HttpServletRequest request ,HttpServletResponse response){\n\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n }",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"public void post(){\n\t\tHttpClient client = new HttpClient();\n\n\t\tPostMethod post = new PostMethod(\"http://211.138.245.85:8000/sso/POST\");\n//\t\tPostMethod post = new PostMethod(\"/eshopclient/product/show.do?id=111655\");\n//\t\tpost.addRequestHeader(\"Cookie\", cookieHead);\n\n\n\t\ttry {\n\t\t\tSystem.out.println(\"��������====\");\n\t\t\tint status = client.executeMethod(post);\n\t\t\tSystem.out.println(status);\n\t\t} catch (HttpException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n//\t\ttaskCount++;\n//\t\tcountDown--;\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t}",
"public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException {\r\n\tlogTrace( req, \"POST log\" );\r\n\tString requestId = req.getQueryString();\r\n\tif (requestId == null) {\r\n\t try {\r\n\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t } catch (IOException ex) {\r\n\t }\r\n\t logError( req, resp, new Exception(\"Unrecognized POST\"), \"\" );\r\n\t sendError(resp, \"Unrecognized POST\");\r\n\t} else\r\n\t if (\"post-request\".equals( requestId )) {\r\n\t\ttry {\r\n\t\t onMEVPostsRequest( req, resp );\r\n\t\t} catch (Exception e) {\r\n\t\t try {\r\n\t\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t\t } catch (IOException ex) {\r\n\t\t }\r\n\t\t logError( req, resp, e, \"MEV POST error\" );\r\n\t\t sendError( resp, \"MEV POST error: \" + e.toString() );\r\n\t\t}\r\n\t } else if (\"post-response\".equals( requestId )) {\r\n\t\ttry {\r\n\t\t onPVMPostsResponse( req, resp );\r\n\t\t} catch (Exception e) {\r\n\t\t try {\r\n\t\t\tServletUtil.bufferedRead( req.getInputStream() );\r\n\t\t } catch (IOException ex) {\r\n\t\t }\r\n\t\t logError( req, resp, e, \"PVM POST error\" );\r\n\t\t sendError( resp, \"PVM POST error: \" + e.toString() );\r\n\t\t}\r\n\t }\r\n }",
"@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\n\t}",
"@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\t\n\t}",
"@Override\n\tpublic void postHandle(HttpServletRequest request,\n\t\t\tHttpServletResponse response, Object handler,\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest req, HttpServletResponse resp, Object handler, ModelAndView m)\r\n\t\t\tthrows Exception {\n\t\t\r\n\t}",
"@Override\n public final void doPost() {\n try {\n checkPermissions(getRequest());\n final IItem jSonStreamAsItem = getJSonStreamAsItem();\n final IItem outputItem = api.runAdd(jSonStreamAsItem);\n\n output(JSonItemWriter.itemToJSON(outputItem));\n } catch (final APIException e) {\n e.setApi(apiName);\n e.setResource(resourceName);\n throw e;\n\n }\n }",
"@Override\n\tvoid post() {\n\t\t\n\t}",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t\tSystem.out.println(\"=========interCpetor Post=========\");\r\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n\t\tString method = request.getParameter(\"method\");\n\t\tswitch(method){\n\t\tcase \"Crawl\":\n\t\t\tcrawl(request, response);\n\t\t\tbreak;\n\t\tcase \"Extract\":\n\t\t\textract(request, response);\n\t\t\tbreak;\n\t\tcase \"JDBC\":\n\t\t\tjdbc(request, response);\n\t\t\tbreak;\n\t\tcase \"Indexer\":\n\t\t\tindexer(request, response);\n\t\t\tbreak;\n\t\t}\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n System.out.println(\"teste dopost\");\r\n }",
"protected void doPost(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response)\r\n\t/* 43: */throws ServletException, IOException\r\n\t/* 44: */{\r\n\t\t/* 45:48 */doGet(request, response);\r\n\t\t/* 46: */}",
"@Override\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp)\n\t\t\tthrows ServletException, IOException {\n\t\tprocess(req, resp);\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\r\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\r\n\tprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n\tprocess(req,resp);\r\n\t}",
"public void handlePost(SessionSrvc session, IObjectContext context)\n throws Exception\n {\n }",
"public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response) {\n\t\tdoGet(request, response);\n\t}",
"public void doPost(HttpServletRequest request, HttpServletResponse response) {\r\n\t\tdoGet(request, response);\r\n\t}",
"@Override\r\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler,\r\n\t\t\tModelAndView modelAndView) throws Exception {\n\t}",
"@Override\n protected void doPost\n (HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n try {\r\n processRequest(request, response);\r\n } catch (JSONException ex) {\r\n Logger.getLogger(PDCBukUpload.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }",
"@Override\r\n protected void doPost(HttpServletRequest request,\r\n HttpServletResponse response)\r\n throws ServletException,\r\n IOException {\r\n processRequest(request,\r\n response);\r\n\r\n }",
"@Override\r\n\tpublic void doPost(CustomHttpRequest request, CustomHttpResponse response) throws Exception {\n\t\tdoGet(request, response);\r\n\t}",
"@Override\n\tpublic void postHandle(HttpServletRequest request, HttpServletResponse response,\n\t\t\tObject handler, ModelAndView modelAndView) throws Exception {\n\n\t}",
"protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\t\tdoHandle(request, response);\n\t}",
"private void postRequest() {\n\t\tSystem.out.println(\"post request, iam playing money\");\n\t}",
"@Override\r\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n processRequest(request, response);\r\n }",
"@Override\n public void postHandle(HttpServletRequest request,\n HttpServletResponse response, Object handler,\n ModelAndView modelAndView) throws Exception {\n\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n try {\n processRequest(request, response);\n } catch (Exception ex) {\n Logger.getLogger(PedidoController.class.getName()).log(Level.SEVERE, null, ex);\n }\n }"
]
| [
"0.73289514",
"0.71383566",
"0.7116213",
"0.7105215",
"0.7100045",
"0.70236707",
"0.7016248",
"0.6964149",
"0.6889435",
"0.6784954",
"0.67733276",
"0.67482096",
"0.66677034",
"0.6558593",
"0.65582114",
"0.6525548",
"0.652552",
"0.652552",
"0.652552",
"0.65229493",
"0.6520197",
"0.6515622",
"0.6513045",
"0.6512626",
"0.6492367",
"0.64817846",
"0.6477479",
"0.64725804",
"0.6472099",
"0.6469389",
"0.6456206",
"0.6452577",
"0.6452577",
"0.6452577",
"0.6450273",
"0.6450273",
"0.6438126",
"0.6437522",
"0.64339423",
"0.64253825",
"0.6422238",
"0.6420897",
"0.6420897",
"0.6420897",
"0.6407662",
"0.64041835",
"0.64041835",
"0.639631",
"0.6395677",
"0.6354875",
"0.63334197",
"0.6324263",
"0.62959254",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6288832",
"0.6280875",
"0.6272104",
"0.6272104",
"0.62711537",
"0.62616795",
"0.62544584",
"0.6251865",
"0.62274224",
"0.6214439",
"0.62137586",
"0.621211",
"0.620854",
"0.62023044",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61775357",
"0.61638993",
"0.61603814",
"0.6148914",
"0.61465937",
"0.61465937",
"0.614548",
"0.6141879",
"0.6136717",
"0.61313903",
"0.61300284",
"0.6124381",
"0.6118381",
"0.6118128",
"0.61063534",
"0.60992104",
"0.6098801",
"0.6096766"
]
| 0.0 | -1 |
Returns a short description of the servlet. | @Override
public String getServletInfo() {
return "Short description";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getServletInfo()\n {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\n return \"Short description\";\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\n\tpublic String getServletInfo() {\n\t\treturn \"Short description\";\n\t}",
"@Override\r\n public String getServletInfo()\r\n {\r\n return \"Short description\";\r\n }",
"@Override\n public String getServletInfo()\n {\n return \"Short description\";\n }",
"@Override\r\n\tpublic String getServletInfo() {\r\n\t\treturn \"Short description\";\r\n\t}",
"@Override\r\n public String getServletInfo()\r\n {\r\n return \"Short description\";\r\n }",
"@Override\n public String getServletInfo() {\n return \"Short description\";\n }"
]
| [
"0.8763258",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.87319016",
"0.8698781",
"0.8698781",
"0.8698781",
"0.8698781",
"0.8698781",
"0.8698781",
"0.85306925",
"0.85306925",
"0.8527569",
"0.8527569",
"0.8527569",
"0.85269874",
"0.85269874",
"0.85269874",
"0.85269874",
"0.85269874",
"0.85269874",
"0.8516493",
"0.85117877",
"0.85107887",
"0.85097843",
"0.8495941"
]
| 0.0 | -1 |
While the contact menu is open, the person is able to pick one contact and then it pastes to the input field | public void onActivityResult(int reqCode, int resultCode, Intent data) {
super.onActivityResult(reqCode, resultCode, data);
if (reqCode != Activity.RESULT_OK && data != null) {
Uri contactUri = data.getData();
String[] rcontact = {ContactsContract.CommonDataKinds.Phone.NUMBER, ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME};
Cursor c = getContentResolver()
.query(contactUri, rcontact, null, null, null);
c.moveToFirst();
int contact_name = c.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER);
int contact_number = c.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME);
String contact_number1 = c.getString(contact_number);
String contact_name1 = c.getString(contact_name);
input_msg.setText("Number: " + contact_number1 + " Name:" + contact_name1);
Toast.makeText(this, contact_name1 + " has number " + contact_number1, Toast.LENGTH_LONG).show();
}
else{
Toast.makeText(this, " This Device has no Contacs ", Toast.LENGTH_LONG).show();
finish();
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void editDetails(String name) {\n if(isContactExist(name) == true) {\n Contacts contact = getContact(name);\n boolean isExit = false;\n while(!isExit) {\n System.out.println(\"Select option:\" + \"\\n\" + \"1.first name\" + \"\\n\" + \"2.last name\" +\n \"\\n\" + \"3.address\" + \"\\n\" + \"4.city\" + \"\\n\" +\n \"5.state\" + \"\\n\" + \"6.email\" + \"\\n\" + \"7.zip\" +\n \"\\n\" + \"8.phone number\" + \"\\n\" + \"9.exit\");\n switch(scannerForAddressBook.scannerProvider().nextInt()) {\n case 1:\n System.out.println(\"Enter new first name to change: \");\n contact.setFirstName(scannerForAddressBook.scannerProvider().nextLine());\n break;\n case 2:\n System.out.println(\"Enter new last name to change: \");\n contact.setLastName(scannerForAddressBook.scannerProvider().nextLine());\n break;\n case 3:\n System.out.println(\"Enter new address to change: \");\n contact.setAddress(scannerForAddressBook.scannerProvider().nextLine());\n break;\n case 4:\n System.out.println(\"Enter new city to change: \");\n contact.setCity(scannerForAddressBook.scannerProvider().nextLine());\n break;\n case 5:\n System.out.println(\"Enter new state to change: \");\n contact.setState(scannerForAddressBook.scannerProvider().nextLine());\n break;\n case 6:\n System.out.println(\"Enter new email to change: \");\n contact.setEmail(scannerForAddressBook.scannerProvider().nextLine());\n break;\n case 7:\n System.out.println(\"Enter new zip to change: \");\n contact.setZip(scannerForAddressBook.scannerProvider().nextInt());\n break;\n case 8:\n System.out.println(\"Enter new phone number to change: \");\n contact.setPhoneNumber(scannerForAddressBook.scannerProvider().nextLine());\n break;\n default:\n System.out.println(\"Thank you!\");\n isExit = true;\n }\n }\n } else {\n System.out.println(\"Contact does not exists!\");\n }\n }",
"public void selectContact() {\r\n Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);\r\n startActivityForResult(intent, PICK_CONTACT);\r\n }",
"public void viewContact() \n\t{\n\t\tSystem.out.printf(\"%n--[ View Contact ]--%n\");\n\t\tScanner s = new Scanner(System.in);\n\t\tshowContactIndex();\n\t\tSystem.out.printf(\"%n%nClient Number: \");\n\t\tint index = s.nextInt();\n\t\tdisplayAll(index - 1);\n\t}",
"@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tif(localType == EMAIL_FIELD){\r\n\t\t\tif(!field.getText().contains(\"@\")){\r\n\t\t\t\tif(localFrame != null){\r\n\t\t\t\t\tlocalFrame.getMyPhoneMeStatusBar().setStatus\r\n\t\t\t\t\t(\"email不符合格式,至少包含@\");\r\n\t\t\t\t}\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(field.getState() == PhoneMeField.ADD_STATE){\r\n\t\t\tif(field.getText().length() != 0){\r\n\t\t\t\tmanageBox.addItem(field.getText());\r\n\t\t\t\tmanageBox.setSelectedIndex(manageBox.getItemCount()-1);\r\n\t\t\t}\r\n\t\t\tfield.setVisible(false);\r\n\t\t\tfield.setText(\"\");\r\n\t\t}\r\n\t\tif(field.getState() == PhoneMeField.EDIT_STATE){\r\n\t\t\tif(field.getText().length() != 0){\r\n\t\t\t\tmanageBox.setEditable(true);\r\n\t\t\t\tint index = manageBox.getSelectedIndex();\r\n\t\t\t\tmanageBox.removeItem(manageBox.getSelectedItem());\r\n\t\t\t\tmanageBox.insertItemAt(field.getText(), index);\r\n\t\t\t\tmanageBox.setSelectedIndex(index);\r\n\t\t\t//manageBox.addItem(field.getText());\r\n\t\t\t//(String)manageBox.getSelectedItem()\r\n\t\t\t//manageBox.setSelectedItem(field.getText());\r\n\t\t\t//manageBox.updateUI();\r\n\t\t\t\tmanageBox.setEditable(false);\r\n\t\t\t}\r\n\t\t\tfield.setVisible(false);\r\n\t\t\tfield.setText(\"\");\r\n\t\t}\r\n\t}",
"public void accessAddressBook() {\n boolean isExit = false;\n while(!isExit) {\n System.out.println(\"Select option: \\n1.Add Contact\\n2.Edit Contact\\n\" +\n \"3.Delete Contact\\n4.Find contact\\n5.Exit\");\n int option = scannerForAddressBook.scannerProvider().nextInt();\n switch(option) {\n case 1:\n if(!isContactExist(getName())) {\n addContact();\n } else {\n System.out.println(\"Contact already exists!\");\n }\n break;\n case 2:\n String name = getName();\n if(isContactExist(name)) {\n editDetails(name);\n } else {\n System.out.println(\"Contact does not exists!\");\n }\n break;\n case 3:\n String name1 = getName();\n if(isContactExist(name1)) {\n Contacts contact = getContact(name1);\n deleteContact(contact);\n } else {\n System.out.println(\"Contact does not exists!\");\n }\n break;\n case 4:\n findContactOptions();\n break;\n default:\n System.out.println(\"Thanks!\");\n isExit = true;\n }\n }\n }",
"private void readContactInfo() {\n\t\tScanner console = new Scanner(System.in);\n\t\tPerson tempPerson = new Person();\n\t\tString stringInput;\n\t\t\n\t\tSystem.out.println(\"Please press enter after each input, or \"\n\t\t\t\t\t\t\t+ \"input only 'c' to cancel.\");\n\t\tSystem.out.print(\"Last name: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else if (stringInput.isEmpty()) { //terminates if last name is blank\n\t\t\tSystem.err.println(\"Last name is required. No contact added!\");\n\t\t\treturn;\n\t\t} else {\n\t\t\ttempPerson.setLastName(stringInput);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"First name: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else if (stringInput.isEmpty()) { //terminates if first name is blank\n\t\t\tSystem.err.println(\"First name is required. No contact added!\");\n\t\t\treturn;\n\t\t} else {\n\t\t\ttempPerson.setFirstName(stringInput);\n\t\t}\n\t\t\n\t\t\n\t\tStreetAddress address = new StreetAddress();\n\t\tSystem.out.println(\"Address: \");\n\t\tSystem.out.print(\"\\tHouse/Apartment: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\taddress.setHouse(stringInput);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\tCity: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\taddress.setCity(stringInput);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\tState: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\taddress.setState(stringInput);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\tZip code: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\taddress.setZip(stringInput);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"\\tCountry: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\taddress.setCountry(stringInput);\n\t\t\ttempPerson.setAddress(address);\n\t\t}\n\t\t\t\n\t\tSystem.out.print(\"Email address: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\ttempPerson.setEmail(stringInput);\n\t\t}\n\t\t\n\t\tSystem.out.print(\"Phone number(XXX XXX XXXX): \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\ttempPerson.setPhone(stringInput);\n\t\t}\n\t\n\t\tSystem.out.print(\"Notes: \");\n\t\tstringInput = console.nextLine().trim();\n\t\tif (isCancelled(stringInput)) { //terminates if user enters \"c\"\n\t\t\tSystem.out.println(\"No contact added.\");\n\t\t\treturn;\n\t\t} else {\n\t\t\ttempPerson.setNotes(stringInput);\n\t\t}\n\t\t\n\t\tcontactList[contactCounter] = tempPerson;\n\t\tSystem.out.println(\"New contact added!\");\n\t\tcontactCounter++;\n\t}",
"private void onMenuClickCNF() {\r\n\t\tswitchMainPanelTo(CARDTYPE_CREATENEWFILE);\r\n\t\tSwingUtilities.invokeLater(new Runnable() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\ttxtCNFName.grabFocus();\r\n\t\t\t}\r\n\t\t});\r\n\t}",
"public void editContact() {\n int match = -1;\n Scanner sc = new Scanner(System.in);\n System.out.println(\"enter first name of person whose contact details you wants to edit\");\n String name = sc.nextLine();\n Contact contactToBeEdited = contactList.get(0);\n System.out.println(contactList.get(0));\n\n for (int j = 0; j < contactList.size(); j++) {\n Contact conMatch = contactList.get(j);\n System.out.println(conMatch.getFirstName());\n if (name.equals(conMatch.getFirstName())) {\n match = j;\n contactToBeEdited = contactList.get(match);\n\n } else {\n System.out.println(\"no contact with this first name \");\n }\n\n }\n\n if (match != -1) {\n\n System.out.print(\" what you want to edit : \"\n + \"\\n1. Zip Code\" + \"\\n2. First Name\" + \"\\n3 Last Name\" + \"\\n4. Address\"+ \"\\n5. City\" + \"\\n6. State\"\n\n + \"\\n7. Phone Number\" + \"\\n8. Email\");\n\n int option = sc.nextInt();\n sc.nextLine(); // catches the new line character\n\n switch (option) {\n case 1:\n System.out.println(\"enter new zip code\");\n String newZipCode = sc.nextLine();\n contactToBeEdited.setZip(newZipCode);\n break;\n\n case 2:\n System.out.println(\"enter new first name\");\n String newFirstName = sc.nextLine();\n contactToBeEdited.setFirstName(newFirstName);\n break;\n\n case 3:\n System.out.println(\"enter new last name\");\n String newLastName = sc.nextLine();\n contactToBeEdited.setFirstName(newLastName);\n break;\n\n case 4 :\n System.out.println(\"enter new street address\");\n String address = sc.nextLine();\n contactToBeEdited.setAddress(address);\n break;\n\n\n\n case 5:\n System.out.println(\"enter new city name\");\n String newcityName = sc.nextLine();\n contactToBeEdited.setCity(newcityName);\n break;\n\n case 6:\n System.out.println(\"enter new state name\");\n String newStateName = sc.nextLine();\n contactToBeEdited.setState(newStateName);\n break;\n\n\n case 7:\n System.out.println(\"enter new phone number\");\n String newPhoneNumber = sc.nextLine();\n contactToBeEdited.setPhone(newPhoneNumber);\n break;\n\n case 8:\n System.out.println(\"enter new email address\");\n String newEmailAddress = sc.nextLine();\n contactToBeEdited.setEmail(newEmailAddress);\n break;\n\n default:\n System.out.println(\"choice does not exist\");\n\n }\n\n\n }\n\n }",
"public static void viewContactList() {\n boolean keepLooping = true;\n do{\n //viewing function\n System.out.printf(\"Name%-15s Phone%-9s Email\\n\",\"\",\"\",\"\");\n System.out.println(\"______________________________________________________________________________________\");\n for(String eachContact : contactList){\n System.out.println(eachContact);\n }\n //create functionality that sets keep looping to false\n myScanner.nextLine();\n try {\n int userSelect = selectFromList(repeatAction);\n if(userSelect == 1){\n keepLooping = false;\n }\n } catch(Exception ignored) {}\n } while(keepLooping);\n }",
"private void select(ActionEvent e){\r\n // Mark this client as an existing client since they are in the list\r\n existingClient = true;\r\n // To bring data to Management Screen we will modify the text fields\r\n NAME_FIELD.setText(client.getName());\r\n ADDRESS_1_FIELD.setText(client.getAddress1());\r\n ADDRESS_2_FIELD.setText(client.getAddress2());\r\n CITY_FIELD.setText(client.getCity());\r\n ZIP_FIELD.setText(client.getZip());\r\n COUNTRY_FIELD.setText(client.getCountry());\r\n PHONE_FIELD.setText(client.getPhone());\r\n // client.setAddressID();\r\n client.setClientID(Client.getClientID(client.getName(), client.getAddressID()));\r\n // Pass client information to Client Management Screen\r\n currClient = client;\r\n back(e);\r\n }",
"public void addContact() {\n Contacts contacts = new Contacts();\n System.out.println(\"Enter first name\");\n contacts.setFirstName(scannerForAddressBook.scannerProvider().nextLine());\n System.out.println(\"Enter last name\");\n contacts.setLastName(scannerForAddressBook.scannerProvider().nextLine());\n System.out.println(\"Enter address\");\n contacts.setAddress(scannerForAddressBook.scannerProvider().nextLine());\n System.out.println(\"Enter city\");\n contacts.setCity(scannerForAddressBook.scannerProvider().nextLine());\n System.out.println(\"Enter state\");\n contacts.setState(scannerForAddressBook.scannerProvider().nextLine());\n System.out.println(\"Enter email\");\n contacts.setEmail(scannerForAddressBook.scannerProvider().nextLine());\n System.out.println(\"Enter zip\");\n contacts.setZip(scannerForAddressBook.scannerProvider().nextInt());\n System.out.println(\"Enter phone number\");\n contacts.setPhoneNumber(scannerForAddressBook.scannerProvider().nextLine());\n contactList.add(contacts);\n }",
"public static void contractors(){\n NewProject.contract_name = getInput(\"Please enter the NEW name of the contractor:\");\r\n\r\n NewProject.contract_tel = getInput(\"Please enter the NEW telephone number of the contractor:\");\r\n\r\n NewProject.contract_email = getInput(\"Please enter the NEW email of the contractor:\");\r\n\r\n NewProject.contract_address = getInput(\"Please enter the NEW email of the contractor:\");\r\n\r\n UpdateData.updateContractor();\r\n updateMenu();\t//Return back to previous menu.\r\n }",
"public void importContactsFromPhone(View btnSelectContact) {\n startActivityForResult(new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI), REQUEST_CODE_PICK_CONTACTS);\n }",
"private void clickOnContactSelected(final String contact) {\n String contactNameXpath = String.format(CONTACT_NAME, contact);\n contactNameSelected = webDriverWait.until(ExpectedConditions.elementToBeClickable(By.xpath(contactNameXpath)));\n contactNameSelected.click();\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t//String input = (String)comboBoxInvoice.getSelectedItem();\n\t\t\t\tString input = (String)comboBoxCustomer.getSelectedItem();\n\t\t\t\tif(input.trim().equals(\"\") || input.matches(\".*\\\\D.*\")){ //regEx\n\t\t\t\t\ttextarea.setText(\"Please enter a valid number\");\n\t\t\t\t\ttextarea.setCaretPosition(0);\n\t\t\t\t\tlistOfCustomers.setSelectedItem(\"select\");\n\t\t\t\t\tlistOfInvoices.setSelectedItem(\"select\");\n\t\t\t\t}else{\n\t\t\t\t\tint num = Integer.parseInt(input);\n\t\t\t\t\ttextarea.setText(invoice.viewInvoiceByCustomer(num, invoices));\t//viewInvoiceByCustomer() is in the Invoice class\n\t\t\t\t\ttextarea.setCaretPosition(0);\n\t\t\t\t\tlistOfInvoices.setSelectedItem(\"select\");\n\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"private void fillExistingCustomer() {\n idField.setText(String.valueOf(existingCustomer.getCustomerID()));\n nameField.setText(existingCustomer.getCustomerName());\n String[] splitAddress = existingCustomer.getAddress().split(\", \");\n addressField.setText(splitAddress[0]);\n if ( splitAddress.length > 1 ) {\n cityField.setText(splitAddress[1]);\n }\n postalField.setText(existingCustomer.getPostalCode());\n phoneField.setText(existingCustomer.getPhone());\n\n FirstLevelDivision division = getDivisionByID(existingCustomer.getDivisionID());\n divisionComboBox.getSelectionModel().select(division);\n countryComboBox.getSelectionModel().select(getCountryByID(division.getCountryID()));\n }",
"public static void main(String[] args) { //the main class \n\n Contact one = new Contact(\"A\", \"A\", \"A\", \"A\"); // I give it some contact information first.\n Contact two = new Contact(\"Bob\", \"Bob\", \"A\", \"A\");\n\n Scanner scan = new Scanner(System.in);\n\n AddressBook book = new AddressBook();\n book.addNewContact(one);\n book.addNewContact(two);\n\n System.out.println(\"give me name? \"); //ask for name\n\n\n String name = scan.nextLine(); //take the input from the user and store is as as first name \n System.out.println(\"Last name?\");\n String lname = scan.nextLine();\n\n book.addNewContact(new Contact(name, lname, \"123\", \"123\")); /\n\n book.displayAllContacts(); //this method call displayAllContact is to display all it have from the address book\n\n\n\n\n\n }",
"public void userForm(){\n\t\tSystem.out.print(menu);\n\t\tScanner input = new Scanner(System.in);\n\t\tselection = input.nextInt();\n\t\tmenuActions(selection);\n\t\t}",
"@Override\n\t\tpublic void formSuggestionSelectionChange(UiSuggestBox uiSuggestBox) {\n\t\t\tif (uiSuggestBox == customerSuggestBox) {\n\t\t\t\t// Llenar moneda del cliente\n\t\t\t\tBmoCustomer bmoCustomer = new BmoCustomer();\n\t\t\t\tbmoCustomer = (BmoCustomer)customerSuggestBox.getSelectedBmObject();\n\t\t\t\tif (bmoCustomer != null) {\n\t\t\t\t\t// Permitir elegir direccion del cliente\n\t\t\t\t\t//populateCustomerAddress(customerSuggestBox.getSelectedId());\n\t\t\t\t\tformFlexTable.showField(bmoProject.getCustomerAddressId());\n\t\t\t\t\t//customerAddressListBox.setEnabled(true);\n\t\t\t\t\t\n\t\t\t\t\tif (bmoCustomer.getMarketId().toInteger() > 0) {\n\t\t\t\t\t\tmarketListBox.setSelectedId(\"\" + bmoCustomer.getMarketId().toInteger());\n\t\t\t\t\t} else marketListBox.setSelectedId(\"0\");\n\t\t\t\t} else \n\t\t\t\t\tmarketListBox.setSelectedId(\"0\");\n\t\t\t\t\n\t\t\t} else if (uiSuggestBox == venueSuggestBox) {\n\t\t\t\t// Activar campo si esta marcado el Salon como casa particular\n\t\t\t\tBmoVenue bmoVenue = (BmoVenue)venueSuggestBox.getSelectedBmObject();\n\t\t\t\tif (bmoVenue != null) {\n\t\t\t\t\tif (bmoVenue.getHomeAddress().toBoolean() && bmoVenue.getId() > 0) {\n\t\t\t\t\t\tformFlexTable.showField(bmoProject.getHomeAddress());\n\t\t\t\t\t\thomeAddressTextBox.setText(\"\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\thomeAddressTextBox.setText(\"\");\n\t\t\t\t\tformFlexTable.hideField(bmoProject.getHomeAddress());\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tstatusEffect();\n\t\t}",
"public void updateContact(Address address) {\n Address address1 = SearchContact(address.getFirstName(), address.getLastName());\r\n System.out.println(\"Enter 1 for update first name,2 for update last name,3 for phone number and 4 for address\");\r\n int choice = input.nextInt();\r\n switch (choice) {\r\n case 1 -> {\r\n System.out.println(\"Enter the first name: \");\r\n String fname = input.next();\r\n address1.setFirstName(fname);\r\n }\r\n case 2 -> {\r\n System.out.println(\"Enter the last name: \");\r\n String lname = input.next();\r\n address1.setLastName(lname);\r\n }\r\n case 3 -> {\r\n System.out.println(\"Enter the mobile number: \");\r\n String mobnumb = input.next();\r\n address1.setPhoneNumber(mobnumb);\r\n }\r\n case 4 -> {\r\n System.out.println(\"Enter the adrees: \");\r\n String adress = input.next();\r\n address1.setAddress(adress);\r\n }\r\n }\r\n }",
"public void selectPressed() {\n\t\tif (edit) {\n\t\t\tdisplayCardHelp = !displayCardHelp;\n\t\t} else {\n\t\t\tSoundPlayer.playSound(SoundMap.MENU_ERROR);\n\t\t}\n\t}",
"public void initContactCreation() {\n click(By.linkText(\"add new\"));\n //wd.findElement(By.linkText(\"add new\")).click();\n }",
"public void AddressMenu() {\n\t\t\t\n\t\taddressMenu();\n\t\t\n\t\tScanner keyboard = new Scanner( System.in );\n\t\tString input = keyboard.nextLine().toLowerCase();\n\t\t\n\t\twhile(input != \"0\"){\n\t\t\t\n\t\t\t switch(input){\n\t case \"0\" : System.out.println(\"You close the App\"); \n\t \t\t\tSystem.exit(0);\n\t break;\n\t \n\t case \"c\": \n\t \n\t break;\n\t \n\t case \"r\" : \n\n\t \t\n\t \tbreak;\n\t case \"u\" : \n\t \t\n\t \tbreak;\n\t \n\t case \"d\" : \n\t \t try {\n\t\t\t\t\t\tnew IdentityJDBCDAO().delete(new Identity());\n\t\t\t\t\t} catch (IdentityDeleteException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t\n\t\t\t\t\t}\n\t \tbreak;\n\t \t\n\t case \"3\" : mainMenuOption();\n\t \tbreak;\n\t \n\t default :\tSystem.out.println(\"Invalid selection\"); \n\t \t\t\tmainMenuOption();\n\t break;\t\n\t\t\t }\n\t\t break;\n\t\t}\n\t}",
"public static void updateContact ( LinkedList contactsList ) { \n\t\tSystem.out.print ( \"\\n\" + \"Enter the contact's first and last name: \" ); // prompt\n\t\tString [ ] firstAndLastName = CheckInput.getString ( ).split( \" \"); // split the input into an array for first and last name\n\t\tString firstName = firstAndLastName [ 0 ];\n\t\tString lastName = firstAndLastName [ 1 ];\n\t\tint index = contactsList.search ( firstName, lastName ); // returns the index of the use target\n\t\tif ( index >= 0 ) { // if it's not negative, which would mean the target doesn't exist\n\t\t\tint menuChoice = dispAndGetMenu ( 4 ); // display submenu 4 and get choice of which category to change\n\t\t\tSystem.out.print ( \"\\n\" + \"Set it to: \");\n\t\t\tif ( menuChoice == 1 ) { // change the category corresponding to the user's choice\n\t\t\t\tcontactsList.get( index + 1 ).setFirst ( CheckInput.getString ( ) ); \n\t\t\t} else if ( menuChoice == 2 ) {\n\t\t\t\tcontactsList.get( index + 1).setLast ( CheckInput.getString ( ) );\n\t\t\t} else if ( menuChoice == 3 ) {\n\t\t\t\tcontactsList.get( index + 1 ).setPhone ( CheckInput.getString ( ) );\n\t\t\t} else if ( menuChoice == 4 ) {\n\t\t\t\tcontactsList.get( index + 1 ).setAddress ( CheckInput.getString ( ) );\n\t\t\t} else if ( menuChoice == 5 ) {\n\t\t\t\tcontactsList.get( index + 1 ).setCity ( CheckInput.getString ( ) );\n\t\t\t} else {\n\t\t\t\tcontactsList.get( index + 1 ).setZip ( CheckInput.getInt ( ) );\n\t\t\t}\n\t\t\tSystem.out.print ( \"\\n\" );\n\t\t}\n\t}",
"public void addContacts() {\r\n\t\tList<String> numberList= new ArrayList<String>();\r\n\t\tList<String> emailList= new ArrayList<String>();\r\n\t\tSystem.out.println(\"enter the contact name \");\r\n\t\tString name = scanner.nextLine();\r\n\t\t\r\n\t\tSystem.out.println(\"enter the contact address \");\r\n\t\tString address = scanner.nextLine();\r\n\t\t\r\n\t\tSystem.out.println(\"enter the contact mobile Number \");\r\n\t\tString number = scanner.nextLine();\r\n\t\tnumberList.add(number);\r\n\t\t\r\n//allowing user to add one or more contact numbers\r\n\t\tString choice=null;\r\n\t\tdo {\r\n\t\t\tSystem.out.println(\"Do you want to add more Number?\");\r\n\t\t\tSystem.out.println(\"yes or no?\");\r\n\t\t\tchoice=scanner.nextLine();\r\n\t\t\tif(choice.equalsIgnoreCase(\"yes\")) {\r\n\t\t\t\tSystem.out.println(\"enter the mobile number\");\r\n\t\t\t\tnumber = scanner.nextLine();\r\n\t\t\t\tnumberList.add(number);\r\n\t\t\t}\r\n\t\t}while(choice.equalsIgnoreCase(\"yes\"));\r\n\t\t\r\n\t\tString[] mobileNumber = numberList.toArray(new String[0]);\r\n\t\t\r\n\t\t\r\n\r\n\t\tSystem.out.println(\"choose the profile picture\");\r\n\t\tString imageReference = scanner.nextLine();\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"enter your date of birth as yyyy-MM-dd\");\r\n\t\tString strDateOfBirth = scanner.nextLine();\r\n\t\tLocalDate dateOfBirth = LocalDate.parse(strDateOfBirth);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"enter the contact email Id \");\r\n\t\tString email = scanner.nextLine();\r\n\t\temailList.add(email);\r\n\t\t\r\n\t\t\r\n//allowing user to add one or more email ids\r\n\t\tchoice=null;\r\n\t\tdo {\r\n\t\t\tSystem.out.println(\"Do you want to add more email Id?\");\r\n\t\t\tSystem.out.println(\"yes or no?\");\r\n\t\t\tchoice=scanner.nextLine();\r\n\t\t\tif(choice.equalsIgnoreCase(\"yes\")) {\r\n\t\t\t\tSystem.out.println(\"enter the email Id\");\r\n\t\t\t\temail = scanner.nextLine();\r\n\t\t\t\temailList.add(email);\r\n\t\t\t}\r\n\t\t}while(choice.equalsIgnoreCase(\"yes\"));\r\n\t\t\r\n\t\tString emailArray[]= emailList.toArray(new String[0]);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"select the group you want to add the contact to\");\r\n\t\tshowGroups(service);\r\n\t\tint groupId = Integer.parseInt(scanner.nextLine());\r\n\t\t\r\n\t\t//setting up the contact object with the user defined details\r\n\t\tContact contact = new Contact(name, address, mobileNumber, imageReference, dateOfBirth, emailArray, groupId); \r\n\t\t\r\n\t\t//calling the addContact service which in turn calls add method of DAO\r\n\t\tint rowsAdded = service.addContact(contact);\r\n\t\tSystem.out.println(rowsAdded+\" rows added \");\r\n\t}",
"void enableAddContactButton();",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t\n\t\t\t\tif (!TextUtils.isEmpty(paste_clip_data)){\n\t\t\t\t\t\n\t\t\t\t\tphone_num_edt.setText(paste_clip_data);\n\t\t\t\t\tpaste_btn.setVisibility(View.GONE);\n\t\t\t\t}\n\t\t\t}",
"public void read() {\r\n\t\tJTextField txtCustomerNo = new JTextField();\r\n\t\ttxtCustomerNo.setText(\"\" + this.getCustomerNo());\r\n\t\tJTextField txtTitle = new JTextField();\r\n\t\ttxtTitle.requestFocus();\r\n\t\tJTextField txtFirstName = new JTextField();\r\n\t\tJTextField txtSurname = new JTextField();\r\n\t\tJTextField txtAddress = new JTextField();\r\n\t\tJTextField txtPhoneNo = new JTextField();\r\n\t\tJTextField txtEmail = new JTextField();\r\n\r\n\t\t\r\n\t\tObject[] message = { \"Customer Number:\", txtCustomerNo, \"Title:\", txtTitle, \"First Name:\", txtFirstName,\r\n\t\t\t\t\"Surname:\", txtSurname, \"Address:\", txtAddress, \"Phone Number:\", txtPhoneNo, \"Email:\", txtEmail, };\r\n\t\t\r\n\r\n\t\tint option = JOptionPane.showConfirmDialog(null, message, \"Enter customer details\",\r\n\t\t\t\tJOptionPane.OK_CANCEL_OPTION);\r\n\t\t\r\n\t\tName txtName = new Name(txtTitle.getText(), txtFirstName.getText(), txtSurname.getText());\r\n\r\n\t\tif (option == JOptionPane.OK_OPTION) {\r\n\t\t\tthis.name = txtName;\r\n\t\t\tthis.address = txtAddress.getText();\r\n\t\t\tthis.phoneNo = txtPhoneNo.getText();\r\n\t\t\tthis.emailAddress = txtEmail.getText();\r\n\t\t}\r\n\t}",
"@Override\r\n\t\t\tpublic void widgetSelected(SelectionEvent arg0) {\n\t\t\t\tInputDialog id1=new InputDialog(sShell,\"新增员工\",\"输入员工信息,用空格分开,例如:001 Manager Tommy f 312039\",\"\",null);\r\n\t\t\t\tif(id1.open()==0){\r\n\t\t\t\t\tinput=id1.getValue();\r\n\t\t\t\t\tif(input.equals(\"\")) return;\r\n\t\t\t\t}\r\n\t\t\t\telse return;\r\n\t\t\t\tString str[]=input.split(\" \");\r\n\t\t\t\tCommonADO ado=CommonADO.getCommonADO();\r\n\t\t\t\tString sql=\"insert into Staff values('\"+str[0]+\"','\"+str[1]+\"','\"+str[2]+\"','\"+str[3]+\"','\"+str[4]+\"')\";\r\n\t\t\t\tado.executeUpdate(sql);\r\n\t\t\t\tshowStaff();\r\n\t\t\t}",
"public static void editContact() {\n System.out.println(\"Enter first name: \");\n String firstName = sc.nextLine();\n for (int i = 0; i < list.size(); i++) {\n if (list.get(i).getFirstName().equalsIgnoreCase(firstName)) {\n list.remove(i);\n addContact();\n } else {\n System.out.println(\"No data found in Address Book\");\n }\n }\n }",
"public void pulisciInput(){\n nomeVarTextField.setText(\"\");\n tipoVarComboBox.setSelectedIndex(-1);\n if(modalita == TRIGGER) triggerComboBox.setSelectedIndex(-1); \n else proceduraComboBox.setSelectedIndex(-1);\n }",
"public static void doMenuChoice ( LinkedList contactsList, int menuChoice ) { \n\t\tif ( menuChoice == 1 ) {\n\t\t\taddContact( contactsList );\n\t\t} else if ( menuChoice == 2 ) {\n\t\t\tremoveContact ( contactsList, dispAndGetMenu ( 2 ) );\n\t\t} else if ( menuChoice == 3 ) {\n\t\t\tsearchContact ( contactsList, dispAndGetMenu ( 3 ) );\n\t\t} else if ( menuChoice == 4 ) {\n\t\t\tupdateContact ( contactsList );\n\t\t} else if (menuChoice == 5 ) {\n\t\t\tshowContacts ( contactsList );\n\t\t}\n\t}",
"@FXML\r\n protected void replyToComplaint() {\r\n if(verifyInput()) {\r\n Date date = new Date();\r\n Complaint complaint = complaintListView.getSelectionModel().getSelectedItem();\r\n complaint.closeComplaint(date, reply.getText(), Double.parseDouble(compensation.getText()));\r\n App.getOcsfClient(this).replyToComplaint(complaint);\r\n this.reply.setText(\"\");\r\n this.compensation.setText(\"\");\r\n }\r\n }",
"@Override\n public void onClick(View arg0) {\n Uri uri = Uri.parse(\"content://contacts\");\n Intent intent = new Intent(Intent.ACTION_PICK, uri);\n intent.setType(Phone.CONTENT_TYPE);\n startActivityForResult(intent, REQUEST_CODE);\n }",
"private void getUserInput() {\n getUserTextInput();\n getUserPhotoChoice();\n getUserRoomChoice();\n getUserBedroomsChoice();\n getUserBathroomsChoice();\n getUserCoownerChoice();\n getUserIsSoldChoice();\n getUserTypeChoice();\n mAmenitiesInput = Utils.getUserAmenitiesChoice(mBinding.chipGroupAmenities.chipSchool,\n mBinding.chipGroupAmenities.chipShop, mBinding.chipGroupAmenities.chipTransport,\n mBinding.chipGroupAmenities.chipGarden);\n }",
"public void mailsPosition(){\n\t\tSystem.out.println(\"Company:\");\n\t\tSystem.out.println(theHolding.companies());\n\t\tint selected = reader.nextInt();\n\t\treader.nextLine();\n\t\tif(selected > theHolding.getSubordinates().size()-1){\n\t\t\tSystem.out.println(\"Please select a correct option\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"Position:\");\n\t\t\tString position = reader.nextLine();\n\t\t\tSystem.out.println(theHolding.mailsPosition(selected, position));\n\t\t}\n\t}",
"@Override\r\n public void onClick(View v) {\n\r\n Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);\r\n intent.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE);\r\n\r\n startActivityForResult(intent, PICK_CONTACT);\r\n\r\n }",
"private void updateText() {\n pers = new PersonManager();\n //Is this every contact or a single person?\n if (this.surnameCombo.isVisible()) {\n if (this.personValid()) {\n Person myPers = getPerson();\n if (pers.getCountryList(myPers).size() > 0) {\n contactModel.removeData();\n contactModel.add(new PersonManager().getCountryList(myPers));\n }\n }\n } else {\n contactModel.removeData();\n contactModel.add(myCountries.getContactedCountryList());\n }\n }",
"private void contactsListEvent(){\n UI.getContacts().addListSelectionListener(new ListSelectionListener() {\r\n @Override\r\n public void valueChanged(ListSelectionEvent e) {\r\n UI.getProperList().clear(); //Clear screen\r\n UI.getContacts().setCellRenderer(clearNotification); //Clear notification\r\n UI.getUserName().setText((String) UI.getContacts().getSelectedValue()); //Set selected username\r\n String currentChat = (String)UI.getContacts().getSelectedValue();\r\n if(chats.containsKey(currentChat)){ //If database exists\r\n for(String s: chats.get(currentChat)){ //Load messages to screen\r\n UI.getProperList().addElement(s);\r\n }\r\n }\r\n }\r\n });\r\n }",
"@When(\"^Click on Contactus Option$\")\r\n\tpublic void click_on_Contactus_Option() {\n\t\tnop.click(\"//*[@id=\\\"contact-link\\\"]/a\"); //clicking contact us option\r\n\t\t\r\n\t}",
"public static void returnAddNewServicesMenu() {\n System.out.print(\"Please enter a number to continue:\");\n processAddnewServicesMenu();\n }",
"@FXML\n void onActChooseContact(ActionEvent event) {\n\n }",
"public void onClick(View v) {\n if (firstName.getText().toString().isEmpty()) {\n firstName.setError(\"This field cannot be blank\");\n } else if (extras.getString(\"NEW_OR_EDIT\").equals(\"edit\")) {\n int number = extras.getInt(\"NUMBER\");\n Contact current = new Contact(firstName.getText().toString(), lastName.getText().toString(),\n phone.getText().toString(), email.getText().toString());\n // If the first name is not empty (Validation)\n controller.updateContactAt(number, current);\n finish();\n } else if (extras.getString(\"NEW_OR_EDIT\").equals(\"new\")) {\n Contact current = new Contact(firstName.getText().toString(), lastName.getText().toString(),\n phone.getText().toString(), email.getText().toString());\n if (!firstName.getText().toString().isEmpty()) {\n controller.addContact(current);\n finish();\n }\n }\n }",
"public void addContact() \n\t{\n\t\tSystem.out.printf(\"%n--[ Add Contact ]--%n\");\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.printf(\"%nFirst Name: \");\n\t\tString firstName = s.next();\n\t\tSystem.out.printf(\"%nLast Name: \");\n\t\tString lastName = s.next();\n\t\tSystem.out.printf(\"%nPhone Number: \");\n\t\tString phoneNumber = s.next();\n\t\tSystem.out.printf(\"%nEmail Address: \");\n\t\tString emailAddress = s.next();\n\t\tSystem.out.printf(\"%nCompany: \");\n\t\tString company = s.next();\n\t\tBusinessContact b = new BusinessContact(firstName, lastName,\n\t\t\t\tphoneNumber, emailAddress, company);\n\t\tcontacts.add(b);\n\t}",
"@Override\n\tpublic void focusGained(FocusEvent arg0) {\n\t\tif(arg0.getSource()==text_customerID)\n\t\t\ttext_customerID.selectAll();\n\n \n \n\t\telse {}\n\t}",
"public void addContactDetails() {\n firstNameField.setText(contact.getFirstName());\n middleNameField.setText(contact.getMiddleName());\n lastNameField.setText(contact.getLastName());\n\n homePhoneField.setText(contact.getHomePhone());\n workPhoneField.setText(contact.getWorkPhone());\n\n homeAddressField.setText(contact.getHomeAddress());\n workAddressField.setText(contact.getWorkAddress());\n\n personalEmailField.setText(contact.getPersonalEmail());\n workEmailField.setText(contact.getWorkEmail());\n\n }",
"public void showContacts(View view) {\n startActivityForResult(new Intent(this, ContactPickerActivity.class), 1302);\n }",
"@FXML\n private void editSelected() {\n if (selectedAccount == null) {\n // Warn user if no account was selected.\n noAccountSelectedAlert(\"Edit DonorReceiver\");\n } else {\n EditPaneController.setAccount(selectedAccount);\n PageNav.loadNewPage(PageNav.EDIT);\n }\n }",
"@FXML\n public void checkMail() throws IOException {\n if (SameAddressRadioButton.isSelected()) {\n Name9Field.setEditable(false);\n Name9Field.setDisable(true);\n Name9Field.setText(\"\");\n State9ComboBox.setDisable(true);\n State9ComboBox.setPromptText(\"State\");\n Address9Field.setEditable(false);\n Address9Field.setText(\"\");\n Address9Field.setDisable(true);\n City9Field.setEditable(false);\n City9Field.setText(\"\");\n City9Field.setDisable(true);\n Zip9Field.setEditable(false);\n Zip9Field.setText(\"\");\n Zip9Field.setDisable(true);\n } else {\n Name9Field.setEditable(true);\n Name9Field.setDisable(false);\n State9ComboBox.setDisable(false);\n State9ComboBox.setPromptText(\"State\");\n Address9Field.setEditable(true);\n Address9Field.setDisable(false);\n City9Field.setEditable(true);\n City9Field.setDisable(false);\n Zip9Field.setEditable(true);\n Zip9Field.setDisable(false);\n }\n }",
"public void actionPerformed(ActionEvent e) {\r\n JTextField ownerTf;\r\n String mes;\r\n\r\n String record[] = getRecordOnPan();\r\n\r\n try {\r\n int match[] = data.find(record);\r\n \r\n if (match.length > 1) {\r\n updateStatus(\"More than one match record.\");\r\n return;\r\n } else if (match.length == 0) {\r\n updateStatus(\"Record not found.\");\r\n return;\r\n }\r\n \r\n ownerTf = new JTextField();\r\n ownerTf.setText(record[5]);\r\n mes = \"Enter customer id\";\r\n \r\n int result = JOptionPane.showOptionDialog(\r\n frame, new Object[] {mes, ownerTf},\r\n \"Booking\", JOptionPane.OK_CANCEL_OPTION,\r\n JOptionPane.PLAIN_MESSAGE,\r\n null, null, null);\r\n\r\n if (result == JOptionPane.OK_OPTION) {\r\n record[5] = ownerTf.getText();\r\n bc.handleUpdateGesture(match[0], record);\r\n updateStatus(\"Subcontractor booked.\");\r\n }\r\n } catch (Exception ex) {\r\n updateStatus(ex.getMessage());\r\n }\r\n }",
"public void launchContact(){\n\t\tIntent sendIntent = new Intent(Intent.ACTION_VIEW);\n \tsendIntent.setType(ContactsContract.Contacts.CONTENT_TYPE);\n\n if (sendIntent.resolveActivity(pacman) != null) {\n \tstartActivity(sendIntent);\n \treturn;\n } else {\n \tToast.makeText(context, \"No Texting App Availible\", Toast.LENGTH_SHORT).show();\n \treturn;\n }\n\t}",
"protected void makeMenu( Menu menu, int instance ) {\n_selectedPerson = null; // Not sure which is focused atm.\nField focusingOn = this.getLeafFieldWithFocus();\nif ( focusingOn == _lfBoys ) {\n_selectedPersonIsABoy = true;\n_selectedPerson = (Person) this.get(_lfBoys, _lfBoys.getSelectedIndex());\n}\nif ( focusingOn == _lfGirls ) {\n_selectedPersonIsABoy = false;\n_selectedPerson = (Person) this.get(_lfGirls, _lfGirls.getSelectedIndex());\n}\n\n}",
"public static void main(String[] args) {\n PhoneBook p1 = new PhoneBook();\r\n // Import scanner for user input \r\n Scanner scan_me = new Scanner(System.in);\r\n // Set the switch for the while loop to stop\r\n boolean on = true;\r\n // Set up the text interface for the user to see \r\n System.out.println(\"Welcome to the PhoneBook Program.\");\r\n System.out.println(\"Enter 1 to add a contact. \");\r\n System.out.println(\"Enter 2 to search for a contact. \");\r\n System.out.println(\"Enter 3 to change or delete an entry. \");\r\n System.out.println(\"Enter 4 to list all of the contacts. \");\r\n System.out.println(\"Enter 5 to close the program. \");\r\n // Begin while loop to run the program\r\n while(on){\r\n System.out.println();\r\n System.out.println(\"Awaiting user input... \");\r\n if(scan_me.hasNextInt()){int user_input = scan_me.nextInt();\r\n //Switch cases for the different user options\r\n switch(user_input){\r\n case 1:\r\n // Add a Contact to the List \r\n System.out.println(\"Enter the contact number. \");\r\n int number = scan_me.nextInt();\r\n scan_me.nextLine();\r\n System.out.println(\"Enter the contact name. \");\r\n String namer = scan_me.nextLine();\r\n //scan_me.next();\r\n //Create new Contact \r\n Contact newContact = new Contact(number,namer);\r\n //Add new contact to phonebook\r\n String key = newContact.Name;\r\n p1.put(key, number);\r\n //Show the user what they have done\r\n System.out.println(\"You have added \"+namer+\" to the Phonebook. Their number is \"+number+\".\"); \r\n break;\r\n case 2:\r\n // Search for a number by the persons name\r\n scan_me.nextLine();\r\n System.out.println(\"Enter persons name to be searched for: \");\r\n String Name_boi = scan_me.nextLine();\r\n System.out.print(Name_boi+\"'s number is \"+p1.getByName(Name_boi));\r\n System.out.println();\r\n break;\r\n case 3:\r\n // Change or delete a directory entry \r\n scan_me.nextLine();\r\n // Allow user to choose to change number or delete contact.\r\n System.out.println(\"Enter C to change a number or D to delete a contact: \");\r\n String choice = scan_me.next();\r\n if(choice.equals(\"C\")||choice.equals(\"c\")){\r\n scan_me.nextLine();\r\n System.out.println(\"Enter persons name to be updated: \");\r\n String old_name = scan_me.nextLine();\r\n System.out.println(\"Enter new number: \");\r\n int new_num = scan_me.nextInt();\r\n p1.replace(old_name,new_num);\r\n System.out.println(old_name+\"'s number has been changed to \"+new_num+\".\");\r\n }\r\n else if(choice.equals(\"D\")||choice.equals(\"d\")){\r\n scan_me.nextLine();\r\n System.out.println(\"Enter persons name to be deleted: \");\r\n String deleted_name = scan_me.nextLine();\r\n String namest = deleted_name;\r\n p1.remove(deleted_name);\r\n System.out.print(\"You have removed the contact \"+namest+\".\");\r\n System.out.println();\r\n }\r\n break;\r\n case 4:\r\n // List all contacts \r\n Iterator it = p1.entrySet().iterator();\r\n // create an iterator to move through your mappings\r\n System.out.println(\"All of the Phonebook contacts are as follows: \");\r\n while(it.hasNext()){\r\n Map.Entry pair = (Map.Entry)it.next();\r\n // define the key and value for each iteration advancement\r\n System.out.println(pair.getKey() + \" = \" + pair.getValue());\r\n // print out the key and value for each value in the hashmap\r\n }\r\n break;\r\n case 5:\r\n // Close the program \r\n on = false;\r\n break;\r\n }\r\n }\r\n }\r\n }",
"public static void addContact()\n {\n System.out.println(\"Enter your firstName : \");\n String firstName = sc.nextLine();\n for (int i = 0; i < list.size(); i++)\n {\n if (list.get(i).getFirstName().equalsIgnoreCase(firstName))\n {\n System.out.println(\"Name already exists. Try another name\");\n addPersons();\n break;\n }\n }\n\n System.out.println(\"Enter your lastName : \");\n String lastName = sc.nextLine();\n System.out.println(\"Enter your address : \");\n String address = sc.nextLine();\n System.out.println(\"Enter your city : \");\n String city = sc.nextLine();\n System.out.println(\"Enter your state : \");\n String state = sc.nextLine();\n System.out.println(\"Enter your zipCode : \");\n String zip = sc.nextLine();\n System.out.println(\"Enter your phoneNo : \");\n long phoneNo = sc.nextLong();\n System.out.println(\"Enter your emailId : \");\n String email = sc.nextLine();\n Contact contact = new Contact(firstName, lastName, address, city, state, zip, phoneNo, email);\n list.add(contact);\n }",
"public MessageEdit(Display display, Displayable pView, Contact to, String body) {\r\n t = new TextBox(to.toString(), \"\", 500, TextField.ANY);\r\n try {\r\n //expanding buffer as much as possible\r\n maxSize = t.setMaxSize(4096); //must not trow\r\n \r\n } catch (Exception e) {}\r\n \r\n insert(body, 0); // workaround for Nokia S40\r\n this.to=to;\r\n this.display=display;\r\n \r\n cf=Config.getInstance();\r\n //#ifdef DETRANSLIT\r\n //# DeTranslit.getInstance();\r\n //#endif\r\n \r\n if (!cf.swapSendAndSuspend) {\r\n cmdSuspend=new Command(SR.MS_SUSPEND, Command.BACK, 90);\r\n cmdSend=new Command(SR.MS_SEND, Command.OK, 1);\r\n } else {\r\n cmdSuspend=new Command(SR.MS_SUSPEND, Command.OK, 1);\r\n cmdSend=new Command(SR.MS_SEND, Command.BACK, 90);\r\n }\r\n //#ifdef ARCHIVE\r\n //#ifdef PLUGINS\r\n //# if (StaticData.getInstance().Archive)\r\n //#endif\r\n t.addCommand(cmdPaste);\r\n //#endif\r\n //#ifdef CLIPBOARD\r\n //# if (cf.useClipBoard) {\r\n //# clipboard=ClipBoard.getInstance();\r\n //# if (!clipboard.isEmpty()) {\r\n //# t.addCommand(cmdPasteText);\r\n //# }\r\n //# }\r\n //#endif\r\n //#if TEMPLATES\r\n //#ifdef PLUGINS\r\n //# if (StaticData.getInstance().Archive)\r\n //#endif\r\n //# t.addCommand(cmdTemplate);\r\n //#endif\r\n \r\n t.addCommand(cmdSend);\r\n t.addCommand(cmdInsMe);\r\n //#ifdef SMILES\r\n t.addCommand(cmdSmile);\r\n //#endif\r\n if (to.origin>=Contact.ORIGIN_GROUPCHAT)\r\n t.addCommand(cmdInsNick);\r\n //#ifdef DETRANSLIT\r\n //# t.addCommand(cmdSendInTranslit);\r\n //# t.addCommand(cmdSendInDeTranslit);\r\n //#endif\r\n t.addCommand(cmdSuspend);\r\n t.addCommand(cmdCancel);\r\n \r\n if (to.origin==Contact.ORIGIN_GROUPCHAT)\r\n t.addCommand(cmdSubj);\r\n \r\n if (to.lastSendedMessage!=null)\r\n t.addCommand(cmdLastMessage); \r\n //#ifdef RUNNING_MESSAGE\r\n //# if (cf.notifyWhenMessageType == 1) {\r\n //# t.setTicker(ticker);\r\n //# } else {\r\n //# t.setTicker(null);\r\n //# }\r\n //# if (thread==null) (thread=new Thread(this)).start() ; // composing\r\n //#else\r\n send() ; // composing\r\n //#endif\r\n setInitialCaps(cf.capsState);\r\n if (Config.getInstance().phoneManufacturer == Config.SONYE) System.gc(); // prevent flickering on Sony Ericcsson C510\r\n t.setCommandListener(this);\r\n display.setCurrent(t); \r\n this.parentView=pView;\r\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) \r\n {\r\n switch (item.getItemId()) // switch based on selected MenuItem's ID\r\n {\r\n case R.id.editItem:\r\n // create an Intent to launch the AddEditContact Activity\r\n Intent addEditContact =\r\n new Intent(this, AddEditContact.class);\r\n \r\n // pass the selected contact's data as extras with the Intent\r\n addEditContact.putExtra(AddressBook.ROW_ID, rowID);\r\n addEditContact.putExtra(\"name\", nameTextView.getText());\r\n addEditContact.putExtra(\"phone\", phoneTextView.getText());\r\n addEditContact.putExtra(\"email\", emailTextView.getText());\r\n addEditContact.putExtra(\"street\", streetTextView.getText());\r\n addEditContact.putExtra(\"city\", cityTextView.getText());\r\n startActivity(addEditContact); // start the Activity\r\n return true;\r\n case R.id.deleteItem:\r\n deleteContact(); // delete the displayed contact\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n } // end switch\r\n }",
"private void displayContactDetails() {\n bindTextViews();\n populateTextViews();\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString input = (String)comboBoxProductTitle.getSelectedItem();\n\t\t\t\t//String input = productTitleTextField.getText();\n\t\t\t\t\n\t\t\t\tif(input.trim().equals(\"Select\")){ \n\t\t\t\t\tproductTextArea.setText(\"\");\n\t\t\t\t\tproductTextArea.setCaretPosition(0);\n\t\t\t\t\tlistOfProdIds.setSelectedItem(\"Select\");\n\t\t\t\t\tlistOfProductAuthor.setSelectedItem(\"Select\");\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please Select Product Title From Drop Down Menu\");\n\t\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\t\n\t\t\t\t\tproductTextArea.setText(product.viewProductByTitle(input, products));\t//viewInvoiceByCustomer() is in the Invoice class\n\t\t\t\t\tproductTextArea.setCaretPosition(0);\n\t\t\t\t\tlistOfProdIds.setSelectedItem(\"Select\");\n\t\t\t\t\tlistofProductTitle.setSelectedItem(\"Select\");\n\t\t\t\t\tlistOfProductAuthor.setSelectedItem(\"Select\");\n\t\t\t\t\tpriceRange.clearSelection();\n\t\t\t\t\tquantity.clearSelection();\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}",
"private void jtxtbrand_code_toFocusGained(java.awt.event.FocusEvent evt) {\n jtxtbrand_code_to.setSelectionStart(0);\n jtxtbrand_code_to.setSelectionEnd(jtxtbrand_code_to.getText().length());\n}",
"public void modify(AddressBookDict addressBook) {\n\t\tlog.info(\"Enter the address book name whose contact you want to edit\");\n\t\tString addressBookName = obj.next();\n\t\tlog.info(\"Enter the name whose contact you want to edit\");\n\t\tString name = obj.next();\n\t\tPersonInfo p = addressBook.getContactByName(addressBookName, name);\n\t\tif (p == null) {\n\t\t\tlog.info(\"No such contact exists\");\n\t\t} else {\n\t\t\twhile (true) {\n\t\t\t\tlog.info(\n\t\t\t\t\t\t\"1. First name\\n 2.Last name\\n 3.Address\\n 4. City\\n 5. State\\n 6. Zip\\n 7. Phone number\\n 8.Email\\n 0. Exit\");\n\t\t\t\tlog.info(\"Enter the info to be modified\");\n\t\t\t\tint info_name = obj.nextInt();\n\t\t\t\tswitch (info_name) {\n\t\t\t\tcase 1:\n\t\t\t\t\tlog.info(\"Enter new First Name\");\n\t\t\t\t\tp.setFirst_name(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlog.info(\"Enter new Last Name\");\n\t\t\t\t\tp.setLast_name(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlog.info(\"Enter new Address\");\n\t\t\t\t\tp.setAddress(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4:\n\t\t\t\t\tlog.info(\"Enter new City\");\n\t\t\t\t\tp.setCity(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 5:\n\t\t\t\t\tlog.info(\"Enter new State\");\n\t\t\t\t\tp.setState(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 6:\n\t\t\t\t\tlog.info(\"Enter new Zip Code\");\n\t\t\t\t\tp.setZip(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 7:\n\t\t\t\t\tlog.info(\"Enter new Phone Number\");\n\t\t\t\t\tp.setPhno(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\tcase 8:\n\t\t\t\t\tlog.info(\"Enter new Email\");\n\t\t\t\t\tp.setEmail(obj.next());\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (info_name == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"@Override\n\t\tpublic void onClick(View v) {\n\t\t\tif (!nameEditText.getText().toString().equalsIgnoreCase(\"\")\n\t\t\t\t\t&& !phoneNumberEditText.getText().toString()\n\t\t\t\t\t\t\t.equalsIgnoreCase(\"\")) {\n\t\t\t\t\n\t\t\t\tSCContact scContact = new SCContact();\n\t\t\t\tscContact.setName(nameEditText.getText().toString());\n\t\t\t\tscContact.setNumber(phoneNumberEditText.getText().toString());\n\t\t\t\tscContact.setId(contactID);\n\t\t\t\tif (insertOrUpdate) {\n\t\t\t\t\t\n\t\t\t\t\tcontactRepository = new ContactRepository(AddEmergencyContactsActivity.this);\n\t\t\t\t\tcontactRepository.insertContact(scContact);\n\t\t\t\t} else {\n\t\t\t\t\tcontactRepository = new ContactRepository(AddEmergencyContactsActivity.this);\n\t\t\t\t\tcontactRepository.updateContact(scContact);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}",
"private void displayContacts(){\n customContactAdapter= new ContactContactDisplayAdapter(getApplicationContext(),R.layout.contact_list_view,contactList);\n contactListView.setAdapter(customContactAdapter);\n contactSearchView.setOnQueryTextListener(ContactDetailsActivity.this);\n /*contactSearchView.setIconifiedByDefault(false);\n contactSearchView.requestFocus();*/\n }",
"@FXML\n private void copyEdit() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(EDIT_MESSAGE);\n clipboard.setContent(url);\n }",
"@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id)\n {\n String item = parent.getItemAtPosition(position).toString();\n\n Toast.makeText(ChercherContactActivity.this, \"Selected : \\t\" + item, Toast.LENGTH_SHORT).show();\n\n textRechercheIntervenant.setFocusable(false);\n int positionVirgule = textRechercheIntervenant.getText().toString().indexOf(\",\");\n int positionParentheseOuverte = textRechercheIntervenant.getText().toString().indexOf(\"(\");\n int positionParentheseFermee = textRechercheIntervenant.getText().toString().indexOf(\")\");\n int positionEtoile = textRechercheIntervenant.getText().toString().indexOf(\"*\");\n\n String nom = textRechercheIntervenant.getText().toString().substring(0, positionVirgule);\n String prenom = textRechercheIntervenant.getText().toString().substring(positionVirgule + 2, positionParentheseOuverte - 1);\n String metier = textRechercheIntervenant.getText().toString().substring(positionParentheseOuverte + 1, positionParentheseFermee);\n String ville=\"\";\n if (positionEtoile != -1) {\n ville = textRechercheIntervenant.getText().toString().substring(positionEtoile + 2);\n }\n //String ville = textRechercheIntervenant.getText().toString().substring(positionEtoile + 2);\n\n if (booleanAutre) {\n Profession profession = Profession.find(Profession.class, \"name = ?\", metier).get(0);\n\n if (ville.equalsIgnoreCase(\"\")) {\n contactSelected = Contact.find(Contact.class, \"nom = ? and prenom = ? and profession = ?\", nom, prenom, profession.getId().toString()).get(0);\n } else {\n contactSelected = Contact.find(Contact.class, \"nom = ? and prenom = ? and profession = ? and ville = ?\", nom, prenom, profession.getId().toString(), ville).get(0);\n }\n\n Toast.makeText(ChercherContactActivity.this, \"Selected Item is: \\t\" + contactSelected.getPrenom() + contactSelected.getNom(), Toast.LENGTH_LONG).show();\n } else if (booleanMedecin) {\n SavoirFaire savoirFaire = SavoirFaire.find(SavoirFaire.class, \"name = ?\", metier).get(0);\n\n if (ville.equalsIgnoreCase(\"\")) {\n contactSelected = Contact.find(Contact.class, \"nom = ? and prenom = ? and savoir_faire = ?\", nom, prenom, savoirFaire.getId().toString()).get(0);\n } else {\n contactSelected = Contact.find(Contact.class, \"nom = ? and prenom = ? and savoir_faire = ? and ville = ?\", nom, prenom, savoirFaire.getId().toString(), ville).get(0);\n }\n\n //mContactSelectionne = Contact.find(Contact.class, \"nom = ? and prenom = ? and savoir_faire = ? and ville = ?\", nom, prenom, savoirFaire.getId().toString(), ville).get(0);\n Toast.makeText(ChercherContactActivity.this, \"Selected Item is: \\t\" + contactSelected.getPrenom() + contactSelected.getNom(), Toast.LENGTH_LONG).show();\n\n }\n\n if (contactSelected != null) {\n AssociationUtilisateurContact associationUtilisateurContact = new AssociationUtilisateurContact(activeUser, contactSelected);\n if (!associationUtilisateurContact.isExistante()) {\n associationUtilisateurContact.save();\n }\n Toast.makeText(ChercherContactActivity.this, activeUser.getName()+\" & \"+ contactSelected.getNom()+\" ont été associés\", Toast.LENGTH_LONG).show();\n\n ouvrirActiviteSuivante(ChercherContactActivity.this,AfficherContactActivity.class,\"contactId\", contactSelected.getId(),true);\n }\n\n\n\n }",
"public void updateContact() {\r\n\t\tSystem.out.println(\"enter the name of the contact whose details are to be updated\");\r\n\t\tString name = scanner.nextLine();\r\n\t\tContact existing = service.getContact(name); //get the existing contact details from service<-dao\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"1. keep the same address\\n2. update the address\");\r\n\t\tint choice = Integer.parseInt(scanner.nextLine());\r\n\t\tString address;\r\n\t\tif(choice==1) {\r\n\t\t\taddress=existing.getAddress();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"enter new address\");\r\n\t\t\taddress = scanner.nextLine();\r\n\t\t}\r\n\t\t\r\n\t\t//mobile number updation\r\n\t\tSystem.out.println(\"1. keep the same mobile number(s)\\n2. add new mobile number\\n3.remove existing added number\");\r\n\t\tchoice = Integer.parseInt(scanner.nextLine());\r\n\t\tString mobileNumber[];\r\n\t\t\r\n\t\t//if the user wants to keep same mobile number(s)\r\n\t\tif(choice==1) {\r\n\t\t\tmobileNumber=existing.getMobileNumber();\r\n\t\t}\r\n\t\t\r\n\t\t//if the user wants to add a new mobile number to already existing \r\n\t\telse if(choice==2) {\r\n\t\t\tmobileNumber=existing.getMobileNumber();\r\n\t\t\tList<String> numberList = new ArrayList<>(Arrays.asList(mobileNumber));\r\n\t\t\tSystem.out.println(\"enter new mobile number\");\r\n\t\t\tString newNumber = scanner.nextLine();\r\n\t\t\tif(numberList.contains(newNumber)) {\r\n\t\t\t\tSystem.out.println(\"the number is already a part of this contact\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tnumberList.add(newNumber);\r\n\t\t\t}\r\n\t\t\tmobileNumber=numberList.toArray(new String[0]);\r\n\t\t}\r\n\t\t\r\n\t\t//if the user wants to remove some number from existing numbers\r\n\t\telse {\r\n\t\t\tmobileNumber=existing.getMobileNumber();\r\n\t\t\tList<String> numberList = new ArrayList<>(Arrays.asList(mobileNumber));\r\n\t\t\tSystem.out.println(\"enter mobile number to remove\");\r\n\t\t\tString removingNumber = scanner.nextLine();\r\n\t\t\tif(!numberList.contains(removingNumber)) {\r\n\t\t\t\tSystem.out.println(\"no such mobile number exist\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tnumberList.remove(removingNumber);\r\n\t\t\t}\r\n\t\t\tmobileNumber=numberList.toArray(new String[0]);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t//updating the profile picture\r\n\t\tSystem.out.println(\"1. keep the same image\\n2. update the image\");\r\n\t\tchoice = Integer.parseInt(scanner.nextLine());\r\n\t\tString imageReference;\r\n\t\tif(choice==1) {\r\n\t\t\timageReference=existing.getImageReference();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"enter new image path\");\r\n\t\t\timageReference = scanner.nextLine();\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t//updating the date of birth\r\n\t\tSystem.out.println(\"1. keep the same date of birth\\n2. update the date of birth\");\r\n\t\tchoice = Integer.parseInt(scanner.nextLine());\r\n\t\tLocalDate dateOfBirth;\r\n\t\tif(choice==1) {\r\n\t\t\tdateOfBirth=existing.getDateOfBirth();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"enter new date of birth\");\r\n\t\t\tdateOfBirth = LocalDate.parse(scanner.nextLine());\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t//updating the email - same logic as that of updating mobile number\r\n\t\tSystem.out.println(\"1. keep the same email Id(s)\\n2. add new email Id\\n3.remove existing email Id\");\r\n\t\tchoice = Integer.parseInt(scanner.nextLine());\r\n\t\tString email[];\r\n\t\tif(choice==1) {\r\n\t\t\temail=existing.getEmail();\r\n\t\t}\r\n\t\telse if(choice==2) {\r\n\t\t\temail=existing.getEmail();\r\n\t\t\tList<String> emailList = new ArrayList<>(Arrays.asList(email));\r\n\t\t\tSystem.out.println(\"enter new email Id\");\r\n\t\t\tString newEmail = scanner.nextLine();\r\n\t\t\tif(emailList.contains(newEmail)) {\r\n\t\t\t\tSystem.out.println(\"the email is already a part of this contact\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\temailList.add(newEmail);\r\n\t\t\t}\r\n\t\t\temail=emailList.toArray(new String[0]);\r\n\t\t}\r\n\t\telse {\r\n\t\t\temail=existing.getEmail();\r\n\t\t\tList<String> emailList = new ArrayList<>(Arrays.asList(email));\r\n\t\t\tSystem.out.println(\"enter email to remove\");\r\n\t\t\tString removingEmail = scanner.nextLine();\r\n\t\t\tif(!emailList.contains(removingEmail)) {\r\n\t\t\t\tSystem.out.println(\"no such email exist\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\temailList.remove(removingEmail);\r\n\t\t\t}\r\n\t\t\temail=emailList.toArray(new String[0]);\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t//updating the group id \r\n\t\tSystem.out.println(\"1. keep the same group Id\\n2. update the group Id\");\r\n\t\tchoice = Integer.parseInt(scanner.nextLine());\r\n\t\tint groupId;\r\n\t\tif(choice==1) {\r\n\t\t\tgroupId = existing.getGroupId();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"enter new group Id\");\r\n\t\t\tshowGroups(service); \t\t\t\t\t//this is static method which shows the available groups\r\n\t\t\tgroupId = Integer.parseInt(scanner.nextLine());\r\n\t\t}\r\n\t\t\r\n\t\t//setting up the contact object \r\n\t\tContact updated = new Contact(name, address, mobileNumber, imageReference, dateOfBirth, email, groupId);\r\n\t\t\r\n\t\t//calling the service update method which calls the DAO to update the contact\r\n\t\tint rowsEffected = service.updateExistingContact(existing, updated);\r\n\t\tSystem.out.println(rowsEffected+\" row(s) updated\");\r\n\t\t\r\n\t}",
"@Override\n public void onContactSelected(Curso curso) {\n Toast.makeText(getApplicationContext(), \"Selected: \" + curso.getCodigo() + \", \" + curso.getNombre(), Toast.LENGTH_LONG).show();\n }",
"public void select() {\n \t\t\tString sinput = \"\";\r\n \t\t\tOption selected = null;\r\n \t\t\tErrorLog.debug(name + \" selected.\");\r\n \t\t\t\r\n \t\t\twhile (true) {\r\n \t\t\t\tSystem.out.println(toString()); //Print menu.\r\n \t\t\t\tsinput = read(); //Get user selection.\r\n \t\t\t\tif (!sinput.equalsIgnoreCase(\"exit\")) {\r\n \t\t\t\t\tselected = options.get(sinput); //Find corresponding option.\r\n \r\n \t\t\t\t\tif (selected != null) //Sinput corresponds to an extant option.\r\n \t\t\t\t\t\tselected.select(); //Select the selected.\r\n \t\t\t\t\telse\r\n \t\t\t\t\t\tprint(sinput + \" is not a valid option\");\r\n \t\t\t\t} else\r\n \t\t\t\t\t{print(\"Returning to previous menu.\"); break;}\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\tErrorLog.debug (\"Quitting \" + name + \". Sinput:\"+sinput);\r\n \t\t\t\r\n \t\t\treturn;\r\n \t\t}",
"@Override\r\n public void actionPerformed(ActionEvent e) {\r\n switch (e.getActionCommand()) {\r\n case \"Mas Customer Chosen\":\r\n if (editing) {\r\n event.setCustomer(cc.getCustomer());\r\n } else {\r\n customer = cc.getCustomer();\r\n jTPhone.setText(customer.getPhone());\r\n jTName.setText(customer.getName());\r\n }\r\n break;\r\n case \"BBQ Customer Chosen\":\r\n if (editing) {\r\n } else {\r\n customer = cc.getCustomer();\r\n jTBBQName.setText(customer.getName());\r\n jTBBQPhone.setText(customer.getPhone());\r\n jTBBQCusAddress.setText(customer.getAddress());\r\n jTBBQCusEmail.setText(customer.getEmail());\r\n }\r\n break;\r\n case \"Category Meat\":\r\n showCategoryItem(\"Meat\");\r\n break;\r\n case \"Category Accompaniment\":\r\n showCategoryItem(\"Accompaniment\");\r\n break;\r\n case \"Category Salad\":\r\n showCategoryItem(\"Salad\");\r\n break;\r\n case \"Category Grill\":\r\n showCategoryItem(\"Grill\");\r\n break;\r\n case \"added to basket\":\r\n addToBasket();\r\n jTBBQTotalPrice.setText(bbqControl.getBuilder().getTotalPrice() + \"\");\r\n break;\r\n }\r\n }",
"private static void modifyContact() {\n System.out.print(\"Enter the name of the current contact: \");\n String oldName = scanner.nextLine();\n if(phone.onFile(oldName)) {\n Contact oldContact = phone.queryContact(oldName);\n System.out.print(\"Enter the name of the new contact: \");\n String newName = scanner.nextLine();\n if(phone.onFile(newName)) {\n System.out.println(newName + \", is already a contact\");\n boolean proceed = true;\n while (proceed) {\n System.out.print(\"Update existing phone number(y/n)? \");\n String choice = scanner.nextLine();\n //Allow user to decide to update existing contact's number\n if (choice.equalsIgnoreCase(\"y\")) {\n System.out.print(\"Enter the new phone number: \");\n String newNumber = scanner.nextLine();\n //Check whether new phone number matches existing\n if (oldContact.getPhoneNumber().equalsIgnoreCase(newNumber)) {\n System.out.println(\"Duplicate information\");\n } else {\n Contact newContact = Contact.addNewContact(newName, newNumber);\n phone.modifyContact(oldContact, newContact);\n System.out.println(newName + \"'s number has been updated to: \"\n + newContact.getPhoneNumber());\n proceed = false;\n }\n } else if (choice.equalsIgnoreCase(\"n\")) {\n proceed = false;\n } else {\n System.out.println(\"Please enter a valid response: \");\n }\n }\n }\n // As long as new name does not match existing, following code will execute\n else {\n System.out.print(\"Enter the new contact number: \");\n String number = scanner.nextLine();\n Contact newContact = Contact.addNewContact(newName, number);\n phone.modifyContact(oldContact, newContact);\n System.out.println(\"\\t\" + oldName + \", has been replaced with: \" + newName + \"\\n\");\n }\n }\n // If existing name does not match existing contact, following will execute..\n else {\n System.out.println(\"\\t\"+oldName+\", is not one of your contacts\\n\");\n }\n }",
"@Override\r\n\tpublic void seleccionarPersona() {\n\t\t\r\n\t}",
"void changeUser(){\n\t\tfinal FrameLayout fl = new FrameLayout(this);\n\n\t\tfinal EditText newUID = new EditText(this);\n\t\tfinal LinearLayout nameHolder = new LinearLayout(this);\n\t\tnameHolder.setOrientation(1);//Vertical\n//\t\tinputName.setGravity(Gravity.CENTER);\n//\t\tinputTitle.setGravity(Gravity.CENTER);\n\t\t//MAX 2 digits! HARDCODED\n\t\t//Limit them to a certain amount of digits\n\t\tInputFilter[] FilterArray = new InputFilter[1];\n\t\tFilterArray[0] = new InputFilter.LengthFilter(2);\n\t\tnewUID.setFilters(FilterArray);\n\t\t\n\t\tnameHolder.addView(newUID, new FrameLayout.LayoutParams(\n\t\t\t\tFrameLayout.LayoutParams.FILL_PARENT,\n\t\t\t\tFrameLayout.LayoutParams.WRAP_CONTENT));\n\t\t\n\t\tfl.addView(nameHolder, new FrameLayout.LayoutParams(\n\t\t\t\tFrameLayout.LayoutParams. FILL_PARENT,\n\t\t\t\tFrameLayout.LayoutParams.FILL_PARENT));\n\n\t\t// input.setText(\"Preset Text\");\n\t\tnewUID.setHint(\"NUMBER: 00-99\");\n\t\tnewUID.setInputType(InputType.TYPE_CLASS_NUMBER);\n\n\t\tAlertDialog newprojPopUp = new AlertDialog.Builder(this).create();\n\n\t\t//Show the keyboard automatically\n\t\tnewprojPopUp.setOnShowListener(new OnShowListener() {\n\n\t\t @Override\n\t\t public void onShow(DialogInterface dialog) {\n\t\t InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);\n\t\t imm.showSoftInput(newUID, InputMethodManager.SHOW_FORCED);\n\t\t }\n\t\t});\n\t\t\n\t\tnewprojPopUp.setView(fl);\n\n\t\tnewprojPopUp.setTitle(\"Enter your USER ID (00-99)\");\n\n\t\t// Create Button\n\t\tnewprojPopUp.setButton(\"Enter\",\n\t\t\t\tnew DialogInterface.OnClickListener() {\n\n\t\t\t\t\tpublic void onClick(\n\t\t\t\t\t\t\tfinal DialogInterface dMAIN,\n\t\t\t\t\t\t\tint which) {\n\n\t\t\t\t\t\tuserID=Integer.parseInt(newUID.getText().toString().trim());\n\t\t\t\t\t\tuserButton.setText(\"USER: \"+userIDformatter.format(userID));\n\t\t\t\t\t\tToast.makeText(\n\t\t\t\t\t\t\t\tgetApplicationContext(),\n\t\t\t\t\t\t\t\t\"New User ID = \"+userID,\n\t\t\t\t\t\t\t\t1).show();\n\t\t\t\t\t\tmakeUser();\n\t\t\t\t\t\tloadUpAllPics();\n\n\n\t\t\t\t\t}\n\n\t\t\t\t});\n\t\t// Cancel Button\n\t\tnewprojPopUp.setButton2(\"Cancel\",\n\t\t\t\tnew DialogInterface.OnClickListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(DialogInterface d,\n\t\t\t\t\t\t\tint which) {\n\n\t\t\t\t\t\t d.dismiss();\n\n\t\t\t\t\t}\n\n\t\t\t\t});\n\n\t\tnewprojPopUp.show();\n\t\tnewUID.requestFocus();\n\t\tnewprojPopUp\n\t\t\t\t.getWindow()\n\t\t\t\t.setSoftInputMode(\n\t\t\t\t\t\tWindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);\n\n\n\t\t\n\t}",
"private void showSponsorSearch(){\r\n String sponsorCode;\r\n// boolean replaceInfo = false;\r\n try{\r\n edu.mit.coeus.search.gui.CoeusSearch coeusSearch =\r\n new edu.mit.coeus.search.gui.CoeusSearch(dlgWindow,\r\n \"sponsorSearch\",1);\r\n coeusSearch.showSearchWindow();\r\n edu.mit.coeus.search.gui.SearchResultWindow resWindow =\r\n coeusSearch.getResultWindow();\r\n if (!coeusSearch.getSelectedValue().equals(null) ){\r\n txtSponsorCode.setText(coeusSearch.getSelectedValue());\r\n txtSponsorCode.requestFocusInWindow();\r\n sponsorCode = txtSponsorCode.getText();\r\n getSponsorInfo(sponsorCode);\r\n }\r\n }catch(Exception e) {\r\n }\r\n }",
"private void edit() {\n mc.displayGuiScreen(new GuiEditAccount(selectedAccountIndex));\n }",
"public static void addContact() {\n boolean isBadEmail = true;\n boolean keepLooping = true;\n myScanner.nextLine();\n System.out.println(\"Input contact first name: \\t\");\n String firstName = myScanner.nextLine();\n firstName = firstName.substring(0,1).toUpperCase() + firstName.substring(1).toLowerCase();\n System.out.println(\"Input contact last name: \\t\");\n String lastName = myScanner.nextLine();\n lastName = lastName.substring(0,1).toUpperCase() + lastName.substring(1).toLowerCase();\n String email = \"\";\n do {\n System.out.println(\"Input contact email: \\t\");\n email = myScanner.nextLine();\n if(email.contains(\"@\") && email.contains(\".\")) {\n isBadEmail = false;\n } else {\n System.out.println(\"Please input a proper email address.\");\n }\n } while (isBadEmail);\n String phone = \"\";\n do {\n System.out.println(\"Input contact ten digit phone number without any special characters: \\t\");\n try {\n long phoneNumber = Long.valueOf(myScanner.next());\n if(Long.toString(phoneNumber).length() == 10) {\n keepLooping = false;\n phone = Long.toString(phoneNumber);\n }\n } catch(Exception e) {\n System.out.println(\"Invalid input.\");\n }\n } while(keepLooping);\n Contact newContact = new Contact(firstName, lastName, phone, email);\n contactList.add(newContact.toContactString());\n System.out.println(\"You added: \" + newContact.toContactString());\n writeFile();\n }",
"public void focusContact(long id, int dialog_id) {\n }",
"private void newLabButton(){\n NewLabNameTextfield.setText(\"\");\n NewLabDialog.setVisible(true);\n NewLabNameTextfield.requestFocusInWindow();\n }",
"void addcontact()\n {\n Scanner sc=new Scanner(System.in);\n System.out.print(\"Please enter the name:\");\n name[i]=sc.nextLine();\n System.out.print(\"Please enter the contact:\");\n PhoneNo[i++]=sc.nextLine();\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tString input = ((String)comboBoxProductAuthor.getSelectedItem()).toLowerCase();\n\t\t\t\t//String input = (productAuthorTextField.getText()).toLowerCase();\t// Convert input text to lower case. \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t//All names in array should be stored in lower case.\n\t\t\t\t\n\t\t\t\tif(input.trim().equals(\"select\")){ \t// If no value is selected\n\t\t\t\t\tproductTextArea.setText(\"\");\n\t\t\t\t\tproductTextArea.setCaretPosition(0);\n\t\t\t\t\tlistOfProdIds.setSelectedItem(\"Select\");\n\t\t\t\t\tlistofProductTitle.setSelectedItem(\"Select\");\t\t\t\t\t\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Please Select Product Author From Drop Down Menu\");\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}else{\t\t\t\t\t\t\t// Take in String and Search for it.\n\t\t\t\t\tproductTextArea.setText(product.viewProductByAuthor(input, products));\t\n\t\t\t\t\tproductTextArea.setCaretPosition(0);\t\t// This sets the position of the scroll bar to the top of the page.\n\t\t\t\t\tlistOfProdIds.setSelectedItem(\"Select\");\n\t\t\t\t\tlistofProductTitle.setSelectedItem(\"Select\");\n\t\t\t\t\tlistOfProductAuthor.setSelectedItem(\"Select\");\n\t\t\t\t\tpriceRange.clearSelection();\n\t\t\t\t\tquantity.clearSelection();\n\t\t\t\t}\n\t\t\t}",
"private void jTextFieldTelefoneActionPerformed(java.awt.event.ActionEvent evt) {\n }",
"@Override\n public boolean onPreferenceClick(Preference preference) {\n Intent contactPickerIntent = new Intent(Intent.ACTION_PICK,\n ContactsContract.CommonDataKinds.Phone.CONTENT_URI);\n startActivityForResult(contactPickerIntent,\n CONTACT_PICKER_RESULT);\n return true;\n }",
"public AlterContact() {\n\t\tsetTitle(\"Alterar Contato\");\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tsetBounds(100, 100, 450, 225);\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\n\t\tsetContentPane(contentPane);\n\t\tcontentPane.setLayout(null);\n\n\t\ttextFieldNome = new JTextField();\n\t\ttextFieldNome.setBounds(83, 22, 341, 20);\n\t\tcontentPane.add(textFieldNome);\n\t\ttextFieldNome.setColumns(10);\n\n\t\ttextFieldTelefone = new JTextField();\n\t\ttextFieldTelefone.setBounds(83, 53, 341, 20);\n\t\tcontentPane.add(textFieldTelefone);\n\t\ttextFieldTelefone.setColumns(10);\n\n\t\ttextFieldDescricao = new JTextField();\n\t\ttextFieldDescricao.setBounds(83, 84, 341, 41);\n\t\tcontentPane.add(textFieldDescricao);\n\t\ttextFieldDescricao.setColumns(10);\n\n\t\tJLabel lblNome = new JLabel(\"Nome:\");\n\t\tlblNome.setBounds(10, 25, 46, 14);\n\t\tcontentPane.add(lblNome);\n\n\t\tJLabel lblTelefone = new JLabel(\"Telefone:\");\n\t\tlblTelefone.setBounds(10, 56, 46, 14);\n\t\tcontentPane.add(lblTelefone);\n\n\t\tJLabel lblDescricao = new JLabel(\"Descri\\u00E7\\u00E3o:\");\n\t\tlblDescricao.setBounds(10, 97, 63, 14);\n\t\tcontentPane.add(lblDescricao);\n\n\t\t/*\n\t\t * Getting an instance of a Agenda to be populated with a query from\n\t\t * database.\n\t\t */\n\t\ttry {\n\t\t\tAddressBook contato = new AddressBook();\n\t\t\tAddressBookController agendaController = AddressBookController.getInstance();\n\t\t\tcontato.setNome(AddressBook.getTempNome());\n\t\t\tResultSet rs = agendaController.pesquisarPorNome(contato);\n\n\t\t\twhile (rs.next()) {\n\t\t\t\ttextFieldNome.setText(rs.getString(\"nome\"));\n\t\t\t\ttextFieldTelefone.setText(rs.getString(\"telefone\"));\n\t\t\t\ttextFieldDescricao.setText(rs.getString(\"descricao\"));\n\t\t\t}\n\t\t\tnome = textFieldNome.getText();\n\t\t} catch (SQLException e) {\n\t\t\tmostrarMensagemDeErro(e.getMessage());\n\t\t} catch (BarberException e) {\n\t\t\tmostrarMensagemDeErro(e.getMessage());\n\t\t}\n\n\t\t/*\n\t\t * Add an action performed event. When the SalvarAlteracao Button is\n\t\t * clicked, it takes the strings from the text fields and saves them in\n\t\t * in the database.\n\t\t */\n\t\tJButton btnSalvarAlteracao = new JButton(\"Salvar Altera\\u00E7\\u00E3o\");\n\t\tbtnSalvarAlteracao.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent arg0) {\n\t\t\t\ttry {\n\t\t\t\t\tAddressBook agenda = new AddressBook();\n\t\t\t\t\tagenda.setNome(textFieldNome.getText());\n\t\t\t\t\tagenda.setTelefone(textFieldTelefone.getText());\n\t\t\t\t\tagenda.setDescricao(textFieldDescricao.getText());\n\n\t\t\t\t\tAddressBookController AgendaController = control.AddressBookController\n\t\t\t\t\t\t\t.getInstance();\n\t\t\t\t\tAgendaController.alterar(nome, agenda);\n\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Agenda \"\n\t\t\t\t\t\t\t+ textFieldNome.getText()\n\t\t\t\t\t\t\t+ \" foi alterado com sucesso\");\n\n\t\t\t\t\tdispose();\n\t\t\t\t\tRegisterAddressBook frame = new RegisterAddressBook();\n\t\t\t\t\tframe.setVisible(true);\n\t\t\t\t\tframe.setLocationRelativeTo(null);\n\t\t\t\t} catch (BarberException e1) {\n\t\t\t\t\tmostrarMensagemDeErro(e1.getMessage());\n\t\t\t\t} catch (SQLException k) {\n\t\t\t\t\tmostrarMensagemDeErro(k.getMessage());\n\t\t\t\t}\n\t\t\t}\n\n\t\t});\n\t\tbtnSalvarAlteracao.setBounds(83, 136, 153, 31);\n\t\tcontentPane.add(btnSalvarAlteracao);\n\n\t\t/*\n\t\t * Add an action performed event. When the Voltar Button is clicked, it\n\t\t * returns the the previous window, which is RegisterAddressBook.\n\t\t */\n\t\tJButton btnVoltar = new JButton(\"Voltar\");\n\t\tbtnVoltar.addMouseListener(new MouseAdapter() {\n\t\t\t@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\n\t\t\t\tdispose();\n\t\t\t\tRegisterAddressBook frame = new RegisterAddressBook();\n\t\t\t\tframe.setVisible(true);\n\t\t\t\tframe.setLocationRelativeTo(null);\n\t\t\t}\n\t\t});\n\t\tbtnVoltar.setBounds(259, 136, 165, 31);\n\t\tcontentPane.add(btnVoltar);\n\t}",
"public static void editCustomer(Customer c) throws IOException\r\n\t{\r\n\t\t// Stores the menu selection for the customer editor\r\n\t\tString editMenuSelection = new String();\r\n\t\t\r\n\t\t// display the customer editor screen until the user enters \"q\"\r\n\t\twhile(!editMenuSelection.equalsIgnoreCase(\"q\"))\r\n\t\t{\r\n\t\t\tclearScreen();\r\n\t\t\t\r\n\t\t\t// display the menu\r\n\t\t\tSystem.out.println(\"[CUSTOMER EDITOR]\\n\");\r\n\t\t\tSystem.out.println(\"a. Name: \" + c.getName());\r\n\t\t\tSystem.out.println(\" CustomerID: \" + c.getCustomerID());\r\n\t\t\tSystem.out.println(\"b. Email: \" + c.getEmail());\r\n\t\t\tSystem.out.println(\"c. Phone Number: \" + c.getPhoneNumber());\r\n\t\t\tSystem.out.println(\"d. Ship Address: \" + c.getShippingAddress());\r\n\t\t\tSystem.out.println(\"e. Ship State: \" + c.getShippingState());\r\n\t\t\tSystem.out.println(\"f. Ship City: \" + c.getShippingCity());\r\n\t\t\tSystem.out.println(\"g. Ship Zip: \" + c.getShippingZip());\r\n\t\t\tSystem.out.println(\"h. Bill Address: \" + c.getBillingAddress());\r\n\t\t\tSystem.out.println(\"i. Bill State: \" + c.getBillingState());\r\n\t\t\tSystem.out.println(\"j. Bill City: \" + c.getBillingCity());\r\n\t\t\tSystem.out.println(\"k. Bill Zip: \" + c.getBillingZip());\r\n\t\t\tSystem.out.println(\"l. Comment: \" + c.getComment());\r\n\t\t\tSystem.out.println(\"r. remove customer\");\r\n\t\t\tSystem.out.println(\"\\nEnter the letter for the field you would like to edit\\nType q to quit the editor\");\r\n\t\t\t\r\n\t\t\t// gets user menu input\r\n\t\t\teditMenuSelection = inputString(true);\r\n\t\t\t\r\n\t\t\t// Edit name\r\n\t\t\tif(editMenuSelection.equalsIgnoreCase(\"a\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[NAME EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current name: \" + c.getName());\r\n\t\t\t\tSystem.out.println(\"Enter a new name.\");\r\n\t\t\t\tString newName = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old name \" + c.getName() + \" replaced with \" + newName + \".\");\r\n\t\t\t\tc.setName(newName);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewName = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit Email\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"b\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[EMAIL EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current email: \" + c.getEmail());\r\n\t\t\t\tSystem.out.println(\"Enter a new email.\");\r\n\t\t\t\tString newEmail = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old email \" + c.getEmail() + \" replaced with \" + newEmail + \".\");\r\n\t\t\t\tc.setEmail(newEmail);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewEmail = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit Phone Number\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"c\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[PHONE NUMBER EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current phone number: \" + c.getPhoneNumber());\r\n\t\t\t\tSystem.out.println(\"Enter a new phone number.\");\r\n\t\t\t\tString newPhone = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old phone number \" + c.getPhoneNumber() + \" replaced with \" + newPhone + \".\");\r\n\t\t\t\tc.setPhoneNumber(newPhone);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewPhone = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit shipping address\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"d\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[SHIPPING ADDRESS EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current shipping address: \" + c.getShippingAddress());\r\n\t\t\t\tSystem.out.println(\"Enter a new shipping address.\");\r\n\t\t\t\tString newAddress = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old shipping address \" + c.getShippingAddress() + \" replaced with \" + newAddress + \".\");\r\n\t\t\t\tc.setShippingAddress(newAddress);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewAddress = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit shipping State\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"e\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[SHIPPING STATE EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current shipping state: \" + c.getShippingState());\r\n\t\t\t\tSystem.out.println(\"Enter a new shipping state.\");\r\n\t\t\t\tString newState = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old shipping state \" + c.getShippingState() + \" replaced with \" + newState + \".\");\r\n\t\t\t\tc.setShippingState(newState);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewState = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit shipping city\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"f\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[SHIPPING CITY EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current Shipping City: \" + c.getShippingCity());\r\n\t\t\t\tSystem.out.println(\"Enter a new shipping city.\");\r\n\t\t\t\tString newCity = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old shipping city \" + c.getShippingCity() + \" replaced with \" + newCity + \".\");\r\n\t\t\t\tc.setShippingCity(newCity);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewCity = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit shipping zip\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"g\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[SHIPPING ZIP CODE EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current shipping zip: \" + c.getShippingZip());\r\n\t\t\t\tSystem.out.println(\"Enter a new shipping zip code.\");\r\n\t\t\t\tString newZip = new String(inputString(false));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old shipping zip \" + c.getShippingZip() + \" replaced with \" + newZip + \".\");\r\n\t\t\t\tc.setShippingZip(newZip);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewZip = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit billing address\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"h\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[BILLING ADDRESS EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current billing address: \" + c.getBillingAddress());\r\n\t\t\t\tSystem.out.println(\"Enter a new billing address\");\r\n\t\t\t\tString newAddress = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old billing address \" + c.getBillingAddress() + \" replaced with \" + newAddress + \".\");\r\n\t\t\t\tc.setBillingAddress(newAddress);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewAddress = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit billing state if requested\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"i\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[BILLING STATE EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current billing state: \" + c.getBillingState());\r\n\t\t\t\tSystem.out.println(\"Enter a new billing state\");\r\n\t\t\t\tString newState = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old billing state \" + c.getBillingState() + \" replaced with \" + newState + \".\");\r\n\t\t\t\tc.setBillingState(newState);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewState = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit billing city if requested\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"j\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[BILLING CITY EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current billing city: \" + c.getBillingCity());\r\n\t\t\t\tSystem.out.println(\"Enter a new billing city.\");\r\n\t\t\t\tString newCity = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old billing city \" + c.getBillingCity() + \" replaced with \" + newCity + \".\");\r\n\t\t\t\tc.setBillingCity(newCity);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewCity = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit billing zip if requested\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"k\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[BILLING ZIP CODE EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current billing zip: \" + c.getBillingZip());\r\n\t\t\t\tSystem.out.println(\"Enter a new billing zip code.\");\r\n\t\t\t\tString newZip = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old billing zip \" + c.getBillingZip() + \" replaced with \" + newZip + \".\");\r\n\t\t\t\tc.setBillingZip(newZip);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewZip = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Edit comment if requested\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"l\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[COMMENT EDITOR]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Current comment: \" + c.getComment());\r\n\t\t\t\tSystem.out.println(\"Enter a new comment.\");\r\n\t\t\t\tString newComment = new String(inputString(true));\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"Old comment \" + c.getComment() + \" replaced with \" + newComment + \".\");\r\n\t\t\t\tc.setComment(newComment);\r\n\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\tnewComment = inputString(true);\r\n\t\t\t}\r\n\t\t\t// Remove this customer\r\n\t\t\telse if(editMenuSelection.equalsIgnoreCase(\"r\"))\r\n\t\t\t{\r\n\t\t\t\tclearScreen();\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER REMOVER]\\n\");\r\n\t\t\t\tSystem.out.println(\"[CUSTOMER: \" + c.getName() + \"] [ID: \" + c.getCustomerID() + \"]\");\r\n\t\t\t\tSystem.out.println(\"Are you sure you would like to remove this customer?\");\r\n\t\t\t\tSystem.out.println(\"(yes: remove)(anything else: keep customer)\");\r\n\t\t\t\tif(inputString(true).equalsIgnoreCase(\"yes\"))\r\n\t\t\t\t{\r\n\t\t\t\t\tclearScreen();\r\n\t\t\t\t\tcustomers.remove(customers.indexOf(c));\r\n\t\t\t\t\tSystem.out.println(\"[CUSTOMER REMOVER]\\n\");\r\n\t\t\t\t\tSystem.out.println(\"[Customer \" + c.getName() + \" ID: \" + c.getCustomerID() + \" removed.]\");\r\n\t\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\t\tString trash = new String(inputString(true));\r\n\t\t\t\t\teditMenuSelection = \"q\";\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tclearScreen();\r\n\t\t\t\t\tSystem.out.println(\"[CUSTOMER REMOVER]\\n\");\r\n\t\t\t\t\tSystem.out.println(\"[Customer \" + c.getName() + \" ID: \" + c.getCustomerID() + \" kept.]\");\r\n\t\t\t\t\tSystem.out.println(\"[PRESS ENTER TO CONTINUE]\");\r\n\t\t\t\t\t// Get a garbage user input before showing the next screen\r\n\t\t\t\t\tString trash = new String(inputString(true));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"private void contactUs() {\n }",
"private void jTAMsjFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jTAMsjFocusGained\n \n /*Selecciona todo el texto cuando gana el foco*/\n jTAMsj.setSelectionStart(0);jTAMsj.setSelectionEnd(jTAMsj.getText().length()); \n \n }",
"@Override\n public void startEdit() {\n super.startEdit();\n\n if (text_field == null) {\n createTextField();\n }\n setText(null);\n setGraphic(text_field);\n text_field.selectAll();\n }",
"@Override\n\t\t\t\tpublic void onItemSelected(AdapterView<?> arg0, View arg1,\n\t\t\t\t\t\tint arg2, long arg3) {\n\t\t\t\t\tprefs.edit().putInt(\"CHOOSE\",(int)choose.getSelectedItemId()).commit();\n\n\t\t\t\t\tif(choose.getSelectedItemId()==0)\n\t\t \t\t\tcontacts.setVisibility(View.GONE);\n\t\t\t\t\telse \n\t\t \t\t\tcontacts.setVisibility(View.VISIBLE);\n\t\t\t\t}",
"public void clickOnNewContactLink() {\n\t\tActions action=new Actions(driver);\n\t\taction.moveToElement(contactlink).build().perform();\n\t\tnewContactLink.click();\n\t}",
"public void editBtnOnclick()\r\n\t{\r\n\t\tif(cardSet.getCards().size() != 0)\r\n\t\t\tMainRunner.getSceneSelector().switchToCardEditor();\r\n\t}",
"public void editCustomer() {\n int id = this.id;\n PersonInfo personInfo = dbHendler.getCustInfo(id);\n String name = personInfo.getName().toString().trim();\n String no = personInfo.getPhoneNumber().toString().trim();\n float custNo = personInfo.get_rootNo();\n String cUSTnO = String.valueOf(custNo);\n int fees = personInfo.get_fees();\n String fEES = Integer.toString(fees);\n int balance = personInfo.get_balance();\n String bALANCE = Integer.toString(balance);\n String nName = personInfo.get_nName().toString().trim();\n String startdate = personInfo.get_startdate();\n int areaID = personInfo.get_area();\n String area = dbHendler.getAreaName(areaID);\n person_name.setText(name);\n contact_no.setText(no);\n rootNo.setText(cUSTnO);\n monthly_fees.setText(fEES);\n balance_.setText(bALANCE);\n nickName.setText(nName);\n this.startdate.setText(startdate);\n // retrieving the index of element u\n int retval = items.indexOf(area);\n\n spinner.setSelection(retval);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.add) {\n AlertDialog.Builder dialog = new AlertDialog.Builder(this);\n dialog.setTitle(\"新增聯絡人\");\n\n LinearLayout linearLayout = new LinearLayout(this);\n linearLayout.setOrientation(LinearLayout.VERTICAL);\n linearLayout.setPadding(80,10,50,10);\n final EditText editText_name = new EditText(this);\n final EditText editText_phone = new EditText(this);\n editText_name.setHint(\"請輸入聯絡人名稱\");\n editText_phone.setHint(\"請輸入電話號碼\");\n editText_phone.setInputType(EditorInfo.TYPE_CLASS_NUMBER);\n linearLayout.addView(editText_name);\n linearLayout.addView(editText_phone);\n dialog.setView(linearLayout);\n\n dialog.setPositiveButton(\"新增\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n if (editText_phone.getText().toString().matches(\"(09)+[\\\\d]{8}\")) {\n ContactPerson contactPerson = new ContactPerson(editText_name.getText().toString(), editText_phone.getText().toString());\n contactDB.insert(contactPerson);\n } else {\n Toast.makeText(MainActivity.this, \"輸入電話號碼格式錯誤\", Toast.LENGTH_SHORT).show();\n }\n }\n });\n dialog.setNegativeButton(\"取消\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n\n }\n });\n\n dialog.setCancelable(false);\n dialog.show();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"private void btnModificaActionPerformed(java.awt.event.ActionEvent evt) { \n try {\n // Exceptie pentru neselectarea unui element\n if (ContactList.isSelectionEmpty()) {\n throw new ItemNotSelectedException();\n }\n // Prelucrarea datelor contactului selectat pentru a le prelua in campurile din fereastra de dialog\n Contact actual = (Contact) model.getElementAt(ContactList.getSelectedIndex());\n String sc[] = actual.toString().split(\",\");\n diAdauga.setVisible(true);\n String name[] = sc[0].split(\" \");\n tfNume.setText(name[0]);\n tfPrenume.setText(name[1]);\n tfNumarTelefon.setText(sc[1].trim());\n if (tfNumarTelefon.getText().substring(0, 2).equals(\"02\") || tfNumarTelefon.getText().substring(0, 2).equals(\"03\")) {\n cbFix.setSelected(true);\n } else {\n cbMobil.setSelected(true);\n }\n String d = sc[2].trim();\n String dataNasterii[] = d.split(\"-\");\n String a = dataNasterii[0];\n String l = dataNasterii[1];\n String z = dataNasterii[2];\n String dt = z + \".\" + l + \".\" + a;\n tfDataNasterii.setText(dt);\n btnConfirma.setVisible(false);\n } catch (ArrayIndexOutOfBoundsException e) {\n JOptionPane.showMessageDialog(this, \"Lista este goala!\");\n } catch (ItemNotSelectedException e) {\n JOptionPane.showMessageDialog(this, \"Nu exista un index selectat\");\n }\n\n\n }",
"@Override\n public void focusGained(FocusEvent arg0) {\n if(jtxt_createCurrentAccPIN.getText().contains(\"xxx\")){\n jtxt_createCurrentAccPIN.setText(\"\");\n }\n }",
"private void setToEdit(String input){\n ToEdit = input;\n }",
"public void run()\r\n {\n prompt = store.getPrompt() + \"Address options: \";\r\n\r\n printAddressOptionsMenu();\r\n \r\n System.out.print(prompt);\r\n String input = EasyIn.getString();\r\n \r\n while (!input.equals(\"q\")){\r\n\r\n if (input.equals(\"1\"))\r\n printAddresses(store.getCurrentUser().getAddressArray());\r\n else if (input.equals(\"2\"))\r\n addAddress();\r\n else if (input.equals(\"3\"))\r\n editAddress();\r\n else if (input.equals(\"4\"))\r\n removeAddress(); \r\n else if (input.equals(\"5\"))\r\n specifyAddress(\"delivery\");\r\n else if (input.equals(\"6\"))\r\n specifyAddress(\"billing\");\r\n else if (input.equals(\"7\"))\r\n showAddress(\"delivery\");\r\n else if (input.equals(\"8\"))\r\n showAddress(\"billing\");\r\n else if (input.equals(\"menu\"))\r\n printAddressOptionsMenu();\r\n else if (input.equals(\"quit\"))\r\n quit();\r\n \r\n printAddressOptionsMenu();\r\n System.out.print(prompt);\r\n input = EasyIn.getString();\r\n }\r\n }",
"@FXML\n void onActChooseContact(ActionEvent event) {\n ObservableList<Appointment> filteredAppointments = allAppointments.filtered(a -> {\n if(contactList.getSelectionModel().getSelectedItem().equals(a.getContact()))\n return true;\n return false;\n\n });\n contactApptTbl.setItems(filteredAppointments);\n }",
"private void clickContactLookup() {\n contactLookupIcon.click();\n }",
"private String getName() {\n System.out.println(\"Enter contact name\");\n return scannerForAddressBook.scannerProvider().nextLine();\n }",
"@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\tif (settingspanel.isReset() == true) {\r\n\t\t\t\tcontactpanel.removeAllContacts();\r\n\t\t\t}\r\n\r\n\t\t\t/* Reset to false or on every time contact is started all contacts are lost */\r\n\t\t\tsettingspanel.setResetToFalse();\r\n\r\n\t\t\t/* Update the contact gallery */\r\n\t\t\tcontactpanel.actualiseGalleryC();\r\n\r\n\t\t\tcardLayout.show(switchPanel, \"contactpanel\");\r\n\t\t}",
"public void showCopyMenu() {\n new AlertDialog.Builder(getContext()).setItems(\n R.array.copypaste_menu_items,\n new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int which) {\n String intentStr = null;\n switch (which) {\n case 0:\n ClipboardManager clip = (ClipboardManager) getContext()\n .getSystemService(\n Context.CLIPBOARD_SERVICE);\n if (clip != null) {\n clip.setText(mSelectedText);\n Toast.makeText(getContext(),\n R.string.text_copied,\n Toast.LENGTH_SHORT).show();\n }\n break;\n case 1:\n try {\n Uri uri = Uri.parse(\"sms:\");\n Intent intent = new Intent(\n Intent.ACTION_SENDTO, uri);\n intent.putExtra(\"sms_body\", mSelectedText);\n intent.putExtra(\"exit_on_send\", true);\n getContext().startActivity(intent);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n break;\n case 2:\n try {\n Intent intent = new Intent();\n intent.setAction(\"com.motorola.createnote\");\n intent.putExtra(\"CLIPBOARD\", mSelectedText);\n getContext().startActivity(intent);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n break;\n case 3:\n try {\n String broadcastAddress = String.format(\n \"%s://%s/%s\", \"searchWord\",\n \"powerword\", mSelectedText);\n Intent intent = new Intent(\n Intent.ACTION_VIEW, Uri\n .parse(broadcastAddress));\n getContext().startActivity(intent);\n } catch (ActivityNotFoundException e) {\n e.printStackTrace();\n }\n break;\n default:\n break;\n }\n\n clearSelection(true);\n\n }\n }).setOnCancelListener(new DialogInterface.OnCancelListener() {\n public void onCancel(DialogInterface dialog) {\n clearSelection(true);\n }\n }).show();\n }",
"@Override\n public void onTeamButtonClick() {\n Toast.makeText(this, \"onTeamButtonClick\",Toast.LENGTH_SHORT).show();\n Intent intent = new Intent(Intent.ACTION_PICK);\n intent.setType(ContactsContract.Contacts.CONTENT_TYPE);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivityForResult(intent, REQUEST_SELECT_CONTACT);\n }\n }",
"public void inputRandomEmailToTextbox() {\r\n\t\twaitElementVisible(driver, RegisterForm.EMAIL_TEXTBOX);\r\n\t\tString emailAddress = \"auto06\" + getTodayString(\"ddMMyyHHmmss\")+\"@lv.com\";\r\n\t\tsendKeyElement(driver,RegisterForm.EMAIL_TEXTBOX, emailAddress);\r\n\t}"
]
| [
"0.6544718",
"0.6290786",
"0.62823415",
"0.6164122",
"0.60671365",
"0.6046692",
"0.6033431",
"0.59953785",
"0.5923292",
"0.5890643",
"0.58764184",
"0.5848988",
"0.58330536",
"0.5808531",
"0.57969964",
"0.57432765",
"0.5689278",
"0.5669316",
"0.56607336",
"0.5650085",
"0.56439376",
"0.5643581",
"0.56335807",
"0.56125945",
"0.55942994",
"0.5590202",
"0.557939",
"0.55778384",
"0.55661124",
"0.55445737",
"0.55427146",
"0.55414975",
"0.5519615",
"0.5506264",
"0.5501845",
"0.5501349",
"0.5493866",
"0.54924953",
"0.54863065",
"0.5459441",
"0.5447523",
"0.5446607",
"0.5444069",
"0.54413974",
"0.5440899",
"0.543849",
"0.54340935",
"0.5427861",
"0.54212946",
"0.5411766",
"0.5400621",
"0.5391391",
"0.538811",
"0.5387483",
"0.53768235",
"0.53740805",
"0.5371418",
"0.53713465",
"0.53706545",
"0.53629506",
"0.5344734",
"0.5337038",
"0.53353304",
"0.5330279",
"0.5328361",
"0.532483",
"0.5320197",
"0.53179836",
"0.53133935",
"0.53067213",
"0.53047836",
"0.53044933",
"0.52997607",
"0.529546",
"0.5291742",
"0.52904797",
"0.528714",
"0.528164",
"0.5273236",
"0.52727336",
"0.52690494",
"0.52608436",
"0.5260465",
"0.52600545",
"0.52592975",
"0.524887",
"0.5246066",
"0.52456254",
"0.52450424",
"0.52447647",
"0.5242706",
"0.5238123",
"0.52331704",
"0.52329737",
"0.5232529",
"0.5230934",
"0.5229161",
"0.522156",
"0.52169335",
"0.52137196",
"0.52116394"
]
| 0.0 | -1 |
It load all previus Conversation in each room. Also Updates the chat with all new messages using dataSnapshots Firebase uses Snapshots to show its data. And with a loop we display all messages based on the Unique Keys | private void append_chat_conversation(DataSnapshot dataSnapshot) {
Vibrator mVibrator = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
Iterator i = dataSnapshot.getChildren().iterator();
while (i.hasNext()) {
String chat_msg = (String) ((DataSnapshot) i.next()).getValue();
String chat_user_name = (String) ((DataSnapshot) i.next()).getValue();
if (chat_user_name.equals( ad.getName())) {
Spannable Chatme = new SpannableString(chat_user_name + " : " + chat_msg + " \n");
Chatme.setSpan(new ForegroundColorSpan(Color.BLUE), 0, chat_user_name.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
chat_conversation.append(Chatme);
} else {
chat_conversation.append( chat_user_name + " : " + chat_msg + " \n");
mVibrator.vibrate(200);
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void getChatMessages() {\n Query query = firestore.collection(\"chatRooms\")\n .document(SharedPreferencesSingleton.getSharedPrefStringVal(SharedPreferencesSingleton.CONVERSATION_ZONE))\n .collection(\"messages\")\n .orderBy(\"timestamp\", Query.Direction.ASCENDING)\n .startAt(new Timestamp(\n Long.parseLong(SharedPreferencesSingleton.getSharedPrefStringVal(SharedPreferencesSingleton.CHAT_SESSION_START))- 1800, 0));\n\n query.addSnapshotListener(new EventListener<QuerySnapshot>() {\n @Override\n public void onEvent(@javax.annotation.Nullable QuerySnapshot queryDocumentSnapshots, @javax.annotation.Nullable FirebaseFirestoreException e) {\n if (chatRecordsAdapter != null)\n chatRecords.scrollToPosition(chatRecordsAdapter.getItemCount());\n }\n });\n\n options = new FirestoreRecyclerOptions.Builder<ChatMessage>()\n .setQuery(query, ChatMessage.class)\n .setLifecycleOwner(this)\n .build();\n\n chatRecordsAdapter = new FirestoreRecyclerAdapter<ChatMessage, ChatMessageHolder>(options) {\n\n private final int VIEW_TYPE_MESSAGE_RECEIVED = 0;\n private final int VIEW_TYPE_MESSAGE_SENT = 1;\n\n @Override\n public int getItemViewType(int position) {\n ChatMessage chatMessage = this.getItem(position);\n if (chatMessage.getSender().equals(firebaseUser.getUid()))\n return VIEW_TYPE_MESSAGE_SENT;\n else return VIEW_TYPE_MESSAGE_RECEIVED;\n }\n\n @NonNull\n @Override\n public ChatMessageHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {\n View view;\n\n if (viewType == VIEW_TYPE_MESSAGE_RECEIVED) {\n view = LayoutInflater.from(parent.getContext()).inflate(\n R.layout.message_received,\n parent,\n false\n );\n return new ReceivedChatMessageHolder(view);\n } else {\n view = LayoutInflater.from(parent.getContext()).inflate(\n R.layout.message_sent,\n parent,\n false\n );\n return new SentChatMessageHolder(view);\n }\n }\n\n @Override\n protected void onBindViewHolder(@NonNull ChatMessageHolder holder, int position, @NonNull ChatMessage chatMessage) {\n switch (holder.getItemViewType()) {\n case VIEW_TYPE_MESSAGE_RECEIVED:\n ((ReceivedChatMessageHolder) holder).bind(chatMessage);\n break;\n case VIEW_TYPE_MESSAGE_SENT:\n ((SentChatMessageHolder) holder).bind(chatMessage);\n break;\n default:\n break;\n }\n }\n\n @Override\n public void onDataChanged() {\n super.onDataChanged();\n if (this.getItemCount() > 0) {\n setViewToDisplay(SHOW_CHAT_MESSAGES);\n }\n }\n };\n\n LinearLayoutManager chatRecordsLayout = new LinearLayoutManager(getActivity());\n chatRecordsLayout.setOrientation(LinearLayoutManager.VERTICAL);\n chatRecordsLayout.setReverseLayout(false);\n chatRecordsLayout.setStackFromEnd(true);\n chatRecords.setLayoutManager(chatRecordsLayout);\n chatRecords.setAdapter(chatRecordsAdapter);\n if (chatRecordsAdapter != null){\n chatRecords.scrollToPosition(chatRecordsAdapter.getItemCount() - 1);\n }\n\n if (chatRecordsAdapter.getItemCount() == 0) {\n setViewToDisplay(NO_CHAT_MESSAGES);\n }\n }",
"public void loadPosts(){\n mRef.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n for(DataSnapshot snapshot: dataSnapshot.getChildren()){\n final String roomName = snapshot.getKey();\n loadMessages(snapshot, roomName);\n }\n recyclerView.setAdapter(adapt);\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n });\n }",
"private void loadConversationList()\n\t{\n\t\tParseQuery<ParseObject> q = ParseQuery.getQuery(discussionTableName);\n\t\tif (messagesList.size() != 0)\n\t\t{\n//\t\t\t// load all messages...\n//\t\t\tArrayList<String> al = new ArrayList<String>();\n//\t\t\tal.add(discussionTopic);\n//\t\t\tal.add(MainActivity.user.getParseID());\n//\t\t\tq.whereContainedIn(\"sender\", al);\n//\t\t}\n//\t\telse {\n\t\t\t// load only newly received message..\n\t\t\tif (lastMsgDate != null)\n\t\t\t\t// Load only new messages, that weren't send by me\n\t\t\t\tq.whereGreaterThan(Const.COL_MESSAGE_CREATED_AT, lastMsgDate);\n\t\t\t\tq.whereNotEqualTo(Const.COL_MESSAGE_SENDER_ID, MainActivity.user.getParseID());\n\t\t}\n\t\tq.orderByDescending(Const.COL_MESSAGE_CREATED_AT);\n\t\tq.setLimit(100);\n\t\tq.findInBackground(new FindCallback<ParseObject>() {\n\n\t\t\t@Override\n\t\t\tpublic void done(List<ParseObject> li, ParseException e) {\n\t\t\t\tif (li != null && li.size() > 0) {\n\t\t\t\t\tfor (int i = li.size() - 1; i >= 0; i--) {\n\t\t\t\t\t\tParseObject po = li.get(i);\n\n\t\t\t\t\t\tMessage message = new Message(po.getString(\n\t\t\t\t\t\t\t\tConst.COL_MESSAGE_CONTENT),\n\t\t\t\t\t\t\t\tpo.getCreatedAt(),\n\t\t\t\t\t\t\t\tpo.getString(Const.COL_MESSAGE_SENDER_ID),\n\t\t\t\t\t\t\t\tpo.getString(Const.COL_MESSAGE_SENDER_NAME));\n\n\t\t\t\t\t\tmessage.setStatus(MessageStatus.STATUS_SENT);\n\t\t\t\t\t\tmessagesList.add(message);\n\n\t\t\t\t\t\tif (lastMsgDate == null || lastMsgDate.before(message.getDate())) {\n\t\t\t\t\t\t\tlastMsgDate = message.getDate();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tchatAdapter.notifyDataSetChanged();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\thandler.postDelayed(new Runnable() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tif (isRunning)\n\t\t\t\t\t\t\tloadConversationList();\n\t\t\t\t\t}\n\t\t\t\t}, 1000);\n\t\t\t}\n\t\t});\n\n\t}",
"public void syncMessages() {\n\t\tArrayList<ChatEntity> nonSyncedChatEntities = new ArrayList<>();\n\t\tnonSyncedChatEntities.addAll(chatViewModel.loadChatsWithSyncStatus(false, nameID));\n\n\t\tif (nonSyncedChatEntities.size() > 0) {\n\t\t\tfor (int i = 0; i < nonSyncedChatEntities.size(); i++) {\n\t\t\t\tChatEntity chatEntity = nonSyncedChatEntities.get(i);\n\t\t\t\tchatEntity.setSynced(true);\n\t\t\t\tchatViewModel.updateSource(chatEntity);\n\t\t\t\tgetChatResult(nonSyncedChatEntities.get(i).getMessage());\n\t\t\t}\n\t\t}\n\t}",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n allMessages = new ArrayList<>();\n for (DataSnapshot child : dataSnapshot.getChildren()) {\n Message newMessage = child.getValue(Message.class);\n allMessages.add(newMessage);\n }\n displayMessages();\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n Long time = new Date().getTime();\n if (!dataSnapshot.exists()) {\n // Create new chats\n Chat chat1 = new Chat(mChatName, mChatPhotoUrl, mUid, mChatUserId, msg.getMessage(), time, false);\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mUid, mChatId}), chat1);\n Chat chat2 = new Chat(mUsername, mPhotoUrl, mUid, mChatUserId, msg.getMessage(), time, true);\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mChatUserId, mChatId}), chat2);\n } else {\n // update latest message for chat1\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mUid, mChatId, \"latestMessage\"}), msg.getMessage());\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mUid, mChatId, \"latestActivity\"}), time);\n\n // update latest message for chat2\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mChatUserId, mChatId, \"latestMessage\"}), msg.getMessage());\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mChatUserId, mChatId, \"latestActivity\"}), time);\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.CHATS_CHILD, familyCode, mChatUserId, mChatId, \"notified\"}), true);\n }\n\n // create new message\n databaseUpdates.put(DatabaseUtil.getDatabasePath(new String[]{Constants.MESSAGES_CHILD, familyCode, mChatId, msg.getId()}), msg);\n\n mFirebaseDatabaseReference.updateChildren(databaseUpdates, new DatabaseReference.CompletionListener() {\n @Override\n public void onComplete(@Nullable DatabaseError databaseError, @NonNull DatabaseReference databaseReference) {\n if (databaseError == null) {\n databaseUpdates.clear();\n chatMessageForm.reset(ChatActivity.this);\n } else {\n Log.w(TAG, \"Send message failed for chat: \" + mChatId + \" for user: \" + mUid + \". \", databaseError.toException());\n Toast.makeText(ChatActivity.this, getResources().getString(R.string.error_sending_message), Toast.LENGTH_SHORT).show();\n }\n loadingDialog.hide();\n }\n });\n }",
"@Override\n public void onDataSetChanged() {\n @SuppressWarnings(\"MismatchedQueryAndUpdateOfCollection\") final BlockingQueue<Integer> queue = new ArrayBlockingQueue<>(1);\n\n final FirebaseAuth auth = FirebaseAuth.getInstance();\n if (auth.getCurrentUser() == null) {\n auth.signInAnonymously().addOnCompleteListener(new OnCompleteListener<AuthResult>() {\n @Override\n public void onComplete(@NonNull Task<AuthResult> task) {\n if (auth.getCurrentUser() != null) {\n mUid = auth.getCurrentUser().getUid();\n queue.add(0);\n }\n }\n });\n } else {\n mUid = auth.getCurrentUser().getUid();\n queue.add(0);\n }\n\n try {\n queue.take();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n\n mDatabase.child(\"chats/\" + mRoomCode).limitToLast(SIZE).addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n mMessages = new ArrayList<>();\n for (DataSnapshot child : dataSnapshot.getChildren()) {\n Message message = child.getValue(Message.class);\n mMessages.add(message);\n }\n queue.add(0);\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n if (databaseError != null) {\n Log.e(TAG, databaseError.toString());\n }\n }\n });\n\n try {\n queue.take();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }",
"private void updateChat() throws SQLException{\n DBConnect db = DBConnect.getInstance();\n ArrayList<String> messages = db.getChat(selectedCustomer.getChat_id());\n chat.getItems().clear();\n for(String mess :messages){\n chat.getItems().add(mess);\n }\n }",
"@Override\n // once adding an entry\n public void onDataChange(DataSnapshot dataSnapshot) {\n Set<String> chatRoomsSet = new HashSet<String>();\n Iterator i = dataSnapshot.getChildren().iterator();\n\n // go through the whole database and add the new\n while (i.hasNext()){\n chatRoomsSet.add(((DataSnapshot)i.next()).getKey());\n }\n // clear the old list and add the new ones\n chatRoomsList.clear();\n chatRoomsList.addAll(chatRoomsSet);\n arrayAdapter.notifyDataSetChanged();\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n\n for(DataSnapshot ds: dataSnapshot.getChildren())\n {\n if(ds.child(\"sender1\").getValue().equals(id)&& ds.child(\"sender2\").getValue().equals(uid))\n {\n roomexist=true;\n goToChat(ds.getKey());\n return;\n }\n else if(ds.child(\"sender2\").getValue().equals(id)&& ds.child(\"sender1\").getValue().equals(uid))\n {\n roomexist=true;\n goToChat(ds.getKey());\n return;\n }\n }\n if(!roomexist)\n {\n String key = mChat.push().getKey();\n makeRoom(key);\n }\n Log.d(TAG, \"Value is: \" + cartRef);\n }",
"public void showmessagesinlist() {\n\n showmessagesinlistlistener=new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n\n Date date=new Date();\n messages.clear();\n Message unreadmessage=new Message(\"Unread Messages\",\"dummy\",date.getTime());\n unreadmessage.setStatus(\"sent\");\n unreadmessage.setType(\"unread\");\n\n for(DataSnapshot snapshot1 : snapshot.getChildren())\n {\n message = snapshot1.getValue(Message.class);\n\n try{\n\n if(message.getStatus()!=null){\n\n Log.e(\"seen\",\"not null\");\n\n if(!message.getStatus().equals(\"seen\") && !message.getSenderId().equals(FirebaseAuth.getInstance().getUid()) ){\n\n\n unseenmessages.add(message);\n\n if(messages.contains(unreadmessage)){}else {\n messages.add(unreadmessage);\n }\n\n Log.e(\"seen705\",message.getStatus());\n message.setStatus(\"seen\");\n\n database.getReference().child(\"chats\")\n .child(receiverRoom)\n .child(\"messages\")\n .child(message.getMessageId()).setValue(message).addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.e(\"seen on receive success\",message.getStatus());\n }\n });\n\n }\n }\n\n }catch (Exception e){Log.e(\"seenexception\",e.getMessage());}\n\n message.setMessageId(snapshot1.getKey());\n messages.add(message);\n }\n\n\n\n listadapter.notifyDataSetChanged();\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n };\n\n database.getReference().child(\"chats\")\n .child(senderRoom)\n .child(\"messages\")\n .addValueEventListener(showmessagesinlistlistener);\n\n\n\n\n }",
"private void readMessage(final String myid, final String userid, final String imageurl){\n\n mchat = new ArrayList<>();\n\n ref = FirebaseDatabase.getInstance().getReference(\"chats\");\n ref.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n mchat.clear();\n for(DataSnapshot snapshot : dataSnapshot.getChildren()){\n Chat chat = snapshot.getValue(Chat.class);\n assert chat != null;\n if(chat.getReceiverUID().equals(myid) && chat.getSenderUID().equals(userid) || chat.getReceiverUID().equals(userid) && chat.getSenderUID().equals(myid))\n mchat.add(chat);\n messageAdapter = new MessageAdapter(getContext(),mchat,imageurl);\n recyclerView.setAdapter(messageAdapter);\n }\n\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_chat, container, false);\n\n //get recycler view and linear layout maanger\n recyclerView = view.findViewById(R.id.recycler_view_chathistory);\n recyclerView.setHasFixedSize(true);\n recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));\n\n //get current user and database reference to root \"chats\"\n firebaseUser = FirebaseAuth.getInstance().getCurrentUser();\n databaseReference = FirebaseDatabase.getInstance().getReference(\"chats\");\n\n userList1 = new ArrayList<>();\n\n //put userids in userlist1 with whom we had chat from root \"\"chats\n databaseReference.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n userList1.clear();\n for (DataSnapshot dataSnapshot1 : dataSnapshot.getChildren()) {\n Message message = dataSnapshot1.getValue(Message.class);\n if(firebaseUser.getUid().equals(message.getSenderId()))\n {\n userList1.add(message.getReceiverId());\n }\n if(firebaseUser.getUid().equals(message.getReceiverId()))\n {\n userList1.add(message.getSenderId());\n }\n }\n\n //call chatUsers\n chatUsers();\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n return view;\n }",
"private void loadLastMessage(ModelGroupChatList modelGroupChatList, final HolderGroupChatList holder) {\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference(\"Groups\");\n ref.child(modelGroupChatList.getGroupId()).child(\"messages\").limitToLast(1)\n .addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n for(DataSnapshot ds : snapshot.getChildren()){\n String message = \"\"+ds.child(\"message\").getValue();\n String timestamp = \"\"+ds.child(\"timestamp\").getValue();\n String sender = \"\"+ds.child(\"sender\").getValue();\n String messageType = \"\"+ds.child(\"type\").getValue();\n\n\n //Convert time\n Calendar calendar = Calendar.getInstance(Locale.ENGLISH);\n calendar.setTimeInMillis(Long.parseLong(timestamp));\n String dateTime = DateFormat.format(\"dd/MMM/yyyy hh:mm aa\", calendar).toString();\n\n\n if(messageType.equals(\"image\")){\n holder.messageTv.setText(\"Sent photo...\");\n } else {\n holder.messageTv.setText(message);\n }\n holder.timeTv.setText(dateTime);\n\n //get into sender of last message\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference(\"Users\");\n ref.orderByChild(\"uid\").equalTo(sender)\n .addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n for(DataSnapshot ds : snapshot.getChildren()) {\n String name = \"\"+ds.child(\"name\").getValue();\n holder.nameTv.setText(name);\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n }",
"private void populateMessageHistory() {\n String[] userIds=new String[recipientsIds.size()+1];\n userIds[0]=currentUserId;\n for(int i=0;i<recipientsIds.size();i++)\n {\n userIds[i+1]=recipientsIds.get(i);\n }\n ParseQuery<ParseObject> query = ParseQuery.getQuery(\"ParseMessage\");\n query.whereContainedIn(\"senderId\", Arrays.asList(userIds));\n query.whereContainedIn(\"recipientId\", Arrays.asList(userIds));\n query.whereContains(\"groupName\",MyApplication.currentGroup.getName());\n query.orderByAscending(\"createdAt\");\n\n query.findInBackground(new FindCallback<ParseObject>() {\n @Override\n public void done(List<ParseObject> messageList, com.parse.ParseException e) {\n if (e == null) {\n\n WritableMessage message;\n messages = new ArrayList<Msg>();\n // messages.add(new Msg(messageList.get(0).get(\"recipientId\").toString(), messageList.get(0).get(\"senderId\").toString(),messageList.get(0).getCreatedAt(), messageList.get(0).get(\"messageText\").toString()));\n\n\n for(int i=0;i<messageList.size();i++)\n {\n boolean found=false;\n Log.v(\"list\",messages.toString());\n for(int j=0;j<messages.size();j++)\n {\n\n if (messages.get(j).equals(new Msg(messageList.get(i).get(\"recipientId\").toString(), messageList.get(i).get(\"senderId\").toString(), messageList.get(i).getCreatedAt(), messageList.get(i).get(\"messageText\").toString())))\n\n {\n Log.v(\"found\", \"true\");\n found=true;\n }\n }\n if( ! found)\n {\n messages.add(new Msg(messageList.get(i).get(\"recipientId\").toString(), messageList.get(i).get(\"senderId\").toString(),messageList.get(i).getCreatedAt(), messageList.get(i).get(\"messageText\").toString()));\n\n message = new WritableMessage(messageList.get(i).get(\"recipientId\").toString(), messageList.get(i).get(\"messageText\").toString());\n if (messageList.get(i).get(\"senderId\").toString().equals(currentUserId)) {\n messageAdapter.addMessage(message, MessageAdapter.DIRECTION_OUTGOING);\n } else {\n messageAdapter.addMessage(message, MessageAdapter.DIRECTION_INCOMING);\n }\n }\n\n }\n }}\n });\n }",
"public void chat_list() {\n\n synchronized(chat_room) {\n Set chat_room_set = chat_room.keySet();\n Iterator iter = chat_room_set.iterator();\n\n clearScreen(client_PW);\n client_PW.println(\"------------Chat Room List-----------\");\n while(iter.hasNext()) {\n client_PW.println(iter.next());\n }\n client_PW.flush();\n }\n }",
"private void initialize() {\n chatLayoutManager = new LinearLayoutManager(this);\n chatView.setLayoutManager(chatLayoutManager);\n for (int i = 0; i < chatMessages.size() - 1; i++) {\n Message currentMsg = chatMessages.get(i);\n Message nextMsg = chatMessages.get(i + 1);\n nextMsg.showMessageTime = nextMsg.getTimestamp() - currentMsg.getTimestamp() >= Message.GROUP_TIME_THRESHOLD;\n nextMsg.showMessageSender = nextMsg.showMessageTime || !nextMsg.getSenderId().equals(currentMsg.getSenderId());\n }\n chatRoomAdapter = new ChatRoomAdapter(this, myId, chatMessages);\n chatView.setAdapter(chatRoomAdapter);\n\n //check if user self has been dropped from chat\n if (!chat.getAttendeeIdList().contains(myId)) {\n Toast.makeText(this, R.string.dropped_from_chat, Toast.LENGTH_LONG).show();\n }\n updateChatAttendeeIdList = new ArrayList<>();\n\n //set up listener for attendee list check boxes\n checkedChangeListener = new CompoundButton.OnCheckedChangeListener() {\n @Override\n public void onCheckedChanged(CompoundButton checkBox, boolean isChecked) {\n String id = (String) checkBox.getTag();\n if (isChecked) {\n if (!updateChatAttendeeIdList.contains(id))\n updateChatAttendeeIdList.add(id);\n } else {\n updateChatAttendeeIdList.remove(id);\n }\n }\n };\n\n //set up contact input and contact picker\n View contactPicker = findViewById(R.id.contact_picker);\n contactPicker.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n Intent intent = new Intent(ChatRoomActivity.this, ContactsActivity.class);\n intent.putExtra(ContactsActivity.EXTRA_MODE, ContactsActivity.MODE_PICKER);\n startActivityForResult(intent, EventDetailsActivity.REQUEST_CONTACT_PICKER);\n }\n });\n\n //\n final LinearLayout messagesLayout = (LinearLayout) findViewById(R.id.all_messages_linearlayout);\n if (messagesLayout != null) {\n messagesLayout.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {\n @Override\n public void onGlobalLayout() {\n messagesLayout.getViewTreeObserver().removeOnGlobalLayoutListener(this);\n\n int size = chatMessages.size();\n if (chatLayoutManager.findLastCompletelyVisibleItemPosition() < size-1) {\n chatLayoutManager.scrollToPosition(size - 1);\n }\n }\n });\n }\n\n conversationManager.addBroadcastListner(this);\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n tableLayoutChat.removeAllViews();\n for (DataSnapshot postSnapshot : dataSnapshot.getChildren()) {\n //getting artist;\n ChatMessage chatMessage = postSnapshot.getValue(ChatMessage.class);\n String theMessege=chatMessage.getMessage();\n String theSender=chatMessage.getSender();\n String theTime=chatMessage.getTime();\n\n\n TableRow header=new TableRow(AcceptedTaskActivity.this);\n ViewGroup.MarginLayoutParams params = new ViewGroup.MarginLayoutParams(\n ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);\n header.setLayoutParams(params);\n\n TextView sender = new TextView(AcceptedTaskActivity.this);\n sender.setGravity(Gravity.LEFT);\n if (theSender.equals(userName)){\n sender.setTextColor(Color.BLUE);\n }\n else{\n sender.setTextColor(Color.GREEN);\n }\n sender.setText(theSender);\n\n TextView time = new TextView(AcceptedTaskActivity.this);\n time.setGravity(Gravity.LEFT);\n time.setTextColor(Color.GRAY);\n time.setText(theTime);\n //Log.d(\"theTime\",theTime);\n\n\n TableRow body=new TableRow(AcceptedTaskActivity.this);\n body.setLayoutParams(params);\n TextView message = new TextView(AcceptedTaskActivity.this);\n message.setGravity(Gravity.LEFT);\n\n message.setText(theMessege);\n\n TableRow spacing=new TableRow(AcceptedTaskActivity.this);\n spacing.setLayoutParams(params);\n TextView space = new TextView(AcceptedTaskActivity.this);\n\n\n header.addView(sender);\n header.addView(time);\n body.addView(message);\n spacing.addView(space);\n\n tableLayoutChat.addView(header, params);\n tableLayoutChat.addView(body, params);\n tableLayoutChat.addView(spacing,params);\n scrolview.fullScroll(ScrollView.FOCUS_DOWN);\n\n }\n\n }",
"private void chatUsers()\n {\n userList=new ArrayList<>();\n databaseReference=FirebaseDatabase.getInstance().getReference(\"Users\");\n\n databaseReference.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n userList.clear();\n for(DataSnapshot dataSnapshot1:dataSnapshot.getChildren())\n {\n User user=dataSnapshot1.getValue(User.class);\n for(String id:userList1)\n {\n if(id.equals(user.getUserId()))\n {\n if(userList.size()!=0)\n {\n int z=0;\n for(int i=0;i<userList.size();i++)\n {\n User user1=userList.get(i);\n if(user.getUserId().equals(user1.getUserId()))\n {\n z=1;\n }\n }\n if(z==0)\n {\n userList.add(user);\n }\n }\n else\n {\n userList.add(user);\n }\n }\n }\n }\n\n Collections.reverse(userList);\n //create useradapter for recyclerView\n userAdapter=new UserAdapter(getContext(),userList,true);\n recyclerView.setAdapter(userAdapter);\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n binding = FragmentChatsBinding.inflate(inflater, container, false);\n database = FirebaseDatabase.getInstance();\n auth = FirebaseAuth.getInstance();\n ChatRequestRef = FirebaseDatabase.getInstance().getReference().child(\"Chat Requests\");\n ChatUsersAdapter adapter = new ChatUsersAdapter(list, getContext());\n binding.chatRecycleView.setAdapter(adapter);\n\n LinearLayoutManager layoutManager = new LinearLayoutManager(getContext());\n binding.chatRecycleView.setLayoutManager(layoutManager);\n\n\n\n ChatRequestRef.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull @NotNull DataSnapshot snapshot) {\n\n database.getReference().child(\"Users\").addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull @NotNull DataSnapshot snapshot1) {\n list.clear();\n for (DataSnapshot dataSnapshot: snapshot1.getChildren()){\n\n ChatUsers users = dataSnapshot.getValue(ChatUsers.class);\n //String senderStatus = String.valueOf(snapshot.child(dataSnapshot.getKey()).child(auth.getCurrentUser().getUid()).child(\"request_type\").getValue());\n String sendStatus = String.valueOf(snapshot.child(auth.getUid()).child(dataSnapshot.getKey()).child(\"request_type\").getValue());\n String receiveStatus = String.valueOf(snapshot.child(dataSnapshot.getKey()).child(auth.getUid()).child(\"request_type\").getValue());\n String senderId = String.valueOf(snapshot.child(auth.getUid()).child(dataSnapshot.getKey()).child(\"sent_by\").getValue());\n String receiverId = String.valueOf(snapshot.child(dataSnapshot.getKey()).child(auth.getUid()).child(\"received_by\").getValue());\n Log.d(\"TAG\", \"onDataChange: \"+receiveStatus);\n Log.d(\"tag\", \"receive id \"+ receiverId);\n Log.d(\"tag\", \"auth is \"+auth.getUid());\n\n\n\n if (auth.getUid().equals(senderId) && getContext() != null && sendStatus == \"pending\"){\n new AlertDialog.Builder(getContext())\n .setTitle(\"Notification\")\n .setMessage(\"You sent message request to \"+users.getUserName()).show();\n }\n if (auth.getUid().equals(receiverId) && getContext() != null && receiveStatus.equals(\"pending\")){\n new AlertDialog.Builder(getContext())\n .setTitle(\"Message Request\")\n .setMessage(users.getUserName()+\" wants to contact you\")\n .setPositiveButton(\"YES\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n ChatRequestRef.child(dataSnapshot.getKey()).child(auth.getCurrentUser().getUid())\n .child(\"request_type\").setValue(\"approved\");\n /*ChatRequestRef.child(auth.getCurrentUser().getUid()).child(dataSnapshot.getKey())\n .child(\"request_type\").setValue(\"approved\");*/\n\n }\n })\n .setNegativeButton(\"NO\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialogInterface, int i) {\n\n snapshot.child(dataSnapshot.getKey()).child(auth.getCurrentUser().getUid()).getRef().removeValue();\n snapshot.child(auth.getCurrentUser().getUid()).child(dataSnapshot.getKey()).getRef().removeValue();\n database.getReference().child(\"chats\").addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull @NotNull DataSnapshot snapshot2) {\n String senderRoom = auth.getUid()+dataSnapshot.getKey();\n String receiverroom = dataSnapshot.getKey()+auth.getUid();\n snapshot2.child(senderRoom).getRef().removeValue();\n snapshot2.child(receiverroom).getRef().removeValue();\n }\n\n @Override\n public void onCancelled(@NonNull @NotNull DatabaseError error) {\n }\n });\n }\n }).show();\n Log.d(\"tag\", \"receive id \"+receiverId);\n }\n\n if ( sendStatus.equals(\"approved\") || receiveStatus.equals(\"approved\")){\n users.setUserId(dataSnapshot.getKey());\n if (users.getUserName() != auth.getCurrentUser().getUid()){\n list.add(users);\n }\n }\n\n\n\n }\n adapter.notifyDataSetChanged();\n\n }\n\n @Override\n public void onCancelled(@NonNull @NotNull DatabaseError error) {\n\n }\n });\n }\n\n @Override\n public void onCancelled(@NonNull @NotNull DatabaseError error) {\n\n }\n });\n\n return binding.getRoot();\n }",
"public static void saveOnlyMessagesToDB(TelegramApi api, DBStorage dbStorage, TLVector<TLDialog> dialogs,\n Map<Integer, TLAbsChat> chatsHashMap,\n Map<Integer, TLAbsUser> usersHashMap,\n Map<Integer, TLAbsMessage> messagesHashMap,\n int msgLimit, int parLimit, int filter, int maxDate, int minDate) {\n for (TLDialog dialog : dialogs) {\n\n System.out.println();\n System.out.println(\"Crawling dialog: \" + ConsoleOutputMethods.getDialogFullNameWithID(dialog.getPeer().getId(), chatsHashMap, usersHashMap));\n System.out.println(\"Top message: \" + dialog.getTopMessage());\n\n MessageHistoryExclusions exclusions = new MessageHistoryExclusions(dbStorage, dialog);\n if (exclusions.exist()){\n System.out.println(\"Top DB message: \" + exclusions.getMaxId());\n int count = dialog.getTopMessage() - exclusions.getMaxId();\n System.out.println(\"Downloading at most \" + (count > 0 ? count : 0) + \" messages\");\n }\n\n\n //reads full dialog info\n TLObject fullDialog = DialogsHistoryMethods.getFullDialog(api, dialog, chatsHashMap, usersHashMap);\n //writes full dialog info\n dbStorage.writeFullDialog(fullDialog, chatsHashMap, usersHashMap);\n\n //reads the messages\n TLAbsMessage topMessage = DialogsHistoryMethods.getTopMessage(dialog, messagesHashMap);\n TLVector<TLAbsMessage> absMessages;\n if (exclusions.exist()) {\n absMessages = DialogsHistoryMethods.getWholeMessageHistoryWithExclusions(api, dialog, chatsHashMap, usersHashMap, topMessage, exclusions, msgLimit, maxDate, minDate);\n } else {\n absMessages = DialogsHistoryMethods.getWholeMessageHistory(api, dialog, chatsHashMap, usersHashMap, topMessage, msgLimit, maxDate, minDate);\n }\n System.out.println(\"Downloaded: \" + absMessages.size());\n // writes messages of the dialog to \"messages + [dialog_id]\" table/collection/etc.\n dbStorage.writeTLAbsMessages(absMessages, dialog);\n\n //reads participants\n TLObject participants = DialogsHistoryMethods.getParticipants(api, fullDialog, chatsHashMap, usersHashMap, parLimit, filter);\n // writes participants of the dialog to \"messages + [dialog_id]\" table/collection/etc.\n dbStorage.writeParticipants(participants, dialog);\n\n // sleep between transmissions to avoid flood wait\n try {\n Thread.sleep(1000);\n } catch (InterruptedException ignored) {\n }\n }\n // write hashmaps\n System.out.println(\"Writing obtained users chats, duplicates may occure\");\n dbStorage.writeUsersHashMap(usersHashMap);\n dbStorage.writeChatsHashMap(chatsHashMap);\n System.out.println(\"Done\");\n System.out.println();\n }",
"@Dao\npublic interface ChatDao {\n\n @Insert(onConflict = OnConflictStrategy.REPLACE)\n long Add(ChatPojo chatPojo);\n\n @Query(\"select * from ChatPojo where chatId = :chatId\")\n LiveData<List<ChatPojo>> getAll(String chatId);\n\n @Query(\"select * from ChatPojo WHERE groupId IN (:groupIds) GROUP BY groupId ORDER BY chatTimestamp DESC\")\n LiveData<List<ChatPojo>> getRecentGroupChatAll(List<String> groupIds);\n\n\n @Query(\"select * from ChatPojo WHERE chatId IN (:ids) GROUP BY chatId ORDER BY chatTimestamp DESC\")\n LiveData<List<ChatPojo>> getRecentChatAll(List<String> ids);\n\n @Query(\"select DISTINCT chatId from ChatPojo\")\n List<String> getRecentChatUserList();\n\n @Query(\"select DISTINCT groupId from GroupPojo\")\n List<String> getGroupIdList();\n\n @Query(\"select * from ChatPojo where chatId = :chatId and isShowing = 0 ORDER BY chatTimestamp DESC limit 1\")\n LiveData<ChatPojo> getSingleLast(String chatId);\n\n// @Query(\"select * from ChatPojo \")\n// LiveData<List<ChatPojo>> getAll();\n /*@Query(\"select * from ChatPojo WHERE groupId = :groupId \")\nContactListResponse.ResponseDataBean getSingle(String groupId);*/\n\n @Delete\n int singledelete(ChatPojo chatPojo);\n\n @Query(\"select DISTINCT chatRecv from ChatPojo\")\n List<String> getChatUserList();\n\n @Query(\"select DISTINCT chatRecv from ChatPojo\")\n List<String> getChatUserSendList();\n\n @Query(\"select * from ChatPojo where chatId = :username ORDER BY chatTimestamp DESC\")\n ChatPojo getlastmsg(String username);\n\n @Query(\"select COUNT(isShowing) from ChatPojo where chatId = :chatId and isShowing = 0\")\n String unseenmsgCount(String chatId);\n\n @Query(\"UPDATE ChatPojo SET isShowing = 1 where chatId = :chatId\")\n void updateIsShowing(String chatId);\n\n\n @Query(\"DELETE FROM ChatPojo\")\n void deleteTbl();\n\n @Query(\"select * from ChatPojo \" +\n \" INNER JOIN UserPojo ON ChatPojo.chatId == UserPojo.username\" +\n \" where UserPojo.displayname LIKE :message OR ChatPojo.chatText LIKE :message GROUP BY chatId ORDER BY chatTimestamp DESC\")\n List<ChatPojo> search(String message);\n\n}",
"@Override\n public void onDataChange(DataSnapshot channelSnapshot) {\n allChannelList.clear();\n\n // Check the count of Channels to subscribe to. If no channel, show message else show list of channels\n if (channelSnapshot.getChildrenCount() < 1) {\n Toast.makeText(AllChannelListActivity.this, \"No Channel to Subscribe\", Toast.LENGTH_LONG).show();\n\n } else {\n\n // Loop through all channel lists\n for (final DataSnapshot channelListSnapshot : channelSnapshot.getChildren()) {\n\n // Read all the channels that user has subscribed to\n mSubscriptionListRef.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot subscriptionSnapshot) {\n\n for (DataSnapshot subscriptionListSnapshot : subscriptionSnapshot.getChildren()) {\n // If channel is already subscribed to by user ser the channelExist to Y\n if (channelListSnapshot.getKey().equals(subscriptionListSnapshot.getKey())) {\n channelExist = \"Y\";\n break;\n }\n\n }\n\n // If channelExist = N i.e channel is not subscribed then add it to channel list adapter to show it to user else set it to N\n if (channelExist.equals(\"N\")) {\n\n channelId = String.valueOf(channelListSnapshot.getKey());\n channelName = String.valueOf(channelListSnapshot.child(\"Name\").getValue());\n moderatorName = String.valueOf(channelListSnapshot.child(\"Moderator\").getValue());\n moderatorId = String.valueOf(channelListSnapshot.child(\"ModeratorID\").getValue());\n\n // Show channels available to user\n channel = channelListSnapshot.getValue(ChannelList.class);\n allChannelList.add(new ChannelList(moderatorName,moderatorId, channelName, channelId));\n customAdapter = new CustomAllChannelAdapter(getApplicationContext(), allChannelList);\n channelList.setAdapter(customAdapter);\n\n } else {\n channelExist = \"N\";\n }\n\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n System.out.println(\"The read failed: \" + databaseError.getMessage());\n }\n });\n }\n\n }\n\n }",
"void kegiatanChat(){\n db.child(\"chatbot\").child(\"chat\").child(perusahaan).child(userName).addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n listData = new ArrayList<>();\n for (DataSnapshot ds : dataSnapshot.getChildren()){\n Map<String,Objects> ambil = (HashMap<String, Objects>)ds.getValue();\n Map<String,Objects> terima = new HashMap<>();\n for (Map.Entry<String,Objects> entry : ambil.entrySet()){\n terima.put(entry.getKey(),entry.getValue());\n }\n listData.add(terima);\n }\n\n // adapter chat botnya\n final ChatbotRecyclerAdapter adapter = new ChatbotRecyclerAdapter(context,listData);\n wadahChat.setLayoutManager(new LinearLayoutManager(context));\n wadahChat.setAdapter(adapter);\n wadahChat.scrollToPosition(listData.size()-1);\n\n builderCus = new AlertDialog.Builder(context);\n final View viewCus = getLayoutInflater().inflate(R.layout.layout_chatbot_vholder4_v2,null,false);\n builderCus.setView(viewCus);\n dialogCus = builderCus.create();\n final TextView tamuBook = viewCus.findViewById(R.id.tamu_book);\n final TextView tamuNama = viewCus.findViewById(R.id.tamu_nama);\n final TextView tamuStt = viewCus.findViewById(R.id.tamu_stt);\n final TextView tamuJenisKamar = viewCus.findViewById(R.id.tamu_jenis_kamar);\n final TextView tamuPax = viewCus.findViewById(R.id.tamu_pax);\n final TextView tamuPax2 = viewCus.findViewById(R.id.tamu_pax2);\n final TextView tamuBreakfast = viewCus.findViewById(R.id.tamu_breakfast);\n final TextView tanggalDatang = viewCus.findViewById(R.id.tanggal_datang);\n final TextView bulanDatang = viewCus.findViewById(R.id.bulan_datang);\n final TextView tahunDatang = viewCus.findViewById(R.id.tahun_datang);\n final TextView tanggalBerangkat = viewCus.findViewById(R.id.tanggal_berangkat);\n final TextView bulanBerangkat = viewCus.findViewById(R.id.bulan_berangkat);\n final TextView tahunBerangkat = viewCus.findViewById(R.id.tahun_berangkat);\n final TextView agennya = viewCus.findViewById(R.id.agennya);\n adapter.setKetikaHolder4Diklik(new ChatbotRecyclerAdapter.KetikaHolder4Diklik() {\n @Override\n public void maka(View view, int position) {\n dialogCus.show();\n\n Map<String,Objects> ambilSemua = adapter.getPosisi(position);\n\n String tang = String.valueOf(ambilSemua.get(\"tanggal\")).replace(\" 00:00:00\",\"\");\n String[] datang = String.valueOf(ambilSemua.get(\"tgl_datang\")).replace(\" 00:00:00\",\"\").split(\"-\");\n String[] berang = String.valueOf(ambilSemua.get(\"tgl_berang\")).replace(\" 00:00:00\",\"\").split(\"-\");\n\n String jenisKamar = !String.valueOf(ambilSemua.get(\"jenis_kamar\")).equals(\"null\")?String.valueOf(ambilSemua.get(\"jenis_kamar\")):\"\";\n\n tamuBook.setText(tang);\n tamuNama.setText(String.valueOf(ambilSemua.get(\"nama_tamu\")));\n tamuStt.setText(String.valueOf(ambilSemua.get(\"stt\")));\n tamuJenisKamar.setText(jenisKamar);\n tamuPax.setText(\"ADULT : \"+String.valueOf(ambilSemua.get(\"pax\")));\n tamuPax2.setText(\"CHILD : \"+String.valueOf(ambilSemua.get(\"pax2\")));\n tamuBreakfast.setText(String.valueOf(ambilSemua.get(\"nm_makan\")).trim());\n tanggalDatang.setText(datang[2]);\n bulanDatang.setText(datang[1]);\n tahunDatang.setText(datang[0]);\n tanggalBerangkat.setText(berang[2]);\n bulanBerangkat.setText(berang[1]);\n tahunBerangkat.setText(berang[0]);\n agennya.setText(String.valueOf(ambilSemua.get(\"agen\")));\n }\n });\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n wadahChat.addOnScrollListener(new RecyclerView.OnScrollListener() {\n @Override\n public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {\n super.onScrolled(recyclerView, dx, dy);\n if (dy < 0 && tulisContainer.getVisibility() == View.VISIBLE){\n YoYo.with(Techniques.FadeOutDown).duration(200).withListener(new AnimatorListenerAdapter() {\n @Override\n public void onAnimationEnd(Animator animation) {\n super.onAnimationEnd(animation);\n tulisContainer.setVisibility(View.GONE);\n }\n }).playOn(tulisContainer);\n\n\n }else if (dy > 0 && tulisContainer.getVisibility() == View.GONE){\n tulisContainer.setVisibility(View.VISIBLE);\n YoYo.with(Techniques.FadeInUp).duration(200).playOn(tulisContainer);\n }\n }\n });\n }",
"private void initLisiData() {\n\t\tif (isKefu) {\n\t\t\tlist = dbinstance.queryOtherChatRecord(page * a + \"\", b + \"\");\n\t\t} else {\n\t\t\tlist = dbinstance.queryPrivateChatRecord(\n\t\t\t\t\tUserInfoBean.getUserInfo(ChatPersonActivity.this).getUid(),\n\t\t\t\t\ttargetId, page * a + \"\", b + \"\");\n\t\t}\n\n\t\tif (list.size() > 0) {\n\t\t\tfor (PrivateChatMessagesEntity entity : list) {\n\n\t\t\t\tmDataArrays.add(0, entity);\n\t\t\t}\n\t\t\t// Collections.reverse(mDataArrays);\n\t\t}\n\t\tmAdapter = new PrivateChatMessagesAdapter(this, mDataArrays);\n\t\tmListView.setAdapter(mAdapter);\n\t\tmListView.setSelection(mAdapter.getCount() - 1);\n\t}",
"private void loadMoreHistoryChat(){\n loadChatHistory(CHAT_LIMIT,headIndex,0);\n }",
"public List<ChatMessage> getChatMessages() {\n logger.info(\"**START** getChatMessages \");\n return messagesMapper.findAllMessages();\n }",
"public void getMessages(){\n if(GUI.getInstance().getBusiness().getCurrentChat() != null) {\n Set<? extends IMessageIn> response = GUI.getInstance().getBusiness().getCurrentChat().getMessages();\n if(response != null){\n messages.addAll(response);\n }\n }\n }",
"private void readMessages(String myId, String userId, User user) {\n db.collection(COLLECTION)\n .orderBy(\"createdAt\", Query.Direction.ASCENDING)\n .addSnapshotListener((value, e) -> {\n if (e != null) {\n Log.w(TAG, \"Listen failed.\", e);\n loadingDialog.dismiss();\n return;\n }\n //Redraw on data change\n chats.clear();\n for (QueryDocumentSnapshot document : Objects.requireNonNull(value)) {\n if (document.getBoolean(\"isSeen\") != null) {\n Chat chat = new Chat(\n document.getString(\"sender\"),\n document.getString(\"receiver\"),\n document.getString(\"message\"),\n document.getBoolean(\"isSeen\"));\n\n //Check if the current user is the receiver or sender of the message\n if (chat.getReceiver().equals(myId) && chat.getSender().equals(userId) ||\n chat.getReceiver().equals(userId) && chat.getSender().equals(myId)) {\n //Show conversation in screen\n chats.add(chat);\n // 3. create an adapter\n messageAdapter = new MessageAdapter(chats, user);\n // 4. set adapter\n recyclerView.setAdapter(messageAdapter);\n }\n if (chat.getReceiver().equals(myId) && chat.getSender().equals(userId)) {\n seenMessage(document.getId());\n }\n }\n }\n loadingDialog.dismiss();\n });\n }",
"private void changeChat(ChangeChatEvent changeChatEvent) {\n IChat chat = changeChatEvent.getChat();\n if(chat != null && chat.getMessages() != null){\n Platform.runLater(() -> {\n List<? extends IMessageIn> mes = new ArrayList<>(chat.getMessages());\n messages.setAll(mes);\n });\n } else {\n Platform.runLater(() -> {\n messages.clear();\n });\n }\n\n }",
"@GetMapping(\"/chat-messages\")\n @Timed\n public List<ChatMessage> getAllChatMessages() {\n log.debug(\"REST request to get all ChatMessages\");\n return chatMessageRepository.findAll();\n }",
"private void loadMoreRecentChat(){\n loadChatHistory(CHAT_LIMIT,0,tailIndex);\n }",
"private void updateNewsMessages() {\n getNewsMessages().clear();\n getNewsMessages().addAll(getNewsMap().values());\n }",
"public void updateChat(Object tag) {\n if (null == tag || mData.isEmpty()) {\n Logger.d(TAG, \"updateChat() invalid mData: \" + mData + \" or tag: \"\n + tag);\n return;\n }\n Set<View> viewSet = mData.keySet();\n Iterator<View> viewIterator = viewSet.iterator();\n if (viewIterator == null) {\n Logger.d(TAG, \"updateChat() The viewIterator is null\");\n return;\n }\n while (viewIterator.hasNext()) {\n View view = viewIterator.next();\n if (view == null) {\n Logger.d(TAG, \"updateChat() The view is null\");\n } else {\n Object obj = mData.get(view);\n if (obj == null) {\n Logger.d(TAG, \"updateChat() The value is null\");\n } else {\n if (obj instanceof ChatsStruct) {\n ChatsStruct chatStruct = (ChatsStruct) obj;\n if (tag.equals(chatStruct.getWindowTag())) {\n updateChats(view, chatStruct);\n } else {\n Logger.d(TAG,\n \"updateChat() not the chatStruct with the tag\"\n + tag);\n }\n } else {\n Logger.d(TAG, \"updateChat() the chat struct is \" + obj);\n }\n }\n }\n }\n }",
"private void updateChatDetails(){\n Map<String,Object> chatAddMap = new HashMap<>();\n chatAddMap.put(\"seen\",false);\n chatAddMap.put(\"timestamp\", ServerValue.TIMESTAMP);\n\n DatabaseReference chatRef = rootRef.child(\"Chat\").child(current_user.getUid()).child(chatUserId).getRef();\n //Add to Chat\n chatRef.updateChildren(chatAddMap).addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.i(\"Checkkkkk\",\"ssss\");\n }\n });\n }",
"private void updateLists(){\n subjects.clear();\n for(Message m : user.getMessages()){\n subjects.add(String.format(\"From - %-\" + (40 - m.getFrom().length()) +\"s %20s\", m.getFrom(), m.getTimestamp().substring(0,16)));\n }\n listViewAdapter.notifyDataSetChanged();\n }",
"public void checkRoomExist(final String id)\n {\n final String cartRef = \"chatRoom\";\n mChat= database.getReference(cartRef);\n mChat.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n // This method is called once with the initial value and again\n // whenever data at this location is updated.\n\n for(DataSnapshot ds: dataSnapshot.getChildren())\n {\n if(ds.child(\"sender1\").getValue().equals(id)&& ds.child(\"sender2\").getValue().equals(uid))\n {\n roomexist=true;\n goToChat(ds.getKey());\n return;\n }\n else if(ds.child(\"sender2\").getValue().equals(id)&& ds.child(\"sender1\").getValue().equals(uid))\n {\n roomexist=true;\n goToChat(ds.getKey());\n return;\n }\n }\n if(!roomexist)\n {\n String key = mChat.push().getKey();\n makeRoom(key);\n }\n Log.d(TAG, \"Value is: \" + cartRef);\n }\n\n @Override\n public void onCancelled(DatabaseError error) {\n // Failed to read value\n Log.w(TAG, \"Failed to read value.\", error.toException());\n }\n });\n }",
"protected void queryMsg() {\n\t\tif (currentPosition == 0) {//LIVE\n\t\t\tobtainLiveData(true, currentPosition, liveMaxChatId);\n\t\t} else {//CHAT\n\t\t\tobtainChatData(true, currentPosition, chatModels.get(0).getChatId());\n\t\t}\n\t}",
"public void refreshSmssent() {\n //this is a cursor to go through and get all of your recieved messages\n ContentResolver contentResolver = getContentResolver();\n Cursor smssentCursor = contentResolver.query(Uri.parse(\"content://sms/sent\"),\n null, null, null, null);\n //this gets the message itsself\n int indexBody = smssentCursor.getColumnIndex(\"body\");\n //this gets the address the message came from\n int indexAddress = smssentCursor.getColumnIndex(\"address\");\n int indexDate = smssentCursor.getColumnIndex(\"date\");\n //get messages the user sent\n if (indexBody < 0 || !smssentCursor.moveToFirst())\n return;\n do {\n if (smssentCursor.getString(indexAddress).equals(number)|| smssentCursor.getString(indexAddress).equals(\"+1\"+number)){\n ConversationObject c = new ConversationObject(smssentCursor.getString(indexBody), \"\",smssentCursor.getString(indexAddress), smssentCursor.getLong(indexDate));\n sent.add(c);\n }\n } while (smssentCursor.moveToNext());\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n for (DataSnapshot snapshot : dataSnapshot.child(\"channels\").getChildren()) {\n //determine if current channel is in the user's list\n System.out.println(\"this channel in club: \" + snapshot.getKey().toString());\n clubChannels.add(new UserChannel(snapshot.getKey().toString()));\n if (usersChannels.contains(snapshot.getKey().toString())) {\n\n }\n }\n\n //populate userChannels with list of channels this user is subscribed to\n for (DataSnapshot snapshot : dataSnapshot.child(\"members\").child(user.getUid()).child(\"channels\").getChildren()) {\n System.out.println(\"\\n channel: \" + snapshot.getKey());\n usersChannels.add(snapshot.getKey().toString());\n }\n System.out.println(\"size of user channel set= \" + usersChannels.size());\n UserChannel generalChannel = null;\n for(UserChannel u: clubChannels) {\n if(usersChannels.contains(u.getName())) {\n u.setActive(true);\n }\n if (u.getName().equals(\"general\")) {\n generalChannel = u;\n }\n }\n if (generalChannel != null) {\n clubChannels.remove(generalChannel);\n }\n\n //todo: pass to adapter\n populateChannelList( clubChannels.toArray(new UserChannel[clubChannels.size()]));\n\n }",
"public static void saveMessagesToDBFilesToDB(TelegramApi api, DBStorage dbStorage, TLVector<TLDialog> dialogs,\n Map<Integer, TLAbsChat> chatsHashMap,\n Map<Integer, TLAbsUser> usersHashMap,\n Map<Integer, TLAbsMessage> messagesHashMap,\n int msgLimit, int parLimit, int filter,\n int maxDate, int minDate, int maxSize) {\n for (TLDialog dialog : dialogs) {\n\n System.out.println();\n System.out.println(\"Crawling dialog: \" + ConsoleOutputMethods.getDialogFullNameWithID(dialog.getPeer().getId(), chatsHashMap, usersHashMap));\n System.out.println(\"Top message: \" + dialog.getTopMessage());\n\n MessageHistoryExclusions exclusions = new MessageHistoryExclusions(dbStorage, dialog);\n if (exclusions.exist()){\n System.out.println(\"Top DB message: \" + exclusions.getMaxId());\n int count = dialog.getTopMessage() - exclusions.getMaxId();\n System.out.println(\"Downloading at most \" + (count > 0 ? count : 0) + \" messages\");\n }\n\n //reads full dialog info\n TLObject fullDialog = DialogsHistoryMethods.getFullDialog(api, dialog, chatsHashMap, usersHashMap);\n //writes full dialog info\n dbStorage.writeFullDialog(fullDialog, chatsHashMap, usersHashMap);\n\n //reads the messages\n TLAbsMessage topMessage = DialogsHistoryMethods.getTopMessage(dialog, messagesHashMap);\n TLVector<TLAbsMessage> absMessages;\n if (exclusions.exist()) {\n absMessages = DialogsHistoryMethods.getWholeMessageHistoryWithExclusions(api, dialog, chatsHashMap, usersHashMap, topMessage, exclusions, msgLimit, maxDate, minDate);\n } else {\n absMessages = DialogsHistoryMethods.getWholeMessageHistory(api, dialog, chatsHashMap, usersHashMap, topMessage, msgLimit, maxDate, minDate);\n }\n System.out.println(\"Downloaded: \" + absMessages.size());\n\n // writes messages of the dialog to \"messages + [dialog_id]\" table/collection/etc.\n dbStorage.setTarget(MSG_DIAL_PREF + dialog.getPeer().getId());\n for (TLAbsMessage absMessage : absMessages) {\n String reference = MediaDownloadMethods.messageDownloadMediaToDB(api, dbStorage, absMessage, maxSize);\n if (reference != null) {\n dbStorage.writeTLAbsMessageWithReference(absMessage, reference);\n } else {\n dbStorage.writeTLAbsMessage(absMessage);\n }\n }\n\n //reads participants\n TLObject participants = DialogsHistoryMethods.getParticipants(api, fullDialog, chatsHashMap, usersHashMap, parLimit, filter);\n // writes participants of the dialog to \"messages + [dialog_id]\" table/collection/etc.\n dbStorage.writeParticipants(participants, dialog);\n\n try {\n Thread.sleep(1000);\n } catch (InterruptedException ignored) {\n }\n }\n // write hashmaps\n System.out.println(\"Writing obtained users chats, duplicates may occure\");\n dbStorage.writeUsersHashMap(usersHashMap);\n dbStorage.writeChatsHashMap(chatsHashMap);\n System.out.println(\"Done\");\n System.out.println();\n }",
"private void updateDatabase(String messageText)\n {\n HashMap<String, ChatData> mapThis = new HashMap<>();\n ChatData thisData = new ChatData(thisUsername, otherUsername, otherUid, messageText, thisPhoto, otherPhoto, new Date());\n thisData.setRead(true);\n mapThis.put(otherUid, thisData);\n FirebaseFirestore.getInstance().collection(\"chats\").document(thisUid).set(mapThis, SetOptions.merge());\n \n HashMap<String, ChatData> mapOther = new HashMap<>();\n ChatData otherData = new ChatData(otherUsername, thisUsername, thisUid, messageText, otherPhoto, thisPhoto, new Date());\n mapOther.put(thisUid, otherData);\n FirebaseFirestore.getInstance().collection(\"chats\").document(otherUid).set(mapOther, SetOptions.merge());\n \n Map<String, String> map = new HashMap<>();\n map.put(\"message\", messageText);\n map.put(\"user\", thisUsername);\n reference.push().setValue(map);\n messageArea.setText(\"\");\n \n new Notification(otherUid, thisUsername, Notification.NOTIFICATION_CHAT, messageText, this);\n }",
"public ArrayList<VicinityMessage> viewAllMessages()\n\n {\n\n try\n {\n database=dbH.getReadableDatabase();\n dbH.openDataBase();\n String query=\"SELECT * FROM Message\";\n Cursor c = database.rawQuery(query,null);\n\n VicinityMessage msg = null;\n if (c.moveToFirst()) {\n\n do {\n\n msg = new VicinityMessage();\n msg.setMessageBody(c.getString(3));\n msg.setFriendName(c.getString(2));\n msg.setIsMyMsg(c.getInt(c.getColumnIndex(\"isMyMsg\"))>0);\n msg.setFrom(c.getString(c.getColumnIndex(\"fromIP\")));\n msg.setImageString(c.getString(c.getColumnIndex(\"image\")));\n msg.setDate(c.getString(1));\n\n // Adding message to allMessages\n allMessages.add(msg);\n } while (c.moveToNext());\n }else{\n Log.i(TAG, \"There are no messages in the DB.\");\n }\n dbH.close();\n }\n catch(SQLException e)\n {\n e.printStackTrace();\n }\n\n return allMessages;\n }",
"public void queryChatRoomsStatev2(RoomStateListener listener){\n roomsStatelisteners.add(listener);\n\n final Firebase ref = new Firebase(\"https://chatroomapp-6dd82.firebaseio.com/ChatRoomNode\");\n // Attach an listener to read rooms state reference\n Query queryRef = ref.orderByChild(\"room_DisplayName\");\n // Attach an listener to read rooms state reference\n roomListenerQuery = queryRef.addChildEventListener(new ChildEventListener() {\n @Override\n public void onChildAdded(DataSnapshot dataSnapshot, String s) {\n Log.d(\"readMessageState\",\"onDataChange\");\n //if(!message_first) {\n //notifyListeners(messageStatelisteners, dataSnapshot, \"QueryMessageStateListener\");\n notifyListeners(roomsStatelisteners,dataSnapshot,\"RoomStateListener\");\n }\n\n @Override\n public void onChildChanged(DataSnapshot dataSnapshot, String s) {\n\n }\n\n @Override\n public void onChildRemoved(DataSnapshot dataSnapshot) {\n\n }\n\n @Override\n public void onChildMoved(DataSnapshot dataSnapshot, String s) {\n\n }\n\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n\n }\n });/*new ChildEventListener() {\n @Override\n public void onChildAdded(DataSnapshot snapshot,String previousChild) {\n Log.d(\"readMessageState\",\"onDataChange\");\n if(!message_first) {\n notifyListeners(messageStatelisteners, snapshot, \"MessageStateListener\");\n }else{\n message_first = false;\n }\n }\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n //TODO need to take care of this case\n System.out.println(\"The read failed: \" + firebaseError.getMessage());\n }\n });*/\n /*ref.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot snapshot) {\n if(roomsStatelisteners.size()>0){\n notifyListeners(roomsStatelisteners,snapshot,\"RoomStateListener\");\n ref.removeEventListener(this);\n }\n RoomsSnapshot = snapshot;\n }\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n //TODO need to take care of this case\n System.out.println(\"The read failed: \" + firebaseError.getMessage());\n }\n });*/\n }",
"List<ChatMessage> getMessages(int roomId, int count) throws IOException;",
"@Override\n public void onMessageReceived(RemoteMessage remoteMessage) {\n Log.i(\"hell\", \"From: \" + remoteMessage.getData());\n Log.d(TAG, \"From: \" + remoteMessage.getFrom());\n Log.d(TAG, \"Notification Message Body: \" + remoteMessage.getData().get(\"message\"));\n// UpdaterService.Updater updater new UpdaterService.Updater();\n //Calling method to generate notification\n// scroll();\n SharedPreferences sharedPreferences = this.getSharedPreferences(\"user\",0);\n\n IcebreakerNotification message = new IcebreakerNotification();\n message.setMessage(remoteMessage.getData().get(\"message\"));\n message.setFrom(remoteMessage.getData().get(\"title\"));\n message.setTo(sharedPreferences.getString(\"enroll\",\"\"));\n MessageDb db = new MessageDb(MyFirebaseMessagingService.this);\n if (remoteMessage.getData().get(\"type\").equalsIgnoreCase(\"deliver\")){\n db.updateMessage(remoteMessage.getData().get(\"id\"));\n\n }\n else if(remoteMessage.getData().get(\"type\").equalsIgnoreCase(\"random\")){\n sendNotification(remoteMessage.getData().get(\"title\"), remoteMessage.getData().get(\"message\"),1,1,1);\n RandomChat randomChat;\n Gson gson = new Gson();\n randomChat = gson.fromJson(remoteMessage.getData().get(\"profile\"),RandomChat.class);\n db.addRandom(randomChat,Long.parseLong(remoteMessage.getData().get(\"time\")));\n\n\n }\n else {\n jsonObject = new JsonObject();\n jsonObject.addProperty(\"to\",message.getFrom());\n jsonObject.addProperty(\"from\", remoteMessage.getFrom());\n jsonObject.addProperty(\"id\",remoteMessage.getData().get(\"id\"));\n jsonObject.addProperty(\"type\",\"deliver\");\n sendDeliver();\n Log.i(\"hell\", String.valueOf(db.getChatId(message)));\n if (db.getChatId(message) == 0){\n db.addChat(message,System.currentTimeMillis());\n// db.addContact(message.getFrom());\n }\n db.updateChat(db.getChatId(message),System.currentTimeMillis());\n\n db.addMessage(message.getMessage(), db.getChatId(message),Long.parseLong(remoteMessage.getData().get(\"id\")),0,Long.parseLong(remoteMessage.getData().get(\"time\")),0);\n// ChatActivity.adapter.notifyDataSetChanged();\n if (isAppIsInBackground(this)) {\n\n sendNotification(remoteMessage.getData().get(\"title\"), remoteMessage.getData().get(\"message\"), db.unread(),db.unreadChat(),0);\n db.close();\n }\n else\n {\n final MediaPlayer mp = MediaPlayer.create(this, R.raw.sound);\n mp.start();\n }\n }\n Intent intent;\n intent = new Intent(BROADCAST_ACTION);\n sendBroadcast(intent);\n Intent intent2;\n intent2 = new Intent(BROADCAST_HOME);\n sendBroadcast(intent2);\n\n// bindService(UpdaterService,null,null);\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n synchronized (FragmentAvailableMatches.this){\n matches.clear();\n for(DataSnapshot data: dataSnapshot.getChildren()){\n Match m = data.getValue(Match.class);\n boolean booked = data.child(\"members/\" + ActivityLogin.currentUserID).exists();\n assert m != null;\n //we show relevant matches only, this is self explaining\n if(m.getPlayersNumber() > 0 && m.getTimestamp() > Calendar.getInstance().getTimeInMillis() && !booked && isLocationNearby(m.getLatitude(), m.getLongitude())\n && !ActivityLogin.currentUserID.equals(m.getCreatorID()))\n addUI(m);\n }\n matchAdapter.notifyDataSetChanged();\n } //release the object only when we have read everything\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mMainView = inflater.inflate(R.layout.fragment_chats, container, false);\n init();\n\n mMessageDatabase.addChildEventListener(new ChildEventListener() {\n @Override\n public void onChildAdded(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n String user_id = dataSnapshot.getKey().toString();\n mLastMessage.child(user_id).limitToFirst(1).addChildEventListener(new ChildEventListener() {\n @Override\n public void onChildAdded(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n Messages messages = dataSnapshot.getValue(Messages.class);\n\n if (messages.getType().equals(\"text\")) {\n date = messages.getMessage();\n } else {\n date = \"image\";\n }\n }\n\n @Override\n public void onChildChanged(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n\n }\n\n @Override\n public void onChildRemoved(@NonNull DataSnapshot dataSnapshot) {\n\n }\n\n @Override\n public void onChildMoved(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n mUsersDatabase.child(user_id).addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n String name = dataSnapshot.child(\"name\").getValue().toString();\n String image = dataSnapshot.child(\"thumb_image\").getValue().toString();\n String userOnline = dataSnapshot.child(\"online\").getValue().toString();\n\n if (list_user_friend_key.contains(dataSnapshot.getKey().toString())) {\n int position = list_user_friend_key.indexOf(dataSnapshot.getKey().toString());\n friendsArrayList.get(position).setOnline(userOnline);\n friendsAdapter.notifyDataSetChanged();\n } else {\n list_user_friend_key.add(dataSnapshot.getKey().toString());\n friendsArrayList.add(new Friends(date, name, image, userOnline));\n friendsAdapter.notifyDataSetChanged();\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }\n\n @Override\n public void onChildChanged(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n\n }\n\n @Override\n public void onChildRemoved(@NonNull DataSnapshot dataSnapshot) {\n\n }\n\n @Override\n public void onChildMoved(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n\n return mMainView;\n }",
"private void onReceiveChatMessages() {\n\n//\t\tL.debug(\"onReceiveChatMessages\");\n//\n//\t\t// called from NetworkChangeReceiver whenever the user is logged in\n//\t\t// will always be called whenever there is a change in network state,\n//\t\t// will always check if the app is connected to server,\n//\t\tXMPPConnection connection = XMPPLogic.getInstance().getConnection();\n//\n//\t\tif (connection == null || !connection.isConnected()) {\n//\t\t\tSQLiteHandler db = new SQLiteHandler(getApplicationContext());\n//\t\t\tdb.openToWrite();\n//\n//\t\t\t// db.updateBroadcasting(0);\n//\t\t\t// db.updateBroadcastTicker(0);\n//\n//\t\t\tAccount ac = new Account();\n//\t\t\tac.LogInChatAccount(db.getUsername(), db.getEncryptedPassword(), db.getEmail(), new OnXMPPConnectedListener() {\n//\n//\t\t\t\t@Override\n//\t\t\t\tpublic void onXMPPConnected(XMPPConnection con) {\n//\t\t\t\t\t\n//\t\t\t\t\t//addPacketListener(con);\n//\t\t\t\t}\n//\n//\t\t\t});\n//\n//\t\t\tdb.close();\n//\t\t} else {\n//\n//\t\t\t//addPacketListener(connection);\n//\n//\t\t}\n\t}",
"public void SendToAll()\r\n {\r\n AlertDialog.Builder dialog=new AlertDialog.Builder(MainActivity.this);\r\n dialog.setTitle(\"Send Message To All Users\");\r\n dialog.setIcon(R.drawable.ic_action_send) ;\r\n dialog.setMessage(\"Enter your message :\") ;\r\n final EditText input =new EditText(this);\r\n input.setHint(\"Hi !\");\r\n dialog.setView(input) ;\r\n dialog.setPositiveButton(\"Send\", new DialogInterface.OnClickListener() {\r\n @Override\r\n public void onClick(DialogInterface dialog, int which) {\r\n if (!TextUtils.isEmpty(input.getText()))\r\n {\r\n firebaseUser=FirebaseAuth.getInstance().getCurrentUser() ;\r\n reference=FirebaseDatabase.getInstance().getReference(\"Users\");\r\n reference.addListenerForSingleValueEvent(new ValueEventListener() {\r\n @Override\r\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\r\n for (DataSnapshot snapshot:dataSnapshot.getChildren())\r\n {\r\n final Users users=snapshot.getValue(Users.class);\r\n if (!users.getId().equals(firebaseUser.getUid()))\r\n {\r\n Calendar calendar=Calendar.getInstance() ;\r\n SimpleDateFormat format=new SimpleDateFormat(\"HH:mm\") ;\r\n String time=format.format(calendar.getTime()) ;\r\n String key = reference.child(\"Chats\").push().getKey() ;\r\n HashMap<String,Object>hashMap=new HashMap<>();\r\n hashMap.put(\"sender\",firebaseUser.getUid());\r\n hashMap.put(\"receiver\",users.getId());\r\n hashMap.put(\"message\",input.getText().toString());\r\n hashMap.put(\"id\",key);\r\n hashMap.put(\"time\",time);\r\n hashMap.put(\"isseen\",false) ;\r\n reference=FirebaseDatabase.getInstance().getReference(\"Chats\") ;\r\n reference.child(key).setValue(hashMap) ;\r\n final DatabaseReference chatRef=FirebaseDatabase.getInstance().getReference(\"chatlist\").child(firebaseUser.getUid()).child(users.getId());\r\n chatRef.addListenerForSingleValueEvent(new ValueEventListener() {\r\n @Override\r\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\r\n if(!dataSnapshot.exists())\r\n {\r\n chatRef.child(\"id\").setValue(users.getId());\r\n }\r\n }\r\n\r\n @Override\r\n public void onCancelled(@NonNull DatabaseError databaseError) {\r\n\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n @Override\r\n public void onCancelled(@NonNull DatabaseError databaseError) {\r\n\r\n }\r\n });\r\n }\r\n\r\n }\r\n });\r\n dialog.setNegativeButton(\"cancel\", new DialogInterface.OnClickListener() {\r\n @Override\r\n public void onClick(DialogInterface dialog, int which) {\r\n dialog.cancel();\r\n }\r\n });\r\n dialog.show();\r\n }",
"public List<Conversation> loadConversations() throws PersistentDataStoreException {\n\n List<Conversation> conversations = new ArrayList<>();\n\n // Retrieve all conversations from the datastore.\n Query query = new Query(\"chat-conversations\");\n PreparedQuery results = datastore.prepare(query);\n\n for (Entity entity : results.asIterable()) {\n try {\n UUID uuid = UUID.fromString((String) entity.getProperty(\"uuid\"));\n UUID ownerUuid = UUID.fromString((String) entity.getProperty(\"owner_uuid\"));\n String title = (String) entity.getProperty(\"title\");\n Instant creationTime = Instant.parse((String) entity.getProperty(\"creation_time\"));\n boolean muted = Boolean.parseBoolean((String) entity.getProperty(\"muted\"));\n Conversation conversation = new Conversation(uuid, ownerUuid, title, creationTime, muted);\n conversations.add(conversation);\n } catch (Exception e) {\n // In a production environment, errors should be very rare.\n // Errors which may\n // occur include network errors, Datastore service errors,\n // authorization errors,\n // database entity definition mismatches, or service mismatches.\n throw new PersistentDataStoreException(e);\n }\n }\n\n return conversations;\n }",
"@Override\n public void onMessageReceived(MessageEvent messageEvent) {\n if(messageEvent.getPath().equals(BTCommType.GET_CONTACTS.toString())) {\n dataMap = DataMap.fromByteArray(messageEvent.getData());\n contacts = new ContactSync(dataMap);\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n mAdapter.notifyDataSetChanged();\n loadAdapter();\n }\n });\n }\n\n if(messageEvent.getPath().equals(BTCommType.GET_DRAWINGS.toString())) {\n List<AMessage> messages = new ArrayList<AMessage>();\n DataMap data = DataMap.fromByteArray(messageEvent.getData());\n\n List<String> emojis = data.getStringArrayList(\"emojis\");\n List<Integer> pos = data.getIntegerArrayList(\"emojisPositions\");\n\n int messageAmount = data.getInt(\"amountOfMessages\");\n for (int i = 0; i < messageAmount; i++) {\n if(pos.contains(i)){\n Emoticon emoji = new Emoticon(EmoticonType.valueOf(emojis.get(0)).getRes());\n emojis.remove(0);\n messages.add(emoji);\n } else {\n Drawing drawing = new Drawing(data.getFloatArray(\"y-coordinates \" + i)\n , data.getFloatArray(\"x-coordinates \" + i)\n , data.getLongArray(\"drawing-times \" + i)\n , data.getStringArray(\"actions \" + i)\n , data.getByteArray(\"staticDrawing \" + i));\n messages.add(drawing);\n }\n\n }\n Log.e(\"drawings\", \"new drawings\");\n MessageHolder.getInstance().setDrawings(messages);\n if(messageAmount < 1){\n Toast.makeText(getApplicationContext(), \"No messages found\", Toast.LENGTH_SHORT).show();\n }\n else {\n Intent intent = new Intent(this, ConversationViewActivity.class);\n intent.putExtra(BTCommType.SEND_TO_CONTACT.toString(), contact);\n startActivity(intent);\n this.finish();\n }\n }\n }",
"private void loadChatHistory(int limit, int beforeID, int afterID){\n Log.d(TAG,\"load chat. limit:\" + limit + \",beforeID:\" + beforeID + \",afterID:\" + afterID);\n RequestAction actionGetChat = new RequestAction() {\n @Override\n public void actOnPre() {\n isLoading = true;\n pb_loadChat.setVisibility(View.VISIBLE);\n }\n\n @Override\n public void actOnPost(int responseCode, String response) {\n if ( responseCode == 200 ) {\n try {\n JSONObject jsonObject = new JSONObject(response);\n JSONArray jsonArray = jsonObject.getJSONArray(Constant.TABLE_CHAT);\n if ( jsonArray.length() == 0 ) {\n Log.d(TAG,\"All Chats loaded\");\n isAllLoaded = true;\n }\n Chat[] chats = new Chat[jsonArray.length()];\n for ( int i = 0; i < jsonArray.length(); i++ ) {\n JSONObject json = jsonArray.getJSONObject(i);\n JSONObject jsonChat = json.getJSONObject(Constant.TABLE_CHAT);\n int id = jsonChat.getInt(Constant.CHAT_ID);\n int tournamentID, clubID, receiverID, senderID;\n try {\n tournamentID = jsonChat.getInt(Constant.CHAT_TOURNAMENT_ID);\n } catch (JSONException e) {\n tournamentID = 0;\n }\n try {\n clubID = jsonChat.getInt(Constant.CHAT_CLUB_ID);\n } catch (JSONException e) {\n clubID = 0;\n }\n try {\n receiverID = jsonChat.getInt(Constant.CHAT_RECEIVER_ID);\n } catch (JSONException e) {\n receiverID = 0;\n }\n senderID = jsonChat.getInt(Constant.CHAT_SENDER_ID);\n String messageType = jsonChat.getString(Constant.CHAT_MESSAGE_TYPE);\n String messageContent = jsonChat.getString(Constant.CHAT_MESSAGE_CONTENT);\n String time = jsonChat.getString(Constant.CHAT_TIME);\n String senderName = json.getString(Constant.CHAT_SENDER_NAME);\n chats[i] = new Chat(id,tournamentID,clubID,receiverID,senderID,\n senderName,messageType,messageContent,time);\n }\n addToChatList(chats);\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n isLoading = false;\n pb_loadChat.setVisibility(View.GONE);\n }\n };\n String url = UrlHelper.urlChat(tournamentID,clubID,receiverID,selfID,limit,beforeID,afterID);\n RequestHelper.sendGetRequest(url,actionGetChat);\n }",
"private void getChatHistory(final int id) {\n String tag_string_req = \"req_chat_history\";\n\n StringRequest strReq = new StringRequest(Request.Method.POST,\n AppConfig.URL_Chat_History, new Response.Listener<String>() {\n\n @Override\n public void onResponse(String response) {\n Log.d(\"MyTAG\", \"history Response: \" + response.toString());\n\n try {\n JSONObject jObject = new JSONObject(response);\n JSONArray jArray = jObject.getJSONArray(\"messages\");\n\n System.out.println(jObject.toString());\n boolean error = jObject.getBoolean(\"error\");\n // Check for error node in json\n if (!error) {\n\n for(int i=0;i<jArray.length();i++) {\n\n JSONObject s = jArray.getJSONObject(i);//name of object returned from database\n String content = s.getString(\"content\"); //same names of json fields\n int chat_id = s.getInt(\"chat_id\");\n int sender_id = s.getInt(\"sender_id\");\n String time = s.getString(\"send_time\");\n System.err.print(\"chat_id:\" + chat_id + \" +content:\" + content + \" +sender:\" + sender_id + \" +time:\" + time);\n Message m= new Message(chat_id,sender_id,content,time);\n m.setSenderName(parentName);\n Messages.add(m);\n }\n LA = new MessagesAdapter(getApplicationContext(), R.layout.my_message, Messages);\n myList.setAdapter(LA);\n myList.setSelection(LA.getCount() - 1);\n\n } else {\n // Error in login. Get the error message\n String errorMsg = jObject.getString(\"error_msg\");\n Toast.makeText(getApplicationContext(),\n errorMsg+\": response\", Toast.LENGTH_LONG).show();\n }\n } catch (JSONException e) {\n // JSON error\n e.printStackTrace();\n Toast.makeText(getApplicationContext(), \"Json error: \" + e.getMessage()+\"\", Toast.LENGTH_LONG).show();\n }\n\n }\n }, new Response.ErrorListener() {\n\n @Override\n public void onErrorResponse(VolleyError error) {\n // Log.e(TAG, \"Login Error: \" + error.getMessage());\n Toast.makeText(getApplicationContext(),\n error.getMessage()+\"\", Toast.LENGTH_LONG).show();\n error.printStackTrace();\n\n }\n }) {\n\n @Override\n protected Map<String, String> getParams() {\n // Posting parameters to login url\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"chat_id\", id+\"\");\n\n return params;\n }\n\n };\n // Adding request to request queue\n AppController.getInstance().addToRequestQueue(strReq, tag_string_req);\n }",
"public static void addChat($_Abstruct_Value_Item_Main_Chat abstruct_value_item_main_chat) {\n if (abstruct_value_item_main_chat instanceof $_Value_Item_Main_Chat) {\n main_chat_fragment.rooms.add(abstruct_value_item_main_chat);\n recycle_view_main_chat.addItemDecoration(new DividerItemDecoration(SecondActivity.context,\n DividerItemDecoration.VERTICAL));\n main_chat_fragment.recycleAdapter.notifyDataSetChanged();\n List<$_Message> list = new ArrayList();\n MainActivity.allMessages.put(abstruct_value_item_main_chat.getEmail(), new Pair<>(new $_Recycle_View_Room_Chat_Adapter(list, FourActivity.context), list));\n //MainActivity.allMessages.put(value_item_main_chat.getEmail(),new ArrayList<>());\n } else {\n main_chat_fragment.rooms.add(abstruct_value_item_main_chat);\n recycle_view_main_chat.addItemDecoration(new DividerItemDecoration(SecondActivity.context,\n DividerItemDecoration.VERTICAL));\n main_chat_fragment.recycleAdapter.notifyDataSetChanged();\n List<$_Message> list = new ArrayList();\n System.out.println(\"EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE === \" + abstruct_value_item_main_chat.getEmail());\n MainActivity.allMessages.put(abstruct_value_item_main_chat.getEmail(), new Pair<>(new $_Recycle_View_Room_Chat_Adapter(list, FourActivity.context), list));\n //MainActivity.allMessages.put(value_item_main_chat.getEmail(),new ArrayList<>());\n }\n\n }",
"@Override\n public void onBindViewHolder(@NonNull final MessageViewHolder messageViewHolder, int i) {\n\n Messages c = mMessagelist.get(i);\n // String from_user = c.getFrom();\n String message_type = c.getType();\n long message_time = Long.parseLong(String.valueOf(c.getTime()));\n // String message_seen = c.getSeen();\n\n SimpleDateFormat formatter = new SimpleDateFormat(\"dd/MM/yy(hh:mm:ss)\");\n String dateString = formatter.format(new Date(message_time));\n messageViewHolder.timeText.setText(dateString);\n // messageViewHolder.seenText.setText(\"Seen\");\n\n// if (message_seen.equals(\"true\")) {\n// messageViewHolder.seenText.setText(\"S\");\n// }\n// else\n// {\n// messageViewHolder.seenText.setText(\"D\");\n// }\n\n\n\n// if (from_user.equals(current_user_id))\n// {\n// messageViewHolder.messageText.setBackgroundColor(Color.WHITE);\n// messageViewHolder.messageText.setTextColor(Color.BLACK);\n// }\n// else\n// {\n// messageViewHolder.messageText.setBackgroundResource(R.drawable.message_text_background);\n// messageViewHolder.messageText.setTextColor(Color.WHITE);\n// }\n// messageViewHolder.messageText.setText(c.getMessage());\n//\n//\n// mUserDatabase = FirebaseDatabase.getInstance().getReference().child(\"Users\").child(from_user);\n//\n// mUserDatabase.addValueEventListener(new ValueEventListener() {\n// @Override\n// public void onDataChange(DataSnapshot dataSnapshot) {\n//\n// String name = dataSnapshot.child(\"name\").getValue().toString();\n// String image = dataSnapshot.child(\"thumb_image\").getValue().toString();\n//\n// // messageViewHolder.displayName.setText(name);\n//\n// // Picasso.get().load(image)\n// // .placeholder(R.drawable.om).into(messageViewHolder.profileImage);\n//\n// }\n//\n// @Override\n// public void onCancelled(DatabaseError databaseError) {\n//\n// }\n// });\n\n if(message_type.equals(\"text\")) {\n\n messageViewHolder.messageText.setText(c.getMessage());\n // messageViewHolder.messageText.setText(Html.fromHtml(convertToHtml(c.getMessage()) + \"         \")); // 10 spaces\n // messageViewHolder.messageImage.setVisibility(View.INVISIBLE);\n\n\n } else {\n\n messageViewHolder.messageText.setVisibility(View.INVISIBLE);\n // Picasso.get().load(c.getMessage())\n // .placeholder(R.drawable.om).into(messageViewHolder.messageImage);\n\n }\n }",
"private void initMessageBoard() {\n RecyclerView msgBoard = findViewById(R.id.home_MsgBoard);\n msgBoard.setLayoutManager(new LinearLayoutManager(this));\n ArrayList<UserAccount> temp = new ArrayList<UserAccount>();\n if (user.getFriendMatches() == null) {\n user.setFriendMatches(temp);\n Log.e(\"HomeView\", \"friendMatches was null\");\n }\n MessageBoardAdapter msgBoardAdapter =\n new MessageBoardAdapter(this, user.getFriendMatches(), user);\n msgBoard.setAdapter(msgBoardAdapter);\n }",
"void prepareData(){\n\n\n\n\n //Seding request\n RequestQueue queue = Volley.newRequestQueue(getActivity());\n\n\n\n\n\n\n JsonObjectRequest jsonObjReq = new JsonObjectRequest(com.android.volley.Request.Method.GET,url\n , new JSONObject(),\n new Response.Listener<JSONObject>() {\n\n @Override\n public void onResponse(JSONObject response) {\n\n Log.d(\"response_inboxList\", response.toString());\n\n try {\n //Cleaning the array\n chatHistoryList.clear();\n\n JSONArray array = new JSONArray(response.getString(\"box1\"));\n {\n //Steps to parse JSON data\n JSONArray messageArray=array.getJSONArray(0) ;\n// Log.d(\"response_inboxList1\",messageArray.toString()) ;\n// Log.d(\"response_inboxList2\",message.toString()) ;\n\n for (int i=0;i<messageArray.length();i++) {\n\n JSONObject message=messageArray.getJSONObject(i) ;\n JSONObject data=message.getJSONObject(\"row_to_json\") ;\n\n\n if (data.getString(\"name1\").equals(userName)){\n otherPersonUserName=data.getString(\"name2\") ;\n }else{\n otherPersonUserName=data.getString(\"name1\") ;\n }\n\n\n Inbox inbox =new Inbox(otherPersonUserName,data.getString(\"box_name\")) ;\n\n\n\n chatHistoryList.add(inbox) ;\n\n Log.d(\"response_inboxList\", MainActivity.chatHistoryList.size()+\"\") ;\n\n\n }\n\n Toast.makeText(getActivity(), \"Data fetched\", Toast.LENGTH_LONG).show();\n\n //Fetching data and setting adapter\n adapter=new InboxMessageListAdapter( chatHistoryList,getActivity(),ft) ;\n recyclerView.setAdapter(adapter);\n\n\n\n\n }\n\n }catch (Exception e){\n// Toast.makeText(getActivity(),e.toString(),Toast.LENGTH_LONG).show();\n\n Log.d( \"Error_inboxList\" , e.toString());\n\n }\n\n\n //Hiding progress bar\n\n progressBar.setVisibility(View.GONE);\n }\n }, new Response.ErrorListener() {\n\n\n @Override\n public void onErrorResponse(VolleyError error) {\n Log.d( \"Error_inboxList\" , error.toString());\n\n Toast.makeText(getActivity(),\"Error occured!Please try again\",Toast.LENGTH_LONG).show();\n\n\n //Toast.makeText(getApplicationContext(),error.toString(),Toast.LENGTH_LONG).show();\n\n //Hiding progress bar\n progressBar.setVisibility(View.GONE);\n\n\n }\n }) {\n\n\n //This is for Headers If You Needed\n @Override\n public Map<String, String> getHeaders() throws AuthFailureError {\n Map<String, String> params = new HashMap<String, String>();\n // params.put(\"Content-Type\", \"application/json; charset=UTF-8\");\n params.put(\"authorization\", token);\n return params;\n }\n\n\n\n };\n\n jsonObjReq.setTag(\"json\");\n // Adding request to request queue\n queue.add(jsonObjReq);\n\n\n\n\n\n\n }",
"public void queryChatRoomsState(RoomStateListener listener){\n roomsStatelisteners.add(listener);\n\n final Firebase ref = new Firebase(\"https://chatroomapp-6dd82.firebaseio.com/ChatRoomNode\");\n // Attach an listener to read rooms state reference\n Query queryRef = ref.orderByChild(\"room_DisplayName\");\n // Attach an listener to read rooms state reference\n queryRef.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot snapshot) {\n //if(roomsStatelisteners.size()>0){\n notifyListeners(roomsStatelisteners,snapshot,\"RoomStateListener\");\n //ref.removeEventListener(this);\n //}\n //RoomsSnapshot = snapshot;\n }\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n //TODO need to take care of this case\n System.out.println(\"The read failed: \" + firebaseError.getMessage());\n }\n });\n /*new ChildEventListener() {\n @Override\n public void onChildAdded(DataSnapshot snapshot,String previousChild) {\n Log.d(\"readMessageState\",\"onDataChange\");\n if(!message_first) {\n notifyListeners(messageStatelisteners, snapshot, \"MessageStateListener\");\n }else{\n message_first = false;\n }\n }\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n //TODO need to take care of this case\n System.out.println(\"The read failed: \" + firebaseError.getMessage());\n }\n });*/\n /*ref.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot snapshot) {\n if(roomsStatelisteners.size()>0){\n notifyListeners(roomsStatelisteners,snapshot,\"RoomStateListener\");\n ref.removeEventListener(this);\n }\n RoomsSnapshot = snapshot;\n }\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n //TODO need to take care of this case\n System.out.println(\"The read failed: \" + firebaseError.getMessage());\n }\n });*/\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_message, container, false);\n firebaseAuth = FirebaseAuth.getInstance();\n currentUser = FirebaseAuth.getInstance().getCurrentUser();\n recyclerView = view.findViewById(R.id.recyclerViewMessageList);\n recyclerView.setHasFixedSize(true);\n recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));\n modelMessageLists= new ArrayList<>();\n DatabaseReference reference = FirebaseDatabase.getInstance().getReference(\"MessageList\").child(currentUser.getUid());\n reference.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot snapshot) {\n modelMessageLists.clear();\n for(DataSnapshot ds: snapshot.getChildren()){\n ModelMessageList modelMessageList = ds.getValue(ModelMessageList.class);\n modelMessageLists.add(modelMessageList);\n }\n loadMessage();\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError error) {\n\n }\n });\n return view;\n }",
"private void onLoadMoreMessages() {\n if (mIsRefreshable) {\n mRefreshManager.loadMoreMessages(getAccountId(), getMailboxId());\n }\n }",
"@Override\n public void onChildChanged(DataSnapshot dataSnapshot, String s) {\n Message thismessage = dataSnapshot.getValue(Message.class);// This is to get Data of new Message\n // Here we Are storing data of Message in Our Similar Node\n messageAdapter.add(thismessage);\n // Here we are sending Our Messge To our Own Adapter.....And this will Display in our ListView\n }",
"public List<ChatMsg> getListRoomChatMsg() {\n //TODO add room Filter... processing, currently only one list \n //is updated by EventBus\n this.roomMsg = mobileCtrl.getListChatMsg(this.room);\n return this.roomMsg;\n }",
"public ArrayList<Message> getMessages(String logUser, String friendUser, String date){\n String dateAux = date.split(\" \")[0];\r\n String lastDay = sdf.format(Timestamp.valueOf(date).getTime() - (24*60*60*1000));\r\n lastDay = lastDay.split(\" \")[0];\r\n ArrayList<Message> myMessageList = new ArrayList<>();\r\n this.query = \"SELECT * FROM cristomessenger.message\\n\" +\r\n \"WHERE ((id_user_orig = \\\"\" + logUser + \"\\\" and id_user_dest = \\\"\" + friendUser + \"\\\") or (\"\r\n + \"id_user_orig = \\\"\" + friendUser + \"\\\" and id_user_dest = \\\"\" + logUser + \"\\\")) and \"\r\n + \"datetime >= \\\"\" + lastDay + \"%\\\" and \" + \"datetime < \\\"\" + date + \"\\\" order by datetime asc;\";\r\n //System.out.println(\"getMessagesDate: \" + date);\r\n try {\r\n this.ConnectDatabase();\r\n this.QuerySQLExecute();\r\n while (this.rs.next()) {\r\n Message MessageAux = new Message();\r\n MessageAux.setTransmitter(this.rs.getString(\"id_user_orig\"));\r\n MessageAux.setReceiver(this.rs.getString(\"id_user_dest\"));\r\n MessageAux.setText(this.rs.getString(\"text\"));\r\n MessageAux.setDate(this.rs.getString(\"datetime\"));\r\n myMessageList.add(MessageAux);\r\n }\r\n //System.out.println(\"getMessages: \" + myMessageList.size());\r\n } catch (SQLException e ) {\r\n System.out.println(e.getMessage());\r\n } finally {\r\n if (this.stmt != null) { \r\n try {\r\n this.stmt.close();\r\n } catch (SQLException ex) {\r\n Logger.getLogger(UsersModel.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n }\r\n }\r\n if (myMessageList.isEmpty()) {\r\n //myMessageList = getTop10Messages(logUser,friendUser,date);\r\n }\r\n return myMessageList;\r\n }",
"public ArrayList<VicinityMessage> getChatMessages(String fromIp){\n\n ArrayList<VicinityMessage> chat = new ArrayList<>();\n\n for(int i=0; i<this.allMessages.size(); i++){\n\n if(this.allMessages.get(i).getFrom().equals(fromIp)){\n chat.add(allMessages.get(i));\n Log.i(TAG, allMessages.get(i).getMessageBody());\n\n }\n }\n\n return chat;\n }",
"Cursor getUndeliveredOneToOneChatMessages();",
"public void refreshSmsInbox() {\n //this is a cursor to go through and get all of your recieved messages\n ContentResolver contentResolver = getContentResolver();\n Cursor smsInboxCursor = contentResolver.query(Uri.parse(\"content://sms/inbox\"),\n null, null, null, null);\n //this gets the message itsself\n int indexBody = smsInboxCursor.getColumnIndex(\"body\");\n //this gets the address the message came from\n int indexAddress = smsInboxCursor.getColumnIndex(\"address\");\n //gets the date/time value so we can sort the messages in the correct order\n int indexDate = smsInboxCursor.getColumnIndex(\"date\");\n //loop through and get received messages\n if (indexBody < 0 || !smsInboxCursor.moveToFirst())\n return;\n do {\n if (smsInboxCursor.getString(indexAddress).equals(number)||\n smsInboxCursor.getString(indexAddress).equals(\"+1\"+number)){\n ConversationObject c = new ConversationObject(\"\",smsInboxCursor.getString(indexBody),smsInboxCursor.getString(indexAddress),smsInboxCursor.getLong(indexDate));\n recieved.add(c);\n }\n } while (smsInboxCursor.moveToNext());\n }",
"public void mem_list() {\n synchronized(chat_room) {\n Set id_set = cur_chat_room.keySet();\n Iterator iter = id_set.iterator();\n clearScreen(client_PW);\n client_PW.println(\"------------online member-----------\");\n while(iter.hasNext()) {\n String mem_id = (String)iter.next();\n if(mem_id != client_ID) {\n client_PW.println(mem_id);\n }\n }\n client_PW.flush();\n }\n }",
"public static void sendMessageToFirebase(MessageUser messageUser, String mTalkerId) {\n Date date = new Date(System.currentTimeMillis());\n String reference = mRefTalkersMessage.push().getKey();\n messageUser.setKey(reference);\n messageUser.setDate(date);\n\n mRefTalkersMessage\n .child(mUserTalker.getId())\n .child(mCurrentUser.getId())\n .child(reference)\n .setValue(messageUser)\n .addOnSuccessListener(aVoid -> {\n mRefTalkersMessage\n .child(mCurrentUser.getId())\n .child(mUserTalker.getId())\n .child(reference)\n .setValue(messageUser)\n .addOnSuccessListener(aVoid2 -> {\n\n if(!mUserTalker.isOnlineInChat()){\n updateNumUnreadMessages(mTalkerId);\n\n mRefChatTalker\n .child(mTalkerId)\n .child(mAuth.getCurrentUser().getUid())\n .addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n\n ChatTalker chatTalkerSnapshot = dataSnapshot.getValue(ChatTalker.class);\n\n Date date = new Date(System.currentTimeMillis());\n\n Map<String, Object> updateChatTalker = new HashMap<>();\n updateChatTalker.put(\"currentUserId\", mAuth.getCurrentUser().getUid());\n updateChatTalker.put(\"talkerId\", mTalkerId);\n updateChatTalker.put(\"talkerIsOnline\", false);\n updateChatTalker.put(\"date\", date);\n updateChatTalker.put(\"message\", messageUser.getMessage());\n\n if (!dataSnapshot.hasChildren()){\n updateChatTalker.put(\"unreadMessages\", 1);\n }\n else {\n if (chatTalkerSnapshot.getUnreadMessages() == 0){\n updateChatTalker.put(\"unreadMessages\", 1);\n }\n else {\n updateChatTalker.put(\"unreadMessages\",\n chatTalkerSnapshot.getUnreadMessages() + 1);\n }\n }\n\n mRefChatTalker\n .child(mTalkerId)\n .child(mAuth.getCurrentUser().getUid())\n .updateChildren(updateChatTalker)\n .addOnFailureListener(Throwable::getLocalizedMessage);\n\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n databaseError.toException().printStackTrace();\n }\n });\n\n }\n\n })\n .addOnFailureListener(Throwable::getLocalizedMessage);\n })\n .addOnFailureListener(Throwable::getLocalizedMessage);\n\n }",
"public JSONArray getChat() throws JSONException {\r\n JSONArray chats = new JSONArray();\r\n String selectQuery = \"SELECT * FROM \" + UserChat.TABLE_USERCHAT;\r\n\r\n SQLiteDatabase db = this.getReadableDatabase();\r\n Cursor cursor = db.rawQuery(selectQuery, null);\r\n // Move to first row\r\n cursor.moveToFirst();\r\n if(cursor.getCount() > 0){\r\n\r\n while (cursor.isAfterLast() != true) {\r\n\r\n JSONObject contact = new JSONObject();\r\n contact.put(UserChat.USERCHAT_TO, cursor.getString(1));\r\n contact.put(UserChat.USERCHAT_FROM, cursor.getString(2));\r\n contact.put(UserChat.USERCHAT_FROM_FULLNAME, cursor.getString(3));\r\n contact.put(UserChat.USERCHAT_MSG, cursor.getString(4));\r\n contact.put(UserChat.USERCHAT_UID, cursor.getString(5));\r\n contact.put(UserChat.USERCHAT_DATE, cursor.getString(6));\r\n contact.put(\"contact_phone\", cursor.getString(7));\r\n\r\n chats.put(contact);\r\n\r\n cursor.moveToNext();\r\n }\r\n }\r\n cursor.close();\r\n db.close();\r\n // return user\r\n return chats;\r\n }",
"@Override\n public void onChildAdded(@NonNull DataSnapshot dataSnapshot, @Nullable String s) {\n if (dataSnapshot.exists()){\n\n Chats chats = dataSnapshot.getValue(Chats.class);\n adapter.addMensaje(chats);\n\n }\n\n\n\n }",
"private void readMessageState(String roomID){\n message_first = true;\n String dbURL = \"https://chatroomapp-6dd82.firebaseio.com/ChatRoomNode\"\n +\"/\"+roomID+\"/\"+\"ChatMessages\"+\"/\"+UtilMethods.getDateSimple()\n +\"/\"+UtilMethods.getTimeSimple();\n final Firebase ref = new Firebase(dbURL);\n // Attach an listener to read rooms state reference\n messageListener = ref.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot snapshot) {\n Log.d(\"readMessageState\",\"onDataChange\");\n if(!message_first) {\n notifyListeners(messageStatelisteners, snapshot, \"MessageStateListener\");\n }else{\n message_first = false;\n }\n }\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n //TODO need to take care of this case\n System.out.println(\"The read failed: \" + firebaseError.getMessage());\n }\n });\n }",
"@RequestMapping(value = \"/messages\", method = RequestMethod.GET)\n @ResponseBody\n public List<ChatDTO> getAllMessages(HttpSession session) throws IOException, SecurityException {\n if (!MethodsForControllers.isLogedIn(session)) throw new SecurityException();\n chatArrayList.clear();\n for (Chat chat : chatDao.getAllComments()) {\n String userLogin = (String) session.getAttribute(ModelConstants.LOGED_AS);\n String nameWorker = chat.getWorker().getNameWorker();\n byte[] photo = chat.getWorker().getProfile().getPhoto();\n if (photo == null) {\n InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(\"photo/me-flat.png\");\n photo = MethodsForControllers.returnDefaultPhotoBytes(inputStream);\n }\n chatArrayList.add(new ChatDTO(nameWorker, chat.getComment(), photo, userLogin.equals(chat.getWorker().getLogin())));\n }\n return chatArrayList;\n }",
"private void initObtenerListaChat(String idGrupoChat, final int countPAge, final String tipoCarga) {\n if (mensajesUiList != null) mensajesUiList.clear();\n Log.d(TAG, \"initObtenerListaChat : \" + mensajesUiList.size());\n if (view != null) view.mostrarProgressBar();\n //obtenerListaChat\n Call<ListaChatResponse> call = apiService.obtenerListaChat(Constantes.ESTADO_ACTIVO,\n idGrupoChat,\n String.valueOf(countPAge));\n call.enqueue(new Callback<ListaChatResponse>() {\n @Override\n public void onResponse(Call<ListaChatResponse> call, Response<ListaChatResponse> response) {\n ListaChatResponse cambioResponse = response.body();\n\n if (cambioResponse != null) {\n if (cambioResponse.getError()) {\n if (view != null) view.ocultarProgressBar();\n Log.d(TAG, \"cambioResponse.getError() : \" + cambioResponse.getMessage());\n } else {\n\n List<ListaChatResponse.ChatResponseList> responseLists = cambioResponse.getChatResponseListList();\n if (cambioResponse.getChatResponseListList() == null) return;\n\n isScrolling = false;\n\n switch (tipoCarga) {\n case \"SinLoadMore\":\n isScrolling = true;\n List<MensajesUi> mensajesUis = new ArrayList<>();\n for (ListaChatResponse.ChatResponseList list\n : responseLists) {\n MensajesUi mensajesUi = new MensajesUi();\n mensajesUi.setCodigoUsuario(list.getUsu_Codigo());\n mensajesUi.setMensaje(list.getChat_mensaje());\n mensajesUi.setFecha(list.getChat_Fecha());\n mensajesUis.add(mensajesUi);\n // mensajesUiList.add(mensajesUi);\n if (view != null) view.ocultarProgressBar();\n }\n if (view != null) {\n view.mostrarLista(mensajesUis);\n view.ocultarProgressBar();\n }\n pageCount = countPAge + 1;\n Log.d(TAG, \"SinLoadMore : \");\n break;\n case \"ConLoadMore\":\n isScrolling = true;\n for (ListaChatResponse.ChatResponseList list\n : responseLists) {\n MensajesUi mensajesUi = new MensajesUi();\n mensajesUi.setCodigoUsuario(list.getUsu_Codigo());\n mensajesUi.setMensaje(list.getChat_mensaje());\n mensajesUi.setFecha(list.getChat_Fecha());\n mensajesUiList.add(mensajesUi);\n if (view != null) view.ocultarProgressBar();\n }\n if (view != null) {\n view.mostrarListaAdd(mensajesUiList);\n view.ocultarProgressBar();\n }\n pageCount = countPAge + 1;\n Log.d(TAG, \"ConLoadMore : \" + mensajesUiList.size());\n break;\n }\n\n /*for (ListaChatResponse.ChatResponseList list\n : responseLists) {\n MensajesUi mensajesUi = new MensajesUi();\n mensajesUi.setCodigoUsuario(list.getUsu_Codigo());\n mensajesUi.setMensaje(list.getChat_mensaje());\n mensajesUi.setFecha(list.getChat_Fecha());\n mensajesUiList.add(mensajesUi);\n if(view!=null)view.ocultarProgressBar();\n }\n if (view != null) view.mostrarLista(mensajesUiList);*/\n }\n } else {\n if (view != null) view.ocultarProgressBar();\n Log.d(TAG, \"cambioResponse == null : \");\n }\n }\n\n @Override\n public void onFailure(Call<ListaChatResponse> call, Throwable t) {\n //datosPerfilResponseCallBackResultado.onCallBackResultado(null);\n Log.d(TAG, \"cambioResponse : \" + t.getMessage());\n if (view != null) view.ocultarProgressBar();\n }\n });\n\n }",
"private void displayListOfRooms() {\n DatabaseReference roomsRef = FirebaseDatabase.getInstance().getReference(\"Rooms\");\n\n roomsRef.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n // update rooms every time there's a change\n updateRooms(dataSnapshot);\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n }\n });\n }",
"private void updateRooms(DataSnapshot roomsSnap) {\n // assuming there will not be many rooms that show up on the user's page setting to\n // an empty HashTable each time there's a change will not disrupt performance much.\n rooms.clear();\n for (DataSnapshot roomSnap : roomsSnap.getChildren()) {\n // adds the roomID and room to\n String roomID = roomSnap.getKey();\n Room room = roomSnap.getValue(Room.class);\n rooms.put(roomID, room);\n }\n\n if (rooms.size() == 0) {\n String noActiveRoomsText = \"No active rooms in this area. Please check again later.\";\n Toast.makeText(this, noActiveRoomsText, Toast.LENGTH_SHORT).show();\n }\n\n // Populates the join room ListView with all the appropriate room informatoin\n RoomAdapter roomAdapter = new RoomAdapter(this, rooms);\n roomList.setAdapter(roomAdapter);\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n chatFragView = inflater.inflate(R.layout.fragment_chsats, container, false);\n\n mAuth = FirebaseAuth.getInstance();\n currentUserId = mAuth.getCurrentUser().getUid();\n\n chatFragRecycler = chatFragView.findViewById(R.id.chat_frag_recyclerId);\n chatFragRecycler.setLayoutManager(new LinearLayoutManager(getContext()));\n contactsRootRef = FirebaseDatabase.getInstance().getReference().child(\"Contacts\");\n userRootRef = FirebaseDatabase.getInstance().getReference().child(\"Users\");\n senderRef = contactsRootRef.child(currentUserId);\n\n\n\n\n return chatFragView;\n }",
"public static void saveMessagesToDBFilesToHDD(TelegramApi api, DBStorage dbStorage, TLVector<TLDialog> dialogs,\n Map<Integer, TLAbsChat> chatsHashMap,\n Map<Integer, TLAbsUser> usersHashMap,\n Map<Integer, TLAbsMessage> messagesHashMap,\n int msgLimit, int parLimit, int filter, int maxDate,\n int minDate, int maxSize, String path) {\n for (TLDialog dialog : dialogs) {\n\n System.out.println();\n System.out.println(\"Crawling dialog: \" + ConsoleOutputMethods.getDialogFullNameWithID(dialog.getPeer().getId(), chatsHashMap, usersHashMap));\n System.out.println(\"Top message: \" + dialog.getTopMessage());\n\n MessageHistoryExclusions exclusions = new MessageHistoryExclusions(dbStorage, dialog);\n if (exclusions.exist()){\n System.out.println(\"Top DB message: \" + exclusions.getMaxId());\n int count = dialog.getTopMessage() - exclusions.getMaxId();\n System.out.println(\"Downloading at most \" + (count > 0 ? count : 0) + \" messages\");\n }\n\n //reads full dialog info\n TLObject fullDialog = DialogsHistoryMethods.getFullDialog(api, dialog, chatsHashMap, usersHashMap);\n //writes full dialog info\n dbStorage.writeFullDialog(fullDialog, chatsHashMap, usersHashMap);\n\n //reads the messages\n TLAbsMessage topMessage = DialogsHistoryMethods.getTopMessage(dialog, messagesHashMap);\n TLVector<TLAbsMessage> absMessages;\n if (exclusions.exist()) {\n absMessages = DialogsHistoryMethods.getWholeMessageHistoryWithExclusions(api, dialog, chatsHashMap, usersHashMap, topMessage, exclusions, msgLimit, maxDate, minDate);\n } else {\n absMessages = DialogsHistoryMethods.getWholeMessageHistory(api, dialog, chatsHashMap, usersHashMap, topMessage, msgLimit, maxDate, minDate);\n }\n System.out.println(\"Downloaded: \" + absMessages.size());\n\n // writes messages of the dialog to \"messages + [dialog_id]\" table/collection/etc.\n dbStorage.setTarget(MSG_DIAL_PREF + dialog.getPeer().getId());\n for (TLAbsMessage absMessage : absMessages) {\n String reference = MediaDownloadMethods.messageDownloadMediaToHDD(api, absMessage, maxSize, path);\n if (reference != null) {\n dbStorage.writeTLAbsMessageWithReference(absMessage, reference);\n } else {\n dbStorage.writeTLAbsMessage(absMessage);\n }\n }\n\n //reads participants\n TLObject participants = DialogsHistoryMethods.getParticipants(api, fullDialog, chatsHashMap, usersHashMap, parLimit, filter);\n // writes participants of the dialog to \"messages + [dialog_id]\" table/collection/etc.\n dbStorage.writeParticipants(participants, dialog);\n\n try {\n Thread.sleep(1000);\n } catch (InterruptedException ignored) {\n }\n }\n // write hashmaps\n System.out.println(\"Writing obtained users chats, duplicates may occure\");\n dbStorage.writeUsersHashMap(usersHashMap);\n dbStorage.writeChatsHashMap(chatsHashMap);\n System.out.println(\"Done\");\n System.out.println();\n }",
"private void fetchChatContact(){\n chatRemoteDAO.getAllChatRequestHandler(profileRemoteDAO.getUserId());\n }",
"@RequestMapping(\"/messages\")\n public Map<String, List<String>> messages(@RequestParam(value=\"chatterId\", defaultValue=\"\") String chatterId) {\n try {\n Map<String, List<String>> messages = new HashMap<String, List<String>>();\n for (int i = 0; i < 5; i++) {\n int chooseBase = (int) (Math.random()*999);\n int position = chooseBase % this.friendsList.size();\n FriendInfo friend = this.friendsList.get(position);\n List<String> messagesFromFriend = messages.get(friend.getId());\n if (messagesFromFriend != null) {\n messagesFromFriend.add(\"I am fine, thank you. \"+ chatterId);\n }\n else {\n messagesFromFriend = new ArrayList<String>();\n messagesFromFriend.add(\"I have seen you yesterday in Botany downs.\");\n messages.put(friend.getId(), messagesFromFriend);\n }\n }\n return messages;\n }\n catch (Exception e) {\n return null;\n }\n }",
"Cursor getQueuedOneToOneChatMessages(ContactId contact);",
"Set<OnGoingConversation> getGeneratedConversations();",
"private void sortMessages() {\n if (sendloadSuccess && recievedloadSuccess) {\n\n Collections.sort(chatMessages, new Comparator<ChatMessage>() {\n @Override\n public int compare(ChatMessage msg1, ChatMessage msg2) {\n\n return msg1.getMessageTime().compareTo(msg2.getMessageTime());\n }\n });\n\n saveChatMessagesInFile();\n updateListAdapter();\n }\n }",
"public ArrayList<VicinityMessage> viewAllChatMessages(String ip)\n\n {\n\n try\n {\n database=dbH.getReadableDatabase();\n dbH.openDataBase();\n String query=\"SELECT * FROM Message WHERE fromIP=\"+\"\\\"\"+ip+\"\\\";\";\n Cursor c = database.rawQuery(query,null);\n\n VicinityMessage msg = null;\n if (c.moveToFirst()) {\n\n do {\n\n msg = new VicinityMessage();\n msg.setMessageBody(c.getString(3));\n msg.setFriendName(c.getString(2));\n msg.setFrom(c.getString(c.getColumnIndex(\"fromIP\")));\n msg.setImageString(c.getString(c.getColumnIndex(\"image\")));\n msg.setDate(c.getString(1));\n\n // Adding message to allMessages\n allChatMessages.add(msg);\n } while (c.moveToNext());\n }else{\n Log.i(TAG, \"There are no messages in the DB.\");\n }\n dbH.close();\n }\n catch(SQLException e)\n {\n e.printStackTrace();\n }\n\n\n return allChatMessages;\n }",
"@Override\n public void onFetchChatRoomListUseCaseSucceeded(List<ChatRoom> list) {\n mChatRoomArrayList.clear();\n mChatRoomArrayList.addAll(list);\n mChatRoomRecyclerViewAdapter.notifyDataSetChanged();\n Log.e(TAG, \"onFetchChatListUseCaseSucceeded\" + mChatRoomRecyclerViewAdapter.getItemCount());\n\n }",
"public void createconvolist(){\n convo.clear();\n convo.addAll(sent);\n adapter.notifyDataSetChanged();\n convo.addAll(recieved);\n adapter.notifyDataSetChanged();\n Collections.reverse(convo);\n Collections.sort(convo, new Comparator<ConversationObject>() {\n @RequiresApi(api = Build.VERSION_CODES.KITKAT)\n @Override\n public int compare(ConversationObject o1, ConversationObject o2) {\n return Long.compare(o1.getTimeInMilliSeconds(), o2.getTimeInMilliSeconds());\n }\n });\n }",
"public List<Chatroom> getAllChatrooms() {\n\t\t// fetch chatrooms from database\n\t\tList<Chatroom> chatrooms = chatroomRepository.findAll();\n\n\t\treturn chatrooms;\n\t}",
"private void fillData() {\n\t\tmCursor = dbHelper.getResultsByTime();\n\t\tstartManagingCursor(mCursor);\n\n\t\tdataListAdapter = new SimpleCursorAdapter(this, R.layout.row, mCursor,\n\t\t\t\tFROM, TO);\n\t\tmConversationView.setAdapter(dataListAdapter);\n\t}",
"@Override\n protected void onResume() {\n new GeoChatSettings(this).clearNewMessagesCount();\n \n \tsuper.onResume();\n }",
"private void refreshUnreadCounters() {\n Set<String> roomIdsList;\n\n synchronized (mUpdatedRoomIdList) {\n roomIdsList = new HashSet<>(mUpdatedRoomIdList);\n mUpdatedRoomIdList.clear();\n }\n // refresh the unread counter\n for (String roomId : roomIdsList) {\n Room room = mStore.getRoom(roomId);\n\n if (null != room) {\n room.refreshUnreadCounter();\n }\n }\n }",
"public void updateAllMsgAsRead(Object chatWindowTag) {\n Pair<View, ChatsStruct> findPair = getChatPairWithTag(chatWindowTag);\n if (null == findPair) {\n Logger.e(TAG,\n \"updateAllMsgAsRead() not find the chatWindowTag, findPair is null\");\n return;\n }\n View view = findPair.first;\n ChatsStruct chatStruct = findPair.second;\n Logger.d(TAG, \"updateAllMsgAsRead() findPair is \" + findPair);\n chatStruct.clearUnreadMessageNumber();\n updateChats(view, chatStruct);\n }",
"private void addToChatList(Chat[] newChats){\n if ( newChats == null || newChats.length == 0 ) {\n return;\n }\n if ( chatList.size() == 0 ) { // no chat history loaded yet\n for ( Chat chat : newChats ) {\n chatList.offer(chat);\n }\n headIndex = newChats[0].id; // update the tail index\n tailIndex = newChats[newChats.length-1].id; // update the tail index\n } else if ( newChats[newChats.length-1].id < chatList.get(0).id ) { // new.tail is prior to current.head\n // prepend the new chats to the head of the current chat\n int selection = lv_chat.getFirstVisiblePosition();\n selection += newChats.length;\n for ( int i = newChats.length-1; i >= 0; i-- ) {\n chatList.push(newChats[i]);\n }\n lv_chat.setSelection(selection);\n adapter.notifyDataSetChanged();\n Log.d(TAG,\"select:\"+selection);\n headIndex = newChats[0].id; // update the headIndex\n } else if ( newChats[0].id > chatList.get(chatList.size()-1).id ) { // new.head is after current.tail\n // append the new chats to the tail of the current chat\n for ( Chat chat : newChats ) {\n chatList.offer(chat);\n }\n tailIndex = newChats[newChats.length-1].id; // update the tail index\n } else {\n Log.e(TAG,\"Loaded duplicated chat!\");\n }\n }",
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_contacta_centro, container, false);\n inputText = (EditText) rootView.findViewById(R.id.message_input);\n nomsUsuari();\n\n FireBaseConfiguracio fireBaseConfiguracio = new FireBaseConfiguracio();\n fireBaseConfiguracio.configFirebase(getContext());\n mFirebaseRef =fireBaseConfiguracio.getRutinesChat();\n\n\n inputText = (EditText) rootView.findViewById(R.id.message_input);\n inputText.setOnEditorActionListener(new TextView.OnEditorActionListener() {\n @Override\n public boolean onEditorAction(TextView textView, int actionId, KeyEvent keyEvent) {\n if (actionId == EditorInfo.IME_NULL && keyEvent.getAction() == KeyEvent.ACTION_DOWN) {\n enviarMissatge();\n }\n return true;\n }\n });\n\n\n\n rootView.findViewById(R.id.senChat).setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n enviarMissatge();\n }\n });\n final ListView listView = (ListView)rootView.findViewById(R.id.chat);\n // Tell our list adapter that we only want 50 messages at a time\n\n\n Query queryRef = mFirebaseRef.orderByChild(\"uidUser\").equalTo(MainActivity.uid);\n mChatListAdapter = new ChatListAdapter(queryRef, getActivity(), R.layout.chat_missatge, mUsername,getContext());\n listView.setAdapter(mChatListAdapter);\n mChatListAdapter.registerDataSetObserver(new DataSetObserver() {\n @Override\n public void onChanged() {\n super.onChanged();\n listView.setSelection(mChatListAdapter.getCount() - 1);\n }\n });\n\n // Finally, a little indication of connection status\n mConnectedListener = mFirebaseRef.getRoot().child(\".info/connected\").addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n boolean connected = (Boolean) dataSnapshot.getValue();\n if (connected) {\n //Toast.makeText(ContactaCentro.this, \"Connected to Firebase\", Toast.LENGTH_SHORT).show();\n } else {\n //Toast.makeText(ContactaCentro.this, \"Disconnected from Firebase\", Toast.LENGTH_SHORT).show();\n }\n }\n\n @Override\n public void onCancelled(FirebaseError firebaseError) {\n // No-op\n }\n });\n\n return rootView;\n }",
"private void sync(){\n\n DatabaseReference ref = db.getReference().child(\"matches\");\n\n //TODO\n //this is expensive for huge data, but we have no means to select matches\n // distant x meters apart from the user position directly in the database\n\n ChildEventListener syncListener = new ChildEventListener() {\n @Override\n public void onChildAdded(DataSnapshot dataSnapshot, String s) { //match created by some user\n Match m = dataSnapshot.getValue(Match.class);\n assert m != null;\n //see if it is relevant to the user\n boolean booked = dataSnapshot.child(\"members/\" + ActivityLogin.currentUserID).exists();\n if(m.getPlayersNumber() > 0 && m.getTimestamp() > Calendar.getInstance().getTimeInMillis() && !booked && isLocationNearby(m.getLatitude(), m.getLongitude())\n && !ActivityLogin.currentUserID.equals(m.getCreatorID()))\n FragmentAvailableMatches.this.addUI(m);\n }\n\n @Override\n public void onChildChanged(DataSnapshot dataSnapshot, String s) { //any user modifies a match\n\n Match m = dataSnapshot.getValue(Match.class);\n assert m != null;\n if(!ActivityLogin.currentUserID.equals(m.getCreatorID())){ //if I am the creator, then m is not even listed\n boolean booked = dataSnapshot.child(\"members/\" + ActivityLogin.currentUserID).exists();\n //TODO notify select match to update in real time\n if(booked || m.getPlayersNumber() == 0 || !isLocationNearby(m.getLatitude(), m.getLongitude()) || m.getTimestamp() < Calendar.getInstance().getTimeInMillis())\n FragmentAvailableMatches.this.removeUI(m.getMatchID());\n else\n FragmentAvailableMatches.this.addUpdateUI(m);\n }\n }\n\n @Override\n public void onChildRemoved(DataSnapshot dataSnapshot) {\n //some user deleted this match from the database\n Match m = dataSnapshot.getValue(Match.class);\n assert m != null;\n FragmentAvailableMatches.this.removeUI(m.getMatchID()); //delete entry if exists\n FragmentChat fragmentChat = MyFragmentManager.getFragmentChat();\n String matchBrowsed = null;\n if(fragmentChat != null)\n matchBrowsed = fragmentChat.getMatchID();\n\n if(matchBrowsed != null && matchBrowsed.equals(m.getMatchID()) && !ActivityLogin.currentUserID.equals(m.getCreatorID())){\n //this means the user is browsing a match which got deleted, so we notify him\n Intent i = new Intent(FragmentAvailableMatches.this.getContext(), ActivitySelectMatch.class);\n i.setAction(\"finishOnMatchDeleted\");\n startActivity(i);\n Utils.showErrorToast(getActivity(), getString(R.string.match_deleted_by_creator), false);\n }\n }\n\n @Override\n public void onChildMoved(DataSnapshot dataSnapshot, String s) {\n\n }\n\n @Override\n public void onCancelled(DatabaseError databaseError) {\n\n }\n };\n\n ref.addChildEventListener(syncListener);\n }",
"public void updateChatsUserIsNotIn(){\n ParseQuery<ParseUser> query1 = ParseQuery.getQuery(ParseUser.class);\n query1.whereEqualTo(\"objectId\", ParseUser.getCurrentUser().getObjectId());\n query1.findInBackground(new FindCallback<ParseUser>() {\n public void done(List<ParseUser> objects, ParseException e) {\n if (e == null) {\n final String location = objects.get(0).getString(\"location\");\n\n //Query for groups user belongs to\n ParseQuery<UsersGroups> query2 = ParseQuery.getQuery(UsersGroups.class);\n query2.include(\"group\").whereEqualTo(\"user\", ParseUser.getCurrentUser()).addDescendingOrder(\"updatedAt\");\n query2.findInBackground(new FindCallback<UsersGroups>() {\n public void done(List<UsersGroups> itemList, ParseException e) {\n if (e == null) {\n\n ArrayList<String> groupNames = new ArrayList<String>();\n for(int i = 0; i < itemList.size(); i++) {\n groupNames.add(itemList.get(i).getChat().getName());\n Log.e(\"MainActivity\",\"Chat name string: \" + itemList.get(i).getChat().getName());\n }\n\n //Query for groups user isn't in\n ParseQuery<Chat> query3 = ParseQuery.getQuery(Chat.class);\n query3.whereNotContainedIn(\"name\", Arrays.asList(groupNames));\n query3.whereEqualTo(\"location\", location);\n query3.findInBackground(new FindCallback<Chat>() {\n @Override\n public void done(List<Chat> objects, ParseException e) {\n if(e == null){\n\n //If an update is needed, rebuild the list of chats and bind them\n if(chats.size() == 0 || (!objects.get(0).getName().equals(chats.get(0).getName()) || objects.size() != chats.size())){\n Log.e(\"SearchExistingActivity\", \"YES need for chat list modification.\");\n chats.clear();\n masterList.clear();\n for (int j = 0; j < objects.size(); j++) {\n chats.add(objects.get(j));\n masterList.add(objects.get(j));\n Log.e(\"SearchExistingActivity\",\"Chat name: \" + objects.get(j).getName());\n\n }\n adapter.notifyDataSetChanged();\n }\n\n }\n }\n });\n\n } else {\n Log.d(\"item\", \"Error: \" + e.getMessage());\n }\n }\n });\n\n }\n }\n });\n\n }",
"@Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n roomsList.clear();\n Iterable<DataSnapshot> rooms = dataSnapshot.getChildren();\n for (DataSnapshot snapshot : rooms) {\n roomsList.add(snapshot.getKey());\n\n ArrayAdapter<String> adapter = new ArrayAdapter<>(RoomChoice.this,\n android.R.layout.simple_list_item_1, roomsList);\n listView.setAdapter(adapter);\n }\n }",
"private void receiveMessage() {\n ParseQuery<ParseObject> refreshQuery = ParseQuery.getQuery(\"Group\");\n\n refreshQuery.getInBackground(mGroupId, new GetCallback<ParseObject>() {\n @Override\n public void done(ParseObject parseObject, ParseException e) {\n if (e == null) {\n chatMessageArray = parseObject.getList(\"groupMessageArray\");\n\n messageArrayList.clear();\n messageArrayList.addAll(chatMessageArray);\n chatListAdapter.notifyDataSetChanged();\n chatLV.invalidate();\n } else {\n System.out.println(e.getMessage());\n }\n }\n });\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n message = dataSnapshot.getValue(Message.class);\n if(message !=null){\n Log.d(TAG, \"Message onDataChange for thread: \"+message.toString());\n tvFrom.setText(\"From: \"+message.senderName);\n tvReadMessage.setText(message.message);\n }\n }",
"@GetMapping(\"/chat-rooms\")\n public List<ChatRoom> getAllChatRooms() {\n log.debug(\"REST request to get all ChatRooms\");\n return chatRoomRepository.findAll();\n }",
"@Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n updateRooms(dataSnapshot);\n }"
]
| [
"0.6886244",
"0.6796449",
"0.6777268",
"0.67399454",
"0.67290795",
"0.65907",
"0.6470488",
"0.6409086",
"0.6386051",
"0.638328",
"0.63189775",
"0.6318295",
"0.62646985",
"0.62316126",
"0.6217241",
"0.6200447",
"0.6157765",
"0.6072296",
"0.6025617",
"0.5973148",
"0.592745",
"0.5899944",
"0.58502585",
"0.5844337",
"0.5817206",
"0.58128357",
"0.5777373",
"0.5768628",
"0.5758809",
"0.57536495",
"0.5708651",
"0.5696406",
"0.56845886",
"0.5640894",
"0.56328815",
"0.5610735",
"0.5601931",
"0.56017303",
"0.55908686",
"0.5581306",
"0.5560793",
"0.5549149",
"0.5547064",
"0.5520116",
"0.55169415",
"0.55116034",
"0.5504388",
"0.55008",
"0.54760885",
"0.5468162",
"0.54585207",
"0.5457417",
"0.5441396",
"0.54404444",
"0.5440026",
"0.5427656",
"0.5425155",
"0.5423403",
"0.5422049",
"0.5420956",
"0.54168504",
"0.5408635",
"0.5408423",
"0.5392504",
"0.5390655",
"0.53830343",
"0.5380764",
"0.53782856",
"0.53662205",
"0.5362484",
"0.5362411",
"0.53584105",
"0.53572416",
"0.5334185",
"0.5334001",
"0.53332",
"0.53292507",
"0.5329076",
"0.53254455",
"0.53225505",
"0.53206384",
"0.5319141",
"0.53124565",
"0.530549",
"0.5302701",
"0.5279661",
"0.5267396",
"0.52673614",
"0.52623147",
"0.526017",
"0.52545136",
"0.5250569",
"0.52360666",
"0.52339286",
"0.52310026",
"0.5229822",
"0.52291846",
"0.5221048",
"0.5218461",
"0.5212193"
]
| 0.649076 | 6 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.main, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}",
"public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}",
"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }"
]
| [
"0.7246102",
"0.7201358",
"0.7194834",
"0.7176498",
"0.71066517",
"0.7039537",
"0.7037961",
"0.70112145",
"0.70094734",
"0.69807225",
"0.6944953",
"0.69389373",
"0.6933199",
"0.6916928",
"0.6916928",
"0.6891486",
"0.68831646",
"0.68754137",
"0.68745375",
"0.68621665",
"0.68621665",
"0.68621665",
"0.68621665",
"0.68515885",
"0.68467957",
"0.68194443",
"0.6817494",
"0.6813087",
"0.6813087",
"0.6812847",
"0.6805774",
"0.6801204",
"0.6797914",
"0.6791314",
"0.6789091",
"0.67883503",
"0.6783642",
"0.6759701",
"0.6757412",
"0.67478645",
"0.6744127",
"0.6744127",
"0.67411774",
"0.6740183",
"0.6726017",
"0.6723245",
"0.67226785",
"0.67226785",
"0.67208904",
"0.67113477",
"0.67079866",
"0.6704564",
"0.6699229",
"0.66989094",
"0.6696622",
"0.66952467",
"0.66865396",
"0.6683476",
"0.6683476",
"0.6682188",
"0.6681209",
"0.6678941",
"0.66772443",
"0.6667702",
"0.66673946",
"0.666246",
"0.6657578",
"0.6657578",
"0.6657578",
"0.6656586",
"0.66544783",
"0.66544783",
"0.66544783",
"0.66524047",
"0.6651954",
"0.6650132",
"0.66487855",
"0.6647077",
"0.66467404",
"0.6646615",
"0.66464466",
"0.66449624",
"0.6644209",
"0.6643461",
"0.6643005",
"0.66421187",
"0.6638628",
"0.6634786",
"0.6633529",
"0.6632049",
"0.6632049",
"0.6632049",
"0.66315657",
"0.6628954",
"0.66281766",
"0.6627182",
"0.6626297",
"0.6624309",
"0.6619582",
"0.6618876",
"0.6618876"
]
| 0.0 | -1 |
end of constructor Costruttore | public WrapBio(Page pagina, EntityManager manager) {
doInit(pagina, manager);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public ProtocoloDAO() {\n }",
"public Datos(){\n }",
"public DatabaseOperations(){\n\n }",
"public DescritoresDAO() {\n\t\t\n\t}",
"public EstadosSql() {\r\n }",
"private BaseDatos() {\n }",
"public Caso_de_uso () {\n }",
"private DatabaseOperations() {\n }",
"public ProfesorDAOImpl() {\n super();\n }",
"public RepoSQL() { // constructor implicit\r\n\t\t super();\r\n\t }",
"public Producto() {\r\n }",
"public PresuTipoProyectoLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.presutipoproyectoDataAccess = new PresuTipoProyectoDataAccess();\r\n\t\t\t\r\n\t\t\tthis.presutipoproyectos= new ArrayList<PresuTipoProyecto>();\r\n\t\t\tthis.presutipoproyecto= new PresuTipoProyecto();\r\n\t\t\t\r\n\t\t\tthis.presutipoproyectoObject=new Object();\r\n\t\t\tthis.presutipoproyectosObject=new ArrayList<Object>();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList<DatoGeneral>();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.presutipoproyectoDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.presutipoproyectoDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }",
"public UnidadDAO() {\n this.setCon(cs.getConection());\n \n }",
"public Sistema(){\r\n\t\t\r\n\t}",
"public Cartao() {\r\n\t\tsuper();\r\n\t\t// TODO Auto-generated constructor stub\r\n\t}",
"public DB() {\r\n\t\r\n\t}",
"public ProductoRepository() {}",
"public PersistenciaCMT() {\n\n }",
"public DataManage() {\r\n\t\tsuper();\r\n\t}",
"public DesastreData() { //\r\n\t}",
"public sqlDatabase() {\n }",
"public Alojamiento() {\r\n\t}",
"public CLElenco() {\n /** rimanda al costruttore di questa classe */\n this(null);\n }",
"public Corso() {\n\n }",
"public Clade() {}",
"public Carrinho() {\n\t\tsuper();\n\t}",
"public PujaDAO() {\n con = null;\n st = null;\n rs = null;\n }",
"BaseDatosMemoria() {\n baseDatos = new HashMap<>();\n secuencias = new HashMap<>();\n }",
"public Composante() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}",
"public Productos() {\n super();\n // TODO Auto-generated constructor stub\n }",
"public DatabaseTable() { }",
"public libroBean() throws SQLException\r\n {\r\n variables = new VariablesConexion();\r\n variables.iniciarConexion();\r\n conexion=variables.getConexion();\r\n \r\n }",
"public ControladorCatalogoEstado() {\r\n }",
"public Producto (){\n\n }",
"public ComptabiliteManagerImpl() {\n\t}",
"public WkBscCoreDAOImpl() {\r\n super();\r\n }",
"public Curso() {\r\n }",
"public empresaDAO(){\r\n \r\n }",
"public Coche() {\n super();\n }",
"public ZyCorporationDAOImpl() {\r\n super();\r\n }",
"public DAOImpl(String baseDatos, String usuario, String clave){\n this.baseDatos = baseDatos;\n this.usuario = usuario;\n this.clave = clave;\n }",
"public UtentiDB(){\r\n this.utenti = new LinkedList<Utente>();\r\n }",
"public OnibusDAO() {}",
"public Pasien() {\r\n }",
"public Cohete() {\n\n\t}",
"private Catalog() {\r\n }",
"public Descripcion() {\n cnx= new ConexionDB();\n }",
"public ProductosPuntoVentaDaoImpl() {\r\n }",
"public ProductDAO() {\n }",
"public InitialData(){}",
"public TGeneralprocessModeloneDAO() {\n super();\n }",
"public PlantillaFacturaLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.plantillafacturaDataAccess = new PlantillaFacturaDataAccess();\r\n\t\t\t\r\n\t\t\tthis.plantillafacturas= new ArrayList<PlantillaFactura>();\r\n\t\t\tthis.plantillafactura= new PlantillaFactura();\r\n\t\t\t\r\n\t\t\tthis.plantillafacturaObject=new Object();\r\n\t\t\tthis.plantillafacturasObject=new ArrayList<Object>();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList<DatoGeneral>();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.plantillafacturaDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.plantillafacturaDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }",
"public Controlador() {\n\t\t// m\n\t\tdatosPrueba1 = new ListaEnlazada();\n\t\t// m\n\t\tdatosPrueba2 = new ListaEnlazada();\n\t\t// add\n\t\tdatosPrueba3 = new ListaEnlazada();\n\t\tdatosPrueba4 = new ListaEnlazada();\n\t\tprueba1 = new Estadisticas(datosPrueba1);\n\t\tprueba2 = new Estadisticas(datosPrueba2);\n\t\tprueba3 = new Estadisticas(datosPrueba3);\n\t\tprueba4 = new Estadisticas(datosPrueba4);\n\t\t// finAdd\n\t}",
"public UfficioTecnicoDB() {\n this(ConnectionManager.getInstance());\n }",
"public PacienteDAO(){ \n }",
"public Sobre() {\n\t\tsuper();\n\t\tinitialize();\n\t}",
"public Recursos() {\n }",
"public TCubico(){}",
"public DBConnection()\n {\n\n }",
"public Kullanici() {}",
"public paciente()\n {\n con = new bdconexion(); //instancia la clase bdconexion\n }",
"public CiviliteDao() {\r\n\t\tsuper();\r\n\t}",
"public Classe() {\r\n }",
"public ControladorCoche() {\n\t}",
"public ClienteArchivoLogic()throws SQLException,Exception {\r\n\t\tsuper();\r\n\t\t\r\n\t\ttry\t{\t\t\t\t\t\t\r\n\t\t\tthis.clientearchivoDataAccess = new ClienteArchivoDataAccess();\r\n\t\t\t\r\n\t\t\tthis.clientearchivos= new ArrayList<ClienteArchivo>();\r\n\t\t\tthis.clientearchivo= new ClienteArchivo();\r\n\t\t\t\r\n\t\t\tthis.clientearchivoObject=new Object();\r\n\t\t\tthis.clientearchivosObject=new ArrayList<Object>();\r\n\t\t\t\t\r\n\t\t\t/*\r\n\t\t\tthis.connexion=new Connexion();\r\n\t\t\tthis.datosCliente=new DatosCliente();\r\n\t\t\tthis.arrDatoGeneral= new ArrayList<DatoGeneral>();\r\n\t\t\t\r\n\t\t\t//INICIALIZA PARAMETROS CONEXION\r\n\t\t\tthis.connexionType=Constantes.CONNEXIONTYPE;\r\n\t\t\tthis.parameterDbType=Constantes.PARAMETERDBTYPE;\r\n\t\t\t\r\n\t\t\tif(Constantes.CONNEXIONTYPE.equals(ConnexionType.HIBERNATE)) {\r\n\t\t\t\tthis.entityManagerFactory=ConstantesCommon.JPAENTITYMANAGERFACTORY;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tthis.datosDeep=new DatosDeep();\r\n\t\t\tthis.isConDeep=false;\r\n\t\t\t*/\r\n\t\t\t\r\n\t\t\tthis.clientearchivoDataAccess.setConnexionType(this.connexionType);\r\n\t\t\tthis.clientearchivoDataAccess.setParameterDbType(this.parameterDbType);\r\n\t\t\t\r\n\t\t\t\r\n\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tthis.invalidValues=new InvalidValue[0];\r\n\t\t\tthis.stringBuilder=new StringBuilder();\r\n\t\t\tthis.conMostrarMensajesStringBuilder=true;\r\n\t\t\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tFunciones.manageException(logger,e);\r\n\t\t\tthrow e;\r\n\t\t}\t \r\n }",
"public MoviesDatabase()\n {\n file = new FileOperation();\n menu = new Menu();\n validation = new Validation();\n }",
"public Database()\r\n\t{\r\n\t\tinitializeDatabase();\r\n\t\t\r\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"public ProductosBean() {\r\n }",
"public AntrianPasien() {\r\n\r\n }",
"public Producto() {\r\n\t\tsuper();\r\n\t\tID = getIDnuevoProducto();\r\n\t\tnombre = \"\";\r\n\t\tvendedor = \"\";\r\n\t\tprecio = 0;\r\n\t\tcantidad = 0;\r\n\t\tenVenta = false;\r\n\t\tdescripcion = \"\";\r\n\t\tcategorias = new Categoria();\r\n\t\tcaracteristicas = null;//TODO CORREGIR\r\n\t}",
"public Database() {\n if (init) {\n\n //creating Transaction data\n Transaction transactionOne\n = new Transaction(1, \"Debit\", \"Spar Grocery\", 54.68,1);\n\n transactionDB.add(transactionOne);\n\n // Creating an Account data\n Account accountOne = new Account(1, 445, 111111111, \"Savings\",\n 1250.24, transactionDB);\n\n accountDB.add(accountOne);\n\n //creating withdrawal data\n Withdrawal withdrawalOne = new Withdrawal(1, 64422545, 600.89);\n withdrawalDB.add(withdrawalOne);\n\n //creating transfer data\n Transfer transferOne = new Transfer(1, 25252525, 521.23);\n transferDB.add(transferOne);\n\n //creating lodgement data\n Lodgement lodgementOne = new Lodgement(1, 67766666, 521.23);\n lodgementDB.add(lodgementOne);\n\n //add Customer data \n Customer customerOne\n = new Customer(1, \"Darth Vader\", \"[email protected]\",\n \"Level 5, Suit Dark\", \"darkSideIsGoodStuff\",\n accountDB, withdrawalDB, transferDB, lodgementDB);\n\n customerDB.add(customerOne);\n\n init = false;\n }\n }",
"public ControladorCatalogoServicios() {\r\n }",
"private DatabaseContract() {}",
"public Database() {\n //Assign instance variables.\n this.movies = new ArrayList<>();\n this.users = new ArrayList<>();\n }",
"public Final_parametre() {\r\n\t}",
"public CarteCaisseCommunaute() {\n super();\n }",
"public Transportista() {\n }",
"public KVDatabase() {\n //private constructor to prevent instantiation.\n }",
"ClaseColas() { // Constructor que inicializa el frente y el final de la Cola\r\n frente=0; fin=0;\r\n System.out.println(\"Cola inicializada !!!\");\r\n }",
"public Contato() {\n }",
"public Historique()\n\t{\n\t\t\n\t}",
"public Troco() {\n }",
"public Constructor(){\n\t\t\n\t}",
"public Propiedad() {\n bdPropiedad = new DaoPropiedad();\n bdComentario = new DaoComentario();\n }",
"public ProduktRepositoryImpl() {\n this.conn = DatabaseConnectionManager.getDatabaseConnection();\n }",
"public CompanyData() {\r\n }",
"public Produit() {\n\t\tsuper();\n\t}",
"public DBController() {\n System.out.println(\"[\" + this.getClass() + \" : consctructor]\");\n this.listeObservers = new ArrayList<>();\n this.url = \"/Users/nico/Desktop/testSquirell.db\";\n //this.listeMorceau=new ArrayList<Morceau>();\n //this.initDB();\n addTableMorceau();\n System.out.println(\"[end constructor \" + this.getClass() + \"]\");\n }",
"private DatabaseManager() {\n // Default constructor\n }",
"private DBContract() {}",
"private DBContract() {}",
"public Supercar() {\r\n\t\t\r\n\t}",
"public Documento() {\n\n\t}",
"public Carrera(){\n }",
"private DataManager() {\n }",
"public Tarifa() {\n ;\n }",
"public DbUtil() {}",
"public DaoConnection() {\n\t\t\n\t}",
"private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}",
"public CuentaDeposito() {\n super();\n }"
]
| [
"0.71379334",
"0.69891375",
"0.6989015",
"0.69333977",
"0.6895899",
"0.6889584",
"0.6814716",
"0.67986757",
"0.67633224",
"0.67589456",
"0.67405164",
"0.6728044",
"0.6707136",
"0.6691822",
"0.6687652",
"0.66806954",
"0.6679857",
"0.66472185",
"0.6646304",
"0.66389656",
"0.66302586",
"0.6619096",
"0.6614314",
"0.66102934",
"0.66091645",
"0.65890735",
"0.65849197",
"0.6583699",
"0.65776014",
"0.65775865",
"0.6574968",
"0.65714103",
"0.6554833",
"0.65532684",
"0.6538197",
"0.65364355",
"0.65326756",
"0.6528833",
"0.6528017",
"0.6526218",
"0.65255314",
"0.6518435",
"0.6517174",
"0.6517109",
"0.6511926",
"0.65056443",
"0.65049374",
"0.6503091",
"0.6499776",
"0.6497351",
"0.6493474",
"0.64794517",
"0.64725876",
"0.6470071",
"0.6468883",
"0.64622974",
"0.64520615",
"0.64509016",
"0.64459026",
"0.6445863",
"0.64387274",
"0.64283586",
"0.6421228",
"0.6416985",
"0.6416015",
"0.6414386",
"0.6410535",
"0.6408826",
"0.6405944",
"0.64041543",
"0.6394406",
"0.63906014",
"0.6390083",
"0.63875926",
"0.63867295",
"0.63850856",
"0.63778734",
"0.6374765",
"0.63732266",
"0.637285",
"0.6371081",
"0.6369794",
"0.63683414",
"0.63667315",
"0.6365862",
"0.6361726",
"0.6358879",
"0.6358277",
"0.63581616",
"0.63579667",
"0.63564444",
"0.63564444",
"0.635038",
"0.6350188",
"0.6349717",
"0.6347671",
"0.63467515",
"0.6345163",
"0.63339865",
"0.6330957",
"0.63245857"
]
| 0.0 | -1 |
end of getter method | public Bio getBio() {
return bio;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void get() {\n\t\t\r\n\t}",
"@Override\n public void get() {}",
"@Override\n String get();",
"public void get() {\n }",
"public abstract String get();",
"@Override\n protected void getExras() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public String getValue() {\n/* 99 */ return this.value;\n/* */ }",
"public Empresa getEmpresa()\r\n/* 84: */ {\r\n/* 85:131 */ return this.empresa;\r\n/* 86: */ }",
"public String getNombre()\r\n/* 60: */ {\r\n/* 61: 67 */ return this.nombre;\r\n/* 62: */ }",
"public String getValor()\n/* 17: */ {\n/* 18:27 */ return this.valor;\n/* 19: */ }",
"public String getNombre()\r\n/* 113: */ {\r\n/* 114:204 */ return this.nombre;\r\n/* 115: */ }",
"public Object get()\n {\n return m_internalValue;\n }",
"public Genero getGenero()\r\n/* 143: */ {\r\n/* 144:261 */ return this.genero;\r\n/* 145: */ }",
"public String getNombre()\r\n/* 17: */ {\r\n/* 18:41 */ return this.nombre;\r\n/* 19: */ }",
"public Empleado getEmpleado()\r\n/* 183: */ {\r\n/* 184:337 */ return this.empleado;\r\n/* 185: */ }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"public String getEmployee()\r\n/* 38: */ {\r\n/* 39:43 */ return this.employee;\r\n/* 40: */ }",
"public int getValue() {\n/* 450 */ return this.value;\n/* */ }",
"protected Object doGetValue() {\n\t\treturn value;\n\t}",
"public CuentaContable getCuentaContableCierre()\r\n/* 98: */ {\r\n/* 99:115 */ return this.cuentaContableCierre;\r\n/* 100: */ }",
"public String get();",
"@Override\r\n\t\t\tpublic Object getValue() {\n\t\t\t\treturn null;\r\n\t\t\t}",
"public class_1048 method_2258() {\r\n return this.field_1859;\r\n }",
"public Object getValue(){\n \treturn this.value;\n }",
"public java.lang.String getGet() {\n return instance.getGet();\n }",
"public CuentaContable getCuentaContable()\r\n/* 78: */ {\r\n/* 79: 99 */ return this.cuentaContable;\r\n/* 80: */ }",
"@Override\n Derived get();",
"public Object getValue() { return _value; }",
"public Enqueteur getEnqueteur()\r\n/* */ {\r\n/* 57 */ return this.enqueteur;\r\n/* */ }",
"@Override\r\n\t\tpublic Meta_data getData() {\n\t\t\treturn this.data;\r\n\t\t}",
"public T get() {\n return value;\n }",
"public K get()\n {\n\treturn current.data(); \n }",
"public int getProT() {\n/* 78 */ return this.proT;\n/* */ }",
"@Override\r\n\tpublic String get() {\n\t\treturn null;\r\n\t}",
"@Override\n public Object getValue()\n {\n return value;\n }",
"public Object getValue() { return this.value; }",
"public T get() {\n return value;\n }",
"public T get() {\n return value;\n }",
"public Object getValue()\n {\n\treturn value;\n }",
"@Override\n\tpublic Object getValue() {\n\t\treturn this ;\n\t}",
"@Override\n\tpublic Object getValue() {\n\t\treturn this ;\n\t}",
"@Override\n\tpublic void getData() {\n\t\t\n\t}",
"public java.lang.String getCodigo(){\n return localCodigo;\n }",
"@Override\r\n public Object getValue() {\r\n return value;\r\n }",
"public int getValue()\r\n/* 21: */ {\r\n/* 22: 71 */ return this.value;\r\n/* 23: */ }",
"@Override\n\tpublic String get() {\n\t\treturn null;\n\t}",
"T getData() {\n return this.data;\n }",
"@Override\n \tpublic IValue getValue() {\n \t\treturn this;\n \t}",
"protected class_496 method_1608() {\n return this.field_936;\n }",
"public MotivoLlamadoAtencion getMotivoLlamadoAtencion()\r\n/* 114: */ {\r\n/* 115:123 */ return this.motivoLlamadoAtencion;\r\n/* 116: */ }",
"String get();",
"String get();",
"protected abstract Set method_1559();",
"public Value getValue(){\n return this.value;\n }",
"public ValoresCalculo getValorCalculo()\r\n/* 88: */ {\r\n/* 89:107 */ return this.valorCalculo;\r\n/* 90: */ }",
"private String getString() {\n\t\treturn null;\n\t}",
"public CuentaContable getCuentaContable()\r\n/* 299: */ {\r\n/* 300:367 */ return this.cuentaContable;\r\n/* 301: */ }",
"private Get() {}",
"private Get() {}",
"public class_34 method_627() {\n return this.field_394;\n }",
"public String getMensaje()\r\n/* 633: */ {\r\n/* 634:710 */ return this.mensaje;\r\n/* 635: */ }",
"@Override\r\n\tprotected Object getData() {\n\t\treturn null;\r\n\t}",
"public String get()\n {\n return this.string;\n }",
"@Override\n public int get()\n { \n return this.pr;\n }",
"public Ejercicio getEjercicio()\r\n/* 145: */ {\r\n/* 146:183 */ return this.ejercicio;\r\n/* 147: */ }",
"protected V getValue() {\n return this.value;\n }",
"public Book getBook() \t\t{ return this.myBook; }",
"V getValue() {\n return value;\n }",
"public int value() { \n return this.value; \n }",
"T getObject() {\n\t\t\treturn data;\n\t\t}",
"public String getEstablecimiento()\r\n/* 114: */ {\r\n/* 115:188 */ return this.establecimiento;\r\n/* 116: */ }",
"public String getEtiqueta()\n/* 27: */ {\n/* 28:41 */ return this.etiqueta;\n/* 29: */ }",
"public String getObj1 () {\r\n return Obj1; \r\n }",
"public class_1660 method_2257() {\r\n return this.field_1852;\r\n }",
"protected List getProperties() {\n return null;\n }",
"public T getData()\n\t{ \treturn this.data; }",
"public String getPhone()\r\n/* 41: */ {\r\n/* 42:54 */ return this.phone;\r\n/* 43: */ }",
"@Override\n public C get() {\n return content;\n }",
"public Integer getLongitud()\n/* 37: */ {\n/* 38:55 */ return this.longitud;\n/* 39: */ }",
"public S getValue() { return value; }",
"public String getIdentificacion()\r\n/* 123: */ {\r\n/* 124:223 */ return this.identificacion;\r\n/* 125: */ }",
"public abstract Object getCustomData();",
"String getValue() {\n return mValue;\n }",
"public abstract Object getValue();",
"public abstract Object getValue();",
"public abstract Object getValue();",
"@Override\r\n\tpublic <T> T get() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic T get() {\n\t\treturn null;\r\n\t}",
"public Village getVillage() {\n/* 501 */ return this.village;\n/* */ }",
"public final Object get() {\n return getValue();\n }",
"public Object getObject() {\r\n/* 109 */ return this.object;\r\n/* */ }",
"public Object getData() \n {\n return data;\n }",
"protected abstract void retrievedata();",
"public int getType() {\n/* 50 */ return this.type;\n/* */ }",
"Object getData() { /* package access */\n\t\treturn data;\n\t}",
"protected Object getTableValue()\n\t\t{\n\t\t\treturn Value ;\n\t\t}",
"public double getLoY() {\r\n\treturn fieldLoY;\r\n}",
"@Override\n\t\tpublic V getValue(){\n\t\t\treturn value;\n\t\t}",
"@Override\r\n\tpublic Serializable getValue() {\n\t\treturn this.code;\r\n}",
"public double getHiY() {\r\n\treturn fieldHiY;\r\n}"
]
| [
"0.71844727",
"0.7109662",
"0.6809625",
"0.6783214",
"0.6690879",
"0.6663007",
"0.6635221",
"0.6628147",
"0.6585126",
"0.65594417",
"0.65162015",
"0.65102106",
"0.65081656",
"0.6490773",
"0.6474654",
"0.6471766",
"0.6468677",
"0.64364654",
"0.64350224",
"0.6430251",
"0.6422993",
"0.63966",
"0.63937324",
"0.6390283",
"0.6373655",
"0.637219",
"0.6362362",
"0.6346133",
"0.63362634",
"0.6319831",
"0.6310889",
"0.6310071",
"0.630506",
"0.62985265",
"0.6296203",
"0.62741286",
"0.62731767",
"0.6272595",
"0.6272595",
"0.6266963",
"0.6257679",
"0.6257679",
"0.62494534",
"0.62333053",
"0.62113035",
"0.62099457",
"0.62067986",
"0.6202173",
"0.6185213",
"0.617301",
"0.61726826",
"0.6165167",
"0.6165167",
"0.6158724",
"0.6146828",
"0.61414725",
"0.61387134",
"0.6136905",
"0.61357975",
"0.61357975",
"0.613423",
"0.61177546",
"0.61157787",
"0.6102854",
"0.6090438",
"0.608847",
"0.6087489",
"0.608526",
"0.607613",
"0.60726196",
"0.60673606",
"0.60638416",
"0.6054931",
"0.60531604",
"0.6053125",
"0.60500085",
"0.6049168",
"0.60480464",
"0.6041026",
"0.6040035",
"0.60393524",
"0.6036797",
"0.6034025",
"0.60297847",
"0.6027994",
"0.6027994",
"0.6027994",
"0.6012026",
"0.6003363",
"0.6003202",
"0.60010153",
"0.599988",
"0.59993905",
"0.59971124",
"0.59949946",
"0.59947973",
"0.5991119",
"0.5988012",
"0.598801",
"0.5984197",
"0.5981052"
]
| 0.0 | -1 |
nothing to retrieve from the ETL | @Override
public void init(final AbstractETL<?, ?> etl)
{
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String detailsLoad() throws Exception {\n\t\treturn null;\n\t}",
"protected abstract void retrievedata();",
"private void querys() {\n\t try {\r\n\t\tBoxYieldRptFactory.getRemoteInstance().SteDate();\r\n\t } catch (EASBizException e) {\r\n\t\t// TODO Auto-generated catch block\r\n\t\te.printStackTrace();\r\n\t } catch (BOSException e) {\r\n\t\t// TODO Auto-generated catch block\r\n\t\te.printStackTrace();\r\n\t }\r\n\t}",
"private static void getTheData()\n {\n try\n {\n ITEMS = getSalesOrderSets();\n }\n catch (OnlineODataStoreException e)\n {\n Log.e(TAG, \"caught OnlineODataStoreException\");\n }\n }",
"@Override\r\n\tprotected Object getData() {\n\t\treturn null;\r\n\t}",
"private void remplirUtiliseData() {\n\t}",
"Object getCurrentData();",
"Reserva Obtener();",
"@Override\n\tpublic void queryData() {\n\t\t\n\t}",
"@Override\n\tpublic String execute() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String execute() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic List<OaAutoInfo> getDataList() throws Exception {\n\t\treturn null;\n\t}",
"@Override\n public String getData()\n {\n return null;\n }",
"List<T> getStoredData() { return null; }",
"private void getTradeDetail() {\n\t\t\tsendData(\"<get></get>\");\n\t}",
"Object firstData() {\n\t\t// por defecto enviamos null\n\t\treturn null;\n\t}",
"@Override\n\t\t\tprotected PaginationResponseData load() {\n\t\t\t\treturn null;\n\n\t\t\t}",
"private void fetchData() {\r\n RequesterBean requesterBean = new RequesterBean();\r\n requesterBean.setDataObject(hierarchyTitle);\r\n requesterBean.setFunctionType(GET_HIERARCHY_DATA);\r\n AppletServletCommunicator conn = new AppletServletCommunicator(connect,requesterBean);\r\n conn.send();\r\n ResponderBean responderBean = conn.getResponse();\r\n if(responderBean != null) {\r\n if(responderBean.isSuccessfulResponse()) {\r\n queryKey = hierarchyTitle;\r\n Hashtable htData = (Hashtable)responderBean.getDataObject();\r\n extractToQueryEngine(htData);\r\n }\r\n }else {\r\n //Server Error\r\n// throw new CoeusUIException(responderBean.getMessage(),CoeusUIException.ERROR_MESSAGE);\r\n }\r\n }",
"@Override\n\tpublic String list() throws Exception {\n\t\treturn null;\n\t}",
"@Override\n\tpublic String list() throws Exception {\n\t\treturn null;\n\t}",
"protected String doExecute() throws SystemException \n\t{\n\t\tDatabase db = CastorDatabaseService.getDatabase();\n\t\t\n\t\ttry \n\t\t{\n\t\t\t//now restore the value and list what we get\n\t\t\tFile file = FileUploadHelper.getUploadedFile(ActionContext.getContext().getMultiPartRequest());\n\t\t\tif(file == null || !file.exists())\n\t\t\t{\n\t\t\t\tString filePath = ActionContext.getContext().getMultiPartRequest().getParameter(\"filePath\");\n\t\t\t\tlogger.info(\"filePath:\" + filePath);\n\t\t\t\tif(filePath != null)\n\t\t\t\t{\n\t\t\t\t\tfile = new File(filePath);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t\tthrow new SystemException(\"The file upload must have gone bad as no file reached the import utility.\");\n\t\t\t}\n\t\t\t\n\t\t\tif(file.getName().endsWith(\".zip\"))\n\t\t\t\treturn importV3(file);\n\t\t\t\n\t\t\tString encoding = \"UTF-8\";\n\t\t\tint version = 1;\n\t\t\t\n\t\t\t//Looking up what kind of dialect this is.\n\t \n\t\t\tFileInputStream fisTemp = new FileInputStream(file);\n InputStreamReader readerTemp = new InputStreamReader(fisTemp, encoding);\n BufferedReader bufferedReaderTemp = new BufferedReader(readerTemp);\n String line = bufferedReaderTemp.readLine();\n int index = 0;\n while(line != null && index < 50)\n {\n \tlogger.info(\"line:\" + line + '\\n');\n \tif(line.indexOf(\"contentTypeDefinitionId\") > -1)\n \t{\n \t\tlogger.info(\"This was a new export...\");\n \t\tversion = 2;\n \t\tbreak;\n \t}\n \tline = bufferedReaderTemp.readLine();\n \tindex++;\n }\n \n bufferedReaderTemp.close();\n readerTemp.close();\n fisTemp.close();\n\n Mapping map = new Mapping();\n\t\t\tif(version == 1)\n\t\t\t{\n\t logger.info(\"MappingFile:\" + CastorDatabaseService.class.getResource(\"/xml_mapping_site.xml\").toString());\n\t\t\t\tmap.loadMapping(CastorDatabaseService.class.getResource(\"/xml_mapping_site.xml\").toString());\n\t\t\t}\n\t\t\telse if(version == 2)\n\t\t\t{\n\t\t\t logger.info(\"MappingFile:\" + CastorDatabaseService.class.getResource(\"/xml_mapping_site_2.5.xml\").toString());\n\t\t\t map.loadMapping(CastorDatabaseService.class.getResource(\"/xml_mapping_site_2.5.xml\").toString());\t\n\t\t\t}\n\n\t\t\t// All ODMG database access requires a transaction\n\t\t\tdb.begin();\n\t\t\t\n\t\t\tMap contentIdMap = new HashMap();\n\t\t\tMap siteNodeIdMap = new HashMap();\n\t\t\tList allContentIds = new ArrayList();\n\n\t\t\tMap<String,String> replaceMap = new HashMap<String,String>();\n\t\t\ttry\n\t\t\t{\n\t\t\t\tboolean isUTF8 = false;\n\t\t\t\tboolean hasUnicodeChars = false;\n\t\t\t\tif(replacements.indexOf((char)65533) > -1)\n\t\t\t\t\tisUTF8 = true;\n\t\t\t\t\n\t\t\t\tfor(int i=0; i<replacements.length(); i++)\n\t\t\t\t{\n\t\t\t\t\tint c = (int)replacements.charAt(i);\n\t\t\t\t\tif(c > 255 && c < 65533)\n\t\t\t\t\t\thasUnicodeChars = true;\n\t\t\t\t}\n\n\t\t\t\tif(!isUTF8 && !hasUnicodeChars)\n\t\t\t\t{\n\t\t\t\t\tString fromEncoding = CmsPropertyHandler.getUploadFromEncoding();\n\t\t\t\t\tif(fromEncoding == null)\n\t\t\t\t\t\tfromEncoding = \"iso-8859-1\";\n\t\t\t\t\t\n\t\t\t\t\tString toEncoding = CmsPropertyHandler.getUploadToEncoding();\n\t\t\t\t\tif(toEncoding == null)\n\t\t\t\t\t\ttoEncoding = \"utf-8\";\n\t\t\t\t\t\n\t\t\t\t\tif(replacements.indexOf(\"å\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"ä\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"ö\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"Å\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"Ä\") == -1 && \n\t\t\t\t\t replacements.indexOf(\"Ö\") == -1)\n\t\t\t\t\t{\n\t\t\t\t\t\treplacements = new String(replacements.getBytes(fromEncoding), toEncoding);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\tProperties properties = new Properties();\n\t\t\ttry\n\t\t\t{\n\t\t\t\tproperties.load(new ByteArrayInputStream(replacements.getBytes(\"ISO-8859-1\")));\n\t\t\t\t\n\t\t\t\tIterator propertySetIterator = properties.keySet().iterator();\n\t\t\t\twhile(propertySetIterator.hasNext())\n\t\t\t\t{\n\t\t\t\t\tString key = (String)propertySetIterator.next();\n\t\t\t\t\tString value = properties.getProperty(key);\n\t\t\t\t\treplaceMap.put(key, value);\n\t\t\t\t}\n\t\t\t}\t\n\t\t\tcatch(Exception e)\n\t\t\t{\n\t\t\t logger.error(\"Error loading properties from string. Reason:\" + e.getMessage());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\n\t\t\tImportController.getController().importRepository(db, map, file, encoding, version, onlyLatestVersions, false, contentIdMap, siteNodeIdMap, allContentIds, replaceMap, mergeExistingRepositories);\n\t\t\t\n\t\t\tdb.commit();\n\t\t\tdb.close();\n\t\t\t\n\t\t\tIterator allContentIdsIterator = allContentIds.iterator();\n\t\t\twhile(allContentIdsIterator.hasNext())\n\t\t\t{\n\t\t\t\tInteger contentId = (Integer)allContentIdsIterator.next();\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tdb = CastorDatabaseService.getDatabase();\n\t\t\t\t\tdb.begin();\n\t\n\t\t\t\t\tContent content = ContentController.getContentController().getContentWithId(contentId, db);\n\t\t\t\t\tImportController.getController().updateContentVersions(content, contentIdMap, siteNodeIdMap, onlyLatestVersions, new HashMap());\n\t\t\t\t\t//updateContentVersions(content, contentIdMap, siteNodeIdMap);\n\t\n\t\t\t\t\tdb.commit();\n\t\t\t\t}\n\t\t\t\tcatch(Exception e)\n\t\t\t\t{\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tdb.rollback();\n\t\t\t\t\t}\n\t\t\t\t\tcatch(Exception e2) { e2.printStackTrace(); }\n\t logger.error(\"An error occurred when updating content version for content: \" + e.getMessage(), e);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tfinally\n\t\t\t\t{\n\t\t\t\t\tdb.close();\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t} \n\t\tcatch ( Exception e) \n\t\t{\n\t\t\ttry\n {\n db.rollback();\n db.close();\n } \n\t\t\tcatch (Exception e1)\n {\n logger.error(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n \t\t\tthrow new SystemException(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n }\n\t\t\t\n\t\t\tlogger.error(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n\t\t\tthrow new SystemException(\"An error occurred when importing a repository: \" + e.getMessage(), e);\n\t\t}\n\t\t\n\t\treturn \"success\";\n\t}",
"@Override\r\n protected void fetchData() {\n\r\n }",
"private void getSleepData() {\n\n }",
"private Retorno( )\r\n {\r\n val = null;\r\n izq = null;\r\n der = null;\r\n\r\n }",
"@Override\r\n\tpublic String execute() throws Exception {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic String getResult() {\n\t\treturn null;\n\t}",
"public byte[] getObjectdata()\n {\n return null;\n }",
"public void recargarDatos( ) {\n\t\tPAC_SHWEB_PROVEEDORES llamadaProv = null;\n\t\ttry {\n\t\t\tllamadaProv = new PAC_SHWEB_PROVEEDORES(service.plsqlDataSource.getConnection());\n\t\t} catch (SQLException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tHashMap respuestaCom = null;\n\n\t\ttry {\n\t\t\trespuestaCom = llamadaProv.ejecutaPAC_SHWEB_PROVEEDORES__F_COMUNICADOS_EXPEDIENTE(\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"user\").toString(),\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"origen\").toString(),\n\t\t\t\t\tnew BigDecimal(UI.getCurrent().getSession().getAttribute(\"expediente\").toString())\n\t\t\t\t\t);\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\t// Mostramos el estado del expediente\n\t\tPAC_SHWEB_PROVEEDORES llamada = null;\n\t\ttry {\n\t\t\tllamada = new PAC_SHWEB_PROVEEDORES(service.plsqlDataSource.getConnection());\n\t\t} catch (SQLException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tHashMap respuesta = null;\n\t\ttry {\n\t\t\trespuesta = llamada.ejecutaPAC_SHWEB_PROVEEDORES__F_ESTADO_EXPEDIENTE(\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"user\").toString(),\n\t\t\t\t\tnew BigDecimal(UI.getCurrent().getSession().getAttribute(\"expediente\").toString())\n\t\t\t\t\t);\n\t\t\t\n\t\t\tMap<String, Object> retorno = new HashMap<String, Object>(respuesta);\n\n\t\t\tUI.getCurrent().getSession().setAttribute(\"estadoExpediente\",retorno.get(\"ESTADO\").toString());\n\t\t\t\n\t\t\tprovPantallaConsultaExpedienteInicial.setCaption(\"GESTIÓN DEL EXPEDIENTE Nº \" + UI.getCurrent().getSession().getAttribute(\"expediente\")\n\t\t\t\t\t+ \" ( \" + \n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"estadoExpediente\") + \" ) \");\n\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\n\t\t}\t\n\t\t\n\t\t// Maestro comunicados\n\n\t\tWS_AMA llamadaAMA = null;\n\t\ttry {\n\t\t\tllamadaAMA = new WS_AMA(service.plsqlDataSource.getConnection());\n\t\t} catch (SQLException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tHashMap respuestaMaestro = null;\n\t\t\n\t\t//System.out.println(\"Llamammos maestro comunicados: \" + UI.getCurrent().getSession().getAttribute(\"tipousuario\").toString().substring(1,1));;\n\t\ttry {\n\t\t\t// pPUSUARIO, pORIGEN, pTPCOMUNI, pTPUSUARIO, pESTADO)\n\t\t\t\n\t\t\trespuestaMaestro = llamadaAMA.ejecutaWS_AMA__MAESTRO_COMUNICADOS(\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"user\").toString(),\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"origen\").toString(),\n\t\t\t\t\tnull,\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"tipousuario\").toString().substring(1,1),\n\t\t\t\t\tUI.getCurrent().getSession().getAttribute(\"estadoExpediente\").toString()\n\t\t\t\t\t);\t\t\t\n\n\t\t\t\n\t\t\tMap<String, Object> retornoMaestro = new HashMap<String, Object>(respuestaMaestro);\n\t\t\tList<Map> valorMaestro = (List<Map>) retornoMaestro.get(\"COMUNICADOS\");\n\t\t\tUI.getCurrent().getSession().setAttribute(\"comunicadosExpediente\",valorMaestro);\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\tUI.getCurrent().getSession().setAttribute(\"comunicadosExpediente\",null);\n\t\t}\n\t\t\n\t\t// \t\n\t\t\n\t\t\n\t\t// Validamos si tenemos que mostrar el bot�n de cerrar expediente\n\t\t\n\t\t/*if ( !ValidarComunicado.EsValido(\"CA\") && !ValidarComunicado.EsValido(\"FT\") ) {\n\t\t\tprovPantallaConsultaExpedienteInicial.provDatosDetalleExpediente.btCerrarExpediente.setVisible(false);\n\t\t}\n\t\telse {\n\t\t\tprovPantallaConsultaExpedienteInicial.provDatosDetalleExpediente.btCerrarExpediente.setVisible(true);\n\n\t\t\t\n\t\t\t\n\t\t}*/\n\t\t// Mostramos botonera de cerrar expediente\n\t\t// Validamos si tenemos que mostrar el bot�n de cerrar expediente\n\t\t\n\n\t}",
"protected void execute() {\n \t// literally still do nothing\n }",
"Serializable retrieveAllData();",
"public String detailsUpdate() throws Exception {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Object execute() {\n\n\t\treturn null;\n\t}",
"private void getrec() {\n\t\tcontractDetail.retrieve(stateVariable.getXwordn(), stateVariable.getXwabcd());\n\t\tnmfkpinds.setPgmInd36(! lastIO.isFound());\n\t\tnmfkpinds.setPgmInd66(isLastError());\n\t\t// BR00010 Product not found on Contract_Detail\n\t\tif (nmfkpinds.pgmInd36()) {\n\t\t\tmsgObjIdx = setMsgObj(\"OES0115\", \"XWABCD\", msgObjIdx, messages);\n\t\t\tstateVariable.setZmsage(subString(errmsg, 1, 78));\n\t\t}\n\t\telse {\n\t\t\tif (nmfkpinds.pgmInd66()) {\n\t\t\t\tif (fileds.filests == 1218) {\n\t\t\t\t\tmsgObjIdx = setMsgObj(\"Y3U9999\", \"\", msgObjIdx, messages);\n\t\t\t\t\tstateVariable.setZmsage(subString(errmsg, 1, 78));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tmsgObjIdx = setMsgObj(\"OEM0004\", \"\", msgObjIdx, messages);\n\t\t\t\t\tstateVariable.setZmsage(subString(errmsg, 1, 78));\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tvalidt();\n\t\t\t}\n\t\t}\n\t}",
"private ArrayList<HashMap<String, String>> processRetrieve() {\n //Transform and Return Rows to a List of HashMaps\n try {\n if (rs == null) {\n System.out.println(\"rs is null\");\n } else {\n return rsToMaps();\n }\n } catch (SQLException ex) {\n throw new RuntimeException(ex);\n }\n return null;\n }",
"public String importData() {\n\t\t\treturn employeeDAO.importData();\n\t\t}",
"private Ente gestioneEnte() {\n\t\tList<Ente> enti = enteDad.getEntiByCodiceAndCodiceSistemaEsterno(req.getCodiceEnte(), SistemaEsterno.FEL);\n\t\tif(enti == null || enti.isEmpty()) {\n\t\t\tthrow new UnmappedEnteException(ErroreCore.ENTITA_NON_TROVATA.getErrore(\"Ente\", \"codice \" + req.getCodiceEnte()));\n\t\t}\n\t\t// Dovrebbe essercene solo uno. Per sicurezza prendo solo il primo\n\t\treturn enti.get(0);\n\t}",
"public abstract Statement queryToRetrieveData();",
"public byte[] requestAllDump() \n {\n return null; \n }",
"private void readObject() {\n\t\t/* default - does nothing empty block */}",
"@Override\n protected void getExras() {\n }",
"private void getTDP(){\n TDP = KalkulatorUtility.getTDP_ADDB(DP,biayaAdmin,polis,tenor, bungaADDB.size());\n LogUtility.logging(TAG,LogUtility.infoLog,\"getTDP\",\"TDP\",JSONProcessor.toJSON(TDP));\n }",
"protected List getProperties() {\n return null;\n }",
"@Override\r\n\tprotected void execute() {\r\n\t}",
"@Override\n\tprotected void executeGet(GetRequest request, OperationResponse response) {\n\t}",
"private void getParticipantes() {\n mParticipantes = estudioAdapter.getParticipantes(MainDBConstants.estado + \"= '\" + Constants.STATUS_NOT_SUBMITTED+ \"'\", null);\n //ca.close();\n }",
"@Override\n\tpublic List<Map<String, String>> getData() throws Exception{\n\t\tqueryForList(\"\", null);\n\t\treturn null;\n\t}",
"@Override\n public JSONObject loadInvoiceGrid() {\n\n return null;\n }",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"protected void loadInfo() {\n\t\tboolean isSuccess = true;\n\t\ttry {\n\t\t\tsmt = conn.createStatement();\n\t\t\trs = smt.executeQuery(\"select * from Google_Auth\");\n\t\t\totp_username = rs.getString(\"username\");\n\t\t\totp_SECRET_KEY = aria.Decrypt(rs.getString(\"secretcode\"));\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n isSuccess = false;\n }\n }",
"protected void loadData()\n {\n }",
"public abstract void fetch();",
"@Override\n\tprotected ProducedData performs() {\n\t\treturn null;\n\t}",
"private String getString() {\n\t\treturn null;\n\t}",
"@Override\n protected void execute() {\n }",
"@Override\n protected void execute() {\n }",
"@Override\n protected void execute() {\n }",
"public String retrieve() {\n\t\t// TODO Write me!\n\t\t\n\t\treturn null;\n\t}",
"@Override\r\n\t\tpublic Properties getClientInfo() throws SQLException {\n\t\t\treturn null;\r\n\t\t}",
"protected void execute() {}",
"@Override\n\tpublic String monHoc() {\n\t\treturn null;\n\t}",
"@Override\n protected void execute() {\n \n }",
"private void read() {\n\t\tticketint = preticketint.getInt(\"ticketint\", 0);\r\n\t\tLog.d(\"ticketint\", \"ticketint\" + \"read\" + ticketint);\r\n\t}",
"void fetchForRentHousesData();",
"void fetchStartHousesData();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"private void getDataFromDB() {\n ArrayList<ArtworkData> artworkData = getArtworksFromDatabase();\n if (artworkData.size() <= 0) {\n // there is no data in local DB, error\n onErrorReceived();\n } else {\n sendArtworkData(artworkData);\n }\n }",
"private static List<Exam> readWriteData() throws Exception \r\n\t{\n\t\t\r\n\t\tList<Exam> exams = examDao.queryForAll();\r\n\t\treturn exams;\r\n\t}",
"public List<ContentInterventoBOBean> execGetAll() {\n System.out.println(\"InterventoLogics - execGetAll\");\n InterventoClient client = new InterventoClient(new ContentInterventoRequestBean());\n try {\n client.getAll();\n return BOFactory.convertWorkableToBOInterventi(client.getResList());\n }catch(Exception e){\n e.printStackTrace();\n }\n return null;\n }",
"@Override\r\n\t\tpublic String getClientInfo(String name) throws SQLException {\n\t\t\treturn null;\r\n\t\t}",
"protected static void get() {\n\t\tstepsTable.get();\n\t\tstepsTable.getWeek();\n\t\tactive.get();\n\t\tmeals.get();\n\t\taccountInfo.get();\n\t\t\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"protected String loadDocumentDetails()\r\n\t{\r\n\t\tsetC_Currency_ID (NO_CURRENCY);\r\n\t\tX_M_Production prod = (X_M_Production)getPO();\r\n\t\tsetDateDoc (prod.getMovementDate());\r\n\t\tsetDateAcct(prod.getMovementDate());\r\n\t\t//\tContained Objects\r\n\t\tp_lines = loadLines(prod);\r\n\t\tif (log.isLoggable(Level.FINE)) log.fine(\"Lines=\" + p_lines.length);\r\n\t\treturn null;\r\n\t}",
"private void initData() {\n requestServerToGetInformation();\n }",
"abstract public Object getUserData();",
"zzang mo29839S() throws RemoteException;",
"@Override\n\tpublic List queryAll() throws Exception {\n\t\treturn null;\n\t}",
"protected String _currentExternalEntity() {\n\t\t\t// if (isVerbose())\n\t\t\t// System.out.println(\"currentExternalEntity: URI=\\\"\" +\n\t\t\t// (String)_externalEntities.get(0) + \"\\\"\\n\");\n\t\t\treturn (String) _externalEntities.get(0);\n\t\t}",
"private void verificaData() {\n\t\t\n\t}",
"public ArrayList<Poentity> get_all_poentity() throws Exception {\n\n \t\t log.setLevel(Level.INFO);\n\t log.info(\" service operation started !\");\n\n\t\ttry{\n\t\t\tArrayList<Poentity> Poentity_list;\n\n\t\t\tPoentity_list = Poentity_Activity_dao.get_all_poentity();\n\n \t\t\tlog.info(\" Object returned from service method !\");\n\t\t\treturn Poentity_list;\n\n\t\t}catch(Exception e){\n\n\t\t\tSystem.out.println(\"ServiceException: \" + e.toString());\n\t\t\tlog.error(\" service throws exception : \"+ e.toString());\n\n\t\t}\n\t\treturn null;\n\n\n\n\t}",
"@Override\n\tpublic Object getObject(String NAAM) throws SQLException {\n\t\treturn null;\n\t}",
"private void readObject() {/* default - does nothing empty block */\n\t}",
"@Override\n\tpublic List<OaAutoInfo> getDataList(String param) throws Exception {\n\t\treturn null;\n\t}",
"void fetchForSaleHousesData();",
"private void loadTestInstanceData() {\r\n if (connect == null) {\r\n System.out.println(\"<internal> TemplateCore.loadTestInstanceData() finds no database connection and exits\");\r\n return;\r\n }\r\n\r\n Statement statement = null;\r\n ResultSet resultSet = null;\r\n// try {\r\n// String strINum = String.valueOf(pk_test_instance);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT fk_described_template, fk_run, due_date, phase, test_instance.synchronized, fk_version_set, fk_template, description_hash, described_template.synchronized, hash, enabled, steps \" +\r\n// \"FROM test_instance \" +\r\n// \"JOIN described_template ON fk_described_template = pk_described_template \" +\r\n// \"JOIN template ON fk_template = pk_test_instance \" +\r\n// \"WHERE pk_test_instance = \" + strINum );\r\n // everything in this query is 1:1 relationship, so resultSet has exactly 1 or 0 entry\r\n\r\n// if ( resultSet.next() ) {\r\n// dbTestInstance.pk_described_template = resultSet.getLong(\"fk_described_template\"); // null entry returns 0\r\n// dbTestInstance.fk_run = resultSet.getLong(\"fk_run\"); // null entry returns 0\r\n// dbTestInstance.due_date = resultSet.getDate(\"due_date\");\r\n// dbTestInstance.phase = resultSet.getInt(\"phase\");\r\n// dbTestInstance.iSynchronized = resultSet.getBoolean(\"test_instance.synchronized\");\r\n//\r\n// dbTestInstance.fk_version_set = resultSet.getBytes(\"fk_version_set\");\r\n// dbTestInstance.fk_template = resultSet.getLong(\"fk_template\"); // null entry returns 0\r\n// dbTestInstance.description_hash = resultSet.getBytes(\"description_hash\");\r\n// dbTestInstance.dtSynchronized = resultSet.getBoolean(\"described_template.synchronized\");\r\n//\r\n// dbTestInstance.template_hash = resultSet.getBytes(\"hash\");\r\n// dbTestInstance.enabled = resultSet.getBoolean(\"enabled\");\r\n// dbTestInstance.steps = resultSet.getString(\"steps\");\r\n//\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads 1:1 data from test_instance \" + dbTestInstance.pk_test_instance + \", pk_described_template \" + dbTestInstance.pk_described_template +\r\n// \", pk_test_instance \" + dbTestInstance.fk_template + (dbTestInstance.fk_run!=0 ? \", TEST RESULT ALREADY STORED\" : \"\"));\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// } else {\r\n// throw new Exception(\"instance data not present\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n//\r\n// // get corresponding multiple lines of data\r\n// try {\r\n// String strPKDT = String.valueOf(dbTestInstance.pk_described_template);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT pk_dt_line, line, description \" +\r\n// \"FROM dt_line \" +\r\n// \"WHERE fk_described_template = \" + strPKDT );\r\n// while ( resultSet.next() ) {\r\n// DBDTLine dtLine = new DBDTLine();\r\n// dtLine.pk_dt_line = resultSet.getLong(\"pk_dt_line\"); // null entry returns 0\r\n// dtLine.line = resultSet.getInt(\"line\");\r\n// dtLine.dtLineDescription = resultSet.getString(\"description\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads line data from dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// dbTestInstance.pkToDTLine.put(dtLine.pk_dt_line, dtLine);\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n//\r\n// // get corresponding artifact information; not every dtLine has corresponding artifact information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKDTLine = String.valueOf(dtLine.pk_dt_line);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT is_primary, reason, pk_artifact, fk_version, fk_content, synchronized, platform, internal_build, name \" +\r\n// \"FROM artifact_to_dt_line \" +\r\n// \"JOIN artifact ON fk_artifact = pk_artifact \" +\r\n// \"WHERE fk_dt_line = \" + strPKDTLine );\r\n// if ( resultSet.next() ) {\r\n// dtLine.is_primary = resultSet.getBoolean(\"is_primary\");\r\n// dtLine.reason = resultSet.getString(\"reason\");\r\n// dtLine.pk_artifact = resultSet.getLong(\"pk_artifact\");\r\n// dtLine.pk_version = resultSet.getLong(\"fk_version\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads artifact data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n//\r\n// // get corresponding version information; not every dtLine has corresponding version information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKVersion = String.valueOf(dtLine.pk_version);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT version, scheduled_release, actual_release, sort_order \" +\r\n// \"FROM version \" +\r\n// \"WHERE pk_version = \" + strPKVersion );\r\n// if ( resultSet.next() ) {\r\n// dtLine.version = resultSet.getString(\"version\");\r\n// dtLine.scheduled_release = resultSet.getDate(\"scheduled_release\");\r\n// dtLine.actual_release = resultSet.getDate(\"actual_release\");\r\n// dtLine.sort_order = resultSet.getInt(\"sort_order\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads version data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n//\r\n// // get corresponding content information; not every dtLine has corresponding content information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKArtifact = String.valueOf(dtLine.pk_artifact);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT pk_content, is_generated \" +\r\n// \"FROM content \" +\r\n// \"JOIN artifact ON fk_content = pk_content \" +\r\n// \"WHERE pk_artifact = \" + strPKArtifact );\r\n// if ( resultSet.next() ) {\r\n// dtLine.pk_content = resultSet.getBytes(\"pk_content\");\r\n// dtLine.is_generated = resultSet.getBoolean(\"is_generated\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads content data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n//\r\n// // get corresponding component information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKVersion = String.valueOf(dtLine.pk_version);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT name \" +\r\n// \"FROM component \" +\r\n// \"JOIN version ON fk_component = pk_component \" +\r\n// \"WHERE pk_version = \" + strPKVersion );\r\n// if ( resultSet.next() ) {\r\n// dtLine.componentName = resultSet.getString(\"name\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads component data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// }\r\n//\r\n// // get corresponding resource information; not every dtLine has corresponding resource information\r\n// for (DBDTLine dtLine: dbTestInstance.pkToDTLine.values()) {\r\n// try {\r\n// String strPKDTLine = String.valueOf(dtLine.pk_dt_line);\r\n// statement = connect.createStatement();\r\n// resultSet = statement.executeQuery( \"SELECT hash, name, resource.description \" +\r\n// \"FROM dt_line \" +\r\n// \"JOIN resource ON fk_resource = pk_resource \" +\r\n// \"WHERE pk_dt_line = \" + strPKDTLine );\r\n// if ( resultSet.next() ) {\r\n// dtLine.resourceHash = resultSet.getBytes(\"hash\");\r\n// dtLine.resourceName = resultSet.getString(\"name\");\r\n// dtLine.resourceDescription = resultSet.getString(\"description\");\r\n// System.out.println(\" <internal> TemplateCore.loadTestInstanceData() loads resource data for dt_line \" + dtLine.pk_dt_line);\r\n//\r\n// if (resultSet.next())\r\n// throw new Exception(\"resultSet wrongly has more than one entry\");\r\n// }\r\n// } catch(Exception e) {\r\n// System.out.println(\"TemplateCore.loadTestInstanceData() exception on dtLine access for iNum \" + pk_test_instance + \": \"+ e);\r\n// } finally {\r\n// safeClose( resultSet ); resultSet = null;\r\n// safeClose( statement ); statement = null;\r\n// }\r\n// } // end for()\r\n }",
"com.hps.july.persistence.Worker getTechStuff() throws java.rmi.RemoteException, javax.ejb.FinderException;",
"@Override\n public Object getDetails() {\n return null;\n }",
"@Override\n\t\t\t\t\t\t\tpublic void onOnlineDiveDataProgress(Object result) {\n\n\t\t\t\t\t\t\t}",
"public void GetDataBaseData() {\n }",
"public void service(){\n Serv_ID = 0;\n Serv_Emp_ID = 0;\n Serv_Event_ID = 0;\n Serv_Grant_ID = 0;\n Serv_Proj_ID = 0;//add project creation\n Serv_Date = \"currrent_date\";\n Serv_Type = \"\";\n Serv_Desc = \"\";\n Serv_Mon_Val = 0.00;\n Serv_Hours = 0;\n }",
"public Map<String, Object> getCurrentData() throws Exception;",
"public Object load() {\n return null;\n }",
"public Object getDetails() {\n return null;\n }",
"protected void execute() {\n\t\t\n\t}",
"private String doQueryById(HttpServletRequest request,\n HttpServletResponse response) {\n return null;\n }",
"public ImmutableRetrieve() {\n super();\n }",
"private ProcessedDynamicData( ) {\r\n super();\r\n }",
"public abstract String getSummaryForDatabase();",
"@Override\n\tpublic List<Subordination> readAll() throws DBOperationException {\n\t\treturn null;\n\t}",
"@Override\n\tpublic List<DataDictionaryValueEntity> querySpecialPickUp() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Response call() throws Exception {\n\t\tClientResponse response = callWebService(this.spaceEntry);\n\t\tthis.transId = (int) response.getEntity(Integer.class);\n\t\tresponse.close();\n\t\t/*wait for web service to provide tuple Object result*/\n\t\tawaitResult();\n\t\t\n\t\t/*return result*/\n\t\treturn result;\n\t}",
"@Override\n\tpublic String getStudentData(String fn) throws RemoteException {\n\t\treturn null;\n\t}"
]
| [
"0.5820564",
"0.57825863",
"0.56015456",
"0.5575485",
"0.5517506",
"0.5501393",
"0.5487919",
"0.5481825",
"0.5435501",
"0.5431272",
"0.5431272",
"0.5402957",
"0.5396682",
"0.5394107",
"0.5390402",
"0.5377462",
"0.53505385",
"0.53217536",
"0.5310427",
"0.5310427",
"0.53085214",
"0.5300152",
"0.5289581",
"0.5276803",
"0.52727056",
"0.52709275",
"0.52522624",
"0.5239805",
"0.523887",
"0.52338004",
"0.5211683",
"0.52044076",
"0.52037966",
"0.5192224",
"0.5184071",
"0.5177971",
"0.51760674",
"0.5173465",
"0.5170969",
"0.5162729",
"0.5160106",
"0.5150116",
"0.5144926",
"0.5144648",
"0.51428723",
"0.513786",
"0.5132481",
"0.51286346",
"0.51187646",
"0.5118259",
"0.5112092",
"0.51085144",
"0.5104263",
"0.51021945",
"0.51021945",
"0.51021945",
"0.51019037",
"0.5099554",
"0.5099299",
"0.5098933",
"0.5093515",
"0.5075568",
"0.50731987",
"0.5072165",
"0.50689197",
"0.5061735",
"0.50581694",
"0.50505763",
"0.5049104",
"0.50454366",
"0.50453895",
"0.5044066",
"0.5043324",
"0.50426316",
"0.50355303",
"0.5027659",
"0.5023171",
"0.5015107",
"0.50092846",
"0.5005725",
"0.50022244",
"0.49948016",
"0.49906865",
"0.4985397",
"0.4983806",
"0.49822867",
"0.49785176",
"0.4978087",
"0.49752682",
"0.49730444",
"0.49724507",
"0.49724293",
"0.49713492",
"0.49703705",
"0.49703255",
"0.49663818",
"0.49632126",
"0.49616435",
"0.49457675",
"0.4944626",
"0.49409539"
]
| 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.