query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
31e5582e1384eaad5b446d5a4fac0710
Support Generalike Mouse Documentation Line at the bottom of the window. The application sends these messages to its Mouse Documentation Line, and descendents pass messages up. The messages can be either something that implements MouseDoc and can describe themselves, or a String to display.
[ { "docid": "3ae3b6ed89c4dd0140b473387268e93e", "score": "0.5456686", "text": "public interface MouseDoc {\r\n\r\n\t/**\r\n\t * @param doc\r\n\t * the String to display, or null to hide display.\r\n\t */\r\n\tpublic void setMouseDoc(@Nullable String doc);\r\n\r\n\t// public @Nullable String ge...
[ { "docid": "5a9ec5ca11d748c78baca663b6be187b", "score": "0.5456173", "text": "public interface Window6 {\n\n int PROPERTY_Y_COORD = 0;\n int PROPERTY_X_COORD = 1;\n int PROPERTY_Y_SIZE = 2;\n int PROPERTY_X_SIZE = 3;\n int PROPERTY_Y_CURSOR = 4;\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "db13f7411e3a4feba03e3d0e31a86195", "score": "0.0", "text": "@Override\n\t\t\tprotected void paintComponent(Graphics g) {\n\t\t\t\tsuper.paintComponent(g);\n\t\t\t\tGraphics2D g2 = (Graphics2D)g;\n\t\t\t\tEllipse2D.Double stone = new Ellipse2D.Double(0, 0, 25, 25);\n\t\t\t\tg2.setColor(Color....
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
c45f7b99bea682c74b95fd89abe1508e
Interface for LRU (least recently used) cache. Implementation should keep in memory only as many elements in the cache as set by setCapacity().
[ { "docid": "efbe0ac7614aef1eb017ae04f5d666ce", "score": "0.8444273", "text": "public interface LRUCache<K, V> {\n\n /**\n * Put an item into the cache\n * @param key\n * @param value\n */\n public void putItem(K key, V value);\n\n /**\n * Get an item from the cache.\n * ...
[ { "docid": "2f7853b1e63a3f3026546491e5a28ca4", "score": "0.7787575", "text": "public LRUCache(int capacity){\n\t\telements = new ArrayList<>(capacity);\n\t\ttime = 0;\n\t\tthis.capacity = capacity;\n\t}", "title": "" }, { "docid": "1f6cab4ad60ca764cedf37a12498a39c", "score": "0.7725286",...
db450f6dc019e7b9251a57f3ac2c2ca0
Move the computer paddle to hit the ball.
[ { "docid": "35a05e7e3f5984cca494b0fd7bdbf6bf", "score": "0.6557381", "text": "private void doAI() {\n if (mComputerPlayer.bounds.top > mBalls.get(0).cy) {\n // move up\n movePlayer(mComputerPlayer,\n mComputerPlayer.bounds.left,\n mCompu...
[ { "docid": "ba55d97e11987f977e589b3901d3fd2a", "score": "0.7854827", "text": "public void move() {\n int middlePoint = y + Paddle.getHEIGHT() / 2;\n int diff = Math.abs(middlePoint - ball.getY());\n if (ball.getY() > middlePoint\n && y < Field.getHEIGHT() - Paddle.get...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6f24decc742931a496ed2f94500ec09c", "score": "0.0", "text": "@Override\r\n\tpublic void setFriskhet(String friskhet) {\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
89b3f4e20f82a333620985dc1ca502b9
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
[ { "docid": "622f9710a86dbce94200377f9f60d97f", "score": "0.0", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getAvailabilityZone() != null)\n sb.append(\"AvailabilityZone: \").append(getAvailabilityZ...
[ { "docid": "1f8b7ea5ea65628bfae1af3a6d67d048", "score": "0.8175819", "text": "public String toString() {\n return new Gson().toJson(this);\n }", "title": "" }, { "docid": "30df1f35a4a4bafd5887fb4c76517a05", "score": "0.81109107", "text": "@Override\n\tpublic String toString...
e3588582d82a1f0a36dbba12175cec00
Returns a map containing the new or updated keyvalue pairs.
[ { "docid": "7ed32fb0de02c71939f1cff0bcf27047", "score": "0.0", "text": "public Map<String, String> getMetadata() {\n return metadata;\n }", "title": "" } ]
[ { "docid": "aa51b552b1205899b03bb2794b0206b1", "score": "0.62894994", "text": "public Map<K, V> toMutableMap() {\n final F<K, P2<K, Option<V>>> fakePair = k -> p(k, Option.none());\n\tfinal Comparator<K> comparator = tree.ord().contramap(fakePair).toComparator();\n\tfinal Map<K, V> m = new java.util....
6bf27d0eff1858c663755fd8069f65a3
Generates a readable name for this type.
[ { "docid": "6a897df67108218a7b77771f92cf34b7", "score": "0.6834613", "text": "public static String getName(TypeMirror type) {\n StringBuilder sb = new StringBuilder();\n buildTypeName(type, sb);\n return sb.toString();\n }", "title": "" } ]
[ { "docid": "dcf2c2cc843598940a930286c45ad895", "score": "0.73559284", "text": "NameType getName();", "title": "" }, { "docid": "2f0ccccbe76fb5782a03b89952a11806", "score": "0.73503786", "text": "@Override\n\tpublic String generateName(){return getName();}", "title": "" }, { ...
08339bf77aab0a8b7aaa280d1283302b
Scanner sc = new Scanner(System.in); System.out.println("Enter a string to be cleaned without white spaces...!"); String input = sc.nextLine();
[ { "docid": "66d7e73d51ac0aff57f99ba9ea2d52b0", "score": "0.7141933", "text": "public static void main(String[] args) \n {\n \n\t\tString input = \"I am Happy \";\n String WithoutSpaces = input.replaceAll(\"\\\\s+\", \"\");\n\t\t\n \n System.out.println(\"Input String : \"...
[ { "docid": "75f72022bb210e0f1e012309e65e6ed5", "score": "0.73133177", "text": "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String s = scan.next();\n scan.close();\n while(true){\n int len = s.length();\n s= s.repla...
355d7f5429546824fc6c7601a1544f01
Constructor for CustomerEvent class
[ { "docid": "d74be3365acb90e71affccd1f364c15a", "score": "0.86178523", "text": "public CustomerEvent(Customer customer){\n this.customer = customer;\n }", "title": "" } ]
[ { "docid": "ec14448a585f25082d77020a0987533f", "score": "0.69851667", "text": "public InCustomEvent(String toUserName, String fromUserName, Integer createTime, String msgType, String event)\n/* */ {\n/* 55 */ super(toUserName, fromUserName, createTime, msgType, event);\n/* */ }", "titl...
b128f1b06057d8863d066e5c9dc4aeaa
Starts a number picker dialog for Snooze
[ { "docid": "cb9eac9973355943e9da33f04551eda9", "score": "0.78244513", "text": "private void showSetSnoozeNumberPickerDialog() {\n TimePickerDialogWrapper.newSnoozeInstance(\n getActivity(),\n getPreferenceHandler()).show();\n }", "title": "" } ]
[ { "docid": "1b57714ba9058637111129ed6287ff7e", "score": "0.69821244", "text": "public void showNumberPicker(){\n NumberPickerDialog newFragment = new NumberPickerDialog();\n newFragment.setValueChangeListener(new NumberPicker.OnValueChangeListener(){\n @SuppressLint(\"SetTextI18...
109879e0bf2cdd5c1dc35c757553f0a4
Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu);
[ { "docid": "4501f203feacf995b97119ed2972b20f", "score": "0.0", "text": "@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n return true;\r\n }", "title": "" } ]
[ { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.8265516", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater mif= getMenuInflater();\n\t\tmif.inflate(R.menu.main_activity_action, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" ...
3c0282c07582f74c83a9ba6ca0815d14
tomo el conjunto de aristas del grafo original
[ { "docid": "e3aaea18e1687c43e8f65ba6bf8f3675", "score": "0.53041375", "text": "@Override\r\n\tpublic Grafo procesar(Grafo g, int n) {\n\t\t ArrayList<Arista> aristas = g.getAristas();\r\n\t\t// las ordeno segun su distancia, de menor a mayor\r\n\t\t Collections.sort(aristas, new ComparaArista());\r\n\r\...
[ { "docid": "48c663eae090dc57c2e8bfb793c42d5b", "score": "0.591262", "text": "@Override\n\tpublic Iterator<Arco<T>> obtenerArcos() {\n\t\tIterator<Vertice<T>> it = this.vertices.iterator();\n\t\tLinkedList<Arco<T>> l = new LinkedList<Arco<T>>();\n\t\twhile (it.hasNext()) {\n\t\t\tl.addAll(it.next().getAr...
0be7af1046bf731f6211ebe93de16351
Accuracy test for the method getReturnedFromRecordsDate(). The value should be properly retrieved.
[ { "docid": "8a63360d940a26ed0613e85e6041380e", "score": "0.768391", "text": "@Test\n public void test_getReturnedFromRecordsDate() {\n Date value = new Date();\n instance.setReturnedFromRecordsDate(value);\n\n assertSame(\"'getReturnedFromRecordsDate' should be correct.\",\n ...
[ { "docid": "20b824842d22b67ebbf964e7c09834cf", "score": "0.73369324", "text": "@Test\n public void test_setReturnedFromRecordsDate() {\n Date value = new Date();\n instance.setReturnedFromRecordsDate(value);\n\n assertSame(\"'setReturnedFromRecordsDate' should be correct.\",\n ...
20c2d0d86ef75a570a532f7551281c44
Converts a data source object id and a parent path into SQL data_source_obj_id = ? AND parent_path LIKE ?%
[ { "docid": "ab8d1a8091cc77091c9e12d7d06f00d7", "score": "0.7606119", "text": "private static String createParentPathCondition(long dataSourceObjectID, String parentPath) {\n return \"data_source_obj_id = \" + dataSourceObjectID + \" AND parent_path LIKE '\" + parentPath + \"%'\";\n }", "ti...
[ { "docid": "6b4d561f51f60d2cea75a1713aa94280", "score": "0.48847732", "text": "private Path<?> getColumnPath(String fieldName, String parentTables, Root<?> root) {\n logger.debug(\"getColumnPath: \" + fieldName);\n if (parentTables == null || parentTables.equals(\"\")) {\n retur...
cada315314a5eb13d595f65c8a4454f2
$ANTLR end STAR $ANTLR start MOD
[ { "docid": "c85696f3104ed86547e641b04f32d6e9", "score": "0.55090904", "text": "public final void mMOD() throws RecognitionException {\n try {\n int _type = MOD;\n // Hive.g:2391:5: ( '%' )\n // Hive.g:2391:7: '%'\n {\n match('%'); \n\n ...
[ { "docid": "046e3f29f1a548761f4375fe37425666", "score": "0.6211566", "text": "final public Modifier moddef() throws ParseException {\n int vis=2,grade=4,state=2,fin=0;\nToken type=new Token();\nString comment=\"\";\n switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {\n case PUBLIC:\n cas...
d56d40fb945ceea6e22311399f15b75e
determine the average for grade test
[ { "docid": "7c2fa6b682db61bd2cb889ff5307dda9", "score": "0.8229563", "text": "private double getAverage() {\r\n int total = 0;\r\n for (int grade : grades) {\r\n total += grade; //adds grades to total\r\n }\r\n //return average of the scores\r\n return (doub...
[ { "docid": "230a71718576fa8ad4ab03b75e9dace2", "score": "0.8038834", "text": "public double getGradeAverage(){\n double gradesTotal = 0;\n for (double grade:this.grades) gradesTotal += grade;\n return gradesTotal / this.grades.size();\n }", "title": "" }, { "docid": "...
bc9f318ba9017224002a9463b76643e1
Loops: let the computer do the work for you! DRY: Don't Repeat Yourself! Loops are also called iteration, verb: to iterate
[ { "docid": "2fe51ad274330169cad7cea3394897fd", "score": "0.60315096", "text": "public static void main(String[] args) {\n\t\tbasicForLoop();\n\n\t\tforEach();\n\t}", "title": "" } ]
[ { "docid": "db53726ca6f76e077ba8fe8d665965c4", "score": "0.669771", "text": "static public void loopExercises() {\n\t\thistogram(); // Ex10\n\t}", "title": "" }, { "docid": "d863059225c89bb87c8e62382db1c9d1", "score": "0.667181", "text": "private static void forLoop() {\n\n\t\tfor (i...
d54d87aeb573009d8f05254d9a63e6bd
Processes requests for both HTTP GET and POST methods.
[ { "docid": "b84e03779498ee0c7a2b1acbc1aef5d4", "score": "0.0", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n response.setContentType(\"text/html;charset=UTF-8\");\n String usernameFromS...
[ { "docid": "c109743f26648060497cd36c04521d11", "score": "0.7219472", "text": "private void processRequest(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n\n String method = request.getMethod();\n String pathInfo = request.getPa...
bf58e5b76f2564767134884d07cd5154
Gets the number of deployed armies.
[ { "docid": "cf5477604ef3afd80c2043153d1357dd", "score": "0.6702382", "text": "public int getArmies() {\n\t\treturn d_numArmies;\n\t}", "title": "" } ]
[ { "docid": "33a82703805538633bf0325b01938de0", "score": "0.7103075", "text": "public int getNoOfArmies() {\n\t\treturn no_of_armies;\n\t}", "title": "" }, { "docid": "d5e74e81e6ec2d13546a0cc13c537370", "score": "0.67606264", "text": "int getGameServerDeploymentsCount();", "title"...
bd2654fe87e38b241fe15b6a2bd6aa71
returns the number of creatures in this army object
[ { "docid": "317e35cf08ab273dcb06bb087b0eebd9", "score": "0.0", "text": "public int getSize()\r\n {\r\n return armySize;\r\n }", "title": "" } ]
[ { "docid": "74ecdc5f8b3cf186a4d45ad32dcce071", "score": "0.72239023", "text": "public int getNumberOfCrew();", "title": "" }, { "docid": "64afe26a914ddca6dd8e42d3dbbe5d5a", "score": "0.6800529", "text": "int getFairyAnimalCount();", "title": "" }, { "docid": "226eec242ae9...
cf8d223d7c98712c69525c585e2c35a2
/Se obtiene cotizador Credit Run con seguros en recompra
[ { "docid": "85816209c26dd78de2350983e111cd4f", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\r\n\t@RequestMapping(value = \"/obtenerCotizadorRun\" , method = RequestMethod.POST)\r\n\tpublic ResponseEntity<Object> obtenerCotizador(@RequestBody String requestCifrado, HttpServletRequest httpSer...
[ { "docid": "327201a85d8c0104ee491aa15f2706f8", "score": "0.66348493", "text": "private void lanzarVentanaCreditos() {\r\n Mensaje.mostrarCreditos(contenedorGlobal);\r\n }", "title": "" }, { "docid": "75f08772bc5c4acd624441c589fb1efe", "score": "0.6066299", "text": "public v...
4fbe922d72c591704ce665d987def415
This method was generated by MyBatis Generator. This method corresponds to the database table storageswwwrelas
[ { "docid": "7a9b732a216933553eb20b83baba634f", "score": "0.0", "text": "int updateByPrimaryKeySelective(StoragesWwwRelas record);", "title": "" } ]
[ { "docid": "e1cf12e1b04435132d3e6cfac6f85a41", "score": "0.59237134", "text": "List<BusinessObjectDataStorageUnitKey> getRelationalTableRegistrationsForSchemaUpdateImpl()\n {\n // Create a result list.\n List<BusinessObjectDataStorageUnitKey> storageUnitKeys = new ArrayList<>();\n\n ...
cc796b078710196f9beb6c7c4ea18940
Open a separate database connection and insert a test row
[ { "docid": "3bc03217288d75dbc1b16979d9ccd268", "score": "0.6312005", "text": "@Test\n public void queryFor() {\n Department newDepartment = DEPARTMENT1.newInstance();\n Jidbc.insert(DATA_SOURCE, newDepartment);\n\n // Re-open the database connection and check the inserted row\n ...
[ { "docid": "0bb676dd9326a8312a75d499b0a50005", "score": "0.69731563", "text": "@Test\n public void doInsertCilinder() {\n boolean rs = false;\n DatabaseConnection connection = new DatabaseConnection();\n boolean result = connection.openConnection();\n if (result) {\n ...
562355b1a9bcdfb438df2f2f6ca92f47
This method was generated by MyBatis Generator. This method sets the value of the database column regsat_user.user_sys
[ { "docid": "d15ec5e9f04bbdd706b6eb25340bfc79", "score": "0.7377357", "text": "public void setUserSys(Long userSys) {\n this.userSys = userSys;\n }", "title": "" } ]
[ { "docid": "8aa0a9bc46c52e3b06d6fab62be7fecf", "score": "0.7377014", "text": "public DbResult setSysuser(SysUser bean) throws Exception;", "title": "" }, { "docid": "45fa23525df45722171e7e0d19d6a01a", "score": "0.72899455", "text": "public void setSysUser(EntityImpl value) {\n ...
c4aac080fcd65a538f62b7b02d5a6a96
Initialize your data structure here.
[ { "docid": "fb99b32856706f92227428420b235ae5", "score": "0.0", "text": "public SnakeGame(int width, int height, int[][] food)\n {\n this.width = width;\n this.height = height;\n\n this.food = food;\n this.foodIdx = 0;\n\n map = new HashMap<>();\n // init\n ...
[ { "docid": "74bee6dce01aafdb044924e66085f7c7", "score": "0.79946685", "text": "private void initData() {\n }", "title": "" }, { "docid": "d8b5adb811bd3b28968f4445bbbb56ff", "score": "0.7973242", "text": "private void initData() {\n\t}", "title": "" }, { "docid": "d6785...
392a765e72897389cc3441cff1dba3ae
Sets the "fileType" element
[ { "docid": "7218307728be209f264b287caea24385", "score": "0.76203775", "text": "public void setFileType(edu.umich.icpsr.ddi.FileTypeType fileType)\n {\n synchronized (monitor())\n {\n check_orphaned();\n edu.umich.icpsr.ddi.FileTypeType target = null;\n t...
[ { "docid": "845a68000a72f17f6689fe8724d6e361", "score": "0.8103184", "text": "public void setFileType(FileType typ) {\n fileType = typ;\n }", "title": "" }, { "docid": "2529c603dd67471357ee4298a43d9983", "score": "0.804043", "text": "public void setFileType( org.ontoware.rd...
cb0a31a8c57fefde457cd4eb6e1fbdfe
Method definition for Option A
[ { "docid": "7a0782fa8a5af7832d7628d1d1c58b25", "score": "0.0", "text": "public static void optionA() throws IOException {\n//print statements representing menu and user choice of adding expense or deposit\n\t\tSystem.out.println(\"You chose to make a log. Please select one of the following option\");\n\...
[ { "docid": "a1e815ead3803989e9f1f60d17547db9", "score": "0.6935204", "text": "public void setoptionA(String A) {\n\tthis.optionA = A;\n}", "title": "" }, { "docid": "422865bfd3da69a4c5a9e39c6f434c2d", "score": "0.6198174", "text": "Option createOption();", "title": "" }, { ...
288a595fb9306570e8627e10db134bc2
If an error occurs, send the error message to STDOUT.
[ { "docid": "380fd9e38d4afe342107476284c67dd9", "score": "0.0", "text": "@FluentSetter\n\tpublic Assertion stdout() {\n\t\tthis.stdout = true;\n\t\treturn this;\n\t}", "title": "" } ]
[ { "docid": "45642342baeb91b79308bc00fce8536e", "score": "0.7567781", "text": "private void sendError(OutputStream output, String msg) {\r\n\t\t\tPrintStream out = new PrintStream(output);\r\n\t\t\tout.println(\"HTTP/1.0 500 Internal Server Error\");\r\n\t\t\tout.println(\"\");\r\n\t\t\tout.println(\"\" ...
bb0c609c499b96201b4ee5add22c4578
/ print to STDOUT
[ { "docid": "02ede8c92b9a50da6fedfa79a03604f3", "score": "0.0", "text": "public void selectTable(String[] columnName, DataType[] type) {\r\n\t\ttry {\r\n\t\t\tstat = con.createStatement();\r\n\t\t\trs = stat.executeQuery(selectSQL);\r\n\t\t\tfor(int i = 0; i < columnName.length; i++){\r\n\t\t\t\tSystem.o...
[ { "docid": "52f6851c0e13b117d6555c214345e018", "score": "0.7965498", "text": "public void print() throws IOException {\n\tprint(System.out);\n }", "title": "" }, { "docid": "f60783b63f71b843fc56c63d04017fe2", "score": "0.77942854", "text": "public void print()\n {\n if (...
c24a98db3b9478f5f92e98162812f695
Simple average computation helper.
[ { "docid": "baea6604f88763ae320183a2a2be518c", "score": "0.6791394", "text": "private static Double calculateAverage(List<Double> values) {\n Double average = 0.0;\n Iterator<Double> it = values.iterator();\n while (it.hasNext()) {\n average += it.next();\n }\n ...
[ { "docid": "61c688976c614dd28bc1e7d8d4e81712", "score": "0.8284074", "text": "public double average();", "title": "" }, { "docid": "b089b7981ec1a300cb955c1e47fef462", "score": "0.7840653", "text": "double getAverage();", "title": "" }, { "docid": "a519e787fc1871a04fdd36d5...
080a139062fb7decb6d5de21118e1e54
This callback is invoked after the embedded Swing component has been added to this control. This method is executed on the SWT thread.
[ { "docid": "0957c3f654466aaeb63bb95fbc63ae7c", "score": "0.74449706", "text": "protected void afterComponentCreatedSWTThread() {\r\n }", "title": "" } ]
[ { "docid": "1c7edcc0ae18f9245f69224a706b7455", "score": "0.660668", "text": "protected void afterComponentCreatedAWTThread() {\r\n }", "title": "" }, { "docid": "78f403504fb0f135a1897cab3564d276", "score": "0.63949776", "text": "public void run() {\n ...
f8604f7349789efdf552fff5dc83533c
FUNCION QUE LISTA EL CAMBIO
[ { "docid": "a1d883e43fe7ced95c6255cf4037f411", "score": "0.7654456", "text": "public void listarCambio(){\n RequestContext context = RequestContext.getCurrentInstance();\n if(de.getCambioProducto() != null){\n de.getInventario().setEstadoproducto(nuevoEstado);\n cambi...
[ { "docid": "24d225759b23ce7f3a7cb4d70bf7183a", "score": "0.69036585", "text": "public void cargarInformacionCamaraCajon(BarcoDescarga barcoDescarga){\r\n\t\t\r\n\t\tcamaraCajones = new ArrayList<CamaraCajon>();\r\n\t\tcamaraCajones = new CamaraCajonBarcoDescargaMantenimientoDAOJpaImpl()\r\n\t\t \t\t.get...
6fd419f7dd0b0c14e2ebd8c6e5151c68
/ method getDatabyPostParams parameter: end point of API & POST params example: "tugas/get_all_tugas_by_creationdate return json object
[ { "docid": "5f7700455d4798dcba6dc89869ac92ba", "score": "0.5961073", "text": "public JSONObject getDatabyPOSTParams(String hostEndPoint, String params, String nameParam){\n String endURL = hostUrl + hostEndPoint;\n try{\n String postParams = URLEncoder.encode(nameParam, \"UTF-8\...
[ { "docid": "43297574d84e7838519df46451dda97a", "score": "0.5697751", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n // Adding All values to Params.\n // The firs ar...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0e5b433730ece5d35ab990b3fa8efe06", "score": "0.0", "text": "@Override\n\t\t\t\t\t\t\tpublic void onAnimationStart(Animation animation) {\n\n\t\t\t\t\t\t\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
941fc103c40d53cde3f959c3acbe9357
Marks the task stored in the list as done
[ { "docid": "938844bf9478023ff24105e4b154357d", "score": "0.66812456", "text": "public String done(int index) {\n return this.list.get(index).markAsDone();\n }", "title": "" } ]
[ { "docid": "301037470dc2134539db2e2d9d667eed", "score": "0.76806706", "text": "public void markAsDone() {\n if (!isComplete) {\n isComplete = true;\n }\n // *** reconsider this printing method. is it necessary?\n else System.out.println(\"The task is already done!\...
878d65348f12e1a517d20116aeb4dcac
Created with IntelliJ IDEA. User: satish To change this template use File | Settings | File Templates.
[ { "docid": "706f727bcb272fd99f960d41649ca66a", "score": "0.0", "text": "public interface TodoDetailRequestService {\n void create(List<TodoDetail> todoDetailodoDetail);\n void create(TodoDetail todoDetailodoDetail);\n ArrayList retrieveTodoList();\n void save(TodoDetail todoDetailodoDetail);...
[ { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.63141197", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "title": "" }, { "docid": "7c6fed8e399de380b119d83c6b7dec38", "score": "0.61557496", "text": "private MoreEmperor(){\n\n\t}", "title": "" }, { ...
39e4e89e6763f4db00a9f1237f018442
required bool isContentOnly = 2;
[ { "docid": "66506b39ee0b38d158e7d6b6f63ded41", "score": "0.7999771", "text": "boolean hasIsContentOnly();", "title": "" } ]
[ { "docid": "967f83f90395bd65a6f2f256deadf2da", "score": "0.6998534", "text": "default boolean isOpenContent() { return false; }", "title": "" }, { "docid": "b8b826b54f02db34557580e750fc688e", "score": "0.6827304", "text": "public void setCanHaveContent(boolean canHaveContent);", ...
5f5235b6c05e51e96f88137a81695a1f
Adds the stored attribute values to the style sheet. Resolves inherited styles.
[ { "docid": "0584e243d5fe00ee0e697a9986a7fbc3", "score": "0.77034396", "text": "protected void processAttributes() {\n for (final String tag : tags) {\n for (final String inherit : inherits) {\n styleSheet.addStyles(tag, styleSheet.getStyles(inherit));\n }\n ...
[ { "docid": "e55ff2195725d0809bfdc2c872039781", "score": "0.6105965", "text": "public void attributesToStyles() {\n\t\t// fix the DOM tree structure according to HTML syntax\n\t\tHTMLNorm.normalizeHTMLTree(doc);\n\t\t// convert attributes to style definitions\n\t\tHTMLNorm.attributesToStyles(getBody(), \...
9459ad4a0aa75d813faba09034e4fb4e
Ehcache: the maximum heap size of the ActiveSync cache in Bytes before eviction. By default this value is 10MB. This is a rough limit,Due to internals of ehcache actual size in memory will often exceed this limit by a modest margin.
[ { "docid": "36840f77d5b608c3d24a44bef6ff942f", "score": "0.66032916", "text": "@ZAttr(id=3001)\n public long getActiveSyncEhcacheHeapSize() {\n return getLongAttr(Provisioning.A_zimbraActiveSyncEhcacheHeapSize, -1L, true);\n }", "title": "" } ]
[ { "docid": "38fbb0df8d538efe7a45534cdaf78254", "score": "0.71815276", "text": "int getMaximumCacheSize();", "title": "" }, { "docid": "315cf3181018aa2beb2059105b83496f", "score": "0.70490956", "text": "public int getCacheMaxSize() {\n return cacheMaxSize;\n }", "title":...
67ddda87b8740f17b5ca57b78d193784
Gets the value of the 'class$' field.
[ { "docid": "7780b19bd29e6c162cb2e3caad4181b1", "score": "0.7613107", "text": "public java.lang.CharSequence getClass$() {\n return class$;\n }", "title": "" } ]
[ { "docid": "d3ce872f93ef2508ca8b911c27b75374", "score": "0.806074", "text": "public int getClass_Value() {\n return class__;\n }", "title": "" }, { "docid": "055f37cfb798485caa20b14a733909b2", "score": "0.80220413", "text": "public int getClass_Value() {\n return class...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "65bad220a7b1df09d3a7b89f6a5814c3", "score": "0.0", "text": "@Override\n\tpublic KecamatanEntity getKecamatanById(Integer idKecamatan) {\n\t\tKecamatanEntity kecamatanEntity = kecamatanRepository.findById(idKecamatan).get();\n\t\treturn kecamatanEntity;\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
592cee78a021280cd643f9b3a7ad7834
Checks if an item is in the tracker.
[ { "docid": "28cdd6ee2ae7da115a22851dbca19099", "score": "0.6300761", "text": "boolean contains(DownloadHistoryItemWrapper wrapper) {\n if (!(wrapper instanceof DownloadItemWrapper)) return false;\n Set<String> items = wrapper.isOffTheRecord() ? mIncognitoItems : mRegularItems;\n ret...
[ { "docid": "8af8c86440d5d624cf9ee482ff1a9e40", "score": "0.7048119", "text": "boolean hasItem();", "title": "" }, { "docid": "8af8c86440d5d624cf9ee482ff1a9e40", "score": "0.7048119", "text": "boolean hasItem();", "title": "" }, { "docid": "8af8c86440d5d624cf9ee482ff1a9e40...
3dce741057c41fe996f135be89f6e1b9
Gets mode of taxonomy Id supply.
[ { "docid": "93a6358956a021def00d3964987a93c8", "score": "0.6781734", "text": "public final String getModeTaxoid() {\n\t\treturn modeTaxoid;\n\t}", "title": "" } ]
[ { "docid": "a732a109d233b6ff73cb949e03d9095e", "score": "0.66338915", "text": "java.lang.String getMode();", "title": "" }, { "docid": "fb32824ea95beae6627585f104e4660f", "score": "0.6523378", "text": "public Mode getMode();", "title": "" }, { "docid": "a61d2c4bf46e0fa4b8...
b1cef1c3befb77252d58a41c20fa8425
Perform Change in a ChangeRequest so that all Listeners are notified
[ { "docid": "66b71eb44cabcf6f10bbaa87fdfcaa1d", "score": "0.0", "text": "public void undo() {\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\teditor.selectPage((CompositeActor) p...
[ { "docid": "c61aa8398de5b8a236a4db30ace2ec8e", "score": "0.70762604", "text": "private void fireChanged() {\n Object[] listeners = listenerList.getListenerList();\n ChangeEvent ce = new ChangeEvent(this);\n // Process the listeners last to first, notifying\n // those that are...
93d581beca4b407fea0e6a568cf4e809
.br.com.zup.PixSearchRequest.FilterPixById pixId = 1;
[ { "docid": "51230ff25df06c85ea14420cba5aaa3b", "score": "0.6938467", "text": "public Builder setPixId(br.com.zup.PixSearchRequest.FilterPixById value) {\n if (pixIdBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n filter_ = value;\n ...
[ { "docid": "2313e6f48171fec6ab98add8ad3ae037", "score": "0.7020236", "text": "@java.lang.Override\n public br.com.zup.PixSearchRequest.FilterPixById getPixId() {\n if (filterCase_ == 1) {\n return (br.com.zup.PixSearchRequest.FilterPixById) filter_;\n }\n return br.com.zup.PixSearchReque...
29e747579623ee97968294b36121745e
///////////////////////////////////////////////////////////////// / Public Methods /// Return the number of audio channels. This method will return the number of audio channels, regardless of which constructor was used. However, this method is really only useful when the constructor that causes audio to be captured fro...
[ { "docid": "8ed19a1e492d5bf8c6a6c97b6859a6a9", "score": "0.706459", "text": "public int getChannels() throws IllegalStateException {\n\t\tif (_isAudioCaptureActive == true) {\n\t\t\treturn _channels;\n\t\t}\n\t\tthrow new IllegalStateException(\"SoundCapture: \"\n\t\t\t\t+ \"getChannels() was called whi...
[ { "docid": "c879dc218c51b1f39c12509c87cba281", "score": "0.74259883", "text": "public int getNumChannels() {\n\t\treturn numChannels;\n\t}", "title": "" }, { "docid": "f82d6a5d999b01f96fa28df33b9864dc", "score": "0.7330211", "text": "public int getChannels( )\n\t{\n\t\treturn getAudi...
031581ace83cf62ca8551cb74ecad857
Returns x^k mod m Note: k must be nonnegative, and m must be positive
[ { "docid": "8437b3d6919ca5fbc11584b50387bb7a", "score": "0.7823854", "text": "public static int modexp(int x, int k, int m) throws ArithmeticException{\n int r = 1;\n if(k < 0)\n throw new ArithmeticException();\n for (int i = 0; i < k; i++) {\n r = r * x % m;\n }\n return r;\n ...
[ { "docid": "64e73afda850c47b2cbe46e5d0a55a59", "score": "0.64995354", "text": "public int mod(int m) {\n\t\t\n\t\tint yr = y;\n\t\t/*if(y<=0)\n\t\t{\n\t\t\tyr++;\n\t\t}*/\n\t\t\n\t\tint r = yr % m;\n\t\tif (r < 0) {\n\t\t\tr += m;\n\t\t}\n\t\treturn r;\n\t}", "title": "" }, { "docid": "71b60...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "701a8a16bd57ac36771935b0f38e2e2f", "score": "0.0", "text": "@RequestMapping(\"/list/{id}\")\n\tpublic Instructor getInstructorProfile(@PathVariable int id) {\n\t\treturn instructorService.getInstructorProfile(id);\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
8cf221048ad5e44c3ab3f3961c22538a
H = 2, 0050, 1:N, o
[ { "docid": "c8e2bb1ea1996139bebd25b0741b9baa", "score": "0.0", "text": "public AberturaIdentificacao addImovelRural(ImovelRural imovelRural) {\r\n this.imoveisRurais.add(imovelRural);\r\n return this;\r\n }", "title": "" } ]
[ { "docid": "3eba297f4edcf7c5944ffa65559d1844", "score": "0.58672255", "text": "void mo304a(C0366h c0366h);", "title": "" }, { "docid": "c81a50de444ca6420d696510921a7a94", "score": "0.5838073", "text": "public String toString() {\n String res = String.format(\"(%2d,%2d):\", n, H.le...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d2f7343a2bfcf6b654fe4d6854e480e6", "score": "0.0", "text": "@Override\n\t\t public void onResult(DJIError mErr)\n\t\t {\n\t\t Log.d(TAG, \"setCameraPhotoSize errorCode = \"+ mErr.errorCode);\n\t\t Log.d(TAG, ...
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" ...
9c480875303f128cb0f7248b18e720cb
string correct_answer = 2;
[ { "docid": "ee05a306e132479b4f11b1f5e5c95178", "score": "0.5869791", "text": "@java.lang.Override\n public com.google.protobuf.ByteString\n getCorrectAnswerBytes() {\n java.lang.Object ref = correctAnswer_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteStr...
[ { "docid": "0ebddc96954f23367e49220a4ccbd970", "score": "0.7856232", "text": "java.lang.String getCorrectAnswer();", "title": "" }, { "docid": "40f7dcc7e9ff30f61a16c5235bc9ee72", "score": "0.69936347", "text": "public String getCorrectAnswer(int a){\n String answer = correctAn...
ea2ee88546a8f9fe59cf7295ba4e7280
Student question: can we make this ranking even better with more dimensions? What other feathers can be used here?
[ { "docid": "55220c7b67a17f406672e62680882d4a", "score": "0.0", "text": "@Override\n\t public int compare(Item item1, Item item2) {\n\t double distance1 = GeoRecommendation.getDistance(item1.getLatitude(), item1.getLongitude(), lat, lon);\n\t double distance2 = GeoRecommendation.getDis...
[ { "docid": "0837362988a0e24af1d92eb2d7c881f0", "score": "0.6580709", "text": "public abstract double getRankNormalized();", "title": "" }, { "docid": "60fcefeceeaf02bf0e746cce774d05dd", "score": "0.6579788", "text": "@Override\n\t\t\tpublic void rank() {\n\t\t\t\t\n\t\t\t}", "tit...
1fe1ff519372cb75ec04811d41172f4c
Forward the given query to the node with the given ID.
[ { "docid": "19554c7672bc8234c8d371ae6178a8b9", "score": "0.81959313", "text": "private String forwardQueryTo\n\t\t(String id,\n\t\t Query query)\n\t\t{\n\t\ttry\n\t\t\t{\n\t\t\tNodeRef node = (NodeRef) registry.lookup (id);\n\t\t\treturn node.forward (query);\n\t\t\t}\n\t\tcatch (Exception exc)\n\t\t\t{...
[ { "docid": "be1c98e6a7466e3cd2d226e2a4cd5a52", "score": "0.6556752", "text": "public String forward\n\t\t(final Query query)\n\t\t{\n\t\tSystem.out.printf (\"Node %s -- %s%n\", myid, query);\n\n\t\t// Wait one second.\n\t\tslowDown();\n\n\t\t// If this node has the article, return the contents.\n\t\tStr...
c5e92e6c835748f85a41e7e5a4d44f49
The category of an RDS event.
[ { "docid": "e77b7bf3236e9eaeb03939d469b71979", "score": "0.0", "text": "public Observation withRdsEventCategories(String rdsEventCategories) {\n setRdsEventCategories(rdsEventCategories);\n return this;\n }", "title": "" } ]
[ { "docid": "f2dddb790f74f6cef56c74eba45d19c1", "score": "0.720824", "text": "public String getRdsEventCategories() {\n return this.rdsEventCategories;\n }", "title": "" }, { "docid": "39e011806983406ed35f3c1464297b12", "score": "0.7105116", "text": "public String getHealthE...
1649dfa37d68e716189f150380e2923f
Locates the file for the given file name.
[ { "docid": "c688dcc99fec6e819239eda6461fd792", "score": "0.0", "text": "public String makeAbsolutePath( String fileName )\n {\n return Main.makeAbsoluteFile(\n new File(this.getApplicationHome()),\n fileName\n ).getAbsolutePath();\n }", "title": "" } ]
[ { "docid": "091af0a7adbe991c505463fabac4f378", "score": "0.65451103", "text": "public static File locateFile(String filename) {\n\t\tFile file = getExternalFile(filename);\n\t\t\n\t\tif (file.exists())\n\t\t\tlog.info(\"Located external \" + filename + \" at: \" + file.getAbsolutePath());\n\t\telse if (...
c6ce8ed421246c86d7cce3f0c6e99cf2
metoda vraca listu koja je spoj proslijedjenih listi
[ { "docid": "7e0c5b1804bc2d30a513a5a1786bfae1", "score": "0.0", "text": "public static ArrayList<Integer> union(ArrayList<Integer> list1, ArrayList<Integer> list2) {\r\n\t\tArrayList<Integer> union = new ArrayList<Integer>();\r\n\t\tfor (int x : list1) {\r\n\t\t\tunion.add(x);\r\n\t\t}\r\n\t\tfor (int y ...
[ { "docid": "9d1bd99620d823abd5815118148153ae", "score": "0.6626862", "text": "@Override\r\n\tpublic List<Pessoa> listPessoas() {\n\r\n\t\tSession session = this.sessionFactory.getCurrentSession();\r\n List<Pessoa> PessoasList = session.createQuery(\"de Pessoa\").list();\r\n for(Pessoa p : ...
c6c138bc9a598252799496f55a8c8866
Clear out active logger entry values
[ { "docid": "f6f45b728e6fd9318419b17cc3f1c8b1", "score": "0.0", "text": "@Override\r\n\tpublic void clear() {\r\n\t\t// nothing to do.\r\n\t}", "title": "" } ]
[ { "docid": "0c08da2aae38a3eec4b00a91030702cd", "score": "0.71709245", "text": "public void clearLogEntries() {\n\n\t\tif (m_file_log == null) {\n\t\t\t// create file log\n\t\t\tm_file_log = new FileLog();\n\t\t}\n\n\t\t// let FileLog handle it\n\t\tm_file_log.clearLogEntries(getStoreConfigPath());\n\n\t...
71870d9d52000c98bdc8f61e75b06d30
Command Pattern is a pattern used when Simple Description:
[ { "docid": "be2efb77133d30084646467caa8b0d83", "score": "0.0", "text": "public interface Begin_Command {\n\tpublic void excute();\n}", "title": "" } ]
[ { "docid": "6a56f9cfe644ac96d3cda76a6e83dae3", "score": "0.66597897", "text": "public interface ITextCommand {\n\n /**\n * Execute the command.\n *\n * @param args argument list, including command at args[0]\n * @throws IndexOutOfBoundsException not enough arguments\n * @throws Nu...
f4df3b3c5c5f87182ba4d922af9753e2
This one checks a 4level nested test class method matching algorithm.
[ { "docid": "9f36e255af364efec1249e0422f429d1", "score": "0.6254024", "text": "@Test\n public void test11() throws Exception {\n try {\n tester.testOnNestedClasses(Story11, testClass);\n Assert.fail();\n } catch (WhenNotFoundException e) {\n Assert.assert...
[ { "docid": "1bf928e9c6c37b2845ff48f2f70ad891", "score": "0.64448714", "text": "@Test\n public void test4() {\n class mini_tests {\n public void test4_1() {\n try {\n tester.testOnInheritanceTree(null, testClass);\n Assert.fail();\...
cb04766f95e0fb09e5a71b49f5129854
$ANTLR end "rule__EnumerationField__Group_1__1__Impl" $ANTLR start "rule__EnumerationField__Group_1__2" InternalOperationDsl.g:21228:1: rule__EnumerationField__Group_1__2 : rule__EnumerationField__Group_1__2__Impl ;
[ { "docid": "405be21fca2b9caf817a6fd7bed885cf", "score": "0.8233696", "text": "public final void rule__EnumerationField__Group_1__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalOperationDsl.g:21232:1: ( rule__Enumeratio...
[ { "docid": "fa77f09d6ff0560c58dcca7e36bc9c25", "score": "0.7834302", "text": "public final void rule__EnumerationField__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalOperationDsl.g:21205:1: ( rule__Enumeratio...
2e63e112a8ef66ae17d5cf77057111c2
Sets the shared name
[ { "docid": "1df3e1e53de38a332a02e20c054dd658", "score": "0.63991064", "text": "public Optimizer.Options sharedName(String sharedName) {\n this.sharedName = sharedName;\n return this;\n }", "title": "" } ]
[ { "docid": "749f3a5e4e68bbb7bf749820139be8ae", "score": "0.6808643", "text": "public static void setName(String s){\r\n\t\tname = s;\r\n\t}", "title": "" }, { "docid": "22528fba8fb34c53b237b41d307a28f2", "score": "0.680653", "text": "synchronized public void setName(String name)\n\t{...
5152394d0cc366312443882c4624631d
A list of characteristics that have been discovered in this service. repeated .BluetoothCharacteristic characteristics = 4;
[ { "docid": "21865f9104e0c005dddccb7b5ba2fdb7", "score": "0.65665716", "text": "public int getCharacteristicsCount() {\n if (characteristicsBuilder_ == null) {\n return characteristics_.size();\n } else {\n return characteristicsBuilder_.getCount();\n }\n }", ...
[ { "docid": "b7a8921ef977c39b07a6314f78ba70ff", "score": "0.8347388", "text": "java.util.List<com.pauldemarco.flutter_blue.Protos.BluetoothCharacteristic> \n getCharacteristicsList();", "title": "" }, { "docid": "5c09a048d37d1f956ed917f67eae67fe", "score": "0.81145847", "text":...
e7bf1187abb60672516aeaa08ee42d12
Tests whether or not a name matches the start of at least one include pattern.
[ { "docid": "0124576630dffe8d7077215cda5490d1", "score": "0.78506196", "text": "protected boolean couldHoldIncluded( String name )\n {\n for ( String include : includes )\n {\n if ( matchPatternStart( include, name, isCaseSensitive ) )\n {\n return tr...
[ { "docid": "a7cf5a3654b054436339948fc69f455f", "score": "0.7389217", "text": "private boolean isIncluded(String name)\n {\n ensureNonPatternSetsReady();\n\n if (isCaseSensitive()\n ? includeNonPatterns.contains(name)\n : includeNonPatterns.contains(name.toU...
4276e17e5caa3f71f9954b02a4a56206
Returns the fase postulacion puesto evaluacions before and after the current fase postulacion puesto evaluacion in the ordered set where fasePostulacionId = &63; and solicitudFuncionId = &63;.
[ { "docid": "80b4df5ad92586b13593659cabcd44c0", "score": "0.6093808", "text": "@Override\n\tpublic FasePostulacionPuestoEvaluacion[] findByF_S_PrevAndNext(\n\t\tFasePostulacionPuestoEvaluacionPK fasePostulacionPuestoEvaluacionPK,\n\t\tlong fasePostulacionId, long solicitudFuncionId,\n\t\tOrderByComparato...
[ { "docid": "6cdff1b65ab97efa8b6ed2a3e07c6a72", "score": "0.608584", "text": "@Override\n\tpublic FasePostulacionPuestoEvaluacion[] findByS_PrevAndNext(\n\t\tFasePostulacionPuestoEvaluacionPK fasePostulacionPuestoEvaluacionPK,\n\t\tlong solicitudFuncionId, OrderByComparator orderByComparator)\n\t\tthrows...
3269ebad2d92791bc439011f65e77649
gets the encoding used by the comment writer
[ { "docid": "d1ed5cf39dcdef56aef15ebc22ac3c31", "score": "0.68726724", "text": "public String getEncoding() {\n\treturn osw.getEncoding();\n }", "title": "" } ]
[ { "docid": "45245b236704d2c352e3bad8ff558137", "score": "0.7425445", "text": "String getEncoding();", "title": "" }, { "docid": "45245b236704d2c352e3bad8ff558137", "score": "0.7425445", "text": "String getEncoding();", "title": "" }, { "docid": "2b5e7b4d198e5a7e8434d32257...
7be0a9505faa78b6a940d3d4037b4a70
Run the char hw1_1000000LOC9method24(double,short,char) method test.
[ { "docid": "7d28c2779dca328ff198a08d99ed6ace", "score": "0.73288363", "text": "@Test\n\tpublic void testHw1_1000000LOC9method24_4()\n\t\tthrows Exception {\n\t\thw1_1000000LOC9 fixture = new hw1_1000000LOC9();\n\t\tfixture.f0 = new hw1_1000000LOC6[] {};\n\t\tfixture.f2 = (short) 1;\n\t\tdouble var0 = 1....
[ { "docid": "ecbeaf5a82c68ac1b5b811656e9af2fb", "score": "0.7497383", "text": "@Test\n\tpublic void testHw1_1000000LOC9method16_1()\n\t\tthrows Exception {\n\t\tshort var0 = (short) 1;\n\t\tString var1 = \"\";\n\t\tchar var2 = '\u0001';\n\n\t\tdouble result = hw1_1000000LOC9.hw1_1000000LOC9method16(var0,...
d08278b2b0f2b453af384876147f7ab2
will be instanciated by MS.
[ { "docid": "532b3bc905b6277abb18fada784562ef", "score": "0.0", "text": "public ContextProperties getContext() {\r\n\t\treturn this.context;\r\n\t}", "title": "" } ]
[ { "docid": "6d4285d3cacbea718a62779bee157e55", "score": "0.66367096", "text": "private void init() {\n\t\t\r\n\r\n\t\t\r\n\t}", "title": "" }, { "docid": "165fc8d8939e6ebde0a7bab89f18d73f", "score": "0.65512127", "text": "@Override\n\tprotected void construct() {\n\t\t\n\t}", "ti...
595005f33d2f42ffb20b29c6dd60dc22
The interface defining all the services for SMS to be used by Retrofit to perform actually REST calls.
[ { "docid": "7729e2cb4ba16db4ea41a47d5c5cfd10", "score": "0.68458825", "text": "interface SMSService {\n @Headers({ \"Content-Type: application/json; charset=utf-8\", \"x-ms-logging-context: com.fincloud.sens.SMS getRequest\" })\n @GET(\"sms/v2/services/{serviceId}/messages\")\n Obse...
[ { "docid": "b07fef4edb460926779c4e8aa8726244", "score": "0.73667485", "text": "public interface ISmsService {\n\n String sendSms(String content);\n\n}", "title": "" }, { "docid": "ca84d08d3431dbaeef45bba0631b7c01", "score": "0.7045467", "text": "public interface ServiciosSMSAdapte...
f4269c270fc299d4a9a50a80b088ceaf
.proto.RoomAccess permission = 20;
[ { "docid": "cf3235e3ab7c9b6386093d12d43caf19", "score": "0.62035084", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.RoomAccess getPermission() {\n return permission_ == null ? net.iGap.proto.ProtoGlobal.RoomAccess.getDefaultInstance() : permission_;\n }", "title": "" ...
[ { "docid": "94634516bac0954a85bf63e5c0ab05a5", "score": "0.82189643", "text": "net.iGap.proto.ProtoGlobal.RoomAccess getPermission();", "title": "" }, { "docid": "b475b5abf959551f1337e3581374c4bf", "score": "0.8146119", "text": "net.iGap.proto.ProtoGlobal.RoomAccessOrBuilder getPermi...
0f834db2455c24a18cb57127250288ca
Returns true if field slaveId is set (has been assigned a value) and false otherwise
[ { "docid": "161c5cf314232feec704525ce37e3101", "score": "0.84240055", "text": "public boolean isSetSlaveId() {\n return this.slaveId != null;\n }", "title": "" } ]
[ { "docid": "31bb238f41f36d697629048726a3eea9", "score": "0.62261266", "text": "public boolean isSetField_id() {\n return __isset_bit_vector.get(__FIELD_ID_ISSET_ID);\n }", "title": "" }, { "docid": "b04ebf3f046b46b13653ea9fbc7f1e9f", "score": "0.6078373", "text": "public boolean ...
e3e275672fbd69015b9d79e2c1f473d5
This method was generated by MyBatis Generator. This method returns the value of the database column t_sys_log.user_id
[ { "docid": "43141de362d894f887a338ee9171510f", "score": "0.0", "text": "public String getUserId() {\n return userId;\n }", "title": "" } ]
[ { "docid": "a443634221165155a0f7cc7a1aa40804", "score": "0.6840498", "text": "public Long getUser_id() {\r\n return user_id;\r\n }", "title": "" }, { "docid": "1368ade955b5e13402e3409ecb21aa9a", "score": "0.68404347", "text": "public Integer getUser_id() {\r\n return...
e0d3112b3d93c962688b6e4d77f95199
Map> ptsMap = portfolioToSymbols.stream().filter(pts > pts.getSymbol().getSymbol().contains(ServiceUtils.PORTFOLIO_MARKER)) .collect(Collectors.groupingBy(pts > pts.getSymbol().getSymbol()));
[ { "docid": "e8826e61dece888b5c8a91fb97a049dc", "score": "0.54587716", "text": "private Optional<PortfolioToSymbol> findAtDayPts(String symbolStr, LocalDate atDay,\n\t\t\tCollection<PortfolioToSymbol> portfolioToSymbols) {\n\t\tLocalDate[] first = new LocalDate[1];\n\t\tOptional<PortfolioToSymbol> ptsWei...
[ { "docid": "bc96f133ba37f54b4c42d412bf11470b", "score": "0.53375876", "text": "public Map<String, Symbol> getSymbols();", "title": "" }, { "docid": "a1889e31355fa78ccf41c32146a0e20a", "score": "0.52500874", "text": "public static void main(String[] args) {\n {\n Stream<String...
c3b00c5c3f3b5767ab7b167b7fdd144e
getActionBar().setTitle(mDrawerTitle); calling onPrepareOptionsMenu() to hide action bar icons invalidateOptionsMenu();
[ { "docid": "997f8bf51d4abe3161a08f45111f4106", "score": "0.0", "text": "public void onDrawerOpened(View drawerView) {\n }", "title": "" } ]
[ { "docid": "b61a8620bc0d9efcdb806c6105cbad91", "score": "0.809907", "text": "@Override\n public void onDrawerClosed(View drawerView) {\n // Code here will be triggered once the drawer closes as we dont want anything to happen so we leave this blank\n super.onDraw...
a0bf64968b7195a7a4c97b19339eb041
track if we have no enemy, the one we found is significantly closer, or we scanned the one we've been tracking.
[ { "docid": "aaaf68a21c0870eabc306f9c7fde26c1", "score": "0.6402497", "text": "public boolean shouldTrack( ScannedRobotEvent e )\r\n {\n return ( enemy.none() || e.getDistance() < enemy.getDistance() - 70\r\n || e.getName().equals( enemy.getName() ) );\r\n }", ...
[ { "docid": "d48233687e89f1d781c6afbb803fa151", "score": "0.7149183", "text": "public boolean shouldTrack( ScannedRobotEvent e )\n {\n // track if we have no enemy, the one we found is significantly\n // closer, or we scanned the one we've been tracking.\n return (...
8cc05672e9cced570db687e609b19e43
Minutes are in Wattseconds, hours and days are in kWseconds, months are kWminutes
[ { "docid": "79db305ac31003cf9262e83c8a16b60b", "score": "0.5434558", "text": "public String getUnits(String data_name)\n\t{\n\t\tif(data_name.contains(\"MINUTES\"))\n\t\t\treturn \"W-Seconds\";\n\t\telse if(data_name.contains(\"HOURS\"))\n\t\t\treturn \"kW-Seconds\";\n\t\telse if(data_name.contains(\"DA...
[ { "docid": "74cd7ccb46ec1490ac26876392512173", "score": "0.6618188", "text": "public int getCharsPerMinute(){ return charsPM; }", "title": "" }, { "docid": "53f467bbae7f13d86a6e0280ff1453b9", "score": "0.64486694", "text": "static String timeInWords(int h, int m) {\n if(m == 0...
5f46e7c78796d2fdda312ee1ea3474c4
Create credentials using a token.
[ { "docid": "7b89bc144c3b354ef082f5ec6f37eae4", "score": "0.60922015", "text": "public CloudCredentials(OAuth2AccessTokenWithAdditionalInfo token, String clientId, String clientSecret) {\n this.token = token;\n this.clientId = clientId;\n this.clientSecret = clientSecret;\n }", ...
[ { "docid": "0efb6c15ccf1dc8323f36c8d51af4234", "score": "0.71985114", "text": "Person generateTokenAndGet(String username, String password) throws BadCredentialsException;", "title": "" }, { "docid": "e01cf8f1a4fd2fd1a6734b1b972108e6", "score": "0.6840173", "text": "public void creat...
892933244d0a1a87e0e507af5bfc9c4a
Toast.makeText(HomeActivity.this, "" + clickItem.getName(), Toast.LENGTH_SHORT).show(); Get CategoryId and send to new activity
[ { "docid": "5686e5477d875e8cf95319763af3e351", "score": "0.6880088", "text": "@Override\n public void onClick(View view, int position, boolean isLongClick) {\n Intent foodList = new Intent(HomeActivity.this, FoodListActivity.class);\n //Be...
[ { "docid": "c0e3d12eb56dae9848b842a7fcbf4ad4", "score": "0.7523528", "text": "@Override\n public void onClick(View view, int position, boolean isLongClick) {\n final String categoryName = model.getName();\n final String categoryKey = adapt...
e1ba3dfe13fe46585c444362cdd54ab6
retrieve array from anywhere
[ { "docid": "18756f36457bde778de69c861fc401bc", "score": "0.0", "text": "public ArrayList<String> getArray() {\n return this.images;\n }", "title": "" } ]
[ { "docid": "2913e549a4b91f43af4720cba18305c7", "score": "0.65850455", "text": "Value[] getArray( String name);", "title": "" }, { "docid": "c238fdbb06192c544daf041f756d3f0a", "score": "0.6522063", "text": "public Object[] getData();", "title": "" }, { "docid": "9d45323583...
976d220353d19161152be41eeef14b2a
Retrieve the name given to the deck
[ { "docid": "b8814d12cbb19505c8325bce78ddfd74", "score": "0.0", "text": "public String getName() {\n\t\treturn name;\n\t}", "title": "" } ]
[ { "docid": "72e15ceb62464126ea9bfdb86f4e4974", "score": "0.7881914", "text": "String getDeckName(long id);", "title": "" }, { "docid": "2a156ee0d691b1cba6a329e4909495ea", "score": "0.77135116", "text": "String getCardHolderName();", "title": "" }, { "docid": "1309191055e2...
df089d6463b7dfecbb557344bafe2908
Gets the string value of the enum
[ { "docid": "fbd15c50c7020ea5e50daa08b1e62bcf", "score": "0.0", "text": "public String getJsonValue() {\n return d_jsonValue;\n }", "title": "" } ]
[ { "docid": "dc6e259cc7fb51a131f8950fcaa2e2f8", "score": "0.75259244", "text": "public String getEnumType() {\n return (String) elementAt(4);\n }", "title": "" }, { "docid": "b0927fcadb9dfebab9397b623da170df", "score": "0.73151475", "text": "public String getEnumerationTypeT...
29d2ad3dd29d70a986b3909993fd4906
This method initializes jButtonF8
[ { "docid": "d4a74168d98499bc4d28268886aba99e", "score": "0.65156394", "text": "private javax.swing.JButton getJButtonF8() {\n\t\tif (logger.isDebugEnabled())\n\t\t\tlogger.debug(\"getJButton4() - start\");\n\n\t\tif(jButtonF8 == null) {\n\t\t\tjButtonF8 = new JHighlightButton();\n\t\t\tjButtonF8.setText...
[ { "docid": "6d0c78223687cc45e917de7f92ac3fbf", "score": "0.70789593", "text": "private void init_button() {\n\t\tjbt_start = new JButton(new ImageIcon(Images.START.getImage()));\n\t\tjbt_exit = new JButton(new ImageIcon(Images.EXIT.getImage()));\n\t\t\n\t\tjbt_exit.setFocusPainted(false);\n\t\tjbt_exit....
f06577aaa773f59e9ec56a719ac34074
Configuration for each expected response message. repeated .grpc.testing.ResponseParameters response_parameters = 2;
[ { "docid": "2c2cb6cc9a8a6daca878fb481078522e", "score": "0.5214822", "text": "public Builder addResponseParameters(\n io.grpc.benchmarks.proto.Messages.ResponseParameters.Builder builderForValue) {\n if (responseParametersBuilder_ == null) {\n ensureResponseParametersIsMutable()...
[ { "docid": "a36da6943f4ab270b3703cf4c1baa6c5", "score": "0.73807484", "text": "io.grpc.benchmarks.proto.Messages.ResponseParameters getResponseParameters(int index);", "title": "" }, { "docid": "d6e01649f53429e2d96f0767c9948c8b", "score": "0.6955428", "text": "public io.grpc.benchmar...
863a07570df974bfe2b9eb04620182a5
Ejercicio Secuencial 1 ) suponga que un individuo desea invertir su capital en un banco y desea saber cuanto dinero ganara despues de un mes si el banco paga a razon de 2% mensual
[ { "docid": "612ac255058c01ba8d7624d4903d58c0", "score": "0.60240453", "text": "public static void main(String[] args) {\r\n\t\t//que variables de trabajo necesito ?\r\n\t\tfloat capital = 0 , ganancia = 0 ;\r\n\t\tfinal float porcetaje = 0.02f;\r\n\t\t\r\n\t\tScanner teclado = new Scanner(System.in);\r\...
[ { "docid": "1b3b553b6882100ad21ad171cc0141ce", "score": "0.59544307", "text": "public double calculePPCapital_vie(float capital ,float prime ,int age , int annee, double interet , String sexe){\n\t\tdouble somme = 0 ;\n\t\tdouble finale = 0;\n\t\tData d = data.findById(age).get();\n\t\tif(sexe.equals(ho...
578e8caa7cb1d8baa33dd7bbb0fa9465
cenario: 3 lances em ordem crescente
[ { "docid": "af4de2f02971b575ac8bc7f0e11e391d", "score": "0.5999247", "text": "@Test\n public void deveEntenderLancesEmOrdemCrescente() {\n Leilao leilao = new LeilaoBuilder().para(\"Playstation 3 Novo\")\n \t\t.lance(joao, 250.0)\n \t\t.lance(jose, 300.0)\n \t\t.lance(mari...
[ { "docid": "347a55b79e659730807e4bc92dcd1eda", "score": "0.65408903", "text": "public void lienNiveau3 () {\n\t\tint i, j;\n\t\tint noeud;\n\t\tint valeur;\n\t\tfor (i=28; i<100; ++i) {\n\t\t\tfor (j=0; j<2; ++j) {\n\t\t\t\tnoeud = (int) (8 + Math .random() * 20);\n\t\t\t\tif (this .tableauDesLiens [i][...
400cabdf3a5d3ea4d85594f62bb36109
Visit method instructions of Application class by tree API.
[ { "docid": "53e4cd02266dab221ae4483fb2d447f1", "score": "0.70462835", "text": "public void visitInstByTreeAPI() throws IOException {\n\t\tClassReader cr = new ClassReader(Application.class.getName());\n\t\tClassNode cn = new ClassNode();\n\t\tcr.accept(cn, ClassReader.SKIP_DEBUG);\n\n\t\tfor (MethodNode...
[ { "docid": "4d4d83538238438e615135fe45fd3cfd", "score": "0.69329584", "text": "public void visitByTreeAPI() throws IOException {\n\t\tClassReader cr = new ClassReader(Application.class.getName());\n\t\tClassNode cn = new ClassNode();\n\t\tcr.accept(cn, ClassReader.SKIP_CODE | ClassReader.SKIP_DEBUG);\n\...
ce29cf8d6ade2a8775d0c20da9fcc115
on success Return input text to activity
[ { "docid": "68d2fc77ad78fe57db8dc1d6be9865a1", "score": "0.0", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n NicknameDialogListener listener = (NicknameDialogListener) getActivity();\n listener.onFinishEditDialog(input.getText()....
[ { "docid": "4f8126b6399a83df3697786a38c30c75", "score": "0.7003628", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\n String input = Text.getText().toString();\n\n Intent intent = new Intent();\n intent.putExtra(\"?\", input);\n\n ...
c605131945fa27b5c40144cfe93cc7a4
Getting the particular item from the list
[ { "docid": "d198fdef48b5570ca4516af54279d3d4", "score": "0.0", "text": "@Override\n public void onBindViewHolder(@NonNull ViewHolder holder, int position) {\n final CourseV courseV = coursesVs.get(position);\n\n //Showing data on the views\n holder.setIsRecyclable(false);\n ...
[ { "docid": "ab0597370ef7dc4038ec97c4a1cff379", "score": "0.7022499", "text": "@Override\n public Object getItem(int arg0) {\n return list.get(arg0);\n }", "title": "" }, { "docid": "5661b2e3ba499b44dae97577127ef107", "score": "0.6939524", "text": "@Override\r...
f51aaddceff68a55e7655466fc95c1c7
Returns the line dash offset of this shape's outline.
[ { "docid": "86e8e155a6e8bf6411953b2e6bff3607", "score": "0.80520105", "text": "public float getLineDashOffset() {\n\t\treturn lineAttributes.dashOffset;\n\t}", "title": "" } ]
[ { "docid": "bc70f93c46259148fa6f87c85e384021", "score": "0.68324524", "text": "float getDashOffset();", "title": "" }, { "docid": "4327ec1c5dfb25a5c84fa4c50c1dd40c", "score": "0.66668344", "text": "public int getLineOffset() {\r\n return lineOffset != NO_VALUE ? lineOffset : 0...
54ddfd4261dbb129f1f1df10e42d6008
/ 354: / 355:
[ { "docid": "e10796ec404afedc50c069b34b160311", "score": "0.0", "text": "public void setCantidadRechazada(BigDecimal cantidadRechazada)\r\n/* 356: */ {\r\n/* 357: 523 */ this.cantidadRechazada = cantidadRechazada;\r\n/* 358: */ }", "title": "" } ]
[ { "docid": "e1007d81aa575d5094900aee424b0e3c", "score": "0.5287782", "text": "@Test\n public void testParse15()\n {\n IrcLine line = IrcLineParser.parse( \":nutime.de.SpotChat.org 255 Bumps :I have 365 clients and 1 servers\" );\n\n assertEquals( \"nutime.de.SpotChat.org\", lin...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8d46819ab09047ba13123b924e5df06a", "score": "0.0", "text": "@Transactional\n\t@Override\n\tpublic boolean editLesson(VInputLesson vil) throws Exception {\n\t\tLesson lesson = vil.getLesson();\n\t\tList<Integer> branches = vil.getBranches();\n\t\tif (lessonDao.updateLesson(lesson)) {\n\t\t\tl...
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "ti...
7a915edb87ba01569902d851423ced91
Test of printls method, of class ristorante.
[ { "docid": "5c7d77a30bb4a79d7a45903f79a18b8e", "score": "0.8380486", "text": "@Test\n public void testPrintls() {\n System.out.println(\"printls\");\n String tipo = \"\";\n ristorante instance = new ristorante();\n instance.printls(tipo);\n // TODO review the genera...
[ { "docid": "ff47a66cd8a9b2957402cfc355687f65", "score": "0.6964475", "text": "@Test\r\n public void testPrint() {\r\n System.out.println(\"Print\");\r\n Lista instance = new Lista();\r\n instance.Print();\r\n // TODO review the generated test code and remove the default ca...
83ec630393c71af563b55601f2176aae
Update a specific feedback message for a campaign.
[ { "docid": "eed8f06037acd86b4ce8434920452510", "score": "0.62890744", "text": "public MailchimpResponse<CampaignResponse> edit(String campaignId, String feedbackId, CampaignFeedbackRequest request) throws MailchimpException {\n if (StringUtils.isBlank(campaignId)) {\n throw new Mailchi...
[ { "docid": "ff8b189f8a295abaea7551d2fe64f662", "score": "0.6006132", "text": "@PreAuthorize(DefaultPermissions.HAS_MESSAGE_WRITE_ROLE)\n public CampaignMessageDto update(UUID id, CampaignMessageDto campaignMessageDto) {\n\n CampaignMessage existingCampaignMessage = campaignMessageRepository.findById...
3fdc8e3af584bc322a57af532ec004e6
method untuk mengset nilai dari variabel bulanLahir dengan variabel lokal bulanLahir dengan tipe data String
[ { "docid": "dc5c8e65aed4e461aaaa925b2c5a2c0a", "score": "0.6491893", "text": "public void setBulanLahir(int bulanLahir) throws Exception {\r\n if (bulanLahir > 0) {\r\n//pengecekan nilai variabel lokal bulanLahir harus kurang dari atau sama dengan 12\r\n if (bulanLahir <= 12) {\r\n//pe...
[ { "docid": "9de6cf8f5b48b990eb24b43f8b8f7a46", "score": "0.68948936", "text": "public void setTempatLahir(String tempatLahir) {\r\n// pernyataan bahwa nilai dari variabel tempatLahir sama dengan nilai dari variabel lokal tempatLahir\r\n this.tempatLahir = tempatLahir;\r\n }", "title": "" ...
53b8a05de842260cff55799bdda6aca3
Description of the Method
[ { "docid": "2b78dbe8ef34bf01ebffa5c6d6722109", "score": "0.0", "text": "protected int prepareFilter(PreparedStatement pst) throws SQLException {\n int i = 0;\n if (id > -1) {\n pst.setInt(++i, id);\n }\n if (parentId > 0) {\n DatabaseUtils.setInt(pst, ++i, parentId);\n }\n if...
[ { "docid": "5727c6d33ba6b9298776053648827a19", "score": "0.68470705", "text": "@Override\r\n\tpublic void method() {\n\t\t\r\n\t}", "title": "" }, { "docid": "dc5f7633080876c02861f7e5b0f6519d", "score": "0.6813334", "text": "public void method() {\r\n }", "title": "" }, { ...
fe866ac9fe1c98caccbf4a45728ab8d9
This database is only a cache for online data, so its upgrade policy is to simply to discard the data and start over
[ { "docid": "4612a376b875883ab73e4b24bd5d708a", "score": "0.0", "text": "public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_NAME);\n onCreate(db);\n }", "title": "" } ]
[ { "docid": "902905bbd33cf0974fea8db15e90d687", "score": "0.6428636", "text": "protected void moveProcessedToCache() {\n resetDatabase(false);\n }", "title": "" }, { "docid": "0e82be0f9505779c1b8d3df36b19ae55", "score": "0.63288647", "text": "@Override\n\tpublic void reDownl...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2177e498cb7d785637cc464d1f291f96", "score": "0.0", "text": "public static void main(String[] args) {\n\t\t\n\t\tApplicationContext context = new ClassPathXmlApplicationContext(\n\t\t\t\t\"com/abhishek/spring/springcoreAdvanced/injecting/interfaces/configInterface.xml\");\n\t\tOrderBO bo = (O...
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
cd77aa9060ab9a65b8f25e86f1ffa012
Generic cannot do the following:
[ { "docid": "7d47c1b674e879e7c5054cacf20bb3aa", "score": "0.0", "text": "public static void main(String[] args) {\n String[] a = ArrayCreator.create(5, \"asdf\");\n String[] b = ArrayCreator.create(String.class,5, \"asdf\");\n }", "title": "" } ]
[ { "docid": "ff0fdef392b4389436ebf366ddf8caa0", "score": "0.63574815", "text": "public static void main(String[] args) {\n Generic<Integer> integerGeneric = new Generic<>(12);\n System.out.println(integerGeneric.getT());\n\n Generic<Double> doubleGeneric = new Generic<>(2.0004);\n ...
ba855d964e838113714cf1a5d5e24cea
Idx: [ 0, 1, 2, 3, 4, 5, 6, 7, 8] One: [10, 15, 8, 12, 94, 81, 5, 2, 10] Two: [10, 8, 5, 15, 2, 10, 12, 94, 81]
[ { "docid": "d1695146ee02eedc69ddd8f68d03c4a0", "score": "0.0", "text": "public static int getIdxOfFirstLargerOrEqual(List<Integer> array, int rootIdx, int maxVal) {\n int rootVal = array.get(rootIdx);\n for (int idx = rootIdx + 1; idx < array.size(); idx++) {\n int currVal = arr...
[ { "docid": "689f501260045ff8d82944e5ed8b2455", "score": "0.57585543", "text": "public static int[] twoSum2(int[] numbers, int target) {\n\t\tfinal HashMap<Integer, Integer> tsum = new HashMap<Integer, Integer>();\n\t\tArrayList<Integer> sorted = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < numbers...
75e43dda7cdef8841574523a95f6d7cf
Submit changes to jobs
[ { "docid": "2e43e0f1bf84ae967c071be34cb224ef", "score": "0.77010846", "text": "public void submit() {\n IJobProxy[] updateJobs = this.jobs.values().toArray(\n new IJobProxy[this.jobs.size()]);\n FieldChange[] filters = this.manager.getFields();\n IJobSpec spec = this....
[ { "docid": "493d0bcd2f9d9506396e497aba2e3294", "score": "0.64154655", "text": "@Override\n\tpublic boolean doJobs() {\n\n\t\torder = new JSONObject();\n\t\tlist = new JSONArray();\n\n\t\tcheckOrderMsg();\n\t\tcheckListMsg();\n\t\tString raw = submit();\n\t\tString resp = getCore(raw);\n\t\tString respSt...