query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cff199b47fd1da9c3fe60515318507df", "score": "0.0", "text": "public void addGoods(int sellerId,int goodsTypeId,TGoods goods) {\n\t\tTSeller seller=sellerDao.findById(sellerId);\n\t\tTGoodstype goodsType=goodstypeDao.findById(goodsTypeId);\n\t\tTSellergoods sellergoods=new TSellergoods();\n\t\...
[ { "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...
edb4933749150eca511c4c0d73917c22
TODO: Implement this method
[ { "docid": "54081c040b28f108edd75cbf81db4c71", "score": "0.0", "text": "@Override\n\tpublic int getCount()\n\t{\n\t\treturn listFont.size();\n\t}", "title": "" } ]
[ { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.59886605", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.57865554", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d430a49c1c0aa61ba0e9101bbf0bed99", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\n\t\t\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": "" }, ...
69266340aec8f09fc3e74af0d2d1a6cb
Start a GETtype Rest request for the url '/ data'
[ { "docid": "c0976f903622fa3b7f93bbe02ce0fbe1", "score": "0.0", "text": "@Test\npublic void fetcUserMockMVCTest() throws ResourceException {\n\ttry {\n\t\tmockMVC.perform(get(\"/api/users/{id}\", 1L)).andExpect(status().isOk()).andReturn();\n\t} catch (Exception e) {\n\t\te.printStackTrace();\n\t}\n\n}",...
[ { "docid": "70e2b6d8f3801227044b2454a8e8ea12", "score": "0.60847664", "text": "@GET\n @Produces(MediaType.APPLICATION_JSON)\n public Response getIt() {\n \tfinal ChunkedOutput<String> output = new ChunkedOutput<String>(String.class);\n \trunTask(output, 10);\n \treturn Response.ok()\n ...
e37e9d2d8ac1bbddc79f62db852fd0e3
/ return IM_FONT_CONFIG>GlyphOffset.x; Offset all glyphs from this font input.
[ { "docid": "b4da45dff8a5ba9bd4378ad1072bb746", "score": "0.5580549", "text": "public native float getGlyphOffsetY();", "title": "" } ]
[ { "docid": "d9b97b5e8ca297d13d79f41cea1f8bd1", "score": "0.6765635", "text": "public ImVec2 getGlyphOffset() {\n final ImVec2 value = new ImVec2();\n getGlyphOffset(value);\n return value;\n }", "title": "" }, { "docid": "4fc3605b8f9f902e8931c32031356c43", "score"...
3e3f3bd598446e6a5d42539ea58b26c1
Show the result in the listview
[ { "docid": "efbfffaaa247ec8790439b2a75a0e39a", "score": "0.7442268", "text": "private void loadResult() {\n lvResult.setVisibility(View.VISIBLE);\n lvResult.setAdapter(new AddressAdapter(MainActivity.this, geocodingResult.getResults()));\n }", "title": "" } ]
[ { "docid": "6771f46c4fded7e87ac2e3f5b2672bf9", "score": "0.7473248", "text": "public void showResults(String query) {\n\t\t//For prototype will replace with db operations\n\t\tString[] str = { \"Artowrk1\", \"Some other piece\", \"This art\", \"Mona Lisa\" };\n\t\tArrayAdapter<String> aa = new ArrayAdap...
c1b89a441a952c60e9fe4e4f724459e6
isDecommissioned() is a method that returns whether a facility is decommissioned
[ { "docid": "2989d0d1bdab09857cb0225f0021ca22", "score": "0.8099151", "text": "public boolean isDecommissioned() {\n\t\treturn decommissioned;\n\t}", "title": "" } ]
[ { "docid": "e060ccb0709e9ca755e3e97e010cd6df", "score": "0.70069724", "text": "boolean hasIsDeActive();", "title": "" }, { "docid": "11d709d96350532a4d87bef31219d4e4", "score": "0.6766295", "text": "boolean getIsDeActive();", "title": "" }, { "docid": "1c81f80f08c6b96a2cf...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2bd26f9646bd66659dc22eab9c32c4c8", "score": "0.0", "text": "@Override\n\tpublic void updateByExample(FileUploadTemp obj,\n\t\t\tFileUploadTempDbObjExample ex) throws RuntimeException {\n\t\t\n\t}", "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...
06a100b64876d513d811a04daec2ee14
Setter method for the COM property "onfilterchange"
[ { "docid": "3e66fc0cdb413f6fc4ea438a1e8df668", "score": "0.77203614", "text": "@DISPID(-2147412069)\n @PropPut\n void onfilterchange(\n java.lang.Object rhs);", "title": "" } ]
[ { "docid": "3cb65e6c777125577f265b1dd7a1ebd7", "score": "0.82509595", "text": "@DISPID(-2147412069)\n @PropGet\n java.lang.Object onfilterchange();", "title": "" }, { "docid": "f9f37de9dabd3707a9a5200a2f551933", "score": "0.75636995", "text": "void filterChanged(Filter filter);", ...
b1aa9a828d4bb68144226e10d3635a39
Ads a photo to the data store if the photoUriStr is neither null nor empty.
[ { "docid": "67ecd789f9d3f5ea7d4ed5d7db734f27", "score": "0.62256736", "text": "private void insertPhoto(ContentValues values, ContentResolver resolver,\n String photoUriStr, long itemId) {\n if (TextUtils.isEmpty(photoUriStr)) {\n return;\n }\n values.clear();\n value...
[ { "docid": "11aea76ba2e3baf9ea7784a3278173bd", "score": "0.5954912", "text": "public void addPhoto(String photo, int ID){\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\t\tContentValues values = new ContentValues();\n\t\tvalues.put(\"PhotoID\", ID);\n\t\tvalues.put(\"Photo\",saveToInternalStorag...
cbaf938afbf08f9eada3cac0025b89a7
/ came from addRoutes.jsp
[ { "docid": "6dfa4b8c68edcd0e453e4651420e867e", "score": "0.5831591", "text": "protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n String startCity = \"\", endCity = \"\";\n int distance = 0;\n\n try {\n ...
[ { "docid": "31c82015a2eaf7aa0d4cb0d58b28f35a", "score": "0.6478758", "text": "public void addRoutes() {\n\n Runtime r = Runtime.getInstance();\n subscribe(r.getName(), \"registered\");\n\n // handle my own error the same way too\n subscribe(getName(), \"publishError\");\n }", "title": "...
4c07bcd463ae7e2cd7dcc3c622e84c09
================================================================================= IS A TREE SYMMETRIC: A tree is symmetric only when it is mirror of itself so we can use areMirror function above and check mirror with itself.
[ { "docid": "c72eed14381ebca88c7c93fac860850c", "score": "0.6497494", "text": "public static boolean IsSymmetric(Node node) {\r\n boolean res = areMirror(node, node);\r\n return res;\r\n }", "title": "" } ]
[ { "docid": "3be67a7f2c09bcc3b02330d099731b71", "score": "0.75472903", "text": "boolean Symmetric(Node t)\n {\n return isMirror(t,t);\n }", "title": "" }, { "docid": "989ff4132be3f4c3e00d0ef1c3143a5d", "score": "0.732586", "text": "public static void main(String[] args) {...
9c0acb13f1553d7e0d22f9fea350742f
Retrive the Object service with the id given. See if the given id is an alias, in this case retrive the real id and continue.
[ { "docid": "3dfa4841b5b59b4c28fc1f2b6df6cbd5", "score": "0.56362414", "text": "Object get(String id) throws ContainerException;", "title": "" } ]
[ { "docid": "42749dda1cc8e2b2baf35cc782641201", "score": "0.64264387", "text": "IService getProvidedService(String id);", "title": "" }, { "docid": "31af3051f7e185b4184781e27ffab6d4", "score": "0.6198362", "text": "public IDataObject getObject(long id);", "title": "" }, { ...
8d5b211ada8f4adcf33a4c6a207b4dc5
example constructor that takes a Parcel and gives you an object populated with it's values
[ { "docid": "77fa78f6e15b28fc7b642ec88bdd7500", "score": "0.0", "text": "private Dish(Parcel in) {\n setId(in.readLong());\n setName(in.readString());\n }", "title": "" } ]
[ { "docid": "eb494fb78f2f61fa59726dc44fe005cc", "score": "0.67994934", "text": "private myparcel(Parcel in) {\n\t\tobj = new Employee(in.readString(), in.readString(), in.readInt(),in.readFloat());\n\t}", "title": "" }, { "docid": "5a79966a2068d3ac34578d0fff3325af", "score": "0.6447177", ...
90b8cd89fc67968a89d210e900a46fc5
Get the output collected during command execution
[ { "docid": "2f1d363e1293b54de69595d20f0da7d3", "score": "0.5700477", "text": "public OutputStream getOutput() { return output; }", "title": "" } ]
[ { "docid": "1f28653ba40ce002d79851fa382b26cb", "score": "0.68671644", "text": "String getCliStdout();", "title": "" }, { "docid": "de622d639c6911b8e915dd7e14452385", "score": "0.6836811", "text": "public String output() {\n if (this.command != null) {\n return comma...
1883dbaf32a866b53cb9517716fd0b75
Persist Project metrics in the database
[ { "docid": "d8a7077900b9db83e14faea79e12c589", "score": "0.69867647", "text": "public void persistProjectMetrics(ProjectMetrics projectMetrics) throws InvalidBeanException, SQLException {\n\t\tpmdao = new ProjectMetricsDao();\n\t\tProjectMetrics aux = pmdao.get(projectMetrics);\n\t\tif (aux == null) {\n...
[ { "docid": "1658a2790db9fa5fbb0113bc4c65ec4a", "score": "0.61116445", "text": "void deleteMetrics(Project project) {\n final Query<ProjectMetrics> query = pm.newQuery(ProjectMetrics.class, \"project == :project\");\n query.deletePersistentAll(project);\n\n final Query<DependencyMetr...
6197d193638a96453686747bfc16a125
Convierte un DTO a entity
[ { "docid": "018ced7d8dfe6ed4fdd725ccf613a87b", "score": "0.68393224", "text": "@Override\r\n public EntregasDeDocumentosEntity toEntity() {\r\n EntregasDeDocumentosEntity entity = new EntregasDeDocumentosEntity();\r\n entity.setId(this.id);\r\n entity.setCostoDeTransporte(this.ge...
[ { "docid": "38afe89430b673dcefc8707b915b8f67", "score": "0.7601345", "text": "@Override\n\tpublic UtilisateurCreateDto convertEntityToDto(Utilisateur entity)\n\t{\n\t\tthrow new NotYetImplementedException();\n\t}", "title": "" }, { "docid": "88607c164a6f8a821436a974fd534ddb", "score": "0...
5d4e7fc88de377ef312868ec80159cb5
Call back for GPS Listener
[ { "docid": "425a23f981acb6f3538674bcf50dafcb", "score": "0.0", "text": "@Override\n public void onLocationChanged(Location location) {\n Log.d(\"GPS Service \",\"On location change !!!\");\n //Toast.makeText(MainCam,\"GPS Service: Location On Change !!!\",Toast.LENGTH_LONG).show();\n ...
[ { "docid": "04a45f2eaf68d4ba1ff0bd9f70271ac5", "score": "0.7118663", "text": "private void startLocationListener() {\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n\n ActivityCompat.requestPermissions(Ca...
55dfedd655fd1c9459ae0429bf57fd26
/The method pop which return the element poped out of the stack
[ { "docid": "1a13ca041097586ca3e59444c11f5fbe", "score": "0.0", "text": "int pop()\n {\n\t\t// Your code here\n\t\tif(q1.isEmpty())\n\t\t return -1;\n\t\telse{\n\t\t while(q1.size()!=1){\n\t\t q2.add(q1.poll());\n\t\t }\n\t\t Queue<Integer> q3 = q1;\n\t\t q1=q2;\n\t\t q2=q3;\n\t\...
[ { "docid": "858c8475538fb8d4ce30b7b882cf8389", "score": "0.8770823", "text": "public Object pop();", "title": "" }, { "docid": "4acc6dcacefacb72bef9d1f0a5ee94d4", "score": "0.8705847", "text": "@Override\r\n\tpublic T pop() {\r\n\t\tif (isEmpty()) {\r\n\t\t\tthrow new RuntimeExceptio...
6bad973b1344a444bd67fd707cb14cc5
Instantiates a new Rule object.
[ { "docid": "9a92c98c32d37f60266257d1d3f5ed08", "score": "0.8032527", "text": "public Rule() {\r\n }", "title": "" } ]
[ { "docid": "8248e60c14a518c19333da97eb485b5f", "score": "0.79702294", "text": "Rule createRule();", "title": "" }, { "docid": "8248e60c14a518c19333da97eb485b5f", "score": "0.79702294", "text": "Rule createRule();", "title": "" }, { "docid": "b0d6cc6966b35aca7e533c23eac3f6...
4ea4ee489d1db41ba7050b1d6f0b8977
/ / / /
[ { "docid": "00f81b13a773b7551590a9be0f9d6551", "score": "0.0", "text": "public int getLevel() {\n/* 47 */ return this.level;\n/* */ }", "title": "" } ]
[ { "docid": "0022fd8a33c9a06ec94d5eca80a9a8b1", "score": "0.5908612", "text": "public void divide() {\n\t\t\n\t}", "title": "" }, { "docid": "cf6414d82fbbd8ef52afd8d781d71f2d", "score": "0.5636765", "text": "private FractionBMiddlePath() {\n\t\t\n\t}", "title": "" }, { "do...
09f3dfc67f520fc2152de2ecc3a0ed58
Constructor is called to create this object.
[ { "docid": "d813175abcd0d9e209a5355bd65fc050", "score": "0.0", "text": "public ChosenWord(String word){\r\n this.word = word.toLowerCase();\r\n charsGuessed = new boolean[word.length()];\r\n }", "title": "" } ]
[ { "docid": "3507cf7037c692c62cee81f871796c74", "score": "0.7541577", "text": "protected void constructor() {\n\t\t/* this is intentionally empty to override the parent class */\n\t}", "title": "" }, { "docid": "a79352d55383dbe095035877dab36f30", "score": "0.71141857", "text": "public...
dbddceedbb69ee17caf855e8ec526bb7
optional .proto.elbrus_pb.TrainCategoriesMessage skip_categories = 7;
[ { "docid": "74ec5b7e04312098bf95564bbabc01af", "score": "0.5739993", "text": "public boolean hasSkipCategories() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" } ]
[ { "docid": "13081395de4bc1a551a3178533a63a75", "score": "0.8955076", "text": "loader.elbrus.proto.ElbrusProto.TrainCategoriesMessageOrBuilder getSkipCategoriesOrBuilder();", "title": "" }, { "docid": "13081395de4bc1a551a3178533a63a75", "score": "0.8954354", "text": "loader.elbrus.pro...
29e24cebb98ba05f43e2c60f68ca8c98
Deplace l'acteur vers la droit
[ { "docid": "698d50613ac91ef74da97245b1f86af8", "score": "0.533372", "text": "private void DeplacementMonstreDroit(int idMonstre)\r\n\t{\r\n\t\tthis.monstres[idMonstre].getPosition().changePosX(1);\r\n\t}", "title": "" } ]
[ { "docid": "fc15e14e479bc26584f9d0e4010c9355", "score": "0.6344119", "text": "public void debut() {courant=premier;}", "title": "" }, { "docid": "178723fd37715ef047253a1f14fc77ec", "score": "0.59168833", "text": "void undoCde(Controlleur controlleur);", "title": "" }, { "...
e85e3beb8847cd50b11d0628d47bcdf9
The tags to apply to policycreated resources. These userdefined tags are in addition to the Amazon Web Servicesadded lifecycle tags.
[ { "docid": "c519e70f377db60ea8941af87930e572", "score": "0.0", "text": "public Schedule withTagsToAdd(java.util.Collection<Tag> tagsToAdd) {\n setTagsToAdd(tagsToAdd);\n return this;\n }", "title": "" } ]
[ { "docid": "10e59d38d95a6a42075ff3d913663a33", "score": "0.6299066", "text": "public java.util.List<Tag> getTags() {\n if (tags == null) {\n tags = new com.amazonaws.internal.ListWithAutoConstructFlag<Tag>();\n tags.setAutoConstruct(true);\n }\n return tags...
92c754b1e07693f7c41ad7b89a802430
Construct a new SimpleDelegatingTransformer.
[ { "docid": "89a2132a7f42bfce2b55dc7291a10648", "score": "0.6862302", "text": "public SimpleDelegatingTransformer(Transformer[] components) {\n\t\tthis(components, false);\n\t}", "title": "" } ]
[ { "docid": "f33cf573d7bbc6fcefee235db61dd736", "score": "0.81929266", "text": "public SimpleDelegatingTransformer() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "923174aa4503417f7bd1aa826295f89c", "score": "0.56818587", "text": "public ASMBasedTransformer(ASMBasedTransformer<F, T...
caa6d54f0d6ac8c85c6f87781148949f
TODO we can turn this off later For HK2
[ { "docid": "3e6c60bec1b7f879460c7257601617eb", "score": "0.0", "text": "private ChangesetSyncService() \r\n\t{\r\n\t}", "title": "" } ]
[ { "docid": "c8ceec30e6f3ebd2fb8cab39b477d3f3", "score": "0.58044297", "text": "private static void sapxep() {\n\t\t\n\t}", "title": "" }, { "docid": "0712bdbb140e0eec9d74fdd7c0105fbb", "score": "0.57202077", "text": "private ConfigurationHandler_ConfigAdmin184() {}", "title": "" ...
bd19ea9f1b0395f74d04406a2ce8b723
Tests the method of getExpenseStatusModificationUserMatchCriteria(String) when user is null. Expect IllegalArgumentException.
[ { "docid": "9fc2ef3936841422ad004efe98febbf2", "score": "0.828072", "text": "public void testGetExpenseStatusModificationUserMatchCriteria_NullUser() {\r\n try {\r\n FieldMatchCriteria.getExpenseStatusModificationUserMatchCriteria(null);\r\n fail(\"Should throw IllegalArgume...
[ { "docid": "a5adf845d76b2bfa274c14db1daf48f6", "score": "0.8022486", "text": "public void testGetExpenseStatusModificationUserMatchCriteria_EmptyUser() {\r\n try {\r\n FieldMatchCriteria.getExpenseStatusModificationUserMatchCriteria(\" \");\r\n fail(\"Should throw IllegalArg...
a0f6f0f57ec1f965f5300b99a85ed530
Finds all nearby devices of the specified major and minor types in the specified search mode.
[ { "docid": "c5e75f705fb433fd17bb8d6244b1de88", "score": "0.6208566", "text": "public static BluetoothDevice[] findDevices(int searchMode, int deviceClassMajor, int deviceClassMinor) \n\tthrows BluetoothStateException\n\t{\n\t\tcheckInstance();\n\t\treturn INSTANCE.findDevicesImpl( searchMode, deviceClas...
[ { "docid": "2c4f203f950c0765891cbb87c2380a3b", "score": "0.64916784", "text": "private BluetoothDevice[] findDevicesImpl(int searchMode, int deviceClassMajor, int deviceClassMinor ) throws BluetoothStateException\n\t{\n\t\tthis.searchedClassMajor = deviceClassMajor;\n\t\tthis.searchedClassMinor = device...
08bd575222111c96749d3f866d42b7c6
Interface representing a BinarySearchTree
[ { "docid": "1f603bc8ce6c107765e654a4bd6a4a44", "score": "0.71651924", "text": "public interface BST {\n\n\t/**\n\t * @return value of the node\n\t */\n\tpublic int getValue();\n\n\t/**\n\t * @return left child of the node or <code>null</code>\n\t */\n\tpublic BST getLeftChild();\n\n\t/**\n\t * @return r...
[ { "docid": "92369fbd542d563295333430d98e6122", "score": "0.7420997", "text": "public interface BinaryTree<T extends Comparable<T>> {\n /**\n * Fetches the root of the tree\n * @return\n */\n TreeNode<T> getRoot();\n\n /**\n * Sets the root of the tree\n * @param root\n *...
7bc74899b843b12d18ca342350461bc9
Applies if a user enters new credentials using Apple Pay.
[ { "docid": "dfae525580a6d90a0bc5add6e0bf11f3", "score": "0.5225869", "text": "public InputCredentialsApplePay(String data) {\n this.data = data;\n }", "title": "" } ]
[ { "docid": "1e46d4262143060bb493986d68076149", "score": "0.5917109", "text": "@Override\n\tpublic void pay() {\n\t\t\n\t\tSystem.out.println(\"Enter OTP\");\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint userOtp = scanner.nextInt();\n\t\tscanner.close();\n\t\t\n\t\t//OTP assumed to 10101.\n\t\t...
20000603074cb4199d4b2be23b80b306
Initialize the frame with the corresponding patient.
[ { "docid": "fdf4dc0350884ccb71bcb7dc39b4d27e", "score": "0.53402895", "text": "public void initializeFrame(String ssn) {\n\t\t\n\t\t //Set the combo box to the patient's name item.\n\t\t modifyComboBox.setSelectedIndex(0);\n\t\t\n\t\t //Connect to the database and gets the corresponding patient.\n\t\t P...
[ { "docid": "3346ee43f93a682341262d348f2285e8", "score": "0.6472567", "text": "public Patient() {\n\t\tthis(\"unknown\", \"unknown\", \"unknown\", new OurDate());\n\t}", "title": "" }, { "docid": "3424eed158f56b9a680125c4024d7649", "score": "0.63722926", "text": "public PatientDetail(...
d57cd42fb6907cb6eb4a8aa0ffc6770a
Calculate graph diff which if applied to the original will produce an instance that will be "equal" to the modified instance.
[ { "docid": "21a28a72a980efcdb64ff2de1ed8fd5b", "score": "0.65138334", "text": "Delta diff( Object original, Object modified );", "title": "" } ]
[ { "docid": "04c413e9fbef32e67271fc08fcfbd116", "score": "0.65817595", "text": "@Test\n public void testTwoPointersToSameInstance() throws Exception\n {\n Node X = new Node(\"X\");\n Node Y = new Node(\"Y\");\n\n Node B = new Node(\"B\", X);\n Node C = new Node(\"C\", X)...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "166d8d72fbf4273f0b8a94d442491a0e", "score": "0.0", "text": "@Override\n\tprotected Lexer getLexer(ANTLRInputStream inputStream) {\n\t\treturn new XMLLexer(inputStream);\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}", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0040ee6e1f2062dd18acc789646942b7", "score": "0.0", "text": "@Override\n\tprotected void callBackForServerSuccess(HemaNetTask netTask,\n\t\t\tHemaBaseResult baseResult) {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
b3954f6a95f64b350eb4f10889907aed
Dirige a la GUI de gestionar usuarios
[ { "docid": "f6d6777cae784de180ed055934dcea75", "score": "0.6611686", "text": "public void cargarRegistrarUsuarios() {\r\n this.ruta = \"/administrador/usuario/ListarUsuarios.xhtml\";\r\n }", "title": "" } ]
[ { "docid": "978e2ac61e519e250996c2feb2cd7960", "score": "0.7460852", "text": "private PanelGestionUsuarios() {\n initComponents();\n this.tablaResultadosBusqueda.setVisible(false);\n FuncionesComunes.MostrarOcultarTxt(this, false);\n FuncionesComunes.MostrarOcultarLbl(this, f...
f7dad8823b697755b4b64f56c7f79aea
Sets emails sent date. If input parameter is null then date will be when email is physically sent.
[ { "docid": "4f1d96f576f63d9359857644815ba6b6", "score": "0.7948403", "text": "public void setSentDate(Date date) {\r\n\t\tsentDate = date;\r\n\t}", "title": "" } ]
[ { "docid": "e5a6dccedd851d7b7da65c8402b47959", "score": "0.79732496", "text": "public void setSentDate() {\r\n\t\tsentDate = new Date();\r\n\t}", "title": "" }, { "docid": "140841e1b665838ee05e74eb61f6d0fd", "score": "0.74729466", "text": "public void setSendDate(String sendDate) {\r...
ed26fb28093252633d9e66654cb7e481
Patches this ImportedAppleDeviceIdentity with a source
[ { "docid": "ae6dc0a31d3d896727e1b1fa402a2309", "score": "0.81475013", "text": "ImportedAppleDeviceIdentity patch(final ImportedAppleDeviceIdentity sourceImportedAppleDeviceIdentity) throws ClientException;", "title": "" } ]
[ { "docid": "03aa7be24c9098053ba49c0e1eca2efd", "score": "0.77141863", "text": "void patch(final ImportedAppleDeviceIdentity sourceImportedAppleDeviceIdentity, final ICallback<? super ImportedAppleDeviceIdentity> callback);", "title": "" }, { "docid": "c4e30e09106f95bbb4f09eba187dbf97", "...
fcc5e88a7b326c0e2ea2add9c0b1379f
Return the completion status of the task
[ { "docid": "094b8659908267ba5e44980186e1ed16", "score": "0.0", "text": "public String getStatusIcon() {\n return (isDone ? \"X\" : \" \"); // mark done task with X\n }", "title": "" } ]
[ { "docid": "3964e62719763e254d76d41ae83d48b7", "score": "0.7810817", "text": "TaskStatus getStatus();", "title": "" }, { "docid": "bdb18da0b1bfc37fe1c683d527d49c17", "score": "0.72592735", "text": "@SuppressWarnings(\"unchecked\")\n public TaskStatus getTaskStatus() {\n Vec...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f9466393ff95dd287174e471b6197e7f", "score": "0.0", "text": "public List<Education> findByJobSeeker(JobSeeker activeUser) {\n\t\treturn educationRepo.findByJobSeeker(activeUser);\r\n\t}", "title": "" } ]
[ { "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": "" ...
47b447a280e7130893f74217ba43aa5b
Serializes instance of object as pattern for parameter
[ { "docid": "3cff63879e4d937609bb279ce845e39e", "score": "0.0", "text": "public static void main(String[] args) {\n if (args.length < 1) {\n System.out.print(\"Usage: java org.w3c.domts.DOMTSApplet outfile\");\n System.exit(1);\n }\n try {\n FileOutpu...
[ { "docid": "a592bfb292e04312128c1d9cf4356515", "score": "0.6055461", "text": "public abstract String serialize(Object o);", "title": "" }, { "docid": "553956e5be90044129e621f8e7c0af88", "score": "0.592376", "text": "public interface IInstanceSerializingVisitor extends IInstanceVisito...
b08f7949aaf53b2e1d1e965a93405577
core metrics most (likely) useful to track
[ { "docid": "1b328bc5008a2b79ade6a1f133d6173a", "score": "0.5702364", "text": "private Map<String, Object> getMap(SampleResult result) {\n\t\tmetricsMap.put(\"AllThreads\", result.getAllThreads());\n\t\tmetricsMap.put(\"BodySize\", result.getBodySize());\n\t\tmetricsMap.put(\"Bytes\", result.getBytes());...
[ { "docid": "658a293f82914484aeb78a01eb56e491", "score": "0.66917384", "text": "MetricResults metrics();", "title": "" }, { "docid": "c4fa6efee4caa5d76370e1fd712f3041", "score": "0.6362973", "text": "public void Statistics(){\n\t\t\n\t}", "title": "" }, { "docid": "697a7cd...
4b5147c34144733acfa927c00bdf46be
Adds given message to the message queue and notifies this thread (actually getNextMessageFromQueue method) that a message is arrived. sendMessage is always called by other threads (MessageDispatcher).
[ { "docid": "19444298ed55a5bb837b33619f532c61", "score": "0.79302883", "text": "public synchronized void sendMessage(String message) { \n\t msgQueue.add(message); \n\t notify(); \n\t }", "title": "" } ]
[ { "docid": "0c1a2ad56ee6316eeb222c412acefa7b", "score": "0.7431045", "text": "@Override\r\n\tpublic void sendMessage(Message msg) throws RemoteException {\n\t\ttry {\r\n\t\t\tmMsgqueue.put(msg);\r\n\t\t\tLogger.i(TAG, \"added msg in queue of:\" + mParticipant);\r\n\t\t\tif (msg.getType() == Message.MSG_...
7cd6b8070a7a02c942aad8369b8a03eb
/ User selects the 'types' option
[ { "docid": "b64df31c9ac59f8cef302a76d92a6f8a", "score": "0.0", "text": "private static void classTypeSearch() { \r\n\t\t\r\n\t\tSystem.out.println(\"\\nAvailable class types\"); \r\n\t\tSystem.out.println(\"---------------------\");\r\n\t\tdb.query(\"type\",\"Type\");\r\n\t\tSystem.out.println(\"\\n(Typ...
[ { "docid": "5527ffbb03a2520e4744e91900d5d241", "score": "0.7423243", "text": "private void displayTypeMenu() {\n System.out.print(\"Choose Type of Purchase: \");\n System.out.println(\"\\nSelect from:\");\n int number = 0;\n\n for (String type: accountBook.getTypeList()) {\n ...
58a7816a526ad26deeeca776f0b7b637
repeated .client2server.WorldBossRank ranks = 8;
[ { "docid": "5163aa3c0f894c3b19c67396aa837def", "score": "0.0", "text": "public Builder addRanks(\n int index, pb4client.WorldBossRank.Builder builderForValue) {\n if (ranksBuilder_ == null) {\n ensureRanksIsMutable();\n ranks_.add(index, builderForValue.build());\n onCha...
[ { "docid": "1fed2db68000836c326b48c9550d4e6b", "score": "0.5839894", "text": "public pb4client.WorldBossRankOrBuilder getRanksOrBuilder(\n int index) {\n return ranks_.get(index);\n }", "title": "" }, { "docid": "a021a81db86d4455d500ece908ca36bc", "score": "0.5832227", "text...
909848e1956b84c12913a38f362e9e17
Sample from a normal distribution given a mean of zero and a matrix of standard deviations.
[ { "docid": "c275def541d37ee4cae604a817e4be15", "score": "0.6582981", "text": "public static DoubleMatrix normal(RandomGenerator rng,DoubleMatrix standardDeviations) {\n\n DoubleMatrix U = new DoubleMatrix(standardDeviations.rows,standardDeviations.columns);\n for(int i = 0; i < U.rows; i++...
[ { "docid": "f2a1fdac395343dec368037adbc8edfe", "score": "0.707597", "text": "public static DoubleMatrix normal(RandomGenerator rng,DoubleMatrix mean,DoubleMatrix variance) {\n DoubleMatrix std = MatrixFunctions.sqrt(variance);\n for(int i = 0;i < variance.length; i++)\n if(varia...
2c7a8b16710f953a0e5b8aca7fcaf334
bool authenticated = 1;
[ { "docid": "cb9b3b80b1e8ff88f1cbaaff4361dee8", "score": "0.6662712", "text": "public boolean getAuthenticated() {\n return authenticated_;\n }", "title": "" } ]
[ { "docid": "ae76d6ae56b42779f4338407fd449bac", "score": "0.7874686", "text": "boolean isAuthenticated();", "title": "" }, { "docid": "eeba4ddc1c440d3834fd8ef6d77d07e0", "score": "0.78471535", "text": "boolean getAuthenticated();", "title": "" }, { "docid": "21786dff464bbc...
ed92a1d068e833dff201c7e8fbb483d8
Unsets the "adoptedSurvey" attribute
[ { "docid": "64927bba7a6dd7680478a48a56300162", "score": "0.84489423", "text": "public void unsetAdoptedSurvey()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_attribute(ADOPTEDSURVEY$8);\r\n }\r\...
[ { "docid": "d06817c2e96230c11974d356ae9c4709", "score": "0.62511176", "text": "public void xsetAdoptedSurvey(org.apache.xmlbeans.XmlString adoptedSurvey)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlS...
610b3a28a80e0cac4dbb1dd838d01c8f
Tests_SRS_SERVICE_SDK_JAVA_CONFIGURATION_28_004: [This method shall return a new instance of a ConfigurationParser object that is populated using the properties of this.]
[ { "docid": "dff86338387bd818415d5df56d9a17fa", "score": "0.73181415", "text": "@Test\n public void conversionToConfigurationParser()\n {\n // arrange\n String expectedConfigId = \"configuration\";\n String expectedSchemaVersion = \"2.0\";\n String expectedETag = \"1234\...
[ { "docid": "d0b39626fb03002da0caf1962693c701", "score": "0.74098957", "text": "@Test\n public void conversionFromConfigurationParser()\n {\n // arrange\n String expectedConfigId = \"configuration\";\n String expectedSchemaVersion = \"2.0\";\n String expectedETag = \"123...
dfded48388ff02ee4a43aa9d5ca324a5
Format the time value given as parameter (in milliseconds)
[ { "docid": "6bfc5a1c914d13efbdf083af6570c1b4", "score": "0.67935234", "text": "public static String getFormattedTime(long time) {\n String format = String.format(\"%%0%dd\", 2);\n time = time / 1000;\n String seconds = String.format(format, time % 60);\n String minutes = Stri...
[ { "docid": "1d6aa881e45e418900f3f8c3ab36677c", "score": "0.74330014", "text": "public static String formatTime(long time) {\n\t\tDateFormat df = new SimpleDateFormat(\"HH:mm:ss.SSS\");\n\t\tString str = df.format(time);\n\t\treturn str;\n\t}", "title": "" }, { "docid": "1d6aa881e45e418900f3f...
3f855fa04de0b2dc30d413a246583320
first chance: send signal for stopping producer loop
[ { "docid": "8c68c82b69694e2d7d20c2077103f84f", "score": "0.0", "text": "public void shutdown() throws InterruptedException {\n\t\tshutdown.set(true);\n\t\tif (shutdownLatch.await(500, TimeUnit.MILLISECONDS)) {\n\t\t\treturn;\n\t\t} else {\n\t\t\t// second chance: interrupt thread\n\t\t\tThread th = runn...
[ { "docid": "434d2f2770afc37a6e2466c4a276582d", "score": "0.685784", "text": "@Override\n public void run() {\n while (!signal.hasDataToProcess) {\n // do nothing...\n }\n // do something...\n }", "title": "" }, { "docid": "063f93d...
048b1e2f2b6ac67e382b11dba16a7046
Create new views (invoked by the layout manager)
[ { "docid": "719c68d963af6d49777ba9678e309eff", "score": "0.0", "text": "@Override\n public InvoiceListAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent,\n int viewType) {\n View v = LayoutInflater.from(parent.getContext()).inf...
[ { "docid": "850d3571f095fad4133f571bf2cac15a", "score": "0.8047814", "text": "Views createViews();", "title": "" }, { "docid": "caee754379e4961e999ae91fea733dc2", "score": "0.7458707", "text": "public void createView()\n\t{\n\t\tclearUpHeader();\n\t\tframe.add(createView, BorderLayou...
e1d06ef985a9fe314fc80b9a9eb8b622
Gets the given horizon setting.
[ { "docid": "a073290dbffe4e9df6a1307e15993458", "score": "0.59730834", "text": "public FsmHorizonSettings getHorizonSettings(boolean isBwd, int mode) {\n\t\tFsmHorizonSettings settings = null;\n\t\tif (mode >= 0 && mode < FsmMinerPayload.LAST) {\n\t\t\tif (isBwd) {\n\t\t\t\tsettings = bwdHorizonSettings[...
[ { "docid": "5b1d02c157a278ea74c1bdc05da72723", "score": "0.56479484", "text": "public int getHorizon() {\n SpinnerNumberModel model = (SpinnerNumberModel) m_horizonSpinner.getModel();\n return model.getNumber().intValue();\n }", "title": "" }, { "docid": "acfad0a45b7c7bb8283131d887469...
331519ae47be0924f139e5c710f1eed8
Gets the sorted list of origins.
[ { "docid": "c93ec75bc5c00f19b3e31f9b807f4b24", "score": "0.8746002", "text": "public List<String> getSortedOrigins();", "title": "" } ]
[ { "docid": "72667b5db1b137602f3e49c9d258f92a", "score": "0.83260757", "text": "public List<String> getUnsortedOrigins();", "title": "" }, { "docid": "083ba408b25b28d574157aa7d64d4b0e", "score": "0.7842155", "text": "public List<String> origins() {\n return this.origins;\n }...
bf6ce438be816bbbb6746708c4b147f1
/ print all student registered to this course
[ { "docid": "9bcdd7e62279c919c6c52eb1ad93df4d", "score": "0.7855972", "text": "public void printStudent(){\n\t\tSystem.out.println(\"=========================================================\");\n\t\tif (students.size() == 0){\n\t\t\tSystem.out.println(\">>>>>>>>>>No student has registered for this cours...
[ { "docid": "a8c0959bcc61c62a198d3f93963a7bf3", "score": "0.7759944", "text": "public static void displayAllStudents() {\r\n for (Student student : studentList) {\r\n System.out.print(student);\r\n }\r\n }", "title": "" }, { "docid": "43c26f82b21dc186698f305db8172e...
aedaeb737f220583e089d49a81212adb
Schedule restart of deployment, or specific host in a deployment
[ { "docid": "9467ef0123327cfe9be462cbf0a7900f", "score": "0.6024744", "text": "private HttpResponse restart(String tenantName, String applicationName, String instanceName, String environment, String region, HttpRequest request) {\n DeploymentId deploymentId = new DeploymentId(ApplicationId.from(te...
[ { "docid": "d648dbd98b695a62fe851aa521c0f0a4", "score": "0.57747877", "text": "public void restartSchedule() {\n stopSchedules( true );\n startSchedules();\n }", "title": "" }, { "docid": "3dbe7573044537c1ac9b594def0c71af", "score": "0.57211876", "text": "void restartServ...
38a830df1f53a1de66b0d0204e6fc89d
/////////////////////////////////////////////////////////////// Constructors /////////////////////////////////////////////////////////////// Empty constructor.
[ { "docid": "e768cf160116e668130b5d048c4805f1", "score": "0.0", "text": "public CrispRule()\n\t{\n\t\tsuper();\n\t}", "title": "" } ]
[ { "docid": "971ed6fe1fb702ddb19c93ed31b1744e", "score": "0.7348848", "text": "public Drzava() {\r\n }", "title": "" }, { "docid": "dee9dfe189fbf707872f0e5a9b47763b", "score": "0.7340337", "text": "public Carrera() {\n\t}", "title": "" }, { "docid": "a437828af6dc1059e9c...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "669553a935cde8759e3f41e5e0f93b0c", "score": "0.0", "text": "@Override\n\tpublic int update(BorderVo vo) {\n\t\treturn 0;\n\t}", "title": "" } ]
[ { "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": "" }, { ...
c34ef795c30354f548d7fe32d3237a67
Create a mock for Context with an empty input object
[ { "docid": "07af965692b20574885de84e46c5b8f6", "score": "0.68729043", "text": "private Context createEmptyContext(FunctionInput input) {\n Context mockContext = mock(Context.class);\n\n when(mockContext.getOrg())\n .then(\n i1 -> {\n Org mockOrg = mock(Org.class, Moc...
[ { "docid": "a18ce588be1f3beca3170c2370932bb5", "score": "0.67947584", "text": "public ModelImplementationMock(Context ctx) {\r\n this.context = ctx;\r\n }", "title": "" }, { "docid": "9cf05b9f2639ddffbe24890ca3896c4d", "score": "0.65984243", "text": "public Context() {\r\n ...
8f501edd080d31ad4a822340cce4f38e
Auto generated getter method
[ { "docid": "a853a0f4a8bd64b9c3062e3d287366c9", "score": "0.0", "text": "public FRSShipmentDataType getFRSShipmentData(){\n return localFRSShipmentData;\n }", "title": "" } ]
[ { "docid": "d665e7d91002d5e9b417e001ca6ab4a3", "score": "0.7485485", "text": "@Override\n public abstract String get();", "title": "" }, { "docid": "8d5e1e149b54434e5ef011301af95400", "score": "0.7425297", "text": "public Object get();", "title": "" }, { "docid": "cae7...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5f2002b21460de9ccd9e86f4c428dc9e", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tIntent it = new Intent(IndexActivity.this,ManaIndexActivity.class); \n it.putExtras(it); \n startActivity(it);\n\t\t\t}", "title": "" } ...
[ { "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": "" ...
ce43901766b4874777ccd3afed650882
sletter bolig fra utleieren
[ { "docid": "f19bc99a1c7d8ddd202ccf8584441033", "score": "0.0", "text": "public void slettBolig(Bolig b) {\n if (b != null) {\n liste.fjern(b);\n }\n }", "title": "" } ]
[ { "docid": "aef39a8a182556e1ad36619cc88a039f", "score": "0.6430304", "text": "public static void letterS(){\r\n\t\tSystem.out.println(\" SSSSS\");\r\n\t\tSystem.out.println(\" S S\");\r\n\t\tSystem.out.println(\" S\");\r\n\t\tSystem.out.println(\" SSSSS\");\r\n\t\tSystem.out.println(\"...
f3671e7db0caea68ecf2011cb535b97c
This method was generated by MyBatis Generator. This method corresponds to the database table T_PERMISSION
[ { "docid": "6fbcdba39e66f3fdd571a661b33c3397", "score": "0.0", "text": "int updateByExample(@Param(\"record\") TPermission record, @Param(\"example\") TPermissionExample example);", "title": "" } ]
[ { "docid": "5aa750137c991a21582400c4e839b281", "score": "0.6610258", "text": "public String getTableDbName() { return \"t_secuserpermission\"; }", "title": "" }, { "docid": "dc156821012dfcd6064fbbc638e4747b", "score": "0.61735934", "text": "@Override\n\tprotected void doPermissions(S...
91fcbfcab65c1674bac1e65882f02319
Gets the value of the EndTime field. Timestamp when the timing completed
[ { "docid": "60b72434d0651a8f6ea9e7800030ec8e", "score": "0.7638385", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime();", "title": "" } ]
[ { "docid": "a264a7aedf40259c0d7911a3909f9db6", "score": "0.8359768", "text": "public java.lang.Long getEndTime() {\n return end_time;\n }", "title": "" }, { "docid": "866a41b810f34cd68229089b4e214ebd", "score": "0.83114547", "text": "public java.lang.Long getEndTime() {\n re...
cb68ecfcd6d7ab7c4ae106d10020f1b7
/ renamed from: o
[ { "docid": "f75580cb28ad59de62f13fff28073517", "score": "0.0", "text": "public static final void m126159o(VideoPublishEditModel videoPublishEditModel) {\n C7573i.m23587b(videoPublishEditModel, \"model\");\n C6907h.m21524a(\"enter_video_shoot_page\", (Map) C22984d.m75611a().mo59973a(\"creat...
[ { "docid": "4837afbb5228b16ec1eb257b6bd89d4e", "score": "0.6521314", "text": "@Override\r\n\tpublic void o2() {\n\t\t\r\n\t}", "title": "" }, { "docid": "72ef6ac0b67aa37319c63fc4aa4d0568", "score": "0.6146581", "text": "@Override\r\n\tpublic void o1() {\n\t\t\r\n\t}", "title": ""...
ea84ce13213add567fdb714dc33a4d45
Test of addSelect method, of class Element.
[ { "docid": "10378f037e85f0d1e884296f5fa98786", "score": "0.0", "text": "@Test\n public void testElementThenCatch() {\n StringBuilder writer = new StringBuilder();\n DefaultHtmlConfig config = HtmlConfig.ofDefault()\n .setTitle(\"Element-try-catche\");\n\n HtmlEleme...
[ { "docid": "aa5ab26f26e97c926fc6a6a90bbf8d10", "score": "0.6655087", "text": "@Test\r\n\tpublic void test() {\n\t\tWebElement element = driver.findElement(By.id(\"dropdown\"));\r\n\t\t// 2. create the Select object by passing the element as a constructor\r\n\t\tSelect list = new Select(element);\r\n\t\t...
cfbd0aafb01e7ce8baf758906bb81ad5
Gets the ringIterator attribute of the JOERingSearch object
[ { "docid": "d222e62735a076c6889bed8114c1b26d", "score": "0.7109188", "text": "protected BasicRingIterator getRingIterator()\n {\n return new BasicRingIterator(ringList);\n }", "title": "" } ]
[ { "docid": "5f88581932e0b9f0ac8f2bac67709ee1", "score": "0.6064678", "text": "public aj<E> iterator() {\n return sJ().iterator();\n }", "title": "" }, { "docid": "9d54fa709d7fb8a3927797e6549f010b", "score": "0.5956039", "text": "@Override\n\tpublic Iterator<T> itera...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b2b38adf98727d1175706283f5a68d8b", "score": "0.0", "text": "public static void main(String[] args) {\nnew TextAreaTest();\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
fc7ad4c4e2fc0fb16de306b53d81fd2e
/ / / / / / / / / / / / / / /
[ { "docid": "090038e2196b2d0db2816c8ec5c86ac8", "score": "0.0", "text": "public Object getPreviousValue() {\n/* 401 */ Calendar calendar = Calendar.getInstance();\n/* 402 */ calendar.setTime(this.value.getTime());\n/* 403 */ calendar.add(this.calendarField, -1);\n/* 404 */ Date date = cal...
[ { "docid": "c2abac99adbb5cc23924536ed7ed5bb2", "score": "0.5422861", "text": "@Override\n\tpublic void divertir() {\n\t\t\n\t}", "title": "" }, { "docid": "7eac1b1d76f46528fa7a1d81470b0b12", "score": "0.5388064", "text": "private int getBoundaryWidth(){ return right-left; }", "ti...
e47793ab44c51d1039242e03058c9e13
Recibe un parametro de un objeto de tipo Pedido. Solamente se utiliza esta funcion en caso de que se pida una cantidad mayor de medicamento que la que se tiene en existencia. Se pone a 0 la existencia de productos y se agrega la diferencia a pedidos para posteriormente mandar pedir mas producto a los proveedores.
[ { "docid": "0e802bd96bfbb420658ccbc8de364abd", "score": "0.0", "text": "@Override\r\n public void registrarPedido(Pedido pe) {\r\n em.merge(pe);\r\n }", "title": "" } ]
[ { "docid": "6c3bd91e74a59f79cff970f78e553239", "score": "0.6365561", "text": "@Override\r\n public List<Producto> agregar(int idproducto, int cantidad) {\r\n try {\r\n Producto p = getMedicamentoById(idproducto);\r\n int iobjeto = pedido.indexOf(p);// iobjeto regresa la p...
b58080d4805c8857411bb3a65bc4668c
Constructs gameObject scene in 0 0 with size 1
[ { "docid": "277c5c6c31eb877a6eb99cc70391b8cf", "score": "0.0", "text": "public AccountPageHandler(UUID uuid) {\n super(0, 0, 1, 1, ObjectType.Button, uuid);\n }", "title": "" } ]
[ { "docid": "b182eab99adf4c72bafc213645e1f94e", "score": "0.69472665", "text": "private void CreateScene ()\r\n\t { \r\n\t\t m_fX0 = -m_fXBox / m_fMaxBox;\r\n\t\t m_fX1 = m_fXBox / m_fMaxBox;\r\n\t\t m_fY0 = -m_fYBox / m_fMaxBox;\r\n\t\t m_fY1 = m_fYBox / m_fMaxBox;\r\n\r\n\t\t m_fXRange = m_fX1 -...
8468b79ef1f2e1774c8ab15f5d1541a9
The constructor. It takes the parameter of the JFrame so the image can be outputted based on it. It also resets all the scores, dispays the background, and uses mouse listener. The try catch block is used to prevent the program from crashing when getting the image. This constructor makes it possible for users to use ke...
[ { "docid": "7e9e239cb7a246abe3329e43cf2bff0a", "score": "0.6247539", "text": "public LevelSelect ()\r\n { \r\n Action lvl1 = new AbstractAction() { \r\n @Override public void actionPerformed(ActionEvent e) {\r\n levelChosen = 1;\r\n getUserName (\"Enter Name\", \"Hello! Please e...
[ { "docid": "cb414aca6ed1e72742b05f76b5338264", "score": "0.6493191", "text": "Pro() //First Frame Constructor\n {\n f=new JFrame(\"Starting..\"); //starting Frame\n f.setResizabl...
0350da813038fa03d2b7c970887b14fa
Returns latest end of day quotes for a list of symbols of a specific exchange (compact format).INPUT: Token (Login Token), Exchange (eg: NASDAQ), Symbols (eg:MSFT,INTC)OUTPUT: List of end of day quotes
[ { "docid": "db45157010de90320afab916fae06663", "score": "0.5908466", "text": "@WebMethod(operationName = \"QuoteList2\")\n @WebResult(name = \"RESPONSE\", targetNamespace = \"http://ws.eoddata.com/Data\", partName = \"Body\")\n public RESPONSE quoteList2(\n @WebParam(partName = \"Token\", n...
[ { "docid": "b89ebcae19c12038ed468fd37325732e", "score": "0.66157633", "text": "public List<IexLastTradedPrice> getLastTradedPriceForSymbols(final List<String> symbols) {\n if (CollectionUtils.isEmpty(symbols)) {\n return Collections.emptyList();\n } else {\n return iexClient.getLastTrade...
bfbecb681fcace87c0f8606de0871013
Output the XML element values
[ { "docid": "fcb016b80f6ffea88024cd97053985b5", "score": "0.0", "text": "@Override\r\n public void startElement(String uri, String localName,\r\n String qName, Attributes attributes)\r\n throws SAXException {\n if (\"status\"...
[ { "docid": "3833b656f5eaf25ecb1ddcbe2dcd6cc9", "score": "0.6311122", "text": "Element toXML();", "title": "" }, { "docid": "335891e24581f052871046068a826252", "score": "0.6057618", "text": "public String toString() {\n return (toXML());\n }", "title": "" }, { ...
2b76c5571929dd06b2c10d036c18522b
Pass the request, response and session objects to the XQuery context.
[ { "docid": "1bc024bf9880121c88c17a073a4e6609", "score": "0.69854635", "text": "private HttpRequestWrapper declareVariables(XQueryContext context,\n\t\t\tHttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows XPathException {\n\t\tHttpRequestWrapper reqw = new HttpRequestWrapper(request,...
[ { "docid": "ff304a932ead66d380b1593bd28ea368", "score": "0.6129987", "text": "ServerEvaluationCall xquery(String xquery);", "title": "" }, { "docid": "3d265d3aa4d8455c4e94310318ca0e5b", "score": "0.5903931", "text": "private void executeXQuery(DBBroker broker, DocumentImpl resource,\...
5ce0f35e6a8bf02448cf0d970afdb335
not working after lastname, maybe after "scrolldown" it will work
[ { "docid": "918a6b8e1110a9c53520abcfa59307af", "score": "0.0", "text": "public static void main(String[] args) throws Throwable {\n\t\t\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:\\\\Users\\\\divibharath\\\\eclipse-workspace\\\\Selenium\\\\Drivers\\\\chromedriver.exe\");\n\t\tWebDriver dri...
[ { "docid": "9223f578a13058be2319766054ff8833", "score": "0.6555226", "text": "@Override\n\t\t\tpublic void afterTextChanged(Editable s) {\n\t\t\t\th.setUserName(vh.text_name.getText().toString());\n\t\t\t}", "title": "" }, { "docid": "5521d5339bfe1fb94b6475b7d4356d01", "score": "0.644779...
73ff30b7b536dfd6673a583199280f98
Constructs and initializes an AxisAngle3d from the specified axis and angle.
[ { "docid": "914c35fa4378eb7c6b15cf71cfd2a417", "score": "0.86650026", "text": "public AxisAngle3d( Tuple3d axis, double angle )\n {\n this( false, axis, angle );\n }", "title": "" } ]
[ { "docid": "30396c9eec5cb184fccddc01e3647618", "score": "0.79715055", "text": "public AxisAngle3d( double x, double y, double z, double angle )\n {\n this( false, x, y, z, angle );\n }", "title": "" }, { "docid": "be1583acfaf1a95d3f669e749ee5a250", "score": "0.74954337", ...
9317689ccc9d950e7e7ffd87fcd4cfc3
Creates an instance of BulkCreationParameters class.
[ { "docid": "1ecbfc8c19e826fc75d2573c14e725ec", "score": "0.8688217", "text": "public BulkCreationParameters() {\n }", "title": "" } ]
[ { "docid": "0823b46b78b6f344ade794a7e085ffe7", "score": "0.6401131", "text": "public BulkRequest() {}", "title": "" }, { "docid": "c2f596d656a6bb55b5286d4e254fc44d", "score": "0.61982924", "text": "public static BulkRequest bulkRequest() {\n return new BulkRequest();\n }", ...
7262c36db1bd3c6db960c52dfab8bcce
Get all the topics.
[ { "docid": "14329ed0759e7a27d9a0ffe30a5e9a27", "score": "0.0", "text": "Page<TopicDTO> findAll(Pageable pageable);", "title": "" } ]
[ { "docid": "74256cc09dfbf1dccf8db45341b00a15", "score": "0.8342244", "text": "public List<Topic> getAllTopics(){\r\n\t\t//return this.topicList;\r\n\t\tList<Topic> mTopicList = topicRepository.getAllTopics();\r\n\t\t\r\n\t\treturn mTopicList;\r\n\t}", "title": "" }, { "docid": "e72102b06b41f...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4274e62f07e848555a0a199ead241d60", "score": "0.0", "text": "@Override\n public void run()\n {\n saveBitmap(false);\n super.run();\n }", "title": "" } ]
[ { "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": "" }, { ...
d21aab764f4b26a35a1124fc9b3a75d0
initializing every motor, servo, and sensor these names all need to match the names in the config
[ { "docid": "f6d6183c69bf7785c7c5f001687d207c", "score": "0.0", "text": "@Override\n public void runOpMode() {\n d = new Drive(\n hardwareMap.get(DcMotor.class, \"rbmotor\"),\n hardwareMap.get(DcMotor.class, \"rfmotor\"),\n hardwareMap.get(DcMotor.class, \"lfmotor\"),\n ...
[ { "docid": "a66863bc9741c2283c4c82394d0fcb53", "score": "0.76466054", "text": "@Override\n public void init() {\n ghwchss = new HardwareChassisSun(hardwareMap);\n //hand over Sun hardwaremap and initialize motor stuff\n motstff = new MotorStuff(ghwchss);\n //get objects fr...
a6d28de11ecb51e72fc220224da06d56
Return the largest item that has been entered. Value will be infinity if no items have been entered.
[ { "docid": "174d43651e9dce32a58ab567d0c13fc5", "score": "0.63594985", "text": "public double getMax() {\n return max;\n }", "title": "" } ]
[ { "docid": "b333b559e7eb3e77a25214d9f7d0093d", "score": "0.7503153", "text": "public T getMax()\n\t{\n\t\tIterator<T> iter = getInorderIterator();\n\t\tT max = iter.next();\n\t\twhile (iter.hasNext())\n\t\t{\n\t\t\tT item = iter.next();\n\t\t\tif (item.compareTo(max) > 0)\n\t\t\t\tmax = item;\n\t\t}\n\t...
e9ca32906eb3076deb5e2d7f23919ecf
Use preorder on A?
[ { "docid": "c3b689143742568c2df9a53acc02b935", "score": "0.0", "text": "private boolean hasSubtree(BinaryNode<Integer> A, BinaryNode<Integer> B) {\n boolean result = false;\n \n if(A != null && B != null) {\n result = isEqual(A, B);\n if(!result) {\n ...
[ { "docid": "63cc140fce9a7b54f7a6a94dbee55172", "score": "0.7203541", "text": "void preOrderTraverse();", "title": "" }, { "docid": "6480d182523cf77cc38c347426f93126", "score": "0.7040421", "text": "public void preorderTraversal() {\n\t\t// TODO\n\t}", "title": "" }, { "do...
3b95ba87c3e75ddf41f9c7bf68c01398
Mapeamento da TBL_GER_CONFIG_GPP Metodo....:TransmitePedidoVoucher Descricao.:Construtor da classe
[ { "docid": "d8a740666430a6a5d57f8bdc75b922b8", "score": "0.7625657", "text": "public TransmitePedidoVoucher(long idProcesso)\n\t{\n\t\tsuper(idProcesso, Definicoes.CL_TRANSMITE_PEDIDO_VOUCHER);\n\t\tgerenteBancoDados \t= GerentePoolBancoDados.getInstancia(idProcesso);\n\t\t// Instanciando mapeamento da ...
[ { "docid": "0a520299b3e90f278c603675fbf5a63b", "score": "0.61478865", "text": "private MInvoice crearCreditoProveedor() throws Exception {\n\n\t\tMInvoice credito_prov = new MInvoice(Env.getCtx(), 0, get_TrxName());\n\t\tInteger nrolinea = 10;\n\n\t\tint locationID = DB\n\t\t\t\t.getSQLValue(\n\t\t\t\t\...
ca7c98c9e5d14fd3ef2045e7c19bed6d
getting the currently selected element
[ { "docid": "f54c11e581346da5c254526275054dd0", "score": "0.0", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\tint selectedIndex=animationList.getSelectedIndex();\n\t\t\t\t\n\t\t\t\tif(animationList.getSelectedValue()!=null && \n\t\t\t\t\t\tanimationList.getSelectedValue() instanceof Anim...
[ { "docid": "6ba7f99d5f8594f365e43c3c3fb992b3", "score": "0.7986554", "text": "private final ListBoxElement<T> getSelectedElement() {\r\n\t\treturn this.selectedElement;\r\n\t}", "title": "" }, { "docid": "4cc8e323578ba855d640a99ba9b8bd0f", "score": "0.76125234", "text": "protected Ob...
4fc0bd64b1d7bba6e1e84daafe2c94f3
Carrega bmp em um array de bytes
[ { "docid": "d4b8d3488d971691523527a8fc12295f", "score": "0.5480817", "text": "private byte[] readFile(String path) {\n\t\tFileInputStream fileInputStream = null;\n\n\t\tFile file = new File(path);\n\n\t\tbyte[] bmpFile = new byte[(int) file.length()];\n\n\t\ttry {\n\t\t\tfileInputStream = new FileInputS...
[ { "docid": "55b73e9ed5fa19efba42477299439ac0", "score": "0.71778274", "text": "byte[] loadRawImage(Bitmap bmp) throws IOException {\n int w = bmp.getWidth(), h = bmp.getHeight();\n int[] pixels = new int[w * h];\n bmp.getPixels(pixels, 0, w, 0, 0, w, h);\n\n ByteArrayOutputS...
7f0ba2d28af0488c755901677fa4351a
Gets the list of selected subjects
[ { "docid": "b204047746d92cac6e719ec23f57807c", "score": "0.8425534", "text": "public String[] getSelectedSubjects() {\n return this.selectedSubjects;\n }", "title": "" } ]
[ { "docid": "c42000c9f6d5a217147ddb2437ab5863", "score": "0.79827476", "text": "public List<String> getSubjects()\n {\n return subjects;\n }", "title": "" }, { "docid": "9af27d9c4196f27c304a422f9494408a", "score": "0.77241343", "text": "public List<Subject> getSubjectList...
83c623d2b0f60a1651de6afafbc47832
Returns a new object of class 'Model'.
[ { "docid": "b5aea60be0dd7401b9781a681efa91c5", "score": "0.64521164", "text": "SmagsModel createSmagsModel();", "title": "" } ]
[ { "docid": "1cb2ce901764756aacd929d0a57cc60d", "score": "0.7969405", "text": "Model createModel();", "title": "" }, { "docid": "1cb2ce901764756aacd929d0a57cc60d", "score": "0.7969405", "text": "Model createModel();", "title": "" }, { "docid": "1cb2ce901764756aacd929d0a57c...
1f1355c59214d736b96f8c5bdf7d3859
This method was generated by MyBatis Generator. This method corresponds to the database table T00_ROLE
[ { "docid": "e6399e902403c2419536eb2707a83aec", "score": "0.63933015", "text": "T00Role selectByPrimaryKey(String rolekey);", "title": "" } ]
[ { "docid": "c10b50bf2f44bf88033c8444c2a8a1bc", "score": "0.70203847", "text": "public String getUserRoleTable() {\n return jdbcRealm.getUserRoleTable();\n }", "title": "" }, { "docid": "bc50a23916b15dcef7e82f4bf8644ee7", "score": "0.6958924", "text": "@Override\n\tpublic Li...
00eac55daa9b998f1f7afca74ad4392a
Remove an item from the list. Returns true if the object was in the list, false otherwise.
[ { "docid": "be754bafea32246b6830c34eb2781df3", "score": "0.6595382", "text": "@Override\n\tpublic boolean remove(final Object obj) {\n\t\t// return impl.remove(obj);\n\t\t// TODO Auto-generated method stub\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "514d3685663559739a89857ea52db5fe", "score": "0.75817674", "text": "public abstract boolean remove(Object item);", "title": "" }, { "docid": "dc86e6292d1d3498afbfc07f8b1cb5e1", "score": "0.741975", "text": "@Override\n public boolean remove(Object obj) {\n if (ad...
41b44cd206b78424960ae0d7dbc9e417
Called when the activity is first created.
[ { "docid": "1a88f06c2f0cbd6e15e3a2f298da72ad", "score": "0.0", "text": "@Override\r\n public void onCreate(Bundle savedInstanceState) \r\n { \r\n //sets the Bundle\r\n super.onCreate(savedInstanceState);\r\n //sets the context \r\n setContentView(R.layout.main);\r\n ...
[ { "docid": "4a5ad366261961360d1417411cb515b9", "score": "0.7725483", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "title": "" }, { "docid": "ff138eca48e4b5d0ced2db85f116f71c", "score": "0.769...
00deb7753c426fa34a6b91fa3021a854
Get all values of property NaoIdentifier as a ReactorResult of Thing
[ { "docid": "1f51539f0409adedf9351805baf9b828", "score": "0.6056486", "text": "public static ReactorResult<Thing> getAllNaoIdentifier_as(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource) {\r\n\t\treturn Base.getAll_as(model, instanceResource, NAOIDENTIFIER, Thing.class);\r\n\t}", ...
[ { "docid": "690e0160e1fe47c24b88d44222bbeede", "score": "0.75834006", "text": "public ReactorResult<Thing> getAllNaoIdentifier_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), NAOIDENTIFIER, Thing.class);\r\n\t}", "title": "" }, { "docid": "f05cd35b9fc49dc56d4b743d621badb1...
38f794e3d66195b8e5ea2617f0e0f81f
This method was generated by MyBatis Generator. This method corresponds to the database table package_user
[ { "docid": "0f3e69b5858acf0f0fd8dd98d9438a85", "score": "0.0", "text": "int updateByPrimaryKeySelective(PackageUser record);", "title": "" } ]
[ { "docid": "ab7a0e90a6f061ac29d79ce1b616c4af", "score": "0.66656935", "text": "@Override\n public String getTableName() {\n return \"user\";\n }", "title": "" }, { "docid": "fd86a6f9691a5d4eb9786e4e85fb152e", "score": "0.6533927", "text": "private void pm_tbl_users() {\n...
16275f7d95362c82001c4f3f4e4a293e
if true, we've sent this before optional bool have_seen_before = 7;
[ { "docid": "576891c35250cbeaf4c1aa196174d157", "score": "0.7041598", "text": "public Builder setHaveSeenBefore(boolean value) {\n bitField0_ |= 0x00000040;\n haveSeenBefore_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "ffb873291a6a7a79b76f92c046349572", "score": "0.7646538", "text": "boolean hasHaveSeenBefore();", "title": "" }, { "docid": "ffb873291a6a7a79b76f92c046349572", "score": "0.7646538", "text": "boolean hasHaveSeenBefore();", "title": "" }, { "docid": "ffb873291a6a...
15447c5cb12d01e8dce77621ba7b8f13
repeated .CMsgVarField select = 2 [(.max_count) = 16, (.var_field_type) = VAR_TYPE_STRING];
[ { "docid": "b967810592a5788ccc19694df401ec90", "score": "0.5465416", "text": "public java.util.List<TfProtoDefMessages.CMsgVarField> getSelectList() {\n if (selectBuilder_ == null) {\n return java.util.Collections.unmodifiableList(select_);\n } else {\n return selectBuild...
[ { "docid": "d6d2d6ddaaec0e1e1f5c54011f6c9978", "score": "0.68928295", "text": "TfProtoDefMessages.CMsgVarField getSelect(int index);", "title": "" }, { "docid": "aaaabbd4448e027039cbac9c63a03367", "score": "0.62980884", "text": "java.util.List<TfProtoDefMessages.CMsgVarField> \n ...
8e50753e36467439fb633b0bdf37985d
5.a Housing transactions: Total number of houses bought/sold per month This number is computed as a mean over a rolling window of size config.ROLLING_WINDOW_SIZE_FOR_CORE_INDICATORS. The number is then scaled to the actual number of households in the UK and converted back into an integer.
[ { "docid": "080f9372bb353cf7da89976de0bf4e53", "score": "0.6813883", "text": "int getHousingTransactions() {\n return (int) (getMean(Model.housingMarketStats.getnSalesArray()) * config.getUKHouseholds()\n / Model.households.size());\n }", "title": "" } ]
[ { "docid": "6d46741b6d4ac5998cacb141fa3c3856", "score": "0.5757455", "text": "int getAdvancesToBTL() {\n return (int) (getMean(Model.creditSupply.getnNewBTLMortgagesArray()) * config.getUKHouseholds()\n / Model.households.size());\n }", "title": "" }, { "docid": "b7a...
34b83168cbd73a67826aafcc51e335b1
Test getting a customer by subject identifier
[ { "docid": "74c5bd564fd2585aa695a261cf53587f", "score": "0.79333997", "text": "@Test\n @DisplayName(\"Test finding a customer by subject identifier\")\n public void testFindCustomerBySubject() throws SQLException, JsonProcessingException {\n // Insert a customer\n final Customer expe...
[ { "docid": "37cafee0b747854a4d117c6549b5d6ae", "score": "0.6631078", "text": "public Customer getCustomer(long customerId);", "title": "" }, { "docid": "9a3c3b8d9c865144c4f5771279f56b4f", "score": "0.66039187", "text": "@Test\n public void getByCustomerNoTest() throws ApiException...
f167b4bff77fd83eabfd08a0ea58ed0f
$ANTLR end "T__52" $ANTLR start "T__53"
[ { "docid": "e31f3e255e4f154fc84fa7ac3c976f95", "score": "0.5381167", "text": "public final void mT__53() throws RecognitionException {\r\n\t\ttry {\r\n\t\t\tint _type = T__53;\r\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\r\n\t\t\t// C:\\\\Users\\\\malau\\\\Documents\\\\TNCY\\\\2A\\\\Compil\\\\hantz7u\...
[ { "docid": "bea5426b510f1f32493d9a5ba9e2f6b6", "score": "0.5659517", "text": "public final void mT__53() throws RecognitionException {\n try {\n int _type = T__53;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // /home/andriy/Projects.git/objc2xml/src/com/gerixsoft/ob...
d0a73b25351dfc736d15cdd5194f2ebd
charAt() retrieve a character at a specified index of a String
[ { "docid": "af301208f1feac240831be2c2b5a1dd6", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tString charAtObj = new String(\"CharAt\");\n\t\tSystem.out.println(charAtObj.charAt(3));\t//prints r\n\t\t\n\t\t//indexOf()\n\t\t/* Used to search a String for the occurrence of a char o...
[ { "docid": "484c078c6dabd82ba7b31d48d132a900", "score": "0.8363881", "text": "Character charAt( int pos );", "title": "" }, { "docid": "8f72f7a1eb94a113ec2f5374225e4a11", "score": "0.8019027", "text": "public char charAt(int index){\n if(index<length() && index>=0){\n //retur...
f95ed5ab5cdd54e15d08c6a57be64fe3
Method used for calculating binary operation.
[ { "docid": "2e2f7d1f33671e5ead9cba84fe2a2817", "score": "0.6504179", "text": "private void binaryOperation() {\n\t\tif (operatorClicked && newAdded) {\n\t\t\tcalculate();\n\t\t}\n\n\t\toperatorClicked = true;\n\t\toldResult = Double.parseDouble(result.getText());\n\t\tnewAdded = false;\n\t\tdotClicked =...
[ { "docid": "73c4e99d9044c5721d81239b463e0e13", "score": "0.7017136", "text": "private static int computeBinary(String operator, int leftOperand,\n\t\t\tint rightOperand) {\n\t\tswitch (operator) {\n\t\tcase \"+\":\n\t\t\treturn leftOperand + rightOperand;\n\t\tcase \"-\":\n\t\t\treturn leftOperand - rig...