query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
40f2a6aa2b9d1860ccf45948b1801bba
Translate box size and position into world scale!!!
[ { "docid": "9523c40f84b74c22c693a81f63df6ce0", "score": "0.0", "text": "public static Array<Entity> queryForEntitiesInCircle(World world, float x, float y, float range, int lines, Predicate<Entity> predicate){\n\t\tx *= Game.scaleReversed;\n\t\ty *= Game.scaleReversed;\n\t\tArray<Entity> entities = new ...
[ { "docid": "35c45bac54b2ce7709f78cf42be5c2b8", "score": "0.6338934", "text": "public void scaleUpdate();", "title": "" }, { "docid": "9f4f79bf41daaf1d3260281dac5e97ea", "score": "0.6274738", "text": "private void autoScale() {\r\n\t\tdouble max = 1.0;\r\n\t\tfor (Body b : _bodies) {\...
6569e59465d9661957a79d2be2d29b35
Gets the value of the totalUnits property.
[ { "docid": "039a33bf648adf8dbe0f69ce75ddc139", "score": "0.8598013", "text": "public int getTotalUnits() {\r\n return totalUnits;\r\n }", "title": "" } ]
[ { "docid": "5ecb05780923ae8a449fd72fe49dccd2", "score": "0.7700541", "text": "public String getUnits() {\n return this.units;\n }", "title": "" }, { "docid": "2ef08f890790780560240f1872e7ddf2", "score": "0.7563252", "text": "public void setTotalUnits(int value) {\r\n ...
99ec91a1684818c1ef328449449899ca
Asking user to choose X or O
[ { "docid": "21178901ad6973388d0451163a07dbaf", "score": "0.7949068", "text": "private static void choosingXorO() {\n\t\tSystem.out.println(\"Select your mark\\n\\nChoose '1' for X\\nChoose '2' for O\");\n\t\tint option = Utility.getUserInteger();\n\t\tswitch (option) {\n\t\tcase 1: userMark = 'X';\n\t\t...
[ { "docid": "22e447dfd715fc9a7fad1f16318a320b", "score": "0.652353", "text": "public void selectOper(){\n printOper();\n oper = console.nextInt();\n checkLegal();\n }", "title": "" }, { "docid": "e70a50ec1d45ea5d2cad541967324e99", "score": "0.6421571", "text": ...
1249cbf13b1afab4b6e415ef6abf79a2
Sets the requested start date of this evp service request.
[ { "docid": "c0f006818ab5735b01f4f5b72fc537f0", "score": "0.79262036", "text": "public void setRequestedStartDate(Date requestedStartDate);", "title": "" } ]
[ { "docid": "38cf943fdea7175b83a2589052838f42", "score": "0.7459691", "text": "public void setStartDate(Date value) {\r\n this.startDate = value;\r\n }", "title": "" }, { "docid": "e584d9c0748aa7d3cc62039a1ddf07f3", "score": "0.73460025", "text": "public void setStart(Date s...
556407ab55fa253773954bd28d8b09a2
Sets the table which has the constraint.
[ { "docid": "0622de706a27e88a4f9a5096afb0e3ae", "score": "0.6170206", "text": "public void setTableName(final String tableName) {\n\t\tthis.tableName = tableName;\n\t}", "title": "" } ]
[ { "docid": "a33124698d9915afe1f918e2c9f8c0f7", "score": "0.7485983", "text": "public void setTable(String table);", "title": "" }, { "docid": "1d09495bcfad6ca720c54d1e1c29a163", "score": "0.74157166", "text": "public void setTable(Table table) {\n this.table = table;\n }", ...
edde28139fd67fa008f3ba0a9c56dffd
Creates a connection to a database.
[ { "docid": "ac48f66cbbb82c071d4061189d8d0b47", "score": "0.70592576", "text": "public static void openDatabaseConnection() {\n\n\t\ttry {\n\t\t\tGetCredentials.dbCredentials(\"path DataBase-Credentials.txt\"); // Calls\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// the\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...
[ { "docid": "33788e5cadda8dbe756631d04eb4a8dc", "score": "0.8119678", "text": "Connection createConnection() throws DatabaseException;", "title": "" }, { "docid": "6d04ad75abf81f53ffdb7b8378625331", "score": "0.7637511", "text": "private Connection createDatabaseConnection(Properties ...
5a88bda20f9a21656c12c1127df62a1a
64 bits Writes a couple of hexadecimal digits representing the given byte. All other marshalling operations ultimately use this method to modify the write buffer
[ { "docid": "7a36d4c8859604557d0c1af4485c7d49", "score": "0.54694974", "text": "public void writeOctet(byte b) {\n\tchar[] digits = new char[2];\n\tdigits[0] = HEX[(b & 0xF0) >> 4]; // High nibble\n\tdigits[1] = HEX[b & 0x0F]; // Low nibble\n\twriteBuffer.append(digits);\n\twriteIndex++;\n }", "...
[ { "docid": "23deb3d70d8b6fb98b32b1bc6a8995a9", "score": "0.6047146", "text": "public Buffer<T> putUInt64(long uint64) {\n return putUInt64(uint64, endianness);\n }", "title": "" }, { "docid": "89e9b0c48defc57fad8b8494a9f1c69d", "score": "0.5798001", "text": "public void wri...
aefc357151017ce8bc72504325a88e45
/ 502: / 503:
[ { "docid": "b968523fc1290785ecd9c84c76d0b1e9", "score": "0.0", "text": "private void dropDeadEndsToBottom(int c)\r\n/* 504: */ {\r\n/* 505: 510 */ ArrayList<Box> result = new ArrayList();\r\n/* 506: 511 */ ArrayList<Box> column = new ArrayList();\r\n/* 507: 512 */ for (Box b : getC...
[ { "docid": "45a5a7aa852507015a034efa2fb3a961", "score": "0.65906405", "text": "@Test\n public void serviceUnavailable503() throws Exception {\n doReturn(503).when(response).code();\n doReturn(\"503 Service Unavailable\").when(body).string();\n doReturn(\"Load balancer error messa...
5ec26f9c37443d5c72aa2db873bd1968
todo:update clock out empty
[ { "docid": "0a35de5232fd7365e74eca9404b022ae", "score": "0.0", "text": "@RequestMapping(value = {\"/clockOutUserById\"}, method = RequestMethod.GET)\n public String clockOutUserById(@RequestParam(\"id_user\") int idUser) {\n return \"\";\n }", "title": "" } ]
[ { "docid": "724460c005f7cd7e6da50e570e68e6cd", "score": "0.70315784", "text": "public void setFirstClockOut(String time);", "title": "" }, { "docid": "5df60dca2578a801d46dc13b5983cf88", "score": "0.70216954", "text": "@Override\n protected void time() {\n }", "title": "" ...
2a8835483719aff42911c9b0f48e79b8
Test if getGenerator with a null parameter throws NullPointerException.
[ { "docid": "a9b6add087d443febd7ce940a675cadc", "score": "0.82740563", "text": "public void testGetGeneratorNull() {\n try {\n UUIDUtility.getGenerator(null);\n fail(\"getGenerator with null must throw NullPointerException\");\n } catch (NullPointerException e) {\n ...
[ { "docid": "0a43ef5b24782bd284b6d5e4d1747bc7", "score": "0.69217515", "text": "public void testGetDocumentGenerator_failure_null_configuration() throws Exception {\n try {\n DocumentGeneratorFactory.getDocumentGenerator(null);\n fail(\"Expect IllegalArgumentException.\");\n ...
d99c12748453a5e9f7fdfdd2192b742f
Checks to see if the player wishes to end the game.
[ { "docid": "48640d612a9d07d85be167e5f9a87f2d", "score": "0.71924496", "text": "private void checkEnd() {\r\n if ((endKeyPressTimes[endKeyPressTimes.length - 1] != null)\r\n && (endKeyPressTimes[0] != null)\r\n && ((endKeyPressTimes[endKeyPressTimes.length - 1] - endK...
[ { "docid": "519ddfbab0617f56546f7852b21c0575", "score": "0.80731666", "text": "public boolean endGame() {\r\n\t\tboolean end = true;\r\n\t\tfor (Players p: this.players) {\r\n\t\t\tif (p instanceof Player && p.getCash() > 0) {\r\n\t\t\t\tend = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn end;\r\n\t}", "...
ffb7f978a4298b9f2ebe0a0c7492e906
/ method creates a new instance & gives it args
[ { "docid": "d258e374d25a6dc9fd688537bfdf1fb0", "score": "0.0", "text": "private Contract getInstance(Timestamp сreated, ContractStatus contractStatus, PayForm payForm, PayStatus payStatus,\n\t\t\tInteger customerId, BigDecimal totalPrice) {\n\t\tContract instance = new Contract();\n\t\tinstance.setCreat...
[ { "docid": "fdffc36bddf3560668cb41c0e1b28dba", "score": "0.70853895", "text": "Instance createInstance();", "title": "" }, { "docid": "fdffc36bddf3560668cb41c0e1b28dba", "score": "0.70853895", "text": "Instance createInstance();", "title": "" }, { "docid": "0bd478df5d78db...
8f3f677cd42ccdb2f8eaf6809d84b2a8
Remove the node. O(1) time. Don't use tail because moveToHead() uses this method. Keep it general.
[ { "docid": "5d56eef5cdafb4d11088358de469cf57", "score": "0.6251372", "text": "private void removeNode(DLLNode node) {\n\t\t\t// prev <= node => next\n\t\t\tDLLNode prev = node.prev;\n\t\t\tDLLNode next = node.next;\n\n\t\t\t// So easy!\n\t\t\t// prev <=> next\n\t\t\tprev.next = next;\n\t\t\tnext.prev = ...
[ { "docid": "2a477985a008ab60b480cd3ab912a5e9", "score": "0.7637495", "text": "public void remove() {\n\t\tNode<T> cur = this.head;\n\t\tif(cur != null) {\n\t\t\tNode<T> next = cur.getNext();\n\t\t\tif(next == null) {\n\t\t\t\tthis.head = null;\n\t\t\t} else {\n\t\t\t\twhile(next.hasNext()) {\n\t\t\t\t\t...
7c060a5a0f517aab1fe5bd0a189324a9
Idea: reassignment is not possible only if count of one character is > (n + 1) / 2, so collect count of each one and store. Then do greedy approach start checking for each character starting from most frequent one. When found one and it's not one already used on previous step insert it and decrement count. If same as o...
[ { "docid": "80ee48e59b93b5c20f455b85fea628e8", "score": "0.6902113", "text": "public String reorganizeString(String S) {\n int[] counts = new int[26];\n for (char ch : S.toCharArray()) {\n counts[ch - 'a'] += 1;\n }\n\n Comparator<int[]> comp = new Comparator<int[]...
[ { "docid": "e0341e2b3cb538ed130fdf6b5bf6ca7e", "score": "0.67805684", "text": "public String reorganizeString(String s) {\n int maxFreq = 0;\n Map<Character, Integer> freq = new HashMap<>();\n for (char c : s.toCharArray()) {\n freq.put(c, freq.getOrDefault(c, 0) + 1);\n ...
6fe50647f5837f68442335d09d1d478b
Get all identifier types
[ { "docid": "cb8dcf405065fbdd5f1b253f12062235", "score": "0.87412083", "text": "public List<IdentifierType> getAll();", "title": "" } ]
[ { "docid": "6c64a86dd9383edebe8f6d0316a0a873", "score": "0.7462151", "text": "public List<String> getTypeIdentifiers() {\n return this.typeIdentifiers;\n }", "title": "" }, { "docid": "e89616b6657347795cd628783722ace0", "score": "0.7433507", "text": "public Long getIdentifi...
166f3306efa1fa9b8e8d51af885370ac
onPrivateMessageReceived is called when a private message is sent to the bot. This is called automatically by JDA
[ { "docid": "731c1771b43fe8704a57d94480d043fb", "score": "0.78294957", "text": "@Override\n public void onPrivateMessageReceived(final PrivateMessageReceivedEvent event)\n {\n if(event.getAuthor().isBot()) //If the message sent is from a bot, then ignore it\n return;\n to...
[ { "docid": "fdb2ca66b0a974210e31613d06651245", "score": "0.799989", "text": "void onPrivateMessage(final PrivateMessageEvent pme);", "title": "" }, { "docid": "9422c3ef1852c8b2829dbaab3d32278f", "score": "0.6652412", "text": "public void receivePrivateMessage(String from, String mess...
ec5f3de334e823bf6d3f4c2f47c62fab
Insert into the priority queue, maintaining heap order. Duplicates are allowed.
[ { "docid": "d6b5d1a66221c946ce3fceecb8ae352f", "score": "0.0", "text": "public void insert( AnyType x )\n {\n if( currentSize == array.length - 1 )\n enlargeArray( array.length * 2 + 1 );\n\n // Percolate up\n int hole = ++currentSize;\n for( ; hole > 1 && x.compareTo( arra...
[ { "docid": "c52de80d44cf5e5210de5f00bb0c022a", "score": "0.7332168", "text": "public PriorityQueueJava<E> insert(E e) {\n if (e == null)\n throw new NullPointerException();\n// System.out.println(\"insert: this: \" + this);\n PriorityQueueJava<E> result = (size >= this.he...
cff780de248a3e179c4920abf292234f
Sets userId of notificationRule to be listed.
[ { "docid": "75049504d9b024474095d30f01f0b922", "score": "0.0", "text": "public void setUserId(String userId) {\n\t\tthis.userId = userId;\n\t}", "title": "" } ]
[ { "docid": "fbee94e68978ff966679b0b3a90be379", "score": "0.6571416", "text": "public static void setUserId(String userId) {\n TargetingParams.userId = userId;\n }", "title": "" }, { "docid": "9934c6a1a0e1b6609164d11e39261b93", "score": "0.65641415", "text": "@Override\n\tpu...
4e99ea074092d554ab99ac690ba883ca
Click on "Add" button.
[ { "docid": "3b1c574efed3cabfec90cae3a1466354", "score": "0.0", "text": "public static WebElement btn_clickAddToBasket() throws Exception{\r\n \ttry{\r\n \t\t// CLick on btn those are odd number\r\n \t\tList<WebElement> btn = driver.findElements(\r\n \t\t\t\tBy.xpath(\"//img[contains(@class,...
[ { "docid": "0b96fe22be2e98db9e7458a43243c1fe", "score": "0.88381296", "text": "public void Click_AddButton()\n\t{\n\t\tADD_Button.click();\n\n\t}", "title": "" }, { "docid": "f128b147832e197c51dd4249d5ddfc3d", "score": "0.81008464", "text": "public void clickAddUserButton() {\n ...
00de7341fe27a7e4622da1c61f25ffb7
Delete a tag for a lowStock. Deletes an existing lowStock tag using the specified data.
[ { "docid": "0c42aae8f4bde040652535c440689cd1", "score": "0.85083", "text": "@Test\n public void deleteLowStockTagTest() throws ApiException {\n Integer lowStockId = null;\n String lowStockTag = null;\n api.deleteLowStockTag(lowStockId, lowStockTag);\n\n // TODO: test valid...
[ { "docid": "ca3363415865c25aaccc19a1f5da5c11", "score": "0.6366247", "text": "@Test\n public void deleteLowStockFileTest() throws ApiException {\n Integer lowStockId = null;\n Integer fileId = null;\n api.deleteLowStockFile(lowStockId, fileId);\n\n // TODO: test validation...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "02af21be38e781bb7a24df6374304048", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tKey key=keyGerenate();\n\t\tSystem.out.println(\"p:\"+key.p);\n\t\tSystem.out.println(\"q:\"+key.q);\n\t\tSystem.out.println(\"a:\"+key.a);\n\t\tSystem.out.println(\"b:\"+key.b);\n\t\tSy...
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t...
690f14fb0fcb3e8af3e303b1be05c860
Sets the room restrictions
[ { "docid": "ac5f5048c3a7561edf0ca0743826c81d", "score": "0.7235395", "text": "public void setRoomRestrictions(String rest) {\n\t\tmRestrictions = rest;\n\t}", "title": "" } ]
[ { "docid": "24821aea119391079af5c60ae1d1ef96", "score": "0.65338486", "text": "public void setRoomLimit(Integer roomLimit) {\n this.roomLimit = roomLimit;\n }", "title": "" }, { "docid": "5fabec2d63df460faab2598b0a6eb1bb", "score": "0.640656", "text": "@Override\npublic voi...
6f68b27adad69d9e4d1323a302afa029
Firma el fichero actualmente cargado. Este método se situa aquí para permitir su acceso desde la barra de menú
[ { "docid": "b13dc2d1f9459929ed75e9d8fd96c0aa", "score": "0.0", "text": "public void signLoadedFile() {\r\n if (this.currentPanel instanceof SignPanel) {\r\n ((SignPanel) this.currentPanel).sign();\r\n }\r\n }", "title": "" } ]
[ { "docid": "5853238ba5ca0f6c1b8703d47d6e5b3f", "score": "0.62277156", "text": "public abstract void escribirFichero(String ruta) throws FileNotFoundException;", "title": "" }, { "docid": "351905d737c64dd27d501d8f8600149b", "score": "0.61179274", "text": "public void escribirArchivo(S...
e60767f97f2325790d8e21cb8a7b2d7e
this is the getCost method. It gets price from text field, attempts to convert it to a double, if it succeeds, it returns it else alerts an error and returns 0
[ { "docid": "a963ff1d2521ed07391dfbd40042171e", "score": "0.8989743", "text": "public double getCost() {\n String price = priceTextField.getText();\n try {\n double convertedPrice = Double.parseDouble(price);\n return convertedPrice;\n }catch (NumberFormatExcept...
[ { "docid": "355d0182a2995cfcf40a6a7c5466e953", "score": "0.76036936", "text": "private double getPriceEntry() {\n try {\n if (Double.parseDouble(originalPriceText.getText()) >= 0) {\n return Double.parseDouble(originalPriceText.getText());\n } else {\n ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "078a68ee365126fe22955f487093ef50", "score": "0.0", "text": "protected static byte[] m44482a(String str) {\n try {\n return str.getBytes(\"ISO-8859-1\");\n } catch (UnsupportedEncodingException e) {\n throw new AssertionError(e);\n }\n }", "ti...
[ { "docid": "420b2bd94bbbbbfe7d1f41efac9498b9", "score": "0.6414247", "text": "interface C0507b {\n /* renamed from: a */\n void mo8211a();\n }", "title": "" }, { "docid": "dfe5343834d94020e7b0a2d1c2878037", "score": "0.63251686", "text": "interface ak {\n /* renam...
1cf2c295335f07efd811f531319244b1
Reads in a sequence of strings from standard input; mergesorts them; and prints them to standard output in ascending order.
[ { "docid": "97e23ea32c90a1e15bea70289a6ece71", "score": "0.0", "text": "public static void main(String[] args) {\n// String[] a = StdIn.readAllStrings();\n \t String[] a = new String[10] ;\n \t a[0] = \"a\";\n \t a[1] = \"M\";\n \t a[2] = \"W\";\n \t a[3] = \"I\";\n ...
[ { "docid": "9b5920c1d87e323806149f6c7068a5cd", "score": "0.6453184", "text": "public static void main(String[] args) {\r\n ArrayList<Comparable> t = new ArrayList<Comparable>();\r\n // ONLY for IDE version, remove otherwise\r\n Scanner input = null;\r\n try {\r\n i...
1d17c53d04ee73244205b42e03c5b318
Sets current transfer state.
[ { "docid": "6e0eb7efe9200856e3ab14de97fd8f1e", "score": "0.74512", "text": "protected void setTransferState(@NonNull TransferState transferState) {\n this.transferState = transferState;\n }", "title": "" } ]
[ { "docid": "13e9203ad7f1313cf68e57a9ea867a9c", "score": "0.7393529", "text": "public void setState(TransferState state) {\n synchronized (this) {\n this.state = state;\n }\n for ( TransferStateChangeListener listener : stateChangeListeners ) {\n listener.transf...
cfac7b0c347da6ca7624cefd4115c2f2
twitterEventProducer.sendLibraryEventAsyncUsingProducerRecord(); step 0: define schema
[ { "docid": "8a53c51047f5e14e09f7b1cd71ad8fe9", "score": "0.46690103", "text": "@Override\n\tpublic void run(String... args) throws Exception {\n\t\tSchema.Parser parser = new Schema.Parser();\n\t\tSchema schema = parser.parse(\"{\\n\" +\n\t\t\t\t\" \\\"type\\\": \\\"record\\\",\\n\" +\n\t\t\t\t\" \\\"...
[ { "docid": "f533b3a1239c1c0531fcf430ecf5e52b", "score": "0.58144647", "text": "@Override\n public void onCompletion(RecordMetadata metadata, Exception e) {\n if (e == null) {\n // the record was successfully sent\n logger.in...
088a117d827908aa9f01cbadb2cda151
Fill the passed rectangle in the passed graphics context with the background pattern or color.
[ { "docid": "fac4d14df505bee6f40fd34c41a81fb2", "score": "0.66818166", "text": "public abstract void fill(Graphics2D g, Rectangle bounds);", "title": "" } ]
[ { "docid": "fbfeb0aaa15ca52b85de2643aeedca8c", "score": "0.6952377", "text": "public void fillBackground(Graphics2D g, Rectangle r ){\r\n int x1 = r.x;\r\n int y1 = r.y;\r\n int x2 = r.x+r.width;\r\n int y2 = r.y+r.height;\r\n g.setColor(Color.BLACK); \r\n ...
284d058da8e6cd26466348d071b25bd1
Attempts to connect to our database and returns the connection if successful, null if not
[ { "docid": "6dbcd343d5f82f09cfd6770fc2ee844d", "score": "0.0", "text": "static Connection connect(String dbUser, String dbPass){\r\n\r\n\t\ttry{\r\n\t\t\tClass.forName(\"com.mysql.jdbc.Driver\").newInstance();\r\n\t\t\tConnection myConn = DriverManager.getConnection(url, dbUser, dbPass);\r\n\t\t\tSystem...
[ { "docid": "5d10379c91774d0ed91ac49985d9ef28", "score": "0.8097518", "text": "public Connection connect() {\n Connection con = null;\n try{\n con = DriverManager.getConnection(dbPath);\n return con;\n }\n catch (SQLException e)\n {\n l....
6425fd64fe33014a537bd514888173cd
Creates a new user.
[ { "docid": "8645eb0079d7537203d05487ff57dd77", "score": "0.67272395", "text": "public void createUser(User user) {\n\t\ttry {\n\t\t\tpreparedStatement = connect.prepareStatement(Constant.SQL_CREATEUSER);\n\t\t\tpreparedStatement.setString(1, user.getUsername());\n\t\t\tpreparedStatement.setString(2, use...
[ { "docid": "bd591a601b7d89b369484c78ea772da0", "score": "0.799628", "text": "public void createUser(User user);", "title": "" }, { "docid": "1783b71eb648a553a249498ce26d0bca", "score": "0.79551154", "text": "void createUser(User user);", "title": "" }, { "docid": "1783b71...
fb0afe36292ff0fcdf874e16d121c172
End of variables declaration//GENEND:variables
[ { "docid": "23a0e1772c51ce1fbd28c8763cfa4a05", "score": "0.0", "text": "public void defaultImageDisplay(){\n ClassLoader cl = this.getClass().getClassLoader();\n ImageIcon icon = new ImageIcon(cl.getResource(\"pictures/NewInventory/defaultPic.png\"));\n // this.finalImage = icon.getI...
[ { "docid": "b8301f10c98dca7e2cca7754d3fb0c03", "score": "0.6359434", "text": "public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "8c4be9114abb8cb7b57dc3c5d34882a8", "score": "0.6280371", "text": "public void mo38117a() {\n }", ...
27326ee92a6a0b95cbc2385d12540f8f
checks that everything in avali is greater than the need
[ { "docid": "67611a19437ebb38de55fcdea610bd39", "score": "0.71586835", "text": "private static boolean check(int[] avali, int[] need){\n\t\tfor(int j=0;j<need.length;j++){\n\t\t\tif(avali[j]<need[j]){\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "edd6f47f7b27951192da0794dd06df46", "score": "0.6195488", "text": "public boolean checkPricesOrderedLowToHigh(){\n\n String firstPrice = listOfPrices.get(0).getText().replace(\"lei\",\"\").replace(\".00\",\"\").trim();\n int lowPrice = Integer.parseInt(firstPrice);\n\n St...
7bb89de2468688965414f28f1cd9ab29
select count( ), c_salutation from customer group by c_salutation ; | _c0 | c_salutation | ++++ | 13 | Dr. | | 2 | Miss | | 10 | Mr. | | 8 | Mrs. | | 5 | Ms. | | 12 | Sir | ++++ 6 rows selected (4.09 seconds)
[ { "docid": "cd18600aff078c5876441838ade118b9", "score": "0.6508156", "text": "@Test\n public void aggColumn1() {\n customer.groupBy(\"c_salutation\").count().printSchema();\n Dataset<Row> cnt = customer.groupBy(\"c_salutation\").count();\n assert(customer.groupBy(\"c_salutation\").count().coll...
[ { "docid": "f91c22d08e5397c57e81572261eeb299", "score": "0.5853554", "text": "@Test\n public void aggColumn2() {\n List<String> columns = Arrays.asList(\"c_salutation\",\"c_preferred_cust_flag\");\n\n\n assert(customer.groupBy(ScalaUtils.toSeq(SparkUtils.toColumns(columns))).count().collectAsList...
77a2a142c499f7c25e250ff3cd45004b
creates a RecordType record from an XML node
[ { "docid": "535a2f6e1eeedb7175c3653321e47d2e", "score": "0.6886874", "text": "public abstract RecordType createModelFromElement(Node node, String provenanceInfo);", "title": "" } ]
[ { "docid": "672af64f136b6ff25efb84152a945049", "score": "0.55810505", "text": "RecordTypeDefinition getRecordType(int index);", "title": "" }, { "docid": "8d8dc85e2fbb6d2b7299efb92e726085", "score": "0.548832", "text": "public abstract T createFromXML(Node n);", "title": "" }, ...
e6296a9994d0e66512f40a79a7532146
Launch the application. Create the frame.
[ { "docid": "d4376af203601c35313133fd33cc2ad9", "score": "0.0", "text": "public Admins() {\r\n\t\tsetDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tsetBounds(100, 100, 750, 503);\r\n\t\tcontentPane = new JPanel();\r\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\r\n\t\tsetContentPane(conte...
[ { "docid": "05135bb73214ffc10b17b5ddbb5f91d2", "score": "0.8116458", "text": "public void launch(){\n\t\tbuildFrame();\n\t}", "title": "" }, { "docid": "c8c69a961a2016c26bf38930c3dde65f", "score": "0.7218563", "text": "private static void run() {\r\n\t\tcreateWindow(frameCurrent[0]);...
5e83b2ec80c53660bd1e8bb0a8668841
receives a request from client then sends an echo to the client
[ { "docid": "4517e6ee38d0026c4c7b61698d480fe3", "score": "0.0", "text": "public void run() {\r\n\t\ttry {\r\n\t\t\tBufferedReader socIn = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));\r\n\t\t\tsocOut = new PrintStream(clientSocket.getOutputStream());\r\n\t\t\tusername = socIn....
[ { "docid": "a4da85fe5781ca070a639c4e3f990f20", "score": "0.69646686", "text": "public void receiveAndEcho() {\n\t\t// Receiving a response from server\n\t\tbyte receivedData[] = new byte[4];\n\t\treadRequest = new DatagramPacket(receivedData, receivedData.length);\n\t\tSystem.out.println(\"Intermediate ...
db7394a7a5baf1c20e1c9acae2179be7
Determine asymmetric algorithms keyPair
[ { "docid": "9e483ff899a0798918d920f7ea8f04ea", "score": "0.0", "text": "private KeyPairSpec determineSecretKeySpecPair(@NotNull SecureAlgKind kind, @NotBlank String principal) {\r\n\t\t// Gets the best one from the candidate keyPair.\r\n\t\tInteger index = getBindValue(new RelationAttrKey(KEY_SECRET_INF...
[ { "docid": "53ee11840b3bd4e671e08716d8fbec3f", "score": "0.7472444", "text": "KeyPair cryptoKxKeypair();", "title": "" }, { "docid": "2227599e90004353f51430d11bc56cc8", "score": "0.69963634", "text": "public interface AsymmetricCrypto extends Crypto {\n\t\n\tpublic ByteKeyPair genera...
a921215c3145fe5178913ad8d440989c
Service Interface for managing Radnici.
[ { "docid": "709316aa685a9a56808967693f14d440", "score": "0.6929736", "text": "public interface RadniciService {\n\n /**\n * Save a radnici.\n *\n * @param radnici the entity to save\n * @return the persisted entity\n */\n Radnici save(Radnici radnici);\n\n /**\n * Get al...
[ { "docid": "fac1b2e020682f468c8249128081be52", "score": "0.60318863", "text": "@RemoteServiceRelativePath(\"greet\")\r\npublic interface AdminController extends RemoteService {\r\n\t\r\n\r\n\t\tpublic void tara() throws Exception;\r\n\t\tpublic String RM20(String msg) throws Exception;\r\n\t\tpublic voi...
cf133366582278624081eafc49eb22a2
Allows basic logging for core classes.
[ { "docid": "6c324759a4cab655d1b59a11286850a3", "score": "0.6913752", "text": "public interface CoreLogging {\n\n void log(String message);\n\n}", "title": "" } ]
[ { "docid": "3a032958fd3413eb121a3918a4f33aea", "score": "0.74070126", "text": "public void doLogging(){\n\t}", "title": "" }, { "docid": "1b896fc46fa82f4ff5ac00ea13ac1dd0", "score": "0.7127456", "text": "private static void log() {\n }", "title": "" }, { "docid": "9070...
265da735b5cef68f4c6bf75fc46a93fc
Converts TaskList to String form to save in file. Different from displayList.
[ { "docid": "7bdf545aa3a96c771ebb7847f41068e7", "score": "0.75146097", "text": "public String saveAsString() {\n StringBuilder strBuilder = new StringBuilder();\n for (int i = 0; i < this.counter; i++) {\n strBuilder.append(tasks.get(i).toStorageString());\n if (i < th...
[ { "docid": "00396191f1fb0ed34e790481ae9b43d3", "score": "0.7621432", "text": "public String toFileString() {\n StringBuilder saveText = new StringBuilder();\n for (Task t: store) {\n saveText.append(t.toFileString());\n saveText.append('\\n');\n }\n retu...
274bbd7f5d4561b34f37a5eeb80be3b3
Gets the String field with a specific name.
[ { "docid": "cd16058116fd66b7e3886080cbcc280e", "score": "0.73824567", "text": "String getStringByField(String field);", "title": "" } ]
[ { "docid": "d9e00e75de5360effb9aa5b99b36b047", "score": "0.74954855", "text": "Field getField(String name);", "title": "" }, { "docid": "402cd3e10efbda3107afc528cbf40d6a", "score": "0.7202421", "text": "String getFieldName();", "title": "" }, { "docid": "402cd3e10efbda310...
1b40a04ee161d88de94072bc7a9c15cd
.protocol.Ticket ticket = 3;
[ { "docid": "c89731d88976364881a4882c014bc2b9", "score": "0.5425212", "text": "public protocol.Protocol.TicketOrBuilder getTicketOrBuilder() {\n if (ticketBuilder_ != null) {\n return ticketBuilder_.getMessageOrBuilder();\n } else {\n return ticket_ == null ?\n ...
[ { "docid": "42b70a70dc13db8b31b1f0338cd3fd58", "score": "0.85848", "text": "protocol.Protocol.Ticket getTicket();", "title": "" }, { "docid": "3356ad18ad7ed883abe9675d0b9ecce2", "score": "0.72406", "text": "protocol.Protocol.TicketOrBuilder getTicketOrBuilder();", "title": "" }...
1b76ab559fbf55cdd00fee261ddd7491
Sets the map cache dto.
[ { "docid": "9e263f51ce292c8441030d9d71eda044", "score": "0.8005051", "text": "public void setMapCacheDTO(Map<Field, FieldCacheDTO> mapCacheDTO) {\n\t\tthis.mapCacheDTO = mapCacheDTO;\n\t}", "title": "" } ]
[ { "docid": "d0571b9b9cbbc2e294d257d57c3489e2", "score": "0.6272038", "text": "public Map<Field, FieldCacheDTO> getMapCacheDTO() {\n\t\treturn this.mapCacheDTO;\n\t}", "title": "" }, { "docid": "1cb8615d38284882c1ee062fbd559203", "score": "0.6138507", "text": "public WorkDTO(Map<Strin...
16468a6cd05bca1036eb1fc4e3ece5e4
Add a search job to our list
[ { "docid": "e22d0aac7b895b4129f10212a26d7d72", "score": "0.7338829", "text": "public static void addJob(String handle, Job searchJob) {\n \t\trunningJobs.put(handle, searchJob);\n \t}", "title": "" } ]
[ { "docid": "4a6919df4e09ace4c815499926533bd1", "score": "0.6332904", "text": "public void add(final QueryJobSpec spec) {\n for(int l = 0; l < list.size(); l++) {\n final QueryJobSpec job = list.get(l);\n // job exists: replace existing entry\n if(job.equals(spec)) {\n list.set(l...
15fe73fe75f806b85d80d5c29de75132
Calculate the new positions of the titlebar controls and the preferred size of the panel
[ { "docid": "1efcedb96b99b964a48d527d7151a077", "score": "0.0", "text": "@Override\n public void layoutContainer(Container parent) {\n int width = 0;\n int count = parent.getComponentCount();\n int w[] = new int[count];\n for (int i = 0; i < count; i++) ...
[ { "docid": "ee6e7e29f16779730a3cc87891a62a13", "score": "0.6450068", "text": "void setPosAndSizeAwt(GralPos posP, Component component, int widthwidgetNat, int heigthWidgetNat)\n {\n GralRectangle rectangle = calcWidgetPosAndSizeAwt(posP, component, widthwidgetNat, heigthWidgetNat);\n //on SWT it ...
d9c2ca9958ab75b1dbf5abab99818260
optional string field27 = 27;
[ { "docid": "02bebe700b7f41ed44ae19c4da31ff56", "score": "0.6712253", "text": "public Builder setField27(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n field27_ = value;\n onChanged();\n ...
[ { "docid": "cebddbf3fcf8564e1925e32f86ab09e1", "score": "0.7859426", "text": "java.lang.String getField27();", "title": "" }, { "docid": "66d86c37e1f9b76c003140f273802049", "score": "0.7617255", "text": "java.lang.String getField29();", "title": "" }, { "docid": "0c1ae9b3...
497d68c7fc857c0e37debfe5c498347b
Appends given line to file denoted by the given path
[ { "docid": "c501dafe05305d2311a663a86ad26f66", "score": "0.74518234", "text": "void appendToFile(@NotNull String path, @NotNull String outputLine);", "title": "" } ]
[ { "docid": "05c14c53d5a782522288c4513c0250b6", "score": "0.6684306", "text": "public static synchronized void writeLine(String line) {\n\t\tFileOperations.writeLine(bufferedWriter, line);\n\t}", "title": "" }, { "docid": "8d39eaeb603ebceb1a9c37db0daa5c6e", "score": "0.6574204", "text...
0641ca23c880a1df3f180d75324525be
change color to red Toast.makeText(getContext(), String.valueOf(tweet.isFavorited()), Toast.LENGTH_SHORT).show(); get the tweet id
[ { "docid": "43718f45089627613e080daf03bcd30d", "score": "0.75057596", "text": "@Override\n public void onClick(View v) {\n long tweetID = tweet.getUid();\n\n // favorite tweet\n if (!ivFave.isSelected()) { // if it is not favorited\n ...
[ { "docid": "789e326e95ac158914620b25696b801b", "score": "0.6283592", "text": "@Override\n public void onClick(View v) {\n long tweetID = tweet.getUid();\n client.retweetStatus(tweetID, new JsonHttpResponseHandler() {\n @Override\n ...
1d6d7e7a250c59aeece5b090a7faa82e
Getter for f_PanelFooter67 called 1 times. Type: DEFAULT. Build precedence: 4.
[ { "docid": "9e66b9e87197342674a7f2861251b57a", "score": "0.8100865", "text": "private org.gwtbootstrap3.client.ui.PanelFooter get_f_PanelFooter67() {\n return build_f_PanelFooter67();\n }", "title": "" } ]
[ { "docid": "ab59deb66e5e332810166eaac38e6782", "score": "0.7951094", "text": "private org.gwtbootstrap3.client.ui.PanelFooter get_f_PanelFooter117() {\n return build_f_PanelFooter117();\n }", "title": "" }, { "docid": "2d5c7faaa23c3f5e4e6e652c511aad4c", "score": "0.78900164", ...
96cda68fe096d6093dfd24ce1ce46a92
Calculate the square root of each element of an IArray. Create a new object with the result of the calculation.
[ { "docid": "0738e509d1b53286cdf98a59698eda2e", "score": "0.6280121", "text": "public static EData<IArray> sqrt(final IArray arrA, final IArray varA)\r\n\t\t throws ShapeNotMatchException {\r\n IArrayMath arrMath = arrA.getArrayMath();\r\n\t IArray arrAInverse = null;\r\n\t if (va...
[ { "docid": "ba4c0281e5703010caf0a87e87d06880", "score": "0.63359225", "text": "public static EData<IArray> toSqrt(final IArray array, \r\n\t\t final IArray variance)\r\n\t\t throws ShapeNotMatchException {\r\n IArrayMath arrMath = array.getArrayMath();\r\n\t IArray result = arrMa...
909ece201eb4b76c56def044e3259f99
Test case number: 85 /Coverage entropy=0.0
[ { "docid": "ee0762e5703e11121f8277957afa8bb4", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test85() throws Throwable {\n String string0 = DBUtil.getLastStatement();\n assertNull(string0);\n }", "title": "" } ]
[ { "docid": "dc15779935f314df980416dd90d2558f", "score": "0.6815622", "text": "@Test(timeout = 4000)\n public void test52() throws Throwable {\n Discretize discretize0 = new Discretize();\n Attribute attribute0 = new Attribute(\"rRZ@\\\"zX$H&iQKV\");\n ArrayList<Attribute> arrayList0 = ...
32d3c9ef5f3976cb3878649b2afd374a
Allow to redo a action
[ { "docid": "d0068b1cb9039f9789c6a735bd6439ea", "score": "0.7380611", "text": "public void redo() {\n _undoManager.redo();\n }", "title": "" } ]
[ { "docid": "8b63c967b80bb58d67ff8af8d8e271a0", "score": "0.8096321", "text": "public abstract void redo();", "title": "" }, { "docid": "ef66074bc4466e7d425ad187f2a54760", "score": "0.8013888", "text": "void redo();", "title": "" }, { "docid": "fa9c9f101b17c148bf2046a2ed2c...
18328851a389cb7ba27caffbc45190ff
The Resources already includes the theme provided with the request, so we don't need to provide the theme separately.
[ { "docid": "090cebe77305e2cee022b3c9b898d208", "score": "0.4611392", "text": "@Override\n public Drawable open(@Nullable Theme theme, Resources resources, int resourceId) {\n return DrawableDecoderCompat.getDrawable(context, resourceId, theme);\n }", "title": "" } ]
[ { "docid": "7cee3abdda0afab9caf70c5ef2b8004e", "score": "0.6310464", "text": "public Response(Theme theme){\r\n this.theme = theme;\r\n }", "title": "" }, { "docid": "d7be230e13e1459a192ee307de2eb539", "score": "0.62730074", "text": "public ThemeController() {\n\t\tparseJso...
daf207b104bec8e62d02df9b90609ecc
Constructor assigning the subject name and date of birth of the subject.
[ { "docid": "22eee26dfde82eca84433df1ea3fb422", "score": "0.5902394", "text": "public DigitalCovidCertificate(final PersonName name, final LocalDate dateOfBirth) {\n this();\n this.setVer(DGCSchemaVersion.DGC_SCHEMA_VERSION);\n this.setNam(name);\n this.setDob(dateOfBirth);\n }", "title"...
[ { "docid": "e16b7b103a046820e6a87afe7f96e66d", "score": "0.69164896", "text": "public Person(String name, String email, Date birthDate) {\n this.name = name;\n this.email = email;\n this.birthDate = birthDate;\n }", "title": "" }, { "docid": "1da8d92e3fd585d45013e9754...
8a1a71d656dc812399662dab31b96bd7
Printing the values as a pair
[ { "docid": "037bd1c071932fd8073710fa06f8a35b", "score": "0.0", "text": "public String toString()\n {\n return \"(\"+getX()+\" ,\"+getY()+\")\";\n }", "title": "" } ]
[ { "docid": "18f0cc2f6566a4f53942fd943a0cec8a", "score": "0.714184", "text": "public void display() {\n int position = 0;\n\n while (position < pair.length) {\n if (pair[position] != null) {\n System.out.println(pair[position].key() + \" \" + pair[position].value()...
7ec306e3b6ceb990122b114a0e38c684
private method used by the class to check if an action is already performed by this user
[ { "docid": "2491e57dda806bfb2b3317633095620a", "score": "0.8098933", "text": "private boolean isActionAlreadyPerformed(Action action){\n for (UserAction userAction:performedActions) {\n if (userAction.getActionId().equals(action.getActionId())){\n return true;\n ...
[ { "docid": "92cc372666842426120b11d66e3c62ab", "score": "0.75392467", "text": "boolean hasAction();", "title": "" }, { "docid": "92cc372666842426120b11d66e3c62ab", "score": "0.75392467", "text": "boolean hasAction();", "title": "" }, { "docid": "92cc372666842426120b11d66e...
b1d6cfeb2d2f6bd1389b1bef914b8b52
Having computed a MetricBuilder, this method fills in a ModelMetrics
[ { "docid": "6ab89b5454fa640447af0086f3390e74", "score": "0.5280744", "text": "public ModelMetrics makeModelMetrics( Model m, Frame f, double sigma) { \n AUCData aucdata;\n ConfusionMatrix cm;\n if( _cms.length > 1 ) {\n ConfusionMatrix[] cms = new ConfusionMatrix[_cms.length];\n ...
[ { "docid": "76f181060a8e7adb025aebc56518cfa5", "score": "0.65723187", "text": "MetricInner innerModel();", "title": "" }, { "docid": "c60e208163ccc98c58ed4984b56de144", "score": "0.6397526", "text": "public Builder clearMetrics() {\n copyOnWrite();\n instance.clearMetri...
30ffc4321dd6ad0d6538ed2cb8b5027f
Generates a WSDL document for a given Class. The WSDL generated is controlled by the mode parameter mode 0: All mode 1: Interface mode 2: Implementation
[ { "docid": "b562c831f35ac8e0996388084f2bead8", "score": "0.6999024", "text": "public Document emit(int mode)\n throws IOException, WSDLException, SAXException,\n ParserConfigurationException {\n\n Document doc;\n Definition def;\n\n switch (mode) {\n\n ...
[ { "docid": "cec2076d5c75686f5ce4fb95cc1a288d", "score": "0.5764512", "text": "public void emit(String filename, int mode)\n throws IOException, WSDLException, SAXException,\n ParserConfigurationException {\n\n Document doc = emit(mode);\n\n // Supply a reasonable file...
b48440056f2e860d47603122aa99bce4
This method calculates the score for team 1 for a match in which Team 2 wins
[ { "docid": "588e9cff8c2c205edc9648bd64d748c8", "score": "0.636008", "text": "public static void Team2WintLoserScore(int[] allresults, CurrentXIRating t1rating, CurrentXIRating t2rating) {\n\t\t/* The calculation of the scores follows a basic pattern\n\t\t * First the difference of loser.finishing and wi...
[ { "docid": "1789d30dda477f334191177a76d7af2b", "score": "0.7610362", "text": "private int CalculateScore() {\n int gameWinner = 0;\n\n HashMap<Integer, Integer> gameBoard = kalahBoard.GetBoard();\n\n int playerOneScore = gameBoard.get(8);\n int playerTwoScore = gameBoard.get(1);\n\n if (p...
1b00374a4b5f8fdacb69d46dcb02b76d
This is the main method of the class which runs all the simulation code.
[ { "docid": "615ce91ac2bff4e00ef0f0c8be36800f", "score": "0.0", "text": "public static void main(String[] args) {\n\t\t\t\n\t\t//Generate the random numbers and put each into an index in the array\n\t\tfor (int i = 0; i < rando.length; i++){\n\t\t\trando[i] = new Random().nextInt();\n\t\t}\n\n\t\t//Gener...
[ { "docid": "45128122b2a2530305a883a0a8f8406d", "score": "0.82224864", "text": "public static void main(String[] args)\n { \n Utility.startSimulation();\n }", "title": "" }, { "docid": "16654181a01b53f4e0aa1ef7f6498a26", "score": "0.81675136", "text": "public static...
aa958c2c68e34caf95dc0056583bd068
Level1: ++++++ | W | W | W | W | W | ++++++ | W | . | . | . | W | ++++++ | W | . | . | I | W | ++++++ | W | . | . | . | W | ++++++ | W | W | W | W | W | ++++++ Level2: ++++++ | W | W | W | W | W | ++++++ | W | . | . | . | W | ++++++ | W | . | . | . | W | ++++++ | W | . | . | . | W | ++++++ | W | W | W | W | W | ++++++
[ { "docid": "f5304320e85ff92b79cfdcff8bfccf88", "score": "0.5848674", "text": "public void testCreaturesOfSizeTwoFallingThroughPitWhenOpened() {\n\t\t// | W | W | W | W | W |\n\t\t// +---+---+---+---+---+\n\t\t// | W | . | . | . | W |\n\t\t// +---+---+---+---+---+\n\t\t// | W | . | . | I | W |\n\t\t// +-...
[ { "docid": "966fc9db4b70d28885ee6651f3c314fb", "score": "0.639558", "text": "public void traverseLevelOrder();", "title": "" }, { "docid": "32c2891f9dcc0131ad88b5e5ea0a2b3e", "score": "0.6376819", "text": "public void levelUp(){ //level up\n _level++;\n}", "title": "" },...
68b257f2f2e51f8979ad554de3922908
Returns a new object of class 'Medicinal Product Ingredient Strength'.
[ { "docid": "f2d27061cabd7aa7aa62a2cc2a4a1785", "score": "0.8473028", "text": "MedicinalProductIngredientStrength createMedicinalProductIngredientStrength();", "title": "" } ]
[ { "docid": "4b6d5582746887d22df270b47e2cf938", "score": "0.7298004", "text": "MedicinalProductIngredientReferenceStrength createMedicinalProductIngredientReferenceStrength();", "title": "" }, { "docid": "a9fbbd479f606e29b118b2ea6cc43a94", "score": "0.6761723", "text": "MedicinalProdu...
76b0ffa2836f5c2e89cafae17564c3a1
Get default capabilities for a read/write server
[ { "docid": "bd7d6297c522e9f165a87e3200a14ae8", "score": "0.5981109", "text": "public static Capabilities getDefault() {\n Capabilities d = new Capabilities();\n d.imageryBlacklist.addAll(defaultBlacklist());\n // this is wishful thinking\n // TODO add unknown status\n ...
[ { "docid": "f9670fe4f49a4e95b488e0e155faa6fe", "score": "0.6902644", "text": "public int getServerCapabilities()\n {\n return Capability.Unicode + Capability.RemoteAPIs + Capability.NTSMBs + Capability.NTFind +\n Capability.NTStatus + Capability.LargeFiles + Capability.LargeRead ...
35aebca2728f9b39c74723ddb0b78ed3
/push element x into the stack
[ { "docid": "b54ca7c748fed2696d7504071714be6a", "score": "0.7516386", "text": "void push1(int x)\n {\n // Your code here\n ts.add(x);\n s.push(x);\n }", "title": "" } ]
[ { "docid": "1b83943b6081c0857cdb5dd49c578c19", "score": "0.8369357", "text": "public void push(int x) {\n inStack.push(x);\n }", "title": "" }, { "docid": "7d38c240292f46b48fb29f5a88f79fac", "score": "0.83569217", "text": "public void push(int x) {\n s.push(x);\n ...
0b6e8a4f8b46efa721136746e1bc7802
Initializes the intake, which includes the ball motor and the hatch solenoid.
[ { "docid": "1d2963f18142073fa7b159920b5bdbb2", "score": "0.6633273", "text": "public Intake(TalonSRX ballIntake, boolean invertBallIntake, Solenoid hatchIntake) {\r\n\r\n // Store the ball and hatch intake.\r\n this.ballIntake = ballIntake;\r\n this.hatchIntake = hatchIntake;\r\n\r\...
[ { "docid": "0c69b99a3b39b8003b5882ea9f25ccf7", "score": "0.7676141", "text": "@Override\n protected void initialize() {\n intake = Robot.intake;\n currentBallState = BallState.LATCHED;\n untilNextState = 0;\n xbox = Robot.oi.xbox;\n }", "title": "" }, { "doc...
f7aba4cc4510116b5750a51dd6e4ba21
Transform the received data from the robot into a CommandReception
[ { "docid": "e5cb2d87986cd2eebb77ebb3f7702653", "score": "0.5177402", "text": "public StatusMessage receiveData(String receivedData) {\r\n\t\tString[] parsedString = receivedData.split(\" \");\r\n\t\t// Single command like \"C\"\r\n\t\tif (parsedString.length == 1) {\r\n\t\t\treturn null;\r\n\t\t\t// Com...
[ { "docid": "bc7b888259b50f4d9ec3ec62cd3bc106", "score": "0.614247", "text": "@Override\n\t\tprotected synchronized void receiveCommand(C2CChannel channel, C2CCommand command) {\n\t\t\tLog.w(TAG, \"=========receive command===========\");\n\t\t\t\n\t\t\tif (channel instanceof ProtocolChannel)\n\t\t\t{\n\t...
1e56236e95ac07f76a6a1d4668acfd2b
Inserts the given Any object into this Any object's value field.
[ { "docid": "3dbf66e6e5eb2f72e2333e836c68cffe", "score": "0.69879466", "text": "abstract public void insert_any(Any a);", "title": "" } ]
[ { "docid": "e17ebad9b4212d3cc2f35f807b46f865", "score": "0.6310864", "text": "abstract public void insert_Value(java.io.Serializable v);", "title": "" }, { "docid": "2f8bc3cb0477019f85cd84f979522d92", "score": "0.60573846", "text": "abstract public void insert_Value(java.io.Serializa...
ccf9e8b0cd7b6447352cb0c5e009d3ed
int64 expireTime = 3;
[ { "docid": "ae0adcc3d848cae2dda9a34dde8d9337", "score": "0.7551167", "text": "private void setExpireTime(long value) {\n \n expireTime_ = value;\n }", "title": "" } ]
[ { "docid": "0f4482b7e995a995713294e8bd2474dc", "score": "0.8059519", "text": "long getExpireIn();", "title": "" }, { "docid": "765b3320f394a8563c2ad1d625fa7a68", "score": "0.8005638", "text": "long getExpireTime();", "title": "" }, { "docid": "987dedaae02371428dda79f6ff70...
c0bd3ab91d8fd3e2b662d178bfd736ec
Indica si existe algun trabajo con el nombre ingresado
[ { "docid": "a190bdbf04c97f027bf41c6959e0f11e", "score": "0.75009996", "text": "private boolean nombreExists(String nombre) {\n for(Trabajo trabajo : data)\n if(trabajo.getCliente().equalsIgnoreCase(nombre))\n return true;\n return false;\n }", "title": "" ...
[ { "docid": "7fb586186151ebe5356e4b4406423034", "score": "0.7107829", "text": "public boolean comprobarRegistro(String nombreObjeto){\n\n boolean registroExistente = false;\n\n SQLiteDatabase db = this.getWritableDatabase();\n //Recorremos la BD...\n //Selecciona las ids de la...
2fd7696f544265a0b1109b2fc62f96a8
Spring Data SQL repository for the CommunityMembers entity.
[ { "docid": "010cd5ae3570ea892e8268ae2a009c9d", "score": "0.7411999", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface CommunityMembersRepository extends JpaRepository<CommunityMembers, Long> {}", "title": "" } ]
[ { "docid": "46ef547750a0d2f59f1aec0d2e187ea9", "score": "0.6339368", "text": "public interface MemberRepository extends JpaRepository<Member, Long> {\n}", "title": "" }, { "docid": "46ef547750a0d2f59f1aec0d2e187ea9", "score": "0.6339368", "text": "public interface MemberRepository ex...
ac28f3da72336d86bc73b8d38f9d01ba
static method to create the object Precondition: If this object is an element, the current or next start element starts this object and any intervening reader events are ignorable If this object is not an element, it is a complex type and the reader is at the event just after the outer start element Postcondition: If t...
[ { "docid": "3ad1d38fe9e2878586c51696a4235155", "score": "0.0", "text": "public static AllocateOpenstackFloatingIpResp parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n AllocateOpenstackFloatingIpResp object =\n new AllocateOpenstackFloatingIpResp();\n...
[ { "docid": "c7538832dbcf8b4c5f4d9ef37b1f2384", "score": "0.57287765", "text": "public static CreatePartie parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n CreatePartie object =\n new CreatePartie();\n\n int event;\n java.lang.St...
5cb2c15e1bd972445d3104d8b726a9e8
Does a search for datasets containing characteristics matching the given string. If filterArg, offset, limit or sortArg parameters are provided.
[ { "docid": "1b91dd45f11f939cae3094da53a0dfba", "score": "0.488209", "text": "@GET\n @Path(\"/search/datasets\")\n @Produces(MediaType.APPLICATION_JSON)\n @Operation(summary = \"Retrieve datasets associated to an annotation tags search\",\n description = \"This is deprecated in favour...
[ { "docid": "0ecf985dbc2dd0acdf20ff0a965d10fa", "score": "0.5315377", "text": "IToken search(Map<String,Object> filter, DoneSearch done);", "title": "" }, { "docid": "2984b0f8274f576d33564b78b239d439", "score": "0.52909166", "text": "public List<Customer> customerLoadFiltered(String s...
64eaef86da0ccc1a7cbbc8a023ce6012
Return the version number of the Encrypted Session Key Packet.
[ { "docid": "ce963420565a9c0dba4dfe6397f7f77c", "score": "0.0", "text": "public int getVersion()\n {\n throw new UnsupportedOperationException(\"not supported - override required\");\n }", "title": "" } ]
[ { "docid": "48ea37a1b18ea78851f86bb0f77b847f", "score": "0.73255324", "text": "public int keyVersion() {\n return keyVersion;\n }", "title": "" }, { "docid": "03870dadb7c72f4abee12b996d1ebeba", "score": "0.72708833", "text": "public String keyVersion() {\n re...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "07a887b9b30fc627a04bd717c3cf1875", "score": "0.0", "text": "@Override\n public void onConnectionFailed(ConnectionResult result) {\n if (!mIntentInProgress) {\n if (mSignInClicked && result.hasResolution()) {\n // The user has already clicked 'sign-in' so w...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
3ac0ad232d6eba017600c5568147690d
show the Play list Restricted
[ { "docid": "0be617ef8362eee9a054f25196eee084", "score": "0.5907142", "text": "@Override\n\tpublic String showPlaylist() {\n\t\tString contents = \"\";\n\t\tcontents +=\"************* Playlist **************\\n\";\n\t\tcontents +=\"** Title: \"+getNamep()+\" ***\\n\";\n\t\tcontents +=\"** Duration: \"...
[ { "docid": "e90cd72aa9586068b736bb387ec4b175", "score": "0.6541667", "text": "public String showPlaylists(){\n\t\tString playlistx=\"\";\n\t\tboolean control=false;\n\t\tfor(int i=0; i<playlists.length && !control; i++){\n\t\t\tif(playlists[i]!=null){\n\t\t\t\tplaylistx+=playlists[i].toString();\n\t\t\t...
fe4cd349c7d0bb6cd345316ff1f5c9a7
Mouse Hovers to an element
[ { "docid": "175002ef1e92ef2d8bb60eea97af0dfe", "score": "0.62905574", "text": "public static void mouseHover(String locator, String info) {\n WebElement element = getElement(locator, info);\n Actions action = new Actions(driver);\n action.moveToElement(element).perform();\n T...
[ { "docid": "5cbb75c5dd983321c7ff23723a4b0f3f", "score": "0.7804594", "text": "public void mouseHover(WebElement element) {\n Actions actions = new Actions(driver);\n actions.moveToElement(element).build().perform();\n }", "title": "" }, { "docid": "043f5518736c62975409c13c34...
abb33f85d76f7e8736e63ece06e7d531
databinding method to get an XML representation of this object
[ { "docid": "29ea1e7525043174e58fad9e5e92625b", "score": "0.0", "text": "public javax.xml.stream.XMLStreamReader getPullParser(javax.xml.namespace.QName qName)\n throws org.apache.axis2.databinding.ADBException{\n\n\n \n java.util.ArrayList elementList = new java...
[ { "docid": "e8e01405cbdc7e8bfc26bf89b5568b29", "score": "0.6841688", "text": "@Override\n\tpublic Object toXML() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b0e9b592ad8b2feda2c57830abb8794d", "score": "0.6683369", "text": "@Override\r\n\t\t\tpublic String toXml() {\n\t\t\t\...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "d1e03f8f71f4cbfabc06d9257df4f61d", "score": "0.0", "text": "static int m60359a(BufferedSource bufferedSource) throws IOException {\n return (bufferedSource.readByte() & 255) | (((bufferedSource.readByte() & 255) << 16) | ((bufferedSource.readByte() & 255) << 8));\n }", "title":...
[ { "docid": "fc84bfffbb135cb8d4b6f8f6e4fc5d30", "score": "0.62497115", "text": "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "title": "" }, { "docid": "01ed565ecd5da249ab9411db2a325750", "score": "0.6242887", "text": "public interface C14...
d612d4015f59c274cd67f9e03a50d0f2
Sets the upper bound of the cut to the specified value.
[ { "docid": "b037ad584730e59632f3dafbabc97d9b", "score": "0.8267478", "text": "void setUpperBound(double value) {\r\n setValue(UPPER_BOUND, value);\r\n }", "title": "" } ]
[ { "docid": "462b85a284fa9ab6eb83c68df15c29a9", "score": "0.7975365", "text": "public void setUpperBound(int bound) {\n\t\tbound -= deviation;\n\t\t\n\t\tsetUpperScrollyValue(bound);\n\t\tupperBound = bound;\n\t\tfireUpperBoundChanged();\n\t}", "title": "" }, { "docid": "3db8fcb1f0fdd4dd22ac1...
ad893a9c5b715624ee3c4c61808a8809
Returns a new edge with the same target whose mask is OR'ed with the given value.
[ { "docid": "4d25581f407bf64279a6d9cace4c1eb9", "score": "0.49003202", "text": "Edge merge(int m) {\n return new Edge(mask | m, target);\n }", "title": "" } ]
[ { "docid": "37104738842f519956b2a59695f3b0cf", "score": "0.5982869", "text": "public UInt256 or(UInt256 value) {\n int[] result = new int[INTS_SIZE];\n for (int i = INTS_SIZE - 1; i >= 0; --i) {\n result[i] = this.ints[i] | value.ints[i];\n }\n return new UInt256(result);\n }", "ti...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "86bc7f77389161b948d9f9483137d00b", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n java.awt.GridBagConstraints gridBagConstraints;\n\n ...
[ { "docid": "0683d7c04886f33eb3de4cd0ed5cbadc", "score": "0.7453975", "text": "public Herrendjimi1() {\n initComponents();\n }", "title": "" }, { "docid": "a265c28895719fa5abe69bc5acb37bbf", "score": "0.73015314", "text": "public FormLat3() {\n initComponents();\n ...
015c8bff8f927d1dfb122e4c5a5844ad
/ 43: / 44:
[ { "docid": "3dc40644d32ecdbbd79b7176807b39ab", "score": "0.0", "text": "protected void func_149855_e(World p_149855_1_, int p_149855_2_, int p_149855_3_, int p_149855_4_)\r\n/* 45: */ {\r\n/* 46: 43 */ if ((!canBlockStay(p_149855_1_, p_149855_2_, p_149855_3_, p_149855_4_)) && (!isEndStone(p_1...
[ { "docid": "cfc398b9826cdea834029218aba8ca37", "score": "0.6072999", "text": "public int d()\r\n/* 59: */ {\r\n/* 60: 51 */ return 6;\r\n/* 61: */ }", "title": "" }, { "docid": "3607b85144070afccd11c67c74eff212", "score": "0.6028883", "text": "public int getH()\r\n/*...
e2ae39c373baddbbb01d0b76de6997f6
validaFecha_Mes() => valida el mes
[ { "docid": "085dc32bc7fd6f3dbdd52a1e3eba8115", "score": "0.7868458", "text": "private static boolean validaFecha_Mes(String mes){\n int numMes;\n try{\n numMes = Integer.parseInt(mes);\n }catch (Exception e){\n return false;\n }\n return numMes >...
[ { "docid": "f8a8156ee58bc56b4bc578024fd2bc22", "score": "0.6956706", "text": "private boolean comprobarFecha() {\n boolean s = false;\n if (comprobarNumero(tf_FechaA1.getText(), 4) || comprobarNumero(tf_FechaM.getText(), 2) || comprobarNumero(tf_FechaD.getText(), 2)) {\n if (Int...
feb81102947c607c0a69e27117cdf7eb
getter method for if card is active
[ { "docid": "53f969fde3e78da8b8994a64e0d2fdca", "score": "0.6657672", "text": "public boolean getIsActive()\n {\n return isActive;\n }", "title": "" } ]
[ { "docid": "f8c280941fc40c9990ef02396ec28763", "score": "0.7354938", "text": "public Boolean getAgencyCard() {\n return isAgencyCard;\n }", "title": "" }, { "docid": "af0b4a208f896a4617f40e8984cbd77b", "score": "0.6953103", "text": "boolean getActive();", "title": "" }, {...
93a1159f1fd5f2b3372c3452106281a6
This method has to be called inside SWT UI thread.
[ { "docid": "6dabbe4926a65dd3a78f015c825c3ba6", "score": "0.0", "text": "boolean isEmbeddedBrowserAvailable() {\n assert Display.getCurrent() != null;\n\n return isEmbeddedBrowserAvaialble;\n }", "title": "" } ]
[ { "docid": "53215eecf203c38e3bf4ce5b2ce69867", "score": "0.6353149", "text": "@Override\n // Invoked on UI thread for interface prep\n protected void onPreExecute() {\n }", "title": "" }, { "docid": "43b3999b0d70375faef02c4e74099a71", "score": "0.63484156", "text": "@Overrid...
1ff3b447c157d969968a30986ea466e5
static methods only no need to construct this object
[ { "docid": "2a33ac3caea7e69a83639c9b2ac889d3", "score": "0.0", "text": "private DsSipInvalidReasons() {}", "title": "" } ]
[ { "docid": "2ad52390d92954e1d6f2925b4b14bfd4", "score": "0.760204", "text": "private Helpers() {}", "title": "" }, { "docid": "6bbc7abb32892722b68179a2ccfb8089", "score": "0.7485829", "text": "private Util(){}", "title": "" }, { "docid": "3615e94c0b30e4f0f22b414fc0a41360"...
d684ca65cee6dc867f2f0be64927eb06
TODO: extract zoom id Format example: "Meeting ID: 993 3471 4883" We can split this formattedString by " "(space), then get last 3 text
[ { "docid": "f146a1dccdaa8796dff2eae164987f30", "score": "0.606754", "text": "private String extractMeetingId(HtmlElement meetingIdDiv) {\n\t\tString[] rawTexts = meetingIdDiv.getTextContent().split(\" \");\n\t\tint len = rawTexts.length;\n\t\tString result = rawTexts[len-3] + rawTexts[len-2] + rawTexts[...
[ { "docid": "191171d5546283d29f5e7752644d9340", "score": "0.5799148", "text": "String getFormattedString();", "title": "" }, { "docid": "4f5edb160c211671c34e687fbc0529b2", "score": "0.5251206", "text": "private static String m1807X(String str) {\n if (TextUtils.isEmpty(str)) {\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5ca665d37cc7c1b73ae20ca7b79ebecb", "score": "0.0", "text": "public Double getLogLikelihood() {\n\t\treturn 0.0;\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, ...
564e02d7c3d04bdcc28269d20edb9d5b
int64 session_length = 8;
[ { "docid": "b58423d787de5b656c0f6d5f12996d5e", "score": "0.7360304", "text": "@java.lang.Override\n public long getSessionLength() {\n return sessionLength_;\n }", "title": "" } ]
[ { "docid": "2c53c71621da11d485c77f95291d8e9c", "score": "0.75036013", "text": "@java.lang.Override\n public long getSessionLength() {\n return sessionLength_;\n }", "title": "" }, { "docid": "dcbd15829fec44eb1e1037075899e1f0", "score": "0.6722747", "text": "@java.lang.Override\n...
4f05cc918f5945ec1bb842abeec0dc59
terminal STRING: '"' ('\\' . | !('\\' | '"')) '"'? | "'" ('\\' . | !('\\' | "'")) "'"?;
[ { "docid": "c0c1ef6e999b916a5368682c8b1cf82d", "score": "0.0", "text": "public TerminalRule getSTRINGRule() {\n\t\treturn gaXtype.getSTRINGRule();\n\t}", "title": "" } ]
[ { "docid": "5d7bb7102edf33e54a7d09d996d201e6", "score": "0.6986573", "text": "Rule DoubleQuotedLiteral() {\n return Sequence(\n \"\\\"\",\n ZeroOrMore(NoneOf(\"\\\"\")),\n \"\\\"\");\n }", "title": "" }, { "docid": "bbab183893e94966be700...
a9c0b836af56caf264a836b472c829cb
Sets the value of the sendISOCurrency property.
[ { "docid": "90b12f2683d5ae5b2a981cbf9eda3ed3", "score": "0.88752717", "text": "public void setSendISOCurrency(final String value) {\n this.sendISOCurrency = value;\n }", "title": "" } ]
[ { "docid": "6e59a9fb3bf170c5dc9f5a2a60ef1008", "score": "0.7776455", "text": "public void setReceiveISOCurrency(final String value) {\n this.receiveISOCurrency = value;\n }", "title": "" }, { "docid": "ffe6b2a50a4e6bdfac896535b0243879", "score": "0.77398926", "text": "public Stri...
fb4bd8db41c61aff7b6bdcb224b1a19e
/ Save the given story model. Make sure you've set the ID in the story model.
[ { "docid": "85558f546b3d35fc5403b4156467c577", "score": "0.5417747", "text": "public static void savePost(PostModel postModel){\n try {\n File file = new File(getFilePath(postModel.getPostId()));\n file.createNewFile();\n FileOutputStream fos;\n fos = n...
[ { "docid": "c80b2614e1cfab7746f8d3bf5a5dd3e3", "score": "0.6862064", "text": "public void saveStory(String id, String title, String story) {\n Tracer.debug(TAG, \"saveStory()\");\n FirebaseDatabase database = FirebaseDatabase.getInstance();\n DatabaseReference databaseReference = da...
91fc207ba565637feff067d0889ddcd9
places the player at the center of the screen, sets his sprite, and creates the combo counter object
[ { "docid": "1da840c68f6e21ca775bbf83b0fe4e29", "score": "0.7379152", "text": "public void create() {\n\t\tme = this;\n\t\txsize = 32;\n\t\tysize = 32;\n\t\ty = main.yDimension / 2;\n\t\tx = main.xDimension / 2;\n\n\t\tFile rootName = new File(\"./sprites/Player.png\");\n\t\ttry {\n\t\t\tsprite = ImageIO...
[ { "docid": "a8eda2eba1c3fbe849e4168dc09dcf6d", "score": "0.6358563", "text": "private void createPlayer() {\n Player slachtoffer = new Player(this, this);\n int xPlayer = 0;\n float yPlayer = 450.0F;\n this.addGameObject(slachtoffer, xPlayer, yPlayer);\n }", "title": "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1ee0bc1a96682c18f9e636ccae68f7bb", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tnew NotasClase_31().leeNotas();\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
22c7da9d4043db967c280de14e139524
Required by ActionListener. EFFECTS: Perform the ActionEvent e of ChangeListener. Catch CustomerNotFoundException exception if the customer is not found in the current reservation list.
[ { "docid": "4efd8b002ec4d26ecc4729940948d143", "score": "0.5892147", "text": "public void actionPerformed(ActionEvent e) {\n String enteredName = uiTopPane.nameInput.getText().toLowerCase(); // read the entered name\n String enteredNumber = uiTopPane.phoneInput.getText().toLowerCase();// r...
[ { "docid": "f287d2a471a1cde645510bcbc46b3901", "score": "0.63789856", "text": "@FXML\n private void handleEditCustomer() {\n Customer selectedCustomer = customerTable.getSelectionModel().getSelectedItem();\n\n\n if (selectedCustomer != null) {\n boolean okClicked = main.showC...
4734467983bf486880fe53aa37fbb97e
/ This is a gross hack
[ { "docid": "1eb062a2516d83be708692034f726336", "score": "0.0", "text": "public static void checkAsserts() { }", "title": "" } ]
[ { "docid": "f6f56f418bd606790da6d3f972d1bd39", "score": "0.64781564", "text": "protected abstract void mo3576c();", "title": "" }, { "docid": "a3cf9341a771d9c2e7aee00be27004ca", "score": "0.63677126", "text": "protected boolean func_70692_ba() { return false; }", "title": "" },...
ce8cb55f8805c297ad6e2a769f4454d6
optional string analyticsCookie = 8;
[ { "docid": "215bdafda0f524a624f4dd7fb8c157e0", "score": "0.70687836", "text": "boolean hasAnalyticsCookie();", "title": "" } ]
[ { "docid": "8043ee8404b32c78686741a56adf1112", "score": "0.6178544", "text": "String getCookie();", "title": "" }, { "docid": "92996a139c54028f7dc3ee19347067d5", "score": "0.61074996", "text": "public String getCookie();", "title": "" }, { "docid": "07e2622f208b5d3570b5cd...
9157292497c4f2fcce4231abee19a5eb
This method notifies user about their registration and sends confirmation link for registration
[ { "docid": "21bd45c9c9d244a3f25ca49af6deecd8", "score": "0.0", "text": "@Asynchronous\n public void sendRegistrationEmail(String email, String userCode) {\n Map<String, Object> data = new HashMap<String, Object>();\n data.put(SITE_ADDRESS_TEMP_PROP_NAME, WEBSITE_FULL);\n data.put...
[ { "docid": "5aab857dd69a8ee33be38fd9b62663e9", "score": "0.7426658", "text": "private void confirmSignUp(OnSignUpCompleteEvent event) {\n\n User user = event.getUser();\n String token = UUID.randomUUID().toString();\n service.createVerificationToken(user, token);\n // Send th...
d79d822ab157fa2094e003a80ae30afb
This component persists employment information in the database.
[ { "docid": "e209722b29f03f3fc11b4ec7529d5a66", "score": "0.0", "text": "@Component\npublic interface EmploymentRepository extends JpaRepository<EmploymentInformation, String>{\n\n\tEmploymentInformation findEmploymentInfoByLoanId(String loanId);\n\n\n}", "title": "" } ]
[ { "docid": "7808e2f41a9601d3af1c0c1580ff1106", "score": "0.63558745", "text": "public void persist(Timesheet timesheet) {\n em.persist(timesheet);\n }", "title": "" }, { "docid": "54496d9b8c00998af84e32454a24df8c", "score": "0.63333553", "text": "@Override\n\tpublic void save...