query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
f11d91fd30474c700e112f87a144836e
new method for joins
[ { "docid": "3509e2780954535c4a64cdd572421c37", "score": "0.0", "text": "public Result all(String id);", "title": "" } ]
[ { "docid": "531a117827102b9d3093d0b51b5c1125", "score": "0.7874396", "text": "abstract protected Object joinClause(Object o1, Object o2);", "title": "" }, { "docid": "3fb4db9f290400724f924d1b8cbb308e", "score": "0.7644142", "text": "Join createJoin();", "title": "" }, { "...
5dc89de2991a9c8561703808da3ee3da
Calculate the bNode closure from a resource. The Statement itself does not automatically get included.
[ { "docid": "2b3b653c0022d086e4b7b87665d03d7e", "score": "0.6428813", "text": "public static Model closure(Resource resource, boolean testThisNode)\n {\n return closure(resource, new ClosureBNode(), testThisNode) ;\n }", "title": "" } ]
[ { "docid": "579db00595b4aad32e3456360a6f1e05", "score": "0.59724456", "text": "public static Model closure(Statement stmt)\n {\n return closure(stmt, new ClosureBNode()) ;\n }", "title": "" }, { "docid": "a46d119664f8bde47a5d699b39b7ce1b", "score": "0.5961538", "text": "...
20320ee708f24438e18a0ddb19a1c12f
return the Score for GHOST eating
[ { "docid": "671bd25d559ef641c086569cf3403819", "score": "0.63751477", "text": "public int getScore() {\n\t\treturn _score;\n\t}", "title": "" } ]
[ { "docid": "a7f7ff56a5a93225d818821e6cf3d8b7", "score": "0.71987385", "text": "public int getScoreHome()\n {\n return scores[HOME_TEAM];\n }", "title": "" }, { "docid": "35577f05808548f0c8cd63fe1c8606e6", "score": "0.7163832", "text": "public Integer gethScore() {\n ...
96b46505b37eec5f219dffc9e07d6f0f
Check if the return description has a 'Description:' string.
[ { "docid": "8253afabef2305131c5bf1f543ec60b7", "score": "0.0", "text": "@Test\n\t\t@RepeatedTest(100)\n\t\t@DisplayName(\"Get account description\")\n\t\tpublic void testSampleServiceGetAccountDescription() {\n\t\t\tassertTrue(orderService.getOrderDescription(1).contains(\"Description\"));\n\t\t}", ...
[ { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "e1cf2f02f06b1a7b...
f34ad575af1f48d57f5ff4f41fad989a
getter method for member of Groups
[ { "docid": "120b955792280602c81818ebbfc2349a", "score": "0.73409426", "text": "public ArrayList<Group> getMemberOf(){\n \n GroupDAO groupDAO = new GroupDAO();\n \n memberOf = groupDAO.getMemberOf(this);\n \n return memberOf;\n }", "title": "" } ]
[ { "docid": "3d3389d7f929c5ed3a7eaa8072939b28", "score": "0.74318105", "text": "public String getGroup();", "title": "" }, { "docid": "876b66be80d57c4962f70ddc8384a385", "score": "0.73652494", "text": "public Group get() {\n return mainGroup;\n }", "title": "" }, { ...
455637a47811c4ca392b0b38401d85b0
Changes language in default customer window.
[ { "docid": "a71d8057af710fce3980bc6fed8eeea3", "score": "0.711658", "text": "public void setLanguage(String l, String c) {\n\t\tString language = properties.getProperty(l);\n\t\tString country = properties.getProperty(c);\n\t\tcurLocale = new Locale(language, country);\n\t\tLocale.setDefault(curLocale);...
[ { "docid": "ed0a5111914fbd260f2a264c87a31896", "score": "0.74713284", "text": "public void setLanguageCustomer(String l, String c) {\n\t\tSystem.out.println(\"Kieli vaihdetaan \" + l + \" \" + c);\n\t\tString language = properties.getProperty(l);\n\t\tString country = properties.getProperty(c);\n\t\tcur...
3620c5f91633ae4d7053bf6c11aae865
Function to merge two linked lists
[ { "docid": "c9f2694ee82c2c9a2b239ed349e1dfaa", "score": "0.7086205", "text": "protected Node merge(Node first, Node second) {\n // If first linked list is empty\n if (first == null) {\n return second;\n }\n\n // If second linked list is empty\n if (second ==...
[ { "docid": "42e8eb94fd4a0dd40e01ae85f7e4774d", "score": "0.839838", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2);", "title": "" }, { "docid": "d7d811530c8340bdb9b455a87269d183", "score": "0.79677486", "text": "private static HeapNode mergeNodeLists(HeapNode first,...
0eebf20d3db29e9de3771f3e70415940
Internal method to print a subtree in sorted order.
[ { "docid": "cc668e49dbdbaca9a06ea5040e6cbc78", "score": "0.65128535", "text": "private void printTree( BinaryNode<AnyType> t )\n {\n if( t != null )\n {\n printTree( t.left );\n System.out.println( t.element );\n printTree( t.right );\n }\n }",...
[ { "docid": "9504d62520601271f90e764373c20911", "score": "0.7463656", "text": "void printInOrder()\n\t{\n\t\tprintInOrder(root);\n\t}", "title": "" }, { "docid": "ef7a160734b034a62abb040743ca36d0", "score": "0.7325559", "text": "@Override\n\tpublic void printInorder() {\n\t\tif (null ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f5822401569272925aaf57c542b54083", "score": "0.0", "text": "public int getHealth() {\n\t\treturn health;\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
dc5480fb3c04bad50a488502107572c8
Process an element annotated by the handled Annotation Type.
[ { "docid": "9a4085f5dae7bb56fe598e7820d8ecac", "score": "0.61614984", "text": "private void processElement(Element element) {\n\n if (element.getKind() != ElementKind.INTERFACE) {\n return;\n }\n\n TypeElement interfaceElement = (TypeElement) element;\n setDataAcce...
[ { "docid": "05f8d80079e79fd530430965bad72d1c", "score": "0.7680457", "text": "public abstract void processTypeElement(final TypeElement annotation, final TypeElement element, final MessageInterface messageInterface);", "title": "" }, { "docid": "48421ef37ffb23f0ddcbc59e90da6d19", "score"...
6c2b2ac5add7732336147b16ff9a65ab
public boolean GetVal(int startAddress, int size, OperandDataType data_type, IChunkVals chunk_vals, OperandVal operand_val);
[ { "docid": "a188e86742b908aef5dbfbc30bd3abfa", "score": "0.5982854", "text": "boolean WriteOperandVal(IChunkVals cvals, String operand_val, String address, OperandDataType data_type);", "title": "" } ]
[ { "docid": "8dc8ad247ed3413bdda29b75d3e8fcd9", "score": "0.5768073", "text": "Object getValue(long offset, Class<?> type, Object currentValue) {\n/* 363 */ Object result = null;\n/* 364 */ if (Structure.class.isAssignableFrom(type)) {\n/* 365 */ Structure s = (Structure)currentValue;\n/...
bb2288ba335765c8f68dc6ef6a370746
Logs the passed log text and amount to the log text file and system console.
[ { "docid": "8e964c84b8fb5ae487c1bc1d326e4fd0", "score": "0.0", "text": "public static String logActivity(AppProperties appProps, String textToLog, boolean includeDateTime, boolean printToConsole) throws Exception{\r\n\t\ttry {\r\n\t\t\tif (includeDateTime) {\r\n\t\t\t\ttextToLog = AppTools.currentDateTi...
[ { "docid": "544f4655d9bbc6d1c16dff0fb5b48cf4", "score": "0.6670645", "text": "public void PrintToLog(String text) {\n log = text;\n WriteLog();\n }", "title": "" }, { "docid": "1d479f73d297cbea19970c523a168ac5", "score": "0.6652545", "text": "public void log( Str...
003ce766ffc3f674a993109532fe4012
Get P11 slot instance. Only one instance (provider) will ever be created for each slot regardless of how many times this method is called.
[ { "docid": "05161e2346df9ce8aa516d1bff79873f", "score": "0.56342864", "text": "public static P11Slot getInstance(final String slotLabel, final String sharedLibrary, final Pkcs11SlotLabelType slotLabelType, \n final String attributesFile, final P11SlotUser token, final int id) throws CryptoTok...
[ { "docid": "feabf275c1bc2c0f48a107cf2d897fcf", "score": "0.59818745", "text": "public Slot getSlot ()\r\n {\r\n return slot;\r\n }", "title": "" }, { "docid": "636fdf41e8bb95e3200a74f93384b9be", "score": "0.5922524", "text": "Slot createSlot();", "title": "" }, {...
19fcbee6ce3da69d4bb2b86f2b19c237
native declaration : include\curl\curl.h:2004 enum values
[ { "docid": "ecf48377058f27b3b333d605ad374c70", "score": "0.62569475", "text": "public static interface CURL_TLSAUTH {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2005</i> */\n\t\tpublic static final int CURL_TLSAUTH_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2006</i> */\...
[ { "docid": "cfac1770c7acf42060dd39de35ffdbe9", "score": "0.7016177", "text": "public static interface CURLUcode {\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:8</i> */\n\t\tpublic static final int CURLUE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi...
72fc604ab3335f05d082e86702b9743a
Constructor con atributos propios (Clase Habitacion)
[ { "docid": "05ced929d57c65e74cc41c9f0636ca1f", "score": "0.65801466", "text": "public Habitacion(int numeroCuarto, int numeroPersonas, Date fechaIngreso, Date fechaSalida) {\r\n this.numeroCuarto = numeroCuarto;\r\n this.numeroPersonas = numeroPersonas;\r\n this.fechaIngreso = fecha...
[ { "docid": "a4a47be3d8ae61d24a261770b6e779df", "score": "0.73225003", "text": "public Anemometro() {\r\n\t \tsuper();\r\n\r\n\t\r\n\t}", "title": "" }, { "docid": "254c55d33e75a5dfad0ec8771a056b47", "score": "0.7232891", "text": "public BusquedaDeHabitaciones() {\n }", "title"...
12b675df093964ab48a05acbc3d15a36
Getter method for the COM property "Thumbnails"
[ { "docid": "1bbbc9d3c44ebdc869bf56e6d5afb11d", "score": "0.6509329", "text": "@DISPID(37) //= 0x25. The runtime will prefer the VTID if present\r\n @VTID(83)\r\n boolean thumbnails();", "title": "" } ]
[ { "docid": "4c162e89de117298a323079769cfa145", "score": "0.7433795", "text": "List<String> getThumbnails();", "title": "" }, { "docid": "08457aafb1b161edb75c164a8efa7397", "score": "0.7342171", "text": "@XmlElementWrapper(name = \"thumbnails\")\n\t@XmlElements( { @XmlElement(name = \...
cd06ed1f0cb1134a73df3ce12265c860
String s = "abc" ; System.out.println(s.substring(1,3)); printTheSum(10.5, 20.9); printTheSum(123.9, 200.1); printTheSum(11.33, 44.1); printTheSum(11, 5);
[ { "docid": "59834bb8a02efcb0a1490680c3e9e05b", "score": "0.0", "text": "public static void main(String[] args) {\n\t\treportName(\"Andy\",\"Smo\");\n\t\treverseString(\"Hello my dear, smart Andy. Wish you to lern java very succesfful!!!\");\n\n\t}", "title": "" } ]
[ { "docid": "8109b1afc65d2542d497168ff2bb9175", "score": "0.64201415", "text": "@Test\n\tpublic void testSum() {\n\t\tStringNumberSumator addClass = new StringNumberSumator();\n\t\tassertEquals(\"67868778555572961\", addClass.sum(\"91686886861\", \"67868686868686100\"));\n\t\tassertEquals(\"2\", addClass...
1f25340ba64d645239ab9016938db708
This method was generated by MyBatis Generator. This method corresponds to the database table user
[ { "docid": "20ec407bef650fa409922488b9c3f551", "score": "0.0", "text": "int insertSelective(User record);", "title": "" } ]
[ { "docid": "338b235fc9a9d97f73cfe7c27dfc8ab6", "score": "0.6867685", "text": "@Override\n public List<User> queryAllUser() {\n try {\n // TODO Auto-generated method stub\n UserDao ud = MybatisUtil.getMapper(UserDao.class);\n List<User> list = ud.queryAllUser();...
2df0792e84670fdd9c84239c93f01633
The subnets for the endpoint to be deployed into. repeated string subnetIds = 7;
[ { "docid": "aa711be24caba45321f91310f675a037", "score": "0.56750554", "text": "public com.google.protobuf.ByteString\n getSubnetIdsBytes(int index) {\n return subnetIds_.getByteString(index);\n }", "title": "" } ]
[ { "docid": "89327fe2f63e6c9a233d9c8274621121", "score": "0.72030854", "text": "public String [] getSubnetIds() {\n return this.SubnetIds;\n }", "title": "" }, { "docid": "f9d1cad1c78d498b3835e7c22e275f4a", "score": "0.6812569", "text": "public void setSubnetIds(String [] Su...
b6bf078436db15b85c9a668ebebabf7e
Name of the Kafka user. string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[azAZ09_]", (.yandex.cloud.length) = "1256"];
[ { "docid": "28a7218fc9ddc82514ea1b11350526a9", "score": "0.0", "text": "public java.lang.String getName() {\n java.lang.Object ref = name_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ...
[ { "docid": "5a99b6f6ceed83b4d5056170c63904d0", "score": "0.6330417", "text": "private String createUserName(GoogleIdToken.Payload payload) {\n String userNameLetters = \"\" + ((String) payload.get(\"given_name\")).toLowerCase().charAt(0);\n String family_name = ((String) payload.get(\"fami...
1d92b136ca11b15347b123411e47724c
why do this??? mBTAdapter.cancelDiscovery();
[ { "docid": "e8edadd9c44a09f28738c4dc8b7387aa", "score": "0.0", "text": "@Override\r\n public void run() {\n\r\n try {\r\n mSock.connect();\r\n } catch (IOException e) {\r\n try {\r\n mSock.close();\r\n } catch (...
[ { "docid": "fcfc5caf18a7f066efcc6de0b2127179", "score": "0.6906014", "text": "private void stopDiscovery() {\n if (mDisposable != null) {\n mDisposable.dispose();\n }\n }", "title": "" }, { "docid": "d6061702b240ffb4f3a490aaf953ad4c", "score": "0.6802695", ...
961401c092dd73f1b9823d74ba9abdcb
$ANTLR end "rule__Doozle__TargetAssignment_4" $ANTLR start "rule__Doozle__OnAssignment_6" InternalDsl.g:14587:1: rule__Doozle__OnAssignment_6 : ( RULE_STRING ) ;
[ { "docid": "5bbc78cc8808a5fa151987fe1be4da93", "score": "0.8313975", "text": "public final void rule__Doozle__OnAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14591:1: ( ( RULE_STRING ) )\r\n...
[ { "docid": "3e48e50588ee79a2e5bd15f3021099ad", "score": "0.7983089", "text": "public final void rule__Doozle__TargetAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14576:1: ( ( RULE_STRING ) )...
9dddf938737c8bdbde459e14761a1f7a
Called by the OSGi framework when the bundle is stopped.
[ { "docid": "75101315bfbf882f28e5085c2401a194", "score": "0.6583705", "text": "@Override\n public void stop(final BundleContext context) throws Exception\n {\n // close the configuration listener\n if (m_configurationListener != null) {\n m_configurationListener.close();\n ...
[ { "docid": "5722d3c777506d4473346dea6519814e", "score": "0.8226353", "text": "@Override\n\tpublic void stop(BundleContext bundleContext) throws Exception {\n\t}", "title": "" }, { "docid": "5722d3c777506d4473346dea6519814e", "score": "0.8226353", "text": "@Override\n\tpublic void sto...
e1441939b29a9b1d666aba70867e8910
This method returns all news entries for a given keyword.
[ { "docid": "e2eb4ff7bbed4cf6e227bfbce54bbe2e", "score": "0.7687893", "text": "public synchronized static List<NewsPojo> readByKeyword(String keyword) {\r\n\t\tList<NewsPojo> entries = new LinkedList<NewsPojo>();\r\n\t\tfor(NewsPojo pojo : new LinkedList<NewsPojo>(database.values())) {\r\n\t\t\tfor(Strin...
[ { "docid": "95be66a2ac52238cfb58825bf975771f", "score": "0.70873046", "text": "public List<Article> retrieveArticlesOfGivenkeyword(String keyword);", "title": "" }, { "docid": "7902c38045e6bd03d5230446e94fdda0", "score": "0.65824836", "text": "public Map<String, Object> listByKeyword...
30dd15ec9ce9af2384c9dfa93da2b91c
MongoDB host of the specified database. string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "&lt;=253"];
[ { "docid": "234e6071c78f268e1452b52c1571e7db", "score": "0.0", "text": "@java.lang.Override\n public java.lang.String getHost() {\n java.lang.Object ref = host_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n ...
[ { "docid": "6d6e64334199d4a4d05ee9887b00f6e3", "score": "0.6430559", "text": "void setDBHost(String dbHost) {\n\n\t}", "title": "" }, { "docid": "f62e687f62b54af23186da786d7444d5", "score": "0.6010737", "text": "public static String getDBHost()\n {\n return RTConfig.getStri...
2df385a197612cf5003fc226401bc00d
Delivers the punch line.
[ { "docid": "b045b5710b49cd0509d51e0ebc2f2a08", "score": "0.0", "text": "public synchronized String who() {\n if (state != JokeState.INPROGRESS) {\n throw new IllegalStateException(\"Command 'who' only valid in INPROGRESS state, current state is \" + state);\n }\n state = ...
[ { "docid": "8c8bca53f32fbce7cad64c767a6d092d", "score": "0.6372956", "text": "@Override\n\tpublic void punch() {\n\t\t\n\t}", "title": "" }, { "docid": "8c8bca53f32fbce7cad64c767a6d092d", "score": "0.6372956", "text": "@Override\n\tpublic void punch() {\n\t\t\n\t}", "title": "" ...
54202006df4f65760269bb4da674f336
Used to validate if the input is integer
[ { "docid": "6e6febcd04c94c319e856222bfec27d4", "score": "0.71365803", "text": "public boolean validateInteger(String inputValue){\n try{\n if(Integer.valueOf(inputValue)>=0) {\n return true;\n }else{\n return false;\n }\n }\n catch(NumberFormatException exception){\...
[ { "docid": "7df9903c342ff8b484d3d3c0840ca97f", "score": "0.7860263", "text": "public boolean isInt(TextField input) {\r\n //Using Exception handling try catch to validate the input of a text field\r\n try {\r\n Integer.parseInt(input.getText());\r\n //return true if t...
3b5cbb68576e877b67453c71c7c7e539
get list of GeoItem.
[ { "docid": "0c02079ee3297648cc13f6e3f97c8d43", "score": "0.8166448", "text": "public List<GeoItem> getItems(){\r\n\t\t\treturn items_;\r\n\t\t}", "title": "" } ]
[ { "docid": "d30359ba20a31d3bb14fb1913406d621", "score": "0.8158934", "text": "public final List<GeoItem> getItems(){\r\n\t\treturn items_;\r\n\t}", "title": "" }, { "docid": "444a968dbb9a7f2849afb994642dde74", "score": "0.68833065", "text": "java.util.List<ie.gmit.ds.Item> \n ge...
0b1738b6f516321d11aee8a214f92b8b
Draw Image at given position
[ { "docid": "97c4341eb42585ac6f3b6f2b8964975c", "score": "0.63038796", "text": "public void draw(ImageIcon img, double x, double y, double xalign, double yalign) {\n int\n ix = (int)(x*unitx - xalign*img.getIconWidth ()),\n iy = (int)(y*unity - yalign*img.getIconHeight());\n img.paintIcon...
[ { "docid": "acc35da39b2515644987c84ca30420c8", "score": "0.76627463", "text": "public void draw() {\r\n StdDraw.picture(this.xxPos, this.yyPos, \"images/\" + this.imgFileName);\r\n }", "title": "" }, { "docid": "4085d17a1bdaf5bf02ab6457df252ce8", "score": "0.7587554", "text...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2958929017ceb3237cab9fc1df45db5e", "score": "0.0", "text": "public int getGroupCount() {\n\t\treturn groups.size();\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}", ...
4316ec4d3bde696444bc48bc44a78475
Initializing values for account ID and balance.
[ { "docid": "aec8f887bad96e2b25e62b8ff56202f4", "score": "0.72065985", "text": "public Account(int someId, double someBalance) {\n \n id=someId;\n balance=someBalance;\n dateCreated=new Date();\n }", "title": "" } ]
[ { "docid": "9164bcab9d815e0f272e9fb7b3382aba", "score": "0.74347514", "text": "Account(String accountID, int balance){\r\n // Account constructor here\r\n setAccountID(accountID);\r\n setBalance(balance);\r\n }", "title": "" }, { "docid": "2ee060662f7bdf7c78664713d4cf...
784e902ada45e150115800df7156e0ff
make decision of whether spot is now active
[ { "docid": "b7704c6c575104b708c9d79d1cc9fdc7", "score": "0.6959227", "text": "private boolean makedecision(String unique, int mins, int dollar, int cent) {\n Cursor res = helperDB.getInfo(unique);\n if (res.getCount() <= 0) {\n res.close();\n insertdata(unique, mins, ...
[ { "docid": "728896d5270a3cfa53b25567bf42655b", "score": "0.6825903", "text": "private void updateCurrentSpot() {\n\t\tint point = planStatus.currentPoint;\n\t\tint command = planStatus.currentCommand;\n\n\t\tif(new PointCommand(point, command).isGreaterThan(isPlayingNow)) {\n\t\t\tif(planStatus.currentS...
548dc6e18844022e010ad31fd6ca5e9b
Services provided by the host. repeated .yandex.cloud.mdb.mongodb.v1.Service services = 7;
[ { "docid": "746bf7f05afc1ef84d60b09d286ccf72", "score": "0.0", "text": "public Builder addAllServices(\n java.lang.Iterable<? extends yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service> values) {\n if (servicesBuilder_ == null) {\n ensureServicesIsMutable();\n co...
[ { "docid": "b867b1ba1c5b118cd4bc5ecc77642d21", "score": "0.7190634", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service getServices(int index);", "title": "" }, { "docid": "e446c220a7ff8efeeecb9f4a675dca68", "score": "0.69651145", "text": "java.util.List<yandex.cloud....
e414fe177a1ba79279a0981fde4c1146
Interface to extract partition field from split.
[ { "docid": "21e06de7d6c5f25fd3ba6af18450743e", "score": "0.7281291", "text": "@FunctionalInterface\n@Internal\npublic interface PartitionFieldExtractor<T extends FileSourceSplit> extends Serializable {\n\n Object extract(T split, String fieldName, LogicalType fieldType);\n\n static PartitionFieldE...
[ { "docid": "295cefb7056120a64aefdf7a7bd381bd", "score": "0.6508827", "text": "public int getPartition(InternalElement element);", "title": "" }, { "docid": "e2a440e4b6748a6c298dfa8321e356b8", "score": "0.6313091", "text": "public ShardedDataCollection<T> partition(Splitter<T> splitte...
0dba1530e5589f0b46376a94ddc89f26
If you want the chart to be 3D, set to true.
[ { "docid": "1e799c4ef271880c0d1f9ba3d3bf0d1d", "score": "0.55629945", "text": "public final void setThreeD(final boolean threeD) {\n this.threeD = threeD;\n }", "title": "" } ]
[ { "docid": "e30c55371bf5069dbeb60d066a8b2c72", "score": "0.68783826", "text": "public boolean isIs3d () {\n\t\treturn is3d;\n\t}", "title": "" }, { "docid": "8c9d9e9966c78d22c96a57e3cb26abad", "score": "0.68236256", "text": "public XSSFView3D(XSSFChart chart) {\r\n\t\tCTChart ctChart...
efcecb5cf4e244cd945d2b96a6ea781e
var btn1 = document.getElementsByTagName('a')[1]; btn1.click()
[ { "docid": "57d13a2dd4f08b50fcbcf5e987cabf13", "score": "0.6458964", "text": "@Test(description = \"Click with JS executor\")\n public void test3(){\n driver.get(\"http://practice.cybertekschool.com/dynamic_loading\");\n //Example 1 is a beginning of the phrase <a href='http:'>Example 1...
[ { "docid": "3be16ce00bf889f7d66f78a7aec1f962", "score": "0.6843664", "text": "public void click();", "title": "" }, { "docid": "7a51bdcad15954eb8129e4da5106fe52", "score": "0.6807318", "text": "public void click() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d94aaea298392d...
d6266b9969d0200310ea7e84dc78da6f
Tool we need to parse other packages
[ { "docid": "32e1f2b3ab80594e743321a62e4ad2b8", "score": "0.0", "text": "private boolean isAppInstalled(String packageName){\n\t\tPackageManager pm = getPackageManager();\n\t\t// True/False variable set to false by default, show \"Not Installed\"\n\t\tboolean app_installed = false;\n\t\t// If the app isn...
[ { "docid": "37af552e2d0e39b71633d471882af98e", "score": "0.62568206", "text": "public void extractPackage();", "title": "" }, { "docid": "8c2877522401e79fb049b75494c95e10", "score": "0.59904885", "text": "@Test\n public void testPackageHeader() {\n checkDecls(getParser().pa...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7ff8b184c17af59f3f62017132650174", "score": "0.0", "text": "@Override\r\n\tpublic void resume() {\n\r\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
d8de0358d1a6f5fe5456dd9e46054d79
/ Intent intent = new Intent(this, LoginActivity.class); startActivity(intent); finish();
[ { "docid": "fadd369386aba78d0c222a813e2f0be7", "score": "0.0", "text": "public void UnauthorizedProcessing() {\n }", "title": "" } ]
[ { "docid": "55f20dd3969d9c3e407a42404ae5023a", "score": "0.85512507", "text": "@Override\n public void onClick(View v) {\n intent = new Intent(Register.this, Login.class);\n finish();\n startActivity(intent);\n }", "title": "" }, ...
76068b2e346b33d166eca51314b0d393
Find main child VerbPhrase in a Sentence (couldn't be rootNode) Could be the highest VerbPhrase in a tree or its child
[ { "docid": "71ff6a09517db941f72854722bed907c", "score": "0.6524802", "text": "public static SentenceNode mainChildVerbPhrase(SentenceNode rootNode) {\t\r\n\t\treturn mainPhrase(rootNode, SentenceType.VERB_PHRASE, false);\r\n\t}", "title": "" } ]
[ { "docid": "ad4974cd868df7ca8ba3842bb12de215", "score": "0.59806997", "text": "public static SentenceNode mainVerbPhrase(SentenceNode rootNode) {\t\r\n\t\treturn mainPhrase(rootNode, SentenceType.VERB_PHRASE, true);\r\n\t}", "title": "" }, { "docid": "3ec497f32ec2838e3408410fca57537d", "...
4d8f4b91d800bde2e7068682f2af4704
ComputerPart Created by Alexander on 2016/10/19.
[ { "docid": "0b231f294457795ecb3581941cdde5c0", "score": "0.5072752", "text": "public interface ComputerPart {\n void accept(ComputerPartVisitor computerPartVisitor);\n}", "title": "" } ]
[ { "docid": "b74512d9f1ecf708957b49eab3aec70d", "score": "0.61156905", "text": "public Parts getProcessor() {\n return new Parts(\"Intel P 3\");\n }", "title": "" }, { "docid": "dc59d82fd9ae72f430a8454347511b53", "score": "0.6043592", "text": "private Part getPart() {\n ...
29e1406d3305a3e5199faa329ea1c1ed
Set creature's health point
[ { "docid": "ab9c1afc00bef118124c1ed9ded98bd0", "score": "0.69781274", "text": "public void setHealth(final int health) {\n this.health = health;\n }", "title": "" } ]
[ { "docid": "cc24bfe6307bae6846be94608d85663e", "score": "0.7288193", "text": "public void setHealth(int amt);", "title": "" }, { "docid": "085b0003e4df03179738500e7cef79c6", "score": "0.71582955", "text": "protected void setMyHealth(final int theHP) {\n super.setMyCharacter_He...
93cd919cfc8c0e20eec6828a911c1b60
optional string gameName = 9;
[ { "docid": "2dbf7b604acccd3e956f04c29a743a26", "score": "0.0", "text": "public Builder clearGameName() {\n bitField0_ = (bitField0_ & ~0x00000100);\n gameName_ = getDefaultInstance().getGameName();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "f4b60924cae940c33c1454fd29a9c5e2", "score": "0.7374353", "text": "void setGameName(String gameName);", "title": "" }, { "docid": "3240b1713333e7e6ab95f178c5fd90d6", "score": "0.72878647", "text": "String getGameName();", "title": "" }, { "docid": "b20218bb7046...
6e516cd1f2cfbd409d955e54c204a00c
If you want to display a UI message about adding or removing geofences, put it here.
[ { "docid": "6a84666548319acdaca9d41d7145666f", "score": "0.5369049", "text": "private void handleGeofenceStatus(Context context, Intent intent) {\n\n\t\t}", "title": "" } ]
[ { "docid": "857e03f76ed3d9220de6d4cf7b7b957a", "score": "0.68702936", "text": "public void addGeofencesButtonHandler() {\n if (!mGoogleApiClient.isConnected()) {\n Toast.makeText(getActivity(), getString(R.string.not_connected), Toast.LENGTH_SHORT).show();\n return;\n ...
b4a7413953b1639ad054542d00355ee9
Checks whether the 'TradeAmount' field has been set.
[ { "docid": "bd0237e4f539c9dfad7641fb3e682ec2", "score": "0.7573264", "text": "public boolean hasTradeAmount() {\n return fieldSetFlags()[9];\n }", "title": "" } ]
[ { "docid": "75829a7151e3435925df37710b46a23e", "score": "0.7088409", "text": "public boolean isSetAmount()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(AMOUNT$4) != 0;\n }\n }", "title": "" }, { "d...
ad139a2dd11c9c37620d1cd61ed58863
Replace a term with its definition so that we do not have to handle defined terms later on.
[ { "docid": "710a684d5132411f497b6a0a116dc0e2", "score": "0.72644264", "text": "private Term replaceWithDefinition(Term result) {\n if (result instanceof ApplicationTerm) {\n FunctionSymbol func = ((ApplicationTerm) result).getFunction();\n if (!func.isIntern() && func.getDefinition() != nul...
[ { "docid": "061f2d9a062b6c3d2cf709742ddc311f", "score": "0.63857406", "text": "protected abstract void dealWithTerm(Term term);", "title": "" }, { "docid": "28ffe6ea4dc1fc905e239694462a1169", "score": "0.62928784", "text": "public void xsetTerm(org.apache.xmlbeans.XmlString term)\n ...
bf5cd04bee0acaece7a6bd716552f6c9
Make the wizard configuration panel registered under the given configuration panel key the most top configuration panel. If no configuration panel is registered under the given key, nothing will happen.
[ { "docid": "4e76110fd2bfac9a1fb9d2f625cb6284", "score": "0.72520995", "text": "public void showConfigurationPanel(String key) {\n \t\tif (key == null) return;\n \n \t\tIWizardConfigurationPanel configPanel = getConfigurationPanel(key);\n \t\tif (configPanel != null && configPanel.getControl() != null) {...
[ { "docid": "46761a63c3f2f64f59bb793a5ed49e7e", "score": "0.7205854", "text": "public IWizardConfigurationPanel getConfigurationPanel(String key) {\n \t\tif (key == null) return null;\n \t\treturn configurationPanels.get(key);\n \t}", "title": "" }, { "docid": "3fad75b811a49b3415919204f92781f...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3713a2a02e38e681ce7b32e5fbd8a328", "score": "0.0", "text": "@Override\r\n public void onProviderDisabled(String provider) {\n\r\n }", "title": "" } ]
[ { "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...
050cfb5d5368ac0ab90d4e10656ef4df
Returns true if two dataTypes have the same sourceArchive and the same UniversalID OR are equivalent
[ { "docid": "ccf49cfe95087046aa19ba35d2e9885e", "score": "0.6124965", "text": "public static boolean isSameOrEquivalentDataType(DataType dataType1, DataType dataType2) {\n\t\t// if they contain datatypes that have same ids, then they represent the same dataType\n\t\tif (isSameDataType(dataType1, dataType...
[ { "docid": "92e2b75334864a791b241463db28dbf9", "score": "0.7200206", "text": "public static boolean isSameDataType(DataType dataType1, DataType dataType2) {\n\t\tUniversalID id1 = dataType1.getUniversalID();\n\t\tUniversalID id2 = dataType2.getUniversalID();\n\t\tif (id1 == null || id2 == null) {\n\t\t\...
20b7b37eaf7e09439636407b30b0bf29
$ANTLR end "rule__EFloat__Group_4__1" $ANTLR start "rule__EFloat__Group_4__1__Impl" InternalHouseBuilder.g:5082:1: rule__EFloat__Group_4__1__Impl : ( ( '' )? ) ;
[ { "docid": "4f390fbb0cd1c782de9f954ff022dbae", "score": "0.7036321", "text": "public final void rule__EFloat__Group_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5086:1: ( ( ( '-' )? ) )\n ...
[ { "docid": "c7b364b1d5068d90bdfa36be9f23571c", "score": "0.77171403", "text": "public final void rule__EFloat__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5020:1: ( rule__EFloat__Group__4__Impl...
bbc2429da6261986f3f20682c177561e
seta o valor de usuSenha
[ { "docid": "dffa24d2e90b20947c889737852f1f0d", "score": "0.80879194", "text": "public void setUsuSenha(String pUsuSenha){\n this.usuSenha = pUsuSenha;\n }", "title": "" } ]
[ { "docid": "fa06e25976944f679936c95244a469a6", "score": "0.73617387", "text": "public void setSenha(java.lang.String param){\n \n this.localSenha=param;\n \n\n }", ...
44a629d20642e01f13e28fac0ff38923
The constructor of a PackageRenamer class.
[ { "docid": "1681681c48ba9a2c36b76e80fddba88f", "score": "0.7811788", "text": "public PackageRenamer() {\r\n this(getDefaultPropertiesFileName());\r\n }", "title": "" } ]
[ { "docid": "38eb582012635895563e5402fe72efbe", "score": "0.6784988", "text": "private Renamer(){}", "title": "" }, { "docid": "8fa5699885498022030bc15b85a3d0ff", "score": "0.6410993", "text": "private SpecificPackage() {}", "title": "" }, { "docid": "322c3c5c23e9776a8c989...
f661363358d7809ceb4bb4d4bdf1fefe
Convierte un FilmType en un FilmTypeDto
[ { "docid": "cfbcfaa02ef48e3a10b06b9168937357", "score": "0.75241077", "text": "public FilmTypeDto convertEntityToDto(FilmType entity){\n\t\tFilmTypeDto dto = new FilmTypeDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setVersion(entity.getVersion());\n\t\t\tdto.setDescription(...
[ { "docid": "a49ff2fe92f4673873347449c7fd33f7", "score": "0.73104364", "text": "public FilmType convertDtoToEntity(FilmTypeDto dto){\n\t\tFilmType entity = new FilmType();\n\t\tif(dto!=null){\n\t\t\tentity.setId(dto.getId());\n\t\t\tentity.setVersion(dto.getVersion());\n\t\t\tentity.setDescription(dto.ge...
1063448ed81debe936d8d0c39c90e5bd
Metodo usado para obtener los registros de determinada pagina del listado de clientes en base a los criterios enviados.
[ { "docid": "e8aed70d5a66d20e68ec062d60c0f96e", "score": "0.591594", "text": "public static void getClientPageByAjax(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, AppController controller)\r\n\tthrows Exception{\r\n\t\t//obtenemos el numero de pagina a obtener\r\n\t\tint pageNumber =...
[ { "docid": "aeb027e53c9ec740752dcfaae4d00337", "score": "0.63892424", "text": "@RequestMapping(\"/cargaCliente\")\n\t@ResponseBody\n\tpublic List<Cliente> listaCliente(String filtro){\n\t\tint page = 0;\n\t\tint size = 5;\n\t\tPageable paginacion = PageRequest.of(page, size);\n\t\tList<Cliente> lstClien...
2f5bd91bd67f9fb0cebabcae9a322e22
Called when preparing to save a ship structure. Use this to prevent jump during critical events/animations.
[ { "docid": "c229c18df96d5ce4021b2dbf5e5debe9", "score": "0.0", "text": "boolean isJumpReady(Entity entity);", "title": "" } ]
[ { "docid": "d7fa4b99a4bd7311e9e24f0c1d3c0d29", "score": "0.60701007", "text": "private void emergencySave() {\n // FIXME: GameModule and GameState need save methods which take a filename\n /* \n final GameModule mod = GameModule.getGameModule();\n if (mod != null) mod.save(false);\n \n ...
608432fe5e39b8884e66a2422cc2854b
Get any custom extras that were set on this playback state.
[ { "docid": "640d9e50bd27e350d940ba5d8b35bf34", "score": "0.59691966", "text": "public @Nullable Bundle getExtras() {\n return mExtras;\n }", "title": "" } ]
[ { "docid": "d390cd8780c33abe66c2ce8189e3a88a", "score": "0.6634455", "text": "public P getExtras() {\n return _extras;\n }", "title": "" }, { "docid": "9001a63b8554f093cf6ed14a908829fd", "score": "0.65600955", "text": "public java.util.Map<CharSequence,CharSequence> getE...
24ad821eb050b9c12c5a7e799ddf744b
Displays the zoom menu at the position p in the coordinate space of euclidianView
[ { "docid": "242d8b0fa8b656bbb478ab9c1009872d", "score": "0.60183275", "text": "public void showDrawingPadPopup(Component invoker, Point p) {\n // clear highlighting and selections in views\n euclidianView.resetMode();\n \n // menu for drawing pane context menu\n DrawingPa...
[ { "docid": "8eed535a57df449c6d319c1d5d9d0b36", "score": "0.6653514", "text": "private void ZoomToPoint( Point p )\n\t{\n\t JViewport port = (JViewport)this.getParent();\n\t\tRectangle visible = port.getViewRect();\n\n port.setViewPosition(new Point((int)(p.getX() - visible.getWidth()/2.0), (in...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "221f8f1e4ecc31d6163990420dc77775", "score": "0.0", "text": "@Override\r\n\tprotected void onPostExecute(String result) {\n\t\tsuper.onPostExecute(result);\r\n\t\tdialog.dismiss();\r\n\t\tListener.ShowResponse(result);\r\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
5c2d710fd1d4c37171e62e5102e1452e
This method was generated by MyBatis Generator. This method corresponds to the database table xxd_power_group
[ { "docid": "1b1fd21bf98ceea45ac054f510877818", "score": "0.49126518", "text": "@UpdateProvider(type=XxdPowerGroupSqlProvider.class, method=\"updateByPrimaryKeySelective\")\n int updateByPrimaryKeySelective(XxdPowerGroup record);", "title": "" } ]
[ { "docid": "7cd13e7f1febbf2e934fdf8d9712d446", "score": "0.73799676", "text": "@Select({\n \"select\",\n \"id, name, is_abled, powers, create_uid, create_time\",\n \"from xxd_power_group\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(colum...
3e3b3d9aa2e11f9bac18047fefda9605
Log error here since request failed
[ { "docid": "de165274849d72f45312d788edd4fe2c", "score": "0.0", "text": "@Override\n public void onFailure(Call<TransactionResponse> call, Throwable t) {\n mListener.onTransactionPost(false, CONNECTIVITY_ERROR, sellingTransaction);\n }", "title": "" ...
[ { "docid": "6e74eabd9c1be6ea76b1a6f096399249", "score": "0.74736977", "text": "@Override\r\n\tpublic void requestFailure(HttpRequest paramHttpRequest, Error paramError) {\n\t\tlogger.info(paramError.getJson());\r\n\t}", "title": "" }, { "docid": "b8dd6414951adcf46864a15d298d926f", "score...
22025410e8fcefd2976c7f9a1f753ada
Configuration and resource allocation for a MongoDB 4.2 cluster. .yandex.cloud.mdb.mongodb.v1.Mongodb4_2 mongodb_4_2 = 7 [json_name = "mongodb_4_2"];
[ { "docid": "0ca6ed9f4188ed1bd0a7bb9787f2adb5", "score": "0.0", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2 getMongodb42() {\n if (mongodb42Builder_ == null) {\n if (mongodbCase_ == 7) {\n return (yandex.cloud.api.mdb....
[ { "docid": "ff548296d1d0fbdbb082996ecc5244d4", "score": "0.72971845", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0 getMongodb40();", "title": "" }, { "docid": "bca2cf70eadd0db68db8eb33283f819f", "score": "0.70476484", "text": "yandex.cloud.api.mdb.mongodb.v1....
7de4f532d6f2bbbb5dd21b5834a52437
Write your code here.
[ { "docid": "1be90d414f0375652f4ff2e42a40363b", "score": "0.0", "text": "public static void findSums(BinaryTree root, int sum, List<Integer> result) {\n if(root==null) {\n return;\n }\n sum += root.value;\n if(root.left==null && root.right==null) {\n result.add(sum);\n return;\...
[ { "docid": "f3cfb95cfb17fcd88ce2871511ceb2a6", "score": "0.6692841", "text": "private static void masterCode() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fc7bd0f673b6dc458ca933b0fabf22ab", "score": "0.6234055", "text": "public void writeCode() {\n System.out.println(\"Devel...
1c0c24ab4ede279297f7ec5e4132bddc
Gets the attribute value for Descriptionregions, using the alias name Descriptionregions.
[ { "docid": "f8d9f030c150572f0f1041cdf4b02d6a", "score": "0.75531226", "text": "public String getDescriptionregions() {\n return (String) getAttributeInternal(DESCRIPTIONREGIONS);\n }", "title": "" } ]
[ { "docid": "d9e5ee5d9862469eba64c88aafbda2f2", "score": "0.6049739", "text": "java.lang.String getRegion();", "title": "" }, { "docid": "50e862195b9bb58ee1f50f9d430ae8fa", "score": "0.6004291", "text": "String getRegionName();", "title": "" }, { "docid": "346aadb3545a74db...
a23167e08a48c651ad3cc5bad85978e1
Test case number: 152 / 10 covered goals: Goal 1. org.apache.commons.math.util.MathUtils.round(DI)D: rootBranch Goal 2. Branch org.apache.commons.math.util.MathUtils.round(DI)D: rootBranch in context: org.apache.commons.math.util.MathUtils:round(DI)D Goal 3. org.apache.commons.math.util.MathUtils.round(DI)D: Line 935 G...
[ { "docid": "81eef6e836861d014088716b95fca8c0", "score": "0.5393215", "text": "@Test\n public void test152() throws Throwable {\n double double0 = MathUtils.round(2.2250738585072014E-308, 0);\n }", "title": "" } ]
[ { "docid": "1f12cd61c90f13a31f69739a09156bfb", "score": "0.60821414", "text": "@Test\n public void test008() throws Throwable {\n double double0 = MathUtils.round(195.965588, 13);\n }", "title": "" }, { "docid": "35144cdc862bcc5a65dea0c411a879de", "score": "0.58927506", "tex...
77acaf5d8df63b8dd9206cdd832cf45c
repeated double askPrice = 3;
[ { "docid": "c1e3ef3f462726f60109689ee5b79512", "score": "0.6237365", "text": "int getAskPriceCount();", "title": "" } ]
[ { "docid": "4de58ed4c99f13cba83fd3bef27ca879", "score": "0.6568177", "text": "double getAskPrice(int index);", "title": "" }, { "docid": "b555851f237469617ea1648b908e4047", "score": "0.64835477", "text": "public void setPrice(double d){ price = d;}", "title": "" }, { "doc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "313b434341da43e5ddf7ce39e125f641", "score": "0.0", "text": "@Override\r\n\tpublic List<Candidate> toModels(List<InsertCandidateRequest> objects) {\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
099d4b157c39b3dba2b818a55942b913
Checks whether the device currently has a network connection.
[ { "docid": "54fea8bbefa3c440e015696adb0d2683", "score": "0.0", "text": "public static boolean isDeviceOnline(Context ctx) {\n ConnectivityManager connMgr =\n (ConnectivityManager) ctx.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActi...
[ { "docid": "6bcc8f2bc812fa8f651e42cd7dc44dd7", "score": "0.8192676", "text": "private boolean networkConnected() {\n ConnectivityManager cManager = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo nInfo = cManager.getActiveNetworkInfo();\n return nI...
0e90f5a9a61b9c5aca54fd26a815dc5d
repeated .br.com.zup.edu.ListaChavesPixResponse.ChavePix chaves = 2;
[ { "docid": "d725b3bea15264ba53c5409e5b5c6c8e", "score": "0.6278921", "text": "@java.lang.Override\n public java.util.List<? extends br.com.zup.edu.ListaChavesPixResponse.ChavePixOrBuilder> \n getChavesOrBuilderList() {\n return chaves_;\n }", "title": "" } ]
[ { "docid": "218e0c54f4cecf9bd8d674744c900630", "score": "0.6078204", "text": "@java.lang.Override\n public br.com.zup.edu.ListaChavesPixResponse.ChavePixOrBuilder getChavesOrBuilder(\n int index) {\n return chaves_.get(index);\n }", "title": "" }, { "docid": "770841f61ef8322c1e6b1c...
ef8a474544d8ab3276c7faeef9156ff2
A method that verifies a signature.
[ { "docid": "a3496fd2ffbbb9a3a4cbafdb2732bfba", "score": "0.7474153", "text": "@FunctionalInterface\npublic interface SignatureVerifier {\n\n /**\n * Check if a signature is valid.\n *\n * @param signature the signature to check\n * @param bytes the data that was signed\n * @pa...
[ { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2...
48a6dd3f288696be404795b2217b56e6
Constructor this runs first
[ { "docid": "56ea7df2b69bdc24c0411a02b09c5c3e", "score": "0.0", "text": "CharacterSelect() { \r\n super(\"Character Select\");\r\n this.thisFrame = this; \r\n \r\n //configure the window\r\n this.setSize(1800,900); \r\n this.setLocationRelativeTo(null); //start the frame in the cente...
[ { "docid": "bde5f3a2215c80950a972a2c396ea45b", "score": "0.73564255", "text": "@Override void init() {\n }", "title": "" }, { "docid": "96950fcd6668067c4f88772215663192", "score": "0.72548103", "text": "private void init() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid...
079a940755074ad511c68febb28bf081
Represents the configuration of a single message.
[ { "docid": "89135c60b50ae3faf605e5807e7be66e", "score": "0.4931268", "text": "public interface Message {\n\n\t/**\n\t * Represents the text of the message.\n\t */\n\tString getText();\n\n\t/**\n\t * Represents the kind of message. It could be useful for presentation\n\t * layer.\n\t */\n\tSeverityType g...
[ { "docid": "127cc030b81199ed18622e6bb9f5ec8f", "score": "0.63738465", "text": "public static String getConfigMessage() {\n\t return getConfig() + \"/message\";\n }", "title": "" }, { "docid": "36d3f93d2d8e9c44a36a7262504b0edd", "score": "0.61476505", "text": "public voi...
801ae9a24c789ae789ee889e2cae8342
main method to start java application
[ { "docid": "37cd06eabbb6ab3ba5135f47684dd475", "score": "0.0", "text": "public static void main(String[] args) throws Exception {\r\n\t\t\r\n\t\t//validate argument\r\n\t\tif (args.length != 1){\r\n\t\t\tSystem.out.println(\"Usage: java ServerGUI <server port>\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t...
[ { "docid": "28b10a83103acb544a19549571ca5003", "score": "0.7517752", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tStartApp();\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "dfed6b0616bc419c7050fdc08532065d", "score": "0.7484647", "text": "public static void main(Stri...
fe15917634ec951649328c130cd2598d
TODO: This may need to be richer so we keep the context path
[ { "docid": "c9830829c844d6f3aaae254a53c0cbf4", "score": "0.0", "text": "@InputFiles\n\tpublic abstract ConfigurableFileCollection getSources();", "title": "" } ]
[ { "docid": "84a6c652ecac988c92cff35a4c7134b8", "score": "0.75380933", "text": "String getContextPath();", "title": "" }, { "docid": "38a600a33fa3b7ffd59316a9e89dbfd1", "score": "0.72840524", "text": "@Override\n\t\tpublic String getContextPath() {\n\t\t\treturn null;\n\t\t}", "ti...
69bd7fbaa38ed22ae5b199ff7891b3d8
Get the provisioningState value.
[ { "docid": "9dd6b54e3e5248358ebd7c9c99ce782c", "score": "0.82280445", "text": "public String provisioningState() {\n return this.provisioningState;\n }", "title": "" } ]
[ { "docid": "6791d1b2a2253b0cd5e0c87c7ca84e80", "score": "0.8168732", "text": "public String provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "6791d1b2a2253b0cd5e0c87c7ca84e80", "sc...
caa7c6c6562517640b1de476b6fc1549
Method returns list of before sketch object
[ { "docid": "4ded258838eabbaadcc71ac915e95075", "score": "0.0", "text": "public List<Object> getBeforeSketchListMax(String function, String jobLevel, int recordIndex) throws DAOException;", "title": "" } ]
[ { "docid": "7d16066e52cc282a268e9605bea57a7d", "score": "0.66637784", "text": "private ArrayList<EffectItem> getSketch() {\n ArrayList<EffectItem> arrayList = new ArrayList<EffectTypeResource.EffectItem>();\n// int[] effects = {62, 61, 60, /* 7 */ 30, 31, 32, 33, 34, 35, 36, 37};\n// ...
e6fe302b83d4e42d63e7467643aa390b
Return an AmusingPreciseNumber that is the absolute value of numb and leave numb unchanged.
[ { "docid": "53d1f77a628b2357d61a10789ff000f8", "score": "0.8576158", "text": "public static AmusingPreciseNumber abs(AmusingPreciseNumber numb)\r\n\t{\r\n\t\tAmusingPreciseNumber absolute = new AmusingPreciseNumber(numb);\r\n\t\tabsolute.abs();\r\n\t\treturn absolute;\r\n\t}", "title": "" } ]
[ { "docid": "ca3064f0ba203f6f6e6aa3ce9be1bc2c", "score": "0.72675794", "text": "public static AmusingPreciseNumber negate(AmusingPreciseNumber numb)\r\n\t{\r\n\t\tAmusingPreciseNumber negated = new AmusingPreciseNumber(numb);\r\n\t\tnegated.negate();\r\n\t\treturn negated;\r\n\t}", "title": "" }, ...
54e9f5bc4f3c489e2c086f7198fb989f
Stores all information about the entry type in preferences, with the tag given by number.
[ { "docid": "9b29a0781f3448b733e195bb912019f0", "score": "0.63928276", "text": "public void storeCustomEntryType(CustomEntryType tp, int number) {\n\t\tString nr = \"\" + number;\n\t\tput(JabRefPreferences.CUSTOM_TYPE_NAME + nr, tp.getName());\n\t\tput(JabRefPreferences.CUSTOM_TYPE_REQ + nr, tp.getRequir...
[ { "docid": "14e84e7390edffb2ba4b58ba4dfe2ca1", "score": "0.57063496", "text": "public void storePreferences(){\n prefs.putInt(prefsKey(),getBitValue());\n setModified(false);\n }", "title": "" }, { "docid": "b9e8683a08ff4b79f37134eccb541188", "score": "0.5556908", "t...
16fae05e2d278d19e72d42f5c0e21aca
id = usernameTextField.getText(), pw = passwordTextField.getText()
[ { "docid": "44b8899f11afe87541595e581c298c02", "score": "0.0", "text": "public Boolean CheckCredentials(String id, String pw){\n \n readFile(\"Accounts.txt\");\n for(int i=0; i<tableRows.length; i++){ //for each row...\n String row = tableRows[i].toString().trim();\n ...
[ { "docid": "002f109195353e6b506c7808109a2861", "score": "0.7116491", "text": "@Override\r\n public void onClick(View v) {\n if (!validatePassword() | !validateUsername()) {\r\n return;\r\n }\r\n\r\n ...
2866df71421903b4a062cdde7502bd8f
Gets the new pass.
[ { "docid": "6a45dd314d0916c5a8f3adaef9072e3b", "score": "0.85145557", "text": "public String getNewPass() {\n return this.newPass;\n }", "title": "" } ]
[ { "docid": "bc3f342e4c950b69553db31923470878", "score": "0.7585089", "text": "public String getOldPass() {\n return this.oldPass;\n }", "title": "" }, { "docid": "543af1f882ffa605df82b99b3ea822e8", "score": "0.7549144", "text": "public int getPass() {\n return pass_;\n...
1ac6c9ecc05973946c69c2617d3a8af3
Creates new form searchbycoveringpurity
[ { "docid": "2e97e8ff60d4338656325be7d2d9c784", "score": "0.5249219", "text": "public searchbycoveringpurity() {\r\n \tsetTitle(\"ITEMIZATION - Search By Purity (Covering)\");\r\n \tsetIconImage(Toolkit.getDefaultToolkit().getImage(searchbycoveringpurity.class.getResource(\"/images/itemization_log...
[ { "docid": "6d781e46f35717035c0e894b47148cc7", "score": "0.61698955", "text": "void searchPatient() {\n \t_searchViewStage = new Stage();\n \t\n\t\tSearchViewController<Patient> patientSearchViewController = new SearchViewController<Patient>(Patient.class);\n\t\tpatientSearchViewController.addCons...
1922bbc5cbecb76b24158f51d56d89d9
Returns the Gson instance used by the connection
[ { "docid": "4b7e14491dee3c372a1a64d80c422f7f", "score": "0.752388", "text": "Gson getGson();", "title": "" } ]
[ { "docid": "475edca253746992e14d3392bc403e32", "score": "0.7790373", "text": "public static GsonImpl get() {\n if (json == null) {\n //json = new FastJson();\n json = new GsonImpl();\n }\n return json;\n }", "title": "" }, { "docid": "ee192a1a1b3...
935cc44dbafde454099a848948e1851d
caja general ofcina tal
[ { "docid": "c9d429020a76ba81ce6ab3d86c66056b", "score": "0.0", "text": "private void cargarComboCaja(){\r\n\t\ttry {\t\t\t\r\n\t\t\tLong oficinaId=((OficinaIf) this.getCmbOficina().getSelectedItem()).getId();\t\r\n\t\t\tSystem.out.println(\"OFICINA>\"+oficinaId);\r\n\t\t\tList listaPrecios = (List) Sess...
[ { "docid": "3af1d4fc409dfa21196a10078858b3ff", "score": "0.6398611", "text": "private static void tecla() {\n\t\t\r\n\t}", "title": "" }, { "docid": "66d35f847e02793f3b05ca06dad0ab7b", "score": "0.603308", "text": "V afegir(K clau);", "title": "" }, { "docid": "e8c159f9ce...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cecafdaf1d270f5da514f86df2502090", "score": "0.0", "text": "@Override\n\tpublic boolean keyTyped(char character) {\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7317708cbcbc76fa1d1f4b01af103098", "score": "0.0", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.help);\n\t\tfindViewById(R.id.Help_ExitButton).setOnClickListener(this);\n\t\tfindViewById(R.id....
[ { "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...
5b30be86a95e4c325c600c0ca505cddc
List the feeds which this feed is following.
[ { "docid": "2e9dfd79627aa38f328b5eb6aabe8394", "score": "0.7610114", "text": "List<FeedFollow> getFollowing() throws IOException, StreamClientException;", "title": "" } ]
[ { "docid": "2ed3186d69995f7afbfe00e82affa13b", "score": "0.7484138", "text": "List<FeedFollow> getFollowing(FeedFilter filter) throws IOException, StreamClientException;", "title": "" }, { "docid": "1f68ded23ff8ffb638f173d2ed569570", "score": "0.7406551", "text": "List<FeedFollow> ge...
3b2f3fee11b074d535ac9e36e4db8a62
/ JADX WARNING: Removed duplicated region for block: B:24:0x004c A[SYNTHETIC, Splitter:B:24:0x004c] / Code decompiled incorrectly, please refer to instructions dump.
[ { "docid": "08684608216a0a25eb9304a5930db2f6", "score": "0.0", "text": "public static java.lang.String getFileName(java.lang.String r10) {\n /*\n java.lang.String r1 = \"\"\n java.io.File r3 = new java.io.File\n r3.<init>(r10)\n r5 = 0\n java...
[ { "docid": "9c8fcadc97a7f2dafc06991ee7cecaab", "score": "0.5549786", "text": "public void handlesBlockingRegionDrag() {\r\n \t\tObject[] cells = graph.getDescendants(graph.getSelectionCells());\r\n \t\t// Put cells not in a blocking region to back\r\n \t\tHashSet<Object> putBack = new HashSet<Object>();...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "93e94f13253a33688141feb5caceabed", "score": "0.0", "text": "@Override\n\tpublic Integer tenderDesignDelete(TenderDesign tenderDesign) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "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...
d3ac542854b74f0c9152cce894ca845b
repeated .dstore.engine.MetaInformation meta_information = 2;
[ { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55095315", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "t...
[ { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInfor...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "9e1c027381a4cee5fffbe07372f5dcaf", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_blank, container, false);\n ...
[ { "docid": "8b5df47011cc799d795dc7120e1c0c49", "score": "0.68263656", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.kuliahfragisidata, container, false);\n }", "title": "" }, ...
da30534579fa862f8a2b57bae233f0d9
Generates a new instance of a Divider item.
[ { "docid": "38c1c240e37742e4eeb22dc248c5fd4a", "score": "0.7674779", "text": "public DividerApi newItem();", "title": "" } ]
[ { "docid": "5cf2321c94e55768abca5a0eb6f6cc8c", "score": "0.6995673", "text": "public interface DividerApi extends DesignItemApi\n{\n /**\n * Generates a new instance of a Divider item.\n * @return the new Divider\n */\n public DividerApi newItem();\n}", "title": "" }, { "do...
49a613141457e3366104e9ee230917db
Constructor for the Section object.
[ { "docid": "0b550137123a4fcc1e6c2a05e08f017f", "score": "0.66714084", "text": "public Section(String n, TrackModelPanel tmp, Line ln)\r\n\t{\r\n\t\tthis.secName = n;\r\n\t\tthis.tmp = tmp;\r\n\t\tbList = new ArrayList<Block>();\r\n\t\tthis.bList = new ArrayList<Block>();\r\n\t\tsecsComing = new ArrayLis...
[ { "docid": "4c6823aed9c7691e4446064b7c80dbac", "score": "0.7931723", "text": "protected Section() {\n title = new Paragraph();\n numberDepth = 1;\n }", "title": "" }, { "docid": "ff9ae572f5a40104ce15ca7c82e2f05c", "score": "0.79276407", "text": "public Section()\n {...
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "6cf7f91717851719d66f413e948c381e", "score": "0.0", "text": "private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,\n javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.strea...
[ { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamE...
33f9b2d39091927d950a0150404bf876
Generic method for calculating a screen coordinate from a geographic coordinate.
[ { "docid": "51b1007bc244522d8cf5005e9a000743", "score": "0.0", "text": "private int coordPyGen(double lat, double top, double bottom, int vertMiddle, int pySize, double range) {\r\n\t\tif (vertMiddle > 0) {\r\n\t\t\tif (lat < bottom)\r\n\t\t\t\treturn (int) Math.round((double) (vertMiddle * (1 - (lat + ...
[ { "docid": "3bce30f293309f5825c37ce73482e692", "score": "0.67490643", "text": "public Point getScreenCoordinate(double lat, double lon) {\n if(internalNative == null) {\n if(internalLightweightCmp != null) {\n Point p = internalLightweightCmp.getPointFromCoord(new Coord...
1df06e7a0b17bf7664a2bd2d84fb4ff8
minimum edges required to make all n nodes connected is n1;
[ { "docid": "a51fe524f24183d4bdc054b90090cb44", "score": "0.5588672", "text": "public int makeConnected(int n, int[][] connections) {\n if(connections.length<n-1)return -1;\n \n\n List<Integer>[] graph=new ArrayList[n];\n for(int i=0;i<n;i++){\n graph[i]=new ArrayLi...
[ { "docid": "82090d35f8cea796d7a53cf37501afec", "score": "0.64550936", "text": "int getGraphMin();", "title": "" }, { "docid": "f755d0b159150af59f3f2dec66f5f62a", "score": "0.6360062", "text": "public ArrayList<Edge> connectVertex_firstNInThreshold(Vertex v, ArrayList<Vertex> graph, d...
66355dd04e89a1ed107561768d5847ab
SliderWert hat sich geaendert
[ { "docid": "e441b545684b71ab715874d11f97b2ab", "score": "0.0", "text": "@Override\n\t\t\tpublic void changed(ObservableValue<? extends Number> v,//\n\t\t\t\t\tNumber oldValue, Number newValue) {\n\t\t\t\tnotifer.run();\n\t\t\t}", "title": "" } ]
[ { "docid": "4fe550d0cac5bcf020e6d918f1ddb44a", "score": "0.70334727", "text": "public void updateSlider() \n { \n /* [GNPP] you may comment out if not debugging. */\n //gnpp.updateSlider();\n }", "title": "" }, { "docid": "d66dc769fe5df9b3c6bed256bbca55b0", "score": "0.6729305", ...
65af2e8880dd53911dc076278997338d
/ Since the superclass is not abstract, this requires an explicit binding to the subclass config class else Guice will create a new instance of config
[ { "docid": "6138ef66a5734db7278cc6a04256ba62", "score": "0.5992532", "text": "@Override\n protected void configure() {\n bind(ThirdEyeConfiguration.class).to(ThirdEyeDashboardConfiguration.class);\n bind(ThirdEyeDashboardConfiguration.class).toInstance(config);\n bind(TimeSeriesLoader.class).t...
[ { "docid": "f8c1b80e443ae3f177288556b826c6f4", "score": "0.660099", "text": "@Override\n protected void configure() {\n bind(GenerationConfigSource.class).toInstance(generationConfigSource);\n\n // Bind providers - used to retrieve implementations based on user input\n bind(Decis...
8682b3f64df9756f53e2f8913e46fbc1
Return the number of elements currently in the queue.
[ { "docid": "3b931dd8c9b2d6a264414a47064a8ca0", "score": "0.0", "text": "public int size();", "title": "" } ]
[ { "docid": "9caf871036aedac15409b1d6943480fe", "score": "0.8363061", "text": "public int size() {\n return queue.size();\n }", "title": "" }, { "docid": "114824896030a049bbd1e1b3b8a75723", "score": "0.83550394", "text": "public int size() {\n\t\treturn queue.size();\n\t}", ...
ff8b8a1d6d8486364f1f8e3c87b98c41
backtrack. for given combination, if number of ) > (, then discard the it
[ { "docid": "6d834e6a023b3146dd25dcd10426ac95", "score": "0.0", "text": "public List<String> generateParenthesis(int n) {\n backTrack(0,0,\"\",n);\n return ans;\n }", "title": "" } ]
[ { "docid": "484aff52d60275dd5a712d8610def3d3", "score": "0.5677479", "text": "Set<Set<T>> getAllBarelyPassingCombinations();", "title": "" }, { "docid": "99a2e95f037bf436db3ee3d25af7e336", "score": "0.5429457", "text": "public static void main(String[] args) {\n Scanner scanne...
481d167c9c533fc9653f69f53188ee3f
Should be serialized as "warnings"
[ { "docid": "7ccdd1f19ce55b254fa50083e1e84521", "score": "0.7101745", "text": "String getWarningsString();", "title": "" } ]
[ { "docid": "15b5bb9a0be549b7b3c8d4017e5f0059", "score": "0.70417273", "text": "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Contains warnings about possible misuse.\")\n\n public Object getWarnings() {\n return warnings;\n }", "title": "" }, { "docid": "eb87673dd07c7efdb746...
21377f446d35c4a026e15d36b8a8745c
recogemos los parametros necesarios
[ { "docid": "e4e6ef164b511981ad3c1601b56ca4f9", "score": "0.0", "text": "public String borrarVenta(){\n FacesContext facesContext = FacesContext.getCurrentInstance();\r\n HttpSession session = (HttpSession) facesContext.getExternalContext().getSession(false);\r\n String idVenta...
[ { "docid": "25b01e1b9000cd5a750b185847405d80", "score": "0.66812414", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n // jika id kosong maka simpan, jika id ada nilainya maka ubah\n ...