query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
fa52b6643959b5a1fb28eb4b9a6e3ecc
Destination destination = new Destination(); CountDownLatch latch = destination.getDestinations( checkoutId, callback ); latch.await()
[ { "docid": "63785e7faa6fd46e87615bf10feb832f", "score": "0.7112572", "text": "public CountDownLatch getDestinationsAsync(String checkoutId, AsyncCallback<List<com.mozu.api.contracts.commerceruntime.fulfillment.Destination>> callback) throws Exception\r\n\t{\r\n\t\tMozuClient<List<com.mozu.api.contracts....
[ { "docid": "9d9db077b8dcbb0472c607208ed25e0a", "score": "0.65707964", "text": "public CountDownLatch getDestinationAsync(String checkoutId, String destinationId, String responseFields, AsyncCallback<com.mozu.api.contracts.commerceruntime.fulfillment.Destination> callback) throws Exception\r\n\t{\r\n\t\t...
7911d2403919829772f3973421bb7d8f
Retrieves the Product's ID.
[ { "docid": "a566fa4d7e31184e15e71e498c884563", "score": "0.0", "text": "public int getId() {\n return iID;\n }", "title": "" } ]
[ { "docid": "c92be4c5bad7ad57f89ed5c85ea96ce6", "score": "0.8027963", "text": "String getProductID();", "title": "" }, { "docid": "c92be4c5bad7ad57f89ed5c85ea96ce6", "score": "0.8027963", "text": "String getProductID();", "title": "" }, { "docid": "f7501e2c3ed1f847518f563e...
045507abac2132a339ac0f18a99547c2
Accumulation of errors on a variably coarse grid. Determined by the array cgs. The max and minimum accumulation slopes correspond to rmin and rmax.
[ { "docid": "f2d4b3e95fe5cad42c843f38c9b5142e", "score": "0.73315084", "text": "private static void accumulateR(\n double rmin, double rmax, int[] cgs,\n float[][] e, float[][] d, int[][] m) \n {\n int nl = e[0].length;\n int nt = e.length;\n\t\tint nc = cgs.length;\n int nlm1 = nl-1;\n\t...
[ { "docid": "299b2839610efe847f8448eb8d6ce8e1", "score": "0.55913174", "text": "public float[][] computeErrorsMulti(float[] f, float[][] g, int tmin, int tmax) {\n\t\t//Check.argument(smin<=0,\"smin<=0\");\n\t\t//Check.argument(smax>=0,\"smax>=0\");\n int n1 = f.length;\n int n2 = g[0].length;\n\t\...
ea07f85881934b35f54dc8197d3eca1f
Created by wufeng on 2017/4/11.
[ { "docid": "5fadb07795c28b3d27c1b5f26af76282", "score": "0.0", "text": "@Repository\r\npublic interface UserMapper {\r\n @Select(\"select * from user_info where userId = #{userId}\")\r\n List<User> getUserInfo(User user);\r\n\r\n @Select(\"select * from user_info where userName = #{userName}\")...
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.6170578", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f37aebdfc461c1965abd4e2afbc83532", "score": "0.6153729", "text": "private void apparence()\r\n\t\t{\r\n\t\t//rien\r\n\t\t}", ...
a7ae60bb89155bc940d50f868dd63133
Specification given by the interface SocialNetwork.
[ { "docid": "2b9997eeb9e5786962317f08fee5e746", "score": "0.0", "text": "public void signUp(String user) throws NullPointerException, UserAlreadyExistsException, IllegalUsernameException {\n // checking RepInv\n assert checkRep();\n\n if(user == null)\n throw new NullPoint...
[ { "docid": "e0ffb8c6c560b1973a3010f04ad67de6", "score": "0.5561582", "text": "public String getNetwork() {\n return network;\n }", "title": "" }, { "docid": "42d6c81907844ed1e5a831d6c2d66638", "score": "0.55405277", "text": "java.lang.String getNetwork();", "title": "" }, ...
41749dfa2eef99fafe75dfa3685837c7
Approach 2 DFS + memoization
[ { "docid": "71b77e766b6ec5c887f2005dc970c749", "score": "0.0", "text": "public int minCost(int[][] costs) {\n if (costs.length == 0) return 0;\n int[][] memo = new int[costs.length][costs[0].length];\n return Math.min(Math.min(dfs_memo(costs, 0, 0, memo), dfs_memo(costs, 0, 1, memo)...
[ { "docid": "e6285b8c9ede13a762aff1824d4fa75e", "score": "0.6526154", "text": "private List<UUSearchNode> dfsrm(UUSearchNode currentNode, HashMap<Integer, UUSearchNode> visited, int depth, int maxDepth) {\n\t\t// keep track of stats; these calls charge for the current node\n\t\tupdateMemory(visited.size(...
91df5ce2e02e97d3f09423775d23c3c4
Converts the matrix to a 1d array
[ { "docid": "08ff9715ed8c56e450794ce639cae344", "score": "0.6045546", "text": "public float[] toArray() {\n\t\tfloat[] res = new float[rows * cols];\n\t\tfor (int i = 0; i < rows; i++) {\n\t\t\tfor (int j = 0; j < cols; j++) {\n\t\t\t\tres[cols * i + j] = table[i][j];\n\t\t\t}\n\t\t}\n\t\treturn res;\n\t...
[ { "docid": "df9380d8670210e2b2dea65bfd726041", "score": "0.68086", "text": "public double[] toArray(){\n double[] array = new double[cols*rows];\n int index = 0;\n for (int r = 0; r < rows; r++){\n for (int c = 0; c < cols; c++){\n array[index] = matrix[r][...
bc59e4ab4c5555072f9f3c336fa4dc3f
Sets the cell value. The data type should match the column data type.
[ { "docid": "b82b7e4d7373a81af995fc5041b566e0", "score": "0.0", "text": "public final native void setVBoolean(boolean v) /*-{\r\n\t\tthis.v = v;\r\n\t}-*/;", "title": "" } ]
[ { "docid": "a69af8f0ddb8ca58662d535978e9d523", "score": "0.74703956", "text": "protected abstract void setCellEditorValue(java.lang.Object value);", "title": "" }, { "docid": "26d80d1403d6a86d169190b6ffa4d74f", "score": "0.74628043", "text": "public void setCellValue(int rowIndex,int...
db62c7e401a08214529e880f914ffe67
Determine if the string contains any of the given arguments.
[ { "docid": "ee5223943a8d3cd008528e1baf6d0032", "score": "0.67033684", "text": "public static boolean containsIgnoreCase(String string, String... args) {\n if (string == null) {\n return false;\n }\n string = string.toLowerCase();\n for (String arg : args) {\n ...
[ { "docid": "a974eff172c7d5c2b2d4ce2461b8883a", "score": "0.79043835", "text": "public static boolean containsAll(String string, String... args) {\n if (string == null) {\n return false;\n }\n for (String arg : args) {\n if (arg == null || !string.contains(arg))...
6795441aebfbf45a3c8330630b3e7292
The integration has advanced one step
[ { "docid": "23e8b3af6ba6434088232d14ed351456", "score": "0.0", "text": "@Override\r\n\tpublic void nextStep(double newS, double[] newY, double h) {\r\n\t\tindependentVar = newS;\r\n\r\n\t\tint nDim = newY.length;\r\n\r\n\t\tif (lastStateVector == null) {\r\n\t\t\tlastStateVector = new double[nDim];\r\n\...
[ { "docid": "8e15d1f25e9a427bec4c76647cfebe85", "score": "0.67591965", "text": "Integration integration();", "title": "" }, { "docid": "193fb863d6d81422782fe44b9af66f05", "score": "0.65073293", "text": "@Override\r\n protected void doStep() {\n }", "title": "" }, { "...
5365348ddae1aae288889de87a770d1a
Test pushing record to xenon with schema as int8 and payload null. Further toConnectData is validated for this case.
[ { "docid": "1ce0b294a3ba9dde13527ad66442b36b", "score": "0.68642414", "text": "@Test\n public void testConnectAndOptionalByteSchema() throws IOException {\n XenonClient client = checkExist(\"testConnectAndOptionalByteSchema\");\n byte[] inputArr = (\"{ \\\"schema\\\": { \\\"type\\\": \\...
[ { "docid": "827b0da640b6d80e88d3789935dab1dc", "score": "0.68737394", "text": "@Test\n public void testNullSchemaAndPrimitivesToConnect() throws IOException {\n //Boolean\n XenonClient client = checkExist(\"testNullSchemaAndBooleanToConnect\");\n byte[] inputArr = \"{ \\\"schema\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f0eea381945206105cff74548f7d1f17", "score": "0.0", "text": "@Override\n public void mouseClicked(MouseEvent e) {\n \n }", "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...
6e07550440063f44c08354506f23c3fc
Ouvrir le galerry d'image
[ { "docid": "5b853a947e5318b045c2230bbe79fead", "score": "0.0", "text": "private void openGallery() {\n Intent galleryIntent = new Intent();\n galleryIntent.setAction(Intent.ACTION_GET_CONTENT);\n galleryIntent.setType(\"image/*\");\n startActivityForResult(galleryIntent, GALL...
[ { "docid": "03c111fd8e428db043c767be8ff5fda9", "score": "0.7084571", "text": "public void personajeImagen()\n {\n ImageLoader loader = ImageLoader.getInstance();\n \n if(mov==true)\n {\n shell2_frame++;\n if(shell2_frame+ImageLoader.SH...
29ff82916a388d5deeb82278e240485d
function that returns a child elements data from the supplied data stored in the adapter
[ { "docid": "29e11b535601317c02c4061f5e270760", "score": "0.581007", "text": "@Override\n public Object getChild(int groupPos, int childPos) {\n return item.get(groupPos).elements.get(childPos);\n }", "title": "" } ]
[ { "docid": "358e7551b36299b347a468b60b811e13", "score": "0.6241798", "text": "public Element getData()\n {\n // Ask the generic configuration's holder to export the list of specific\n // configuration's data.\n ArrayList<Element> specific_data = this._toXml_();\n\n // Buil...
102935cac49f330b2bff1baf818a731f
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information.
[ { "docid": "1c022159affc5d640ab46e8c0e197d12", "score": "0.67476887", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n int handleUserInput(String inputTitle, String inputCategory, String inputUrl, String inputDesc);\n }", "title": ...
[ { "docid": "a24af1dbf8449a32a047a552448d56fa", "score": "0.7338381", "text": "public interface OnFragmentInteractionListener\n {\n MainActivity setMainActivity();\n void confirmDelete();\n void setRecordLocation(boolean rec);\n }", "title": "" }, { "docid": "27a86e...
f5f7af702fff14f108e044c8bcceb3b3
Util method to write an attribute with the ns prefix
[ { "docid": "0fd05af9d8f9881fe574fedf3c32937e", "score": "0.0", "text": "private void writeAttribute(java.lang.String prefix,\n\t\t\t\tjava.lang.String namespace, java.lang.String attName,\n\t\t\t\tjava.lang.String attValue,\n\t\t\t\tjavax.xml.stream.XMLStreamWriter xmlWriter)\n\t\t\t\tthrows javax.xml.s...
[ { "docid": "5eec9a323f0dc37e5df4cd90110e2844", "score": "0.775593", "text": "private void writeAttribute(java.lang.String prefix,java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws java...
54a227f49b74fea38c921d006a40c14f
Contexts: Entity returns Entity Constraint: (name=ID superType=[Entity|ID]? fields+=Field statements+=Statement)
[ { "docid": "386c6502966c8d867eedcf0be28727bb", "score": "0.0", "text": "protected void sequence_Entity(ISerializationContext context, Entity semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" } ]
[ { "docid": "a5f18c29f603818deb1d8546c1bc9f7f", "score": "0.64763665", "text": "Entity getSuperType();", "title": "" }, { "docid": "c15ada68a1eb45c0c3e7bed91ef247a7", "score": "0.6200097", "text": "EntityType getEntity();", "title": "" }, { "docid": "31278c25226c6793dff91b...
23509b9847efc061ac73e9622c628b19
end constructor Executes HTTP Request. All base classes must provide there own implementation of this method.
[ { "docid": "171090449ae721f2308e75eef076009c", "score": "0.0", "text": "public abstract T execute() throws GriklyException;", "title": "" } ]
[ { "docid": "a831d3c626090a9575f003088cac3f8e", "score": "0.69131637", "text": "public AbstractHTTPClient() {\n super();\n }", "title": "" }, { "docid": "04fe3f8ae158e25514f17cb12a64898a", "score": "0.6842352", "text": "public Request() {}", "title": "" }, { "doc...
2d9c3c667f04d613e3a1e7bd568e2dd2
This method was generated by MyBatis Generator. This method corresponds to the database table cm_contact_cont_medium_h
[ { "docid": "3e3b10632123f19aa27a9c58ea9cd240", "score": "0.64293647", "text": "CmContactContMediumH selectByPrimaryKey(Long hId);", "title": "" } ]
[ { "docid": "0181c60373d8d0a436399c184f5558e0", "score": "0.56558144", "text": "List<CmContactContMediumH> selectByExample(CmContactContMediumHExample example);", "title": "" }, { "docid": "2103d15cac15bfc9d4ecdd84f38e2afc", "score": "0.4979865", "text": "int insertSelective(CmContact...
d7f479b713961b22115b1d7096ee4f79
List textElements = new ArrayList();
[ { "docid": "5fe2a2d6d566a35bbb03da92d7f2495a", "score": "0.0", "text": "public TextChunk(float top, float left, float width, float height) {\n super(top, left, width, height);\n }", "title": "" } ]
[ { "docid": "109d8b4713b65b3531b682f5731a5517", "score": "0.71133745", "text": "ElementList createElementList();", "title": "" }, { "docid": "7b6ada600a972d5448449e3e017f3b50", "score": "0.6640446", "text": "Collection<String> getTextAsCollection();", "title": "" }, { "doc...
d35e7507df6a0250e2e36531eb12fa5c
/ Called when the Activity becomes visible.
[ { "docid": "5a380188212845a505b5bd0062cac001", "score": "0.0", "text": "@Override protected void onStart() {\n super.onStart();\n // Connect the client.\n mLocationClient.connect();\n }", "title": "" } ]
[ { "docid": "f45fce053f4550f640692f387cedf4cf", "score": "0.7343915", "text": "private void onFullyShown() {\n mFalsingCollector.onBouncerShown();\n if (mKeyguardViewController == null) {\n Log.wtf(TAG, \"onFullyShown when view was null\");\n } else {\n mKeyguar...
ab90d3f731cddf5647bacd158ea833e3
below line is use to inflate the layout for our item of list view.
[ { "docid": "03b52a81cd8bf575e1f4aa2c2713a310", "score": "0.0", "text": "@NonNull\n @Override\n public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {\n View listitemView = convertView;\n if (listitemView == null) {\n listitemView = Layou...
[ { "docid": "acabef4729b41d819732df8fd70d9bde", "score": "0.7086988", "text": "public MyAdapter(Context context, int R_layout_idView, ArrayList<ItemList> entradas)\n {\n super();\n this.context = context;\n this.entradas=entradas;\n this.R_layout_idView=R_layout_idView;\n ...
862ba8534f7fff355ee8d664849651ce
/ HypeMachine serves download URLs via a JSON response to a HTTP request in the following format: where is the track ID and is the track key This method constructs the correct URL and parses the response.
[ { "docid": "c9bbcacad57350f9d74b6f7fc50be764", "score": "0.55916566", "text": "private String generateStreamURL() throws IOException{\n\t\tString completeURL = HYPEM_SERVE_URL + this.getId() + \"/\" + this.getKey() + \"/\";\n\t\tResponse res = Jsoup.connect(completeURL).ignoreContentType(true).cookies(c...
[ { "docid": "6054930c09bfed08ea7adf9a5f16d78e", "score": "0.53246444", "text": "public interface HttpURL {\n //根链接,以斜杠结尾\n String HTTP_ROOT = \"http://api-v2.mall.hichao.com/\";\n //搭配模块下 -- 搭配 -- 最新,不以斜杠开头\n String HTTP_FIT_NEWEST = \"star/list?category=%E6%9C%80%E6%96%B0&pin=269476&ga=%2Fst...
af3d1cb4129f18f8133e4e7fd3346f12
java.lang.String getSzCdEligSelected() Returns the value of field 'szCdFceEligReason'.
[ { "docid": "6952d17a0830b604fff8cb9335f0da3c", "score": "0.8447412", "text": "public java.lang.String getSzCdFceEligReason()\r\n {\r\n return this._szCdFceEligReason;\r\n }", "title": "" } ]
[ { "docid": "d854c03dca6963fbadace677216bb45b", "score": "0.8465204", "text": "public java.lang.String getSzCdEligSelected()\r\n {\r\n return this._szCdEligSelected;\r\n }", "title": "" }, { "docid": "65753de8fbc8b4bb69022d2e3d8fc806", "score": "0.75220597", "text": "publ...
8249df7c9e016c9f1b111f8b14328f45
This method was generated by MyBatis Generator. This method returns the value of the database column OrderExtendInfo.OEElongPName
[ { "docid": "eca114498d8f35860a406c01bfc8ce07", "score": "0.6116478", "text": "public String getOeelongpname() {\n return oeelongpname;\n }", "title": "" } ]
[ { "docid": "542793c34c15640ec2b5a3e640470a99", "score": "0.5936292", "text": "public String getLongName() {\n return longName;\n }", "title": "" }, { "docid": "d1547636e7493e6b93acb427adf2b5b1", "score": "0.5910484", "text": "public String getLongName() {\n ...
8fc6e53f7d9798c2e21079896c79e010
Load a zip session and save it as a storage session.
[ { "docid": "bf79598e43cb417eb6ab2900f8e7db6b", "score": "0.57272595", "text": "public void importSession(File session) throws Exception {\n\n\t\tthis.sessionManager.loadLocalSession(session, false);\t\t\n\t\tString saveName = filenameToBasename(session.getName());\t\t\n\t\tthis.sessionManager.saveStorag...
[ { "docid": "b37fa240c0af2cfccccaf8d0bdf673f9", "score": "0.6359236", "text": "public void exportSession(String uuid, File zipFile) throws MalformedURLException, Exception {\n\n\t\tthis.sessionManager.loadStorageSession(uuid);\n\t\tthis.sessionManager.saveSession(zipFile);\t\t\n\t\tthis.dataManager.delet...
4111e5a3e49571fa49ae66c96f3f723d
comparing network output and target output
[ { "docid": "9e7a6eb24b55b64579781b5cb883ea9d", "score": "0.5889851", "text": "private boolean compareOutput(double sum, Sample sample) {\n switch (sample.getTarget()) {\n case 1:\n if (sum > 0) {\n return true;\n }\n break...
[ { "docid": "086c89470028652e68fcc55cfa28a443", "score": "0.66044974", "text": "boolean isOutputNeuron();", "title": "" }, { "docid": "a2b802cb335fd9930194c8d1987c6de8", "score": "0.5971281", "text": "private boolean hasOtherOutput(DeviceId inDeviceId, StaticPacketTrace trace, Connect...
ac6bb438db77c427c8e5577fee86d573
asks the delegate to deliver the message
[ { "docid": "4fbe505acb6fa68ef316948df018518b", "score": "0.62630606", "text": "private void deliverMessage(ChatMessage message){\n\t\tif (chat != null){\n\t\t\tchat.onDisplayMessage(message);\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "87af41ceb5222a67e986ee4ac78caec7", "score": "0.6492632", "text": "public void deliver(Serializable message);", "title": "" }, { "docid": "e8bf0ebea2bd3de1a621798299cbb91d", "score": "0.647234", "text": "public void deliver() {\n try {\n this.exec...
0f07ae68152517b3364a03c5ba79629a
Get the possible radius for the generator.
[ { "docid": "35f58f0d6f410e9db72eb59f389512ca", "score": "0.60159934", "text": "Optional<HashMap<Integer, Integer>> getRadius();", "title": "" } ]
[ { "docid": "d9130cb0cc1620781df13eb66aa4202d", "score": "0.74297726", "text": "public double getRadius(){\n // You need to fill in this method.\n\t\treturn r;\n }", "title": "" }, { "docid": "1fe786d72e929b2bb777342b7e8d88ae", "score": "0.7399472", "text": "double getRadius...
f77bb500819216c1b24c40af37c02550
This method will validate the choice entered by the user using a double (decimal) If entered input was not a double , it will ask again until the input is correct.
[ { "docid": "9b8f3c375d94bb52ab10f07a5e8614af", "score": "0.68756706", "text": "public static double getDouble(Scanner sc, String prompt)\r\n\t{\r\n\t\tdouble d = 0; //Initializing variable\r\n\t\tboolean checkBooleanIsDouble = false; //Setting to False boolean variable\r\n\r\n\t\twhile (checkBooleanIsDo...
[ { "docid": "9704ae7fa55817d6ab48abd209b8e4c9", "score": "0.69089633", "text": "public static double inputDouble() {\n Scanner scan = new Scanner(System.in);\n System.out.println(\"Enter dollar amount\");\n double input = scan.nextDouble();\n if (input > 1000000.0 || input < ...
f3a4d95717f773536fea297ea601b119
set no net work environment
[ { "docid": "72dff36ee74434fb9b396bb534825c7f", "score": "0.61911523", "text": "private void setNoNetWork() {\n if(BonusImageUtil.isNetWorkAvailable(HomeMainActivity.this)){\n Contacts.getPixel(HomeMainActivity.this);\n Contacts.getUri();\n initRecomTheme();\n ...
[ { "docid": "5d519ef60b361932a1b0e5c55993a785", "score": "0.6521217", "text": "public void setLocal() {\r\n\t\tisSystem=false;\r\n\t}", "title": "" }, { "docid": "5050d94170d75ecc8a41ff27ea901470", "score": "0.6151802", "text": "public void setNoWorker() {\n worker = Optional.e...
d73dbca967d1ffc3183030ee966c5c00
Aggregate all appropriate details of the item.
[ { "docid": "161f6ceb6a7c3de106a382b4ed465a7e", "score": "0.5753592", "text": "private static ResolvedEventData collectItemEventDetails( SimplePageItem item, SimplePageToolDao lsnServ )\n {\n // Attempt to get the parent page and hierarchy\n SimplePage parentPage = lsnServ.getPage( item....
[ { "docid": "d63c9367073337022637afc0f9b6f86a", "score": "0.68089575", "text": "public void allItemDetails() {\n\n\t\tfor (Item i : library) {\n\t\t\ti.details();\n\t\t}\n\t}", "title": "" }, { "docid": "3045daf52f2efadc0512e82c1d191425", "score": "0.6617195", "text": "@Override\r\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8ee7a192e9bfd3d913421a2e29548bcb", "score": "0.0", "text": "@Override\n\t\t\tpublic void componentShown(ComponentEvent e) {\n\t\t\t\t\n\t\t\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
9f9fdc5e4f3a79d525f3e78efb89de2d
/ / Helpers methods to deal with HTTP
[ { "docid": "c1b326663a25b433fb85edbf501f7bc3", "score": "0.0", "text": "public static boolean isHTTPSuccess(int statusCode)\n {\n return (statusCode >= 200) && (statusCode <= 299);\n }", "title": "" } ]
[ { "docid": "d1f4a77e78cefa95ea192b1b451504f8", "score": "0.7461086", "text": "Http getHttp();", "title": "" }, { "docid": "6142a5d93914d5e324270784c85cc3ee", "score": "0.69810575", "text": "IHttp getHttp();", "title": "" }, { "docid": "e2818d53ea5be620e2810d43e2c800a8", ...
6c38940817d49336f7d2856786cd101e
Adds a single point to the hough transform. You can use this method directly if your data isn't represented as a buffered image.
[ { "docid": "6bcc0fde7061649cc7ea934fa1b053ef", "score": "0.67613286", "text": "public void addPoint(int x, int y) {\n\n // Go through each value of theta \n for (int t = 0; t < maxTheta; t++) {\n\n //Work out the r values for each theta step \n int r =...
[ { "docid": "cec2b6e2b41b81869135c2678850a347", "score": "0.6512408", "text": "abstract void addPoint(DL_PointData data);", "title": "" }, { "docid": "5412f305fc67b391efac380836a3d815", "score": "0.6407519", "text": "private void addAPoint() {\n\n // getting the center of the s...
8ea2099474d6d5f4550cd9a4db4698ba
method is used for checking valid email id format.
[ { "docid": "1ed3a8ba7de9cefa3de5cdc5355fe100", "score": "0.0", "text": "public static boolean isEmailValid(String email) {\n boolean isValid = false;\n String expression = \"^[\\\\w\\\\.-]+@([\\\\w\\\\-]+\\\\.)+[A-Z]{2,4}$\";\n CharSequence inputStr = email;\n Pattern pattern...
[ { "docid": "5d89fe84dead5ef0a82d5aa14bb587f6", "score": "0.8161104", "text": "public boolean isValidEmailId(String email);", "title": "" }, { "docid": "0afe5977f96fc1818c03973b856e45a0", "score": "0.80630976", "text": "private boolean isEmailIdValid(String email){\n return P...
09db296602d2cdd8874c83a753a60fd4
Return the property name or propertyTableName
[ { "docid": "90ef90c269c2c78cae23afce297427ee", "score": "0.58749187", "text": "public String foreignKeyColumnName(\n\t\t\tString propertyName, String propertyEntityName, String propertyTableName, String referencedColumnName\n\t) {\n\t\tString header = propertyName != null ? unqualify( propertyName ) : p...
[ { "docid": "4dfc38c399d10d37e6caa1d7c147ea67", "score": "0.69060165", "text": "String namePropertiesName();", "title": "" }, { "docid": "4dfc38c399d10d37e6caa1d7c147ea67", "score": "0.69060165", "text": "String namePropertiesName();", "title": "" }, { "docid": "fef321aea3...
cdda064fd5180aae452e0fd04d3e6a64
Set the desired values
[ { "docid": "dfd8b61b9c0f999510b5c8b92fb15cc0", "score": "0.0", "text": "public void setCurrentValue1(double d) {\n\tcurrentValue1 = d;\n }", "title": "" } ]
[ { "docid": "5701add4d76d3a2a50cdd361f3c29fc5", "score": "0.8014325", "text": "public void setValues(){\n\t\t\n\t}", "title": "" }, { "docid": "752ac3e94f47e3394fba5a3446bc5ada", "score": "0.7204472", "text": "public void setOtherValues(Properties values);", "title": "" }, { ...
4ba0c3e99525853e2aad888ea16b7532
you wont need to pass a photo_Url everytime right? maybe for updates
[ { "docid": "056a56ab518a54ab488ba454f181b04e", "score": "0.0", "text": "public Users(int userid, String firstname, String lastname, String username, String email, int token_score,\n\t\t\tString password, String photo_url) {\n\t\tsuper();\n\t\tthis.userid = userid;\n\t\tthis.firstname = firstname;\n\t\tt...
[ { "docid": "962cf16a2cd7c3280808df6fc040e9d6", "score": "0.70056975", "text": "public String getPhotoURL() { return photoURL; }", "title": "" }, { "docid": "2505dc5cd23b05330d5ee82c5418305d", "score": "0.69258034", "text": "public String getPhoto_url() {\n return photo_url;\n ...
585c531cd0eb401863763d7f8cf357ce
Menghapus suatu objekMati pada liatObjekMati.
[ { "docid": "14b69a4710f6c298a1d02f03d6a54cdd", "score": "0.57733226", "text": "public void removeObject(ObjekMati objekMati) {\n listObjekMati.remove(objekMati);\n }", "title": "" } ]
[ { "docid": "cc890bd9570400096da0b2dcfa96c4be", "score": "0.5943828", "text": "public void doimk() {\n if (txtmkcu.getText().equals(\"\") && txtmkmoi.getText().equals(\"\") && txtconfirm.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(this, \"Nhập đầy đủ thông tin\");\n ...
133bc46dfa0336e27b16fefc5bfe1bbd
onMeasure() Called when this TextureView is measured.
[ { "docid": "14dfdb4d3692108e6748c4074d49cb87", "score": "0.6300608", "text": "@Override\r\n protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)\r\n {\r\n super.onMeasure(widthMeasureSpec, heightMeasureSpec);\r\n int width = MeasureSpec.getSize(widthMeasureSpec);\r\n...
[ { "docid": "f5ff884abe7a7c772ae69bd59d24150a", "score": "0.7815128", "text": "@Override\n public void onMeasure() {\n if (mRender != null) {\n mRender.onMeasure();\n }\n }", "title": "" }, { "docid": "138edce72d19a5cafde0e45870b58235", "score": "0.7199187",...
de3a8d1633746e5ab143ed9725a8d15b
Build call for listAntivirusServers
[ { "docid": "127b11a1dc92e7512830789e8c606b16", "score": "0.5586778", "text": "public com.squareup.okhttp.Call listAntivirusServersCall(String sort, Integer limit, String dir, String resume, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener pr...
[ { "docid": "978864f696561120784e6a538f4ad771", "score": "0.554815", "text": "public abstract String[] getGridFTPServersOnGrid();", "title": "" }, { "docid": "c7f19b19d75098f53eb452c0a7ef36d1", "score": "0.55123776", "text": "public abstract String[] getGridFTPServersAtSite(String sit...
8c6ff33009a5dd976e54b59a54e59fe1
get current request cycle
[ { "docid": "cc4a46a87a33628cf74866ddc5c60d1d", "score": "0.0", "text": "@Override\n\tpublic String getVersion(IStaticCacheableResource resource)\n\t{\n\t\tfinal RequestCycle requestCycle = ThreadContext.getRequestCycle();\n\n\t\t// cache instance\n\t\tMap<Serializable, String> cache = null;\n\n\t\t// ca...
[ { "docid": "fdba67fcb4bdcfb4063c03f8e2ab0c13", "score": "0.6305329", "text": "private HttpServletRequest currentRequest() {\n ServletRequestAttributes servletRequestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();\n return Optional.ofNullable(servletRequ...
f5d89754afd71abaf67846c629f10c7d
The list of attributes and values for the manual DB snapshot.
[ { "docid": "433d7d04ad13e25a1ae8d53cd2b8db92", "score": "0.0", "text": "public DBSnapshotAttributesResult withDBSnapshotAttributes(java.util.Collection<DBSnapshotAttribute> dBSnapshotAttributes) {\n setDBSnapshotAttributes(dBSnapshotAttributes);\n return this;\n }", "title": "" } ...
[ { "docid": "2e5a1f717c140e61cbf4177c64b13539", "score": "0.7388078", "text": "public java.util.List<DBSnapshotAttribute> getDBSnapshotAttributes() {\n if (dBSnapshotAttributes == null) {\n dBSnapshotAttributes = new com.amazonaws.internal.SdkInternalList<DBSnapshotAttribute>();\n ...
8e326f6c810a178348c3210d82b1196a
return "Rock2 Rock1 Rock0";
[ { "docid": "f90ad5f529e62d17f3255416af58125d", "score": "0.0", "text": "@Override\n\tpublic String createPlayList() {\n\t\tString playList = playListGeneratorService.createPlayList();\n\t\tString[] songs = playList.split(\" \");\n\t\tCollections.shuffle(Arrays.asList(songs));\n\t\tStringBuilder stringBu...
[ { "docid": "3eca65a99c2b71a23709a087de7387cf", "score": "0.6722722", "text": "private static String gameConverter(int n){te\n String result = \"\";\n if(n==1){\n result = \"rock\";\n }\n else if(n==2){\n result = \"paper\";\n }\n else{\n ...
901884eb0bc5181afd91c016bae4028e
taken from book BergenBerge
[ { "docid": "a0361d1d312d0247836c98bcf22137e1", "score": "0.0", "text": "public int[] matchHistograms(float[] hA, float[] hR) { \r\n\t\tint K = hA.length; \r\n\t\tint[] F = new int[K]; \r\n\t\tfor (int a = 0; a < K; a++) {\r\n\t\t\tint j = K - 1;\r\n\t\t\tdo {\r\n\t\t\t\tF[a] = j;\r\n\t\t\t\tj--;\r\n\t\t...
[ { "docid": "288fd3ee71b736e770bbef790831c263", "score": "0.64483094", "text": "User mo18615e();", "title": "" }, { "docid": "76e3d99118a00e74a082f6a955778f7d", "score": "0.61715096", "text": "Grensesnitt(){}", "title": "" }, { "docid": "43074ca6be78d09570c6c8c4b980b7e7", ...
e58ec1698b717f50704f9576f5c0ac2a
para poder hacer las validaciones del lado del servidor tenemos que anotar con valid nota el BindingResult simpre va al lado del objeto que se va a validar en este caso Cliente.
[ { "docid": "0124ae304a395ee5a86f0982f53a785a", "score": "0.5734294", "text": "@RequestMapping(value=\"/form\",method=RequestMethod.POST\t)\n\tpublic String guardarCliente(@Valid Cliente cliente, BindingResult resultErrores, Model model) {\n\t\tif(resultErrores.hasErrors()) { //--BindingResult con este o...
[ { "docid": "e735c597ec504f3f5737e2804f7f5dff", "score": "0.6752257", "text": "@Override\n\tpublic void validarActualizar(ClientesPersonalizadosRequestCrear request, BindingResult result) {\n\t\t//Validando los valores de entrada\n\t\tif (result.hasErrors()) {\n\t\t\tList<String> errors = result.getField...
1fd9fb1fedaef7096c352685e7a453e1
TODO Autogenerated method stub super.doGet(req, resp);
[ { "docid": "4bfd562981639942ca647f4a692bb36f", "score": "0.0", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp)\n throws ServletException, IOException {\n try\n {\n String searchQuery = req.getParameter(\"query\");\n resp.setContentType(\"...
[ { "docid": "f8ea0033b0375fd9728339601bc475d4", "score": "0.7760127", "text": "@Override\r\n\tprotected void doGet(HttpServletRequest req, HttpServletResponse resp)\r\n\t\t\tthrows ServletException, IOException {\n\t\tsuper.doGet(req, resp);\r\n\t}", "title": "" }, { "docid": "f8ea0033b0375fd...
fffef5506ccb46f58bea41f7e9856c82
Toast.makeText(getApplicationContext(), listDataGroup.get(groupPosition) + " : " + listDataChild.get(listDataGroup.get(groupPosition)).get(childPosition), Toast.LENGTH_SHORT).show();
[ { "docid": "0a21fb9b920bbceac43c3613dacc1e0c", "score": "0.0", "text": "@Override\n public boolean onChildClick(ExpandableListView parent, View v,\n int groupPosition, int childPosition, long id) {\n return false;\n }", "tit...
[ { "docid": "46ad8e1e34064b8d1c0a8121577e159d", "score": "0.72901905", "text": "private void data(int childPosition, int groupPosition) {\n\t\t\t\t\t\t\tif (childPosition == 0 && groupPosition == 0) {\r\n\t\t\t\t\t\t\t\tToast.makeText(context, \"መዝሙር የለውም\",\r\n\t\t\t\t\t\t\t\t\t\tToast.LENGTH_SHORT).sho...
b905cbd03e8ee8d8ccd616d35b461ee1
returns the cl alpha in the same unit of cl alpha wing
[ { "docid": "6941a115fdbf3e58d5e8a6ee40869108", "score": "0.0", "text": "public static Amount<?> calculateCLAlphaFuselage(\n\t\t\tAmount<?> cLAlphaWing, \n\t\t\tAmount<Length> wingSpan,\n\t\t\tAmount<Length> equivalentDiameterAtWingStation\n\t\t\t){\n\t\t\n\t\t//Sforza p64\n\t\tdouble d = equivalentDiame...
[ { "docid": "cc7e4a03b27819d48e13c09cec158b4e", "score": "0.7227366", "text": "float getAlpha();", "title": "" }, { "docid": "8398788101468a354201dfd9cbc45aa2", "score": "0.68028533", "text": "public float getAlpha() { return _alpha; }", "title": "" }, { "docid": "285c01ae...
bbb719a83d01f3824590f492bf13a28b
Test if x is divisible by 5
[ { "docid": "fb20384a8a63746ffd045386aa496421", "score": "0.8975439", "text": "public boolean isDivisibleBy5(int x)\n\t{\n\t\tif (x%5==0)\n\t\t\treturn true;\n\t\telse return false;\n\n\t}", "title": "" } ]
[ { "docid": "1c1f94b71c186950e322c1acf5d1719f", "score": "0.82061183", "text": "public static void divisibleByFive (int x ) {\n Scanner scanner = new Scanner(System.in);\n\n //Entering an Integer is evenly divisible by 5 or not\n if (x% 5 == 0) {\n System.out.println(\"Given ...
dfbbf59aaae2c7e70143c6781dea96ac
This is a copy of a project method with the same same. I call this method, because it does not do what I expected it to. I wanted the classpath for project compile scope, it returns nothing.
[ { "docid": "aa39a531c7a0e85596e72f52acdd522a", "score": "0.5528183", "text": "public List<String> getCompileClasspathElements()\n\t throws DependencyResolutionRequiredException\n\t{\n\t List<String> list = new ArrayList<String>( project.getDependencyArtifacts().size() );\n\t\n\t list.add( proje...
[ { "docid": "ce7b01b2249cb5c1a00ae6fcea2a0fe0", "score": "0.67982244", "text": "public abstract String getQuickStartClasspath();", "title": "" }, { "docid": "6d407126a64358126d2d2aeb5c1a9efe", "score": "0.6627338", "text": "protected String constructManifestClasspath()\n {\n ...
592d3fb89b285524c0ddedc3f4e96f82
Constructs an instance of this wall containing the holes of the three shapes.
[ { "docid": "cfb7eb4d67c7f4612837c72a585cf7ba", "score": "0.6463678", "text": "public Wall(int x, int y, int width, int height) {\n\t\tsuper(x, y, width, height);\n\t\ts = new ArrayList<Shape>();\n\t\ts.add(new Circle(x + 15, y + 20, 30, 0, Color.WHITE));\n\t\ts.add(new Triangle((x * 2 + width) / 2, y + ...
[ { "docid": "982c07c9cf0de66e5445ad268c842194", "score": "0.622829", "text": "public void ruleOuterHole() {\n outerHole.add(new Hole(0, 2));\n outerHole.add(new Hole(2, 0));\n outerHole.add(new Hole(2, 5));\n outerHole.add(new Hole(0, 3));\n outerHole.add(new Hole(5, 3)...
fa936c96744609fccf316373b206ce84
This method is used to fetch a single customer using customerId
[ { "docid": "79eddbb568001335e1b69f4e0416874a", "score": "0.7803569", "text": "@Override\n\tpublic Customer viewCustomer(Integer custId) throws CustomerNotFoundException \n\t{\n\t\treturn crepository.findById(custId).orElseThrow(()->new CustomerNotFoundException(\"Customer with given Id:\"+\n\tcustId+\"N...
[ { "docid": "8310c9135ce34d806308d2f6a3118668", "score": "0.8411668", "text": "Customer getCustomerById(Long customerId);", "title": "" }, { "docid": "b27191509eea24414e46b0cf764d62c5", "score": "0.84051883", "text": "public Customer findCustomer(int customer_id) {\n return cus...
caa33e7d04f52f616f7a731d0416874e
Set byte array value on given path.
[ { "docid": "6d3397ffde8c8f0bef50390ee2f6bb14", "score": "0.8393977", "text": "public void setByteArray(final String path, final byte[] value)\n {\n final int index = path.indexOf('.');\n if (index == - 1)\n {\n this.addTag(new NbtTagByteArray(path, value));\n ...
[ { "docid": "df0c1ccd3ba2e3623123e274b233e244", "score": "0.7460234", "text": "public Tree put(String path, byte[] value) {\r\n\t\treturn putObjectInternal(path, value, false);\r\n\t}", "title": "" }, { "docid": "4c1b0ca5e086e276dfc35289fa9778a6", "score": "0.71060246", "text": "publi...
a8760dbf4ce8bde7c6c4408bab765e76
Return the key (id) associated with this node.
[ { "docid": "a1039cf8beedb5e2bdee317464e375a5", "score": "0.73373014", "text": "@Override\n public int getKey() {\n return key;\n }", "title": "" } ]
[ { "docid": "f64c537b15f4ec219ea6f85dbc4bae15", "score": "0.8146762", "text": "public final String getKey() {\r\n\t\treturn (new Long(this.getID())).toString();\r\n\t}", "title": "" }, { "docid": "801f997771e01087a97e691d6f212778", "score": "0.7946267", "text": "public final String ge...
3dcb1a6b3714700c1b5f876ad22ec808
Reads a parameter as a double value.
[ { "docid": "15677c93453daf9c158e3e08b97b2571", "score": "0.0", "text": "public static double getParameter(@Nonnull Applet applet, String name, double defaultValue) {\n String value = getParameter(applet, name);\n if (value != null) {\n try {\n double doubleValue =...
[ { "docid": "20e35084f1e97ada6e5ffb83286fd293", "score": "0.7811664", "text": "double readDouble(String field) throws IOException;", "title": "" }, { "docid": "87b5754e986fdb665405ab79a32f2966", "score": "0.7690497", "text": "public static double readDouble()\n\n\t{\n\t\treturn s.next...
42912b24df4e4dddb6607c2780d8d514
gets text for txtJTextField2
[ { "docid": "3284411e105a27ba16a245103bf8eb72", "score": "0.6788184", "text": "public String getJTextField2() {\n return txtDefaultValue().getText();\n }", "title": "" } ]
[ { "docid": "4205036f362fadc58c7cd68d8c416cab", "score": "0.7525106", "text": "private JTextField getJTextField2() {\r\n\t\tif (jTextField2 == null) {\r\n\t\t\tjTextField2 = new JTextField();\r\n\t\t\tjTextField2.setBounds(new Rectangle(240, 130, 282, 19));\r\n\t\t\tjTextField2.setText(cdor.getDatos().ge...
2e5faee15623aa1dec8f361e270a4a7f
This method was generated by MyBatis Generator. This method returns the value of the database column portal_government_open.update_date
[ { "docid": "f7b745c136d9970e39c8e825b4b9a9f7", "score": "0.6314469", "text": "public Date getUpdateDate() {\n return updateDate;\n }", "title": "" } ]
[ { "docid": "7e87699474ddee78b04420eb958d55d5", "score": "0.6774102", "text": "public Integer getUpdate_date() {\n return update_date;\n }", "title": "" }, { "docid": "6776045ccbbcab16b0e5f6458d628b92", "score": "0.66985214", "text": "Date getUpdateDate();", "title": "" ...
d686c1f241081ad20ec3c5f0725e3b27
Test of setButon6 method, of class Carcasa.
[ { "docid": "2743dd757b989cf771fabf56bb58f924", "score": "0.7318322", "text": "@Test\n public void testSetButon6() {\n System.out.println(\"setButon6\");\n Buton buton6 = new Buton('6');\n Carcasa instance = new Carcasa();\n instance.setButon6(buton6);\n \n }", "tit...
[ { "docid": "1b773c6d141a25605754caa429a24d19", "score": "0.71465427", "text": "@Test\n public void testSetButon7() {\n System.out.println(\"setButon7\");\n Buton buton7 = new Buton('7');\n Carcasa instance = new Carcasa();\n instance.setButon7(buton7);\n \n }", "ti...
25e9020c790200109eb431059203c206
Add the scanned and prepared mock instance to the given collection. The preparation of mocks consists only in defining a MockName if not already set.
[ { "docid": "e609aeb181c64679663d320ff4feb9a2", "score": "0.7352582", "text": "public void addPreparedMocks(Set<Object> mocks) {\n mocks.addAll(scan());\n }", "title": "" } ]
[ { "docid": "31a79cf540feedb890d83b57172ac545", "score": "0.5884111", "text": "public void addMock(Mock m){\n DPVs.put(m.getName(), m);\n }", "title": "" }, { "docid": "affcf7a82b88c7e6b0fc8d6cf36e1540", "score": "0.5716401", "text": "private Set<Object> scan() {\n Se...
989077ddfbdc0bdd4165d29de1039d43
Creates new form ReporteVisitaMedica
[ { "docid": "b7b82c499da59896e6d9a62a83153851", "score": "0.7025673", "text": "public ReporteVisitaMedica() {\n initComponents();\n }", "title": "" } ]
[ { "docid": "ad0a5a50e8f440d5a71032f07d665306", "score": "0.612625", "text": "private void newVehiculo() {\n\n\t\tcrearVehiculo = new VistaCrearVehiculo();\n\t\tif (vistaTablaVehiculo.getTabbedPane().getSelectedIndex() == 0) {\n\t\t\tcrearVehiculo.getLblTextoAtributoExtra2().setText(\"Num Puertas\");\n\t...
cbc02addc16dccaa6d349624b7a1236d
optional .pomelo.area.GoddessCommStruct s2c_commData = 3;
[ { "docid": "3b58827cc6fad0292c3b76f295af86f6", "score": "0.62225866", "text": "public Builder clearS2CCommData() {\n if (s2CCommDataBuilder_ == null) {\n s2CCommData_ = pomelo.area.GoddessHandler.GoddessCommStruct.getDefaultInstance();\n onChanged();\n } else {\n ...
[ { "docid": "6a4f857d4644de23b9bcfec318191af4", "score": "0.8640315", "text": "pomelo.area.GoddessHandler.GoddessCommStruct getS2CCommData();", "title": "" }, { "docid": "abc5bf5372f6705f3d4251198b539e2f", "score": "0.8071667", "text": "pomelo.area.GoddessHandler.GoddessCommStructOrBu...
252c0ecaa68aad9bd51028cad45f1054
old holds user's previous size value
[ { "docid": "56b14b5fbddfdca3a21239bc46290b4a", "score": "0.0", "text": "public void actionPerformed(ActionEvent arg0) {\n\t\t\t\t\tComponent right = contentPane.getComponentAt(600, 600);\n\t\t\t\t\tif(right != null){\n\t\t\t\t\t\told = getSize();\n\t\t\t\t\t\tsetSize(370, 700);\n\t\t\t\t\t}\n\n\t\t\t\t\...
[ { "docid": "3095a7f246e90d730be8a9daa8865cfd", "score": "0.74312586", "text": "protected int getOriginalSize() {\n\t\treturn size;\n\t}", "title": "" }, { "docid": "c7e27dc251b6cd313b8e600c7c020c35", "score": "0.73324364", "text": "long getCurrentSize();", "title": "" }, { ...
804ea3145057a4a6e21215e6e6cd6850
recupera todos los tags del sistema, sin ningun eager fecth
[ { "docid": "aa5c900b34e4dca4c0f108639bd894a3", "score": "0.66830266", "text": "public List<Tag> getAllTags();", "title": "" } ]
[ { "docid": "d53c5d13808e3a58dc6169bbfc1766eb", "score": "0.6945379", "text": "private void loadAllTags(){\n\n ArrayList<Album> albumList = (ArrayList) this.u.getAlbumList();\n\n for(Album album : albumList){ // for each album, go through tags\n for(Photo photo : album.getPics())...
35f08763dae025f6dfd2bde78befaffb
Instantiates a new missile.
[ { "docid": "75ab8bf54b0dd82f520b853ca1210dc5", "score": "0.0", "text": "public Danmaku(int x, int y, int width, int height, int hp) {\n\t\tsuper(x, y, ID.Danmaku, width, height, hp);\n\t\t// TODO Auto-generated constructor stub\n\t\tthis.velY =5;\n\t}", "title": "" } ]
[ { "docid": "5a35dff9efa6b3fef90dfd67e8175975", "score": "0.7181274", "text": "public Missile(int x, int y) {\n super(x, y, '!',1,VERTICAL);\n }", "title": "" }, { "docid": "4dab58530f5e821df9167ca9709bfb15", "score": "0.67422354", "text": "public Tile() {}", "title": ""...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "26912aba908dc0303c85266af427ae59", "score": "0.0", "text": "@Override\r\n\tpublic void deleteStudents(String[] ids) throws Exception {\n\t\t\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
64203df142734ad5c35a1ca740fabd74
Executes a command line from a BASH process. Works for Linux only (tested with Ubuntu).
[ { "docid": "84b1a580223e2dfc21e46190935bb86e", "score": "0.58737004", "text": "public int executeLinuxCommandLine(String[] commandLine, File workingDir, File logFile, double timeoutInSeconds) {\n\t\t// Preparing the command line\n\t\tString[] linuxCommandLine = new String[commandLine.length + 1];\n\t\tl...
[ { "docid": "84aef22a6ec04e1a4f7eaea822c7ceb0", "score": "0.6278529", "text": "public static Process executeCommand(String myCommand) throws IOException {\n if (SystemUtils.IS_OS_MAC) {\n return Runtime.getRuntime()\n .exec(new String[]{\"/bin/bash\", \"-c\", myComman...
50872eab60b6a10553ff62daeba616a0
Returns the DICOM series instance UID. DICOM Tag: (0020,000E).
[ { "docid": "c41008f66bb7e60bfef320d4f82a48e8", "score": "0.7674946", "text": "public String getSeriesInstanceUID();", "title": "" } ]
[ { "docid": "cc64a37822901f10bcbd2aab9018b56e", "score": "0.6494257", "text": "public String getUID() {\n String uid = new UID().toString();\n\n //uid = \"BPID--\" + bpId ++; //\n return (uid);\n }", "title": "" }, { "docid": "0acf1ba06a74e885c4e416acf6b7b056", "sc...
d376be688a2c5ba162c498f177b21d8a
.POGOProtos.Rpc.ClientPlayerProto updated_player = 2;
[ { "docid": "6b1d8ca29d1e017424ee35941b0ad000", "score": "0.76841056", "text": "@java.lang.Override\n public POGOProtos.Rpc.ClientPlayerProtoOrBuilder getUpdatedPlayerOrBuilder() {\n return getUpdatedPlayer();\n }", "title": "" } ]
[ { "docid": "e1c5107a575a9b4fafb1eafa99d144b5", "score": "0.77350557", "text": "@java.lang.Override\n public POGOProtos.Rpc.ClientPlayerProto getUpdatedPlayer() {\n return updatedPlayer_ == null ? POGOProtos.Rpc.ClientPlayerProto.getDefaultInstance() : updatedPlayer_;\n }", "title": "" }, { ...
97185ae8b63dcf1f028c686ce78a3437
pauses a running job, and also sets the paused to true in the database.
[ { "docid": "12a3d6eab0ec2c8e8324bc65aef30dff", "score": "0.63498247", "text": "protected static boolean pause(int jobId, Connection con) {\n\t\tlog.info(\"Pausing job \" + jobId);\n\t\tCallableStatement procedure = null;\n\t\ttry {\n\t\t\tint numPairs = 0;\n\t\t\tfinal int paused = StatusCode.STATUS_PAU...
[ { "docid": "cc09b3c045c8c75391c36e84369fdb08", "score": "0.7219093", "text": "public void pause()\n {\n if (!paused)\n {\n pauseLock.lock();\n\n try\n {\n paused = true;\n }\n finally\n {\n p...
8e742660384511df58bf99fe4695b291
without recursive use for loop
[ { "docid": "cb108124d3373ac2d0538a398e65e73f", "score": "0.0", "text": "public static int factorialNum(int input){\n\t\tint fact = 1;\n\t\tfor(int i=1; i<=input; i++){\n\t\t\tfact = fact * i;\n\t\t\t\n\t\t}return fact;\n\t\t\n\t}", "title": "" } ]
[ { "docid": "a46c719988238e831318013f9b448ce9", "score": "0.57650715", "text": "private void iterate( final Collection value ) {\n\n //we don't support indexing 2 dimensional arrays. Short circuit with a warning so we can track operationally\n if(!lastCollection.isEmpty() && lastCollection...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8cec4e228a33f20149c40b5a33113900", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tVehicle vehicle = new Vehicle();\r\n\t\tThread Bg = new Thread(new BridgeSimulate(vehicle));\r\n\t\tThread Tb = new Thread(new TollBooth(vehicle));\r\n\t\t\r\n\t\tBg.start();\r\n\t\tTb.s...
[ { "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}", ...
1916366c89de5f211c88db20c899ec54
This method was generated by MyBatis Generator. This method returns the value of the database column user.device_id
[ { "docid": "089e4ad41f647527f3fc6f0771c939c3", "score": "0.6432413", "text": "public Integer getDeviceId() {\r\n\t\treturn deviceId;\r\n\t}", "title": "" } ]
[ { "docid": "9ff189a11f5eef552ec1f4e1099bf6e4", "score": "0.6973329", "text": "@Override\n\tpublic int queryDeviceById(String device_id) {\n\t\treturn this.sqlSessionTemplate.selectOne(\"device.queryDeviceById\",device_id);\n\t}", "title": "" }, { "docid": "c0cc548ac4e8d7ce20204f74d1e1911f", ...
1c26a152509e9fb65bcfea3c47b24065
Send code to request access token
[ { "docid": "48f3d834a5bdb0225d684d0c8aad5c84", "score": "0.65646607", "text": "private static OAuthClientRequest getAccessTokenRequest(String clientId, String clientSecretCode,\n String redirectURI, String code)\n throws OAuthSystemEx...
[ { "docid": "13865d42e6b2dfe1f450dd0bf20c179d", "score": "0.7078381", "text": "@Headers(\"Content-Type: application/x-www-form-urlencoded\")\n @FormUrlEncoded\n @POST(\"v2/oauth/accessToken\")\n Call<AccessToken> accessToken(\n @Field(\"grant_type\") String grant_type,\n @F...
3fa43d9b0a8999a2bb6157fbd314e3d1
This method was generated by MyBatis Generator. This method corresponds to the trash table spt_trans
[ { "docid": "d658ff8d0598488e013da82209f7c4f6", "score": "0.0", "text": "int updateByPrimaryKey(Trans record);", "title": "" } ]
[ { "docid": "53f69868bc6eccd7662e7398c747e011", "score": "0.58060455", "text": "public void dropTableInjustificaciones(){\n qs = new Query();\n String query = \"drop table injustificaciones\";\n qs.ExecuteUpdating(query);\n }", "title": "" }, { "docid": "637b4ef2ab3b5b...
bbea3e572fa1cfea54bd5262245c766c
Find all Businesslegaltypes matching the given input query. This method returns Paginated results. Note: Go through the documentation for query syntax.
[ { "docid": "9f01c623246e0f261b3953a13d107829", "score": "0.77521133", "text": "Page<Businesslegaltype> findAll(String query, Pageable pageable);", "title": "" } ]
[ { "docid": "f71f5e6e58b098d3bef2308364820989", "score": "0.62494075", "text": "List<LoanPayment> search(LoanPaymentQuery query) throws DaoException;", "title": "" }, { "docid": "360af140c01969170be6d0ae0e587d6f", "score": "0.5973555", "text": "@Override\n @Transactional(readOnly =...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8ccb51f227e6fb5bd833ca88996c03c1", "score": "0.0", "text": "@Override\r\n\tpublic void update() throws Exception {\n\t\t\r\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}", ...
93b261a1cfb024424bfacd5ea70c1654
BlockChain blockChain = new BlockChain();
[ { "docid": "c88d82378b75a4dea7d38fd107cc7448", "score": "0.6413186", "text": "public static void main(String[] args) throws InterruptedException {\n UserInterface userInterface = new UserInterface();\n// Thread printingHook = new Thread(() -> System.out.println(\"\\nBlocks:\" + userInterfa...
[ { "docid": "f9ec94e5871ef1f5eb7998b06ec9e9eb", "score": "0.8106493", "text": "public BlockChain () {\r\n\r\n\t\tthis.blocks = new ArrayList<Block>();\r\n\t\tthis.givenHashes = new ArrayList<String>();\r\n\t}", "title": "" }, { "docid": "a5e5c8b7c1771b598773a5aae4c98bca", "score": "0.7000...
fc4619ce365a0c36f4a6cf71ebd1914a
Returns the primary key of this proposal rating value.
[ { "docid": "4f6dbce4da5b3d1ebabe4246d1931012", "score": "0.8323519", "text": "@Override\n public long getPrimaryKey() {\n return _proposalRatingValue.getPrimaryKey();\n }", "title": "" } ]
[ { "docid": "b7188968fcccf3a038fca2f9dfc6d22d", "score": "0.72379327", "text": "@Override\n public long getId() {\n return _proposalRatingValue.getId();\n }", "title": "" }, { "docid": "3c111799365d6a9f5de86d88dfca2e97", "score": "0.7108875", "text": "@Override\n\tpublic ...
17cc0162df0bbdbbecfc0112251b0e7a
check that we have a filter
[ { "docid": "773d6efad5f49159e2228437ba84a69a", "score": "0.0", "text": "protected void updateAetnaERMasterDocuments(Document request, MongoCRUDResult result) throws Exception {\n if (request == null || !request.containsKey(\"documents\"))\r\n throw new IllegalArgumentException(\"No Doc...
[ { "docid": "2836d36fdc996258969a500d308ff904", "score": "0.81928277", "text": "boolean hasFilter();", "title": "" }, { "docid": "2836d36fdc996258969a500d308ff904", "score": "0.81928277", "text": "boolean hasFilter();", "title": "" }, { "docid": "2836d36fdc996258969a500d30...
26442fb8216a4f7879a56e67505ef93d
Private method for returning a new Scanner Object
[ { "docid": "fec72c622fcd3e745ae6a60cf7946af3", "score": "0.6997914", "text": "private static Scanner ratingsScanner() {\n return new Scanner(System.in);\n }", "title": "" } ]
[ { "docid": "4171cc42f2d6cb00c2a5114ed0824881", "score": "0.7499033", "text": "private static Scanner newScanner(InputStream in) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "9de800555ca6755c4bc78fafffe8f353", "score": "0.7208343", "text": "public Scanner() {\r\n }", "t...
224c3d28ab3d9700644dfa9cae30e7b6
This implementation substitutes the factory itself as the key for the adapter.
[ { "docid": "301c7c986e8a6cf42801f461f96176a7", "score": "0.0", "text": "@Override\r\n\tpublic Adapter adapt(Notifier notifier, Object type) {\r\n return super.adapt(notifier, this);\r\n }", "title": "" } ]
[ { "docid": "7585b51ab95d1dc14928a41db847a51e", "score": "0.5721609", "text": "public SimpleFactorylike<D, I> getItemFactory() {\n return iFactory;\n }", "title": "" }, { "docid": "53572012e7d2e19b2e05df5442e6d682", "score": "0.5628179", "text": "public GenDiagramPreferences...
7c3550334ebaa01af7a210fd14d4a92c
Visit class for 'javaModel.JavaClassifier'
[ { "docid": "4038544b41012e37873eef28b8cde8d6", "score": "0.5354534", "text": "public Object visit(javaModel.JavaClassifier host, Object data) {\n\t\tif (((Map)data).containsKey(host)) return ((Map)data).get(host);\n\t\tIXMIObject xmiObject = new XMIObject(\"javaModel.JavaClassifier\", host);\n\t\t//--- ...
[ { "docid": "d1f59681270cec24870588a8968122ce", "score": "0.65239555", "text": "public void predictClassifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5b8543ff3ff14a928daeabed11ab57a6", "score": "0.6178751", "text": "public ClassLabel classification(Instance instance);", "title...
6f10af4bbc7f79c9c1cf8fdd81f9bb6a
$ANTLR end "rule__DQualifiedName__Group_1__1" $ANTLR start "rule__DQualifiedName__Group_1__1__Impl" InternalDom.g:10124:1: rule__DQualifiedName__Group_1__1__Impl : ( RULE_ID ) ;
[ { "docid": "35785a9a7e3198db5890079327d8df5e", "score": "0.79060495", "text": "public final void rule__DQualifiedName__Group_1__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDom.g:10128:1: ( ( RULE_ID ) )\n ...
[ { "docid": "15cb1af22e33ac315daf37e6dc16d382", "score": "0.79580206", "text": "public final void rule__DQualifiedName__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDom.g:10117:1: ( rule__DQualifiedName__Grou...
2e1c507bbb178f7b067861909a5cb380
=========================================== Get All Users // ==========================================
[ { "docid": "ab038ed648b2f3649ec0c64a3a658d2a", "score": "0.0", "text": "@GetMapping(value = \"/users\")\n\tpublic ResponseEntity<List<UserDto>> getUsers() {\n\t\tlogger.debug(\"UserController.clazz getUsers()\");\n\n\t\tList<User> users = userService.getAll();\n\n\t\tif (users == null || users.isEmpty()...
[ { "docid": "2bc841bf3609050f64084aa11ff1ed6d", "score": "0.8534533", "text": "public List<User> getAllUsers();", "title": "" }, { "docid": "7b4c7e43247192598843f4893f5ce59d", "score": "0.85066044", "text": "@GET\r\n\t@NotNull List<User> readAllUsers();", "title": "" }, { ...
fcac0ae0370b7d6e39bcebb88fb237b3
Gets if the execution was finished due to an exception.
[ { "docid": "9fed556e8d1e902e58f339ba52c98874", "score": "0.0", "text": "public boolean isAborted() {\n return aborted;\n }", "title": "" } ]
[ { "docid": "8769373c5d4989934b0cc9bfb165f99d", "score": "0.6817623", "text": "public boolean hasFailed ()\r\n {\r\n return exception_ != null;\r\n }", "title": "" }, { "docid": "6a404a1be53a44d9e6e573c34079c714", "score": "0.67018014", "text": "protected boolean isFinish...
e522d716b2d3b718895a62bb23f0a283
The name of the institution associated with the Item.
[ { "docid": "a0825764db1672fbfd126f1e3356afaf", "score": "0.77884483", "text": "@javax.annotation.Nullable\n @ApiModelProperty(value = \"The name of the institution associated with the Item.\")\n\n public String getInstitutionName() {\n return institutionName;\n }", "title": "" } ]
[ { "docid": "8ecc4acc46a9aa9564b69b6d4798b1c1", "score": "0.79908895", "text": "public java.lang.String getInstitutionName() {\r\n return institutionName;\r\n }", "title": "" }, { "docid": "12165412fd4cb7e831c86c73904f76a8", "score": "0.7319323", "text": "@Override\n\tpublic...
9071bc8c1eab539f29a3f43748ac35af
Returns full name relative to the BlueOrganization base. Each name is separated by '/'
[ { "docid": "099a2f33e3338d24ba69080cb1410546", "score": "0.61760944", "text": "private static String getFullNameForItem(@CheckForNull BlueOrganization org, @NonNull Item item) {\n ItemGroup<?> group = getBaseGroup(org);\n return Functions.getRelativeNameFrom(item, group);\n }", "tit...
[ { "docid": "d30989df58f56bf573b4e71aef062d69", "score": "0.7200139", "text": "String getFullName();", "title": "" }, { "docid": "d30989df58f56bf573b4e71aef062d69", "score": "0.7200139", "text": "String getFullName();", "title": "" }, { "docid": "01253d5602b669e36497911cd5...
582ba775b5248c1c4b808c6b5ec99631
Gets the value(s) for type (ElementDefinition.type). creating it if it does not exist. Will not return null. Definition: The data type or resource that the value of this element is permitted to be
[ { "docid": "6854a1cd0fb10a52999e4598de79e99d", "score": "0.6063962", "text": "public java.util.List<Type> getType() { \n\t\tif (myType == null) {\n\t\t\tmyType = new java.util.ArrayList<Type>();\n\t\t}\n\t\treturn myType;\n\t}", "title": "" } ]
[ { "docid": "07fb6c8931b8339ae9aea91b8685a9b8", "score": "0.6219249", "text": "public int getTypeValue() {\n\t\t\t\t\treturn type_;\n\t\t\t\t}", "title": "" }, { "docid": "21589e9b9f24bfc71909cd98a5e88a07", "score": "0.6163845", "text": "TypeElement getTypeElement();", "title": ""...
5ecf4a2fea1eea349367ea977ac5ab4d
$ANTLR end "constant_declaration" $ANTLR start "exception_declaration" /home/macan/Private/pl2py/PLSQL.g:628:1: exception_declaration : ID EXCEPTION ;
[ { "docid": "8f231b852479657cfc471a7c4de47fc8", "score": "0.7394471", "text": "public final void exception_declaration() throws RecognitionException {\n Token ID5=null;\n\n try {\n // /home/macan/Private/pl2py/PLSQL.g:628:23: ( ID EXCEPTION )\n // /home/macan/Private/p...
[ { "docid": "879e2c03f9c2170d8dcf6f3e68b5f152", "score": "0.5621409", "text": "public final void constant_declaration() throws RecognitionException {\n try {\n // /home/macan/Private/pl2py/PLSQL.g:622:22: ( ID CONSTANT datatype ( NOT NULL )? ( ASSIGN | DEFAULT ) expression )\n ...
5ea1e85ed28ce6a03379d97c195be416
Method to get data from the database based on a selection string and selection arguments. Furthermore there is a possibility to order the items by condition.
[ { "docid": "25c50a65831863c311c1ba0404c3b523", "score": "0.56897473", "text": "@Override\n public Cursor query(@NonNull Uri uri, String[] projection, String selection,\n String[] selectionArgs, String sortOrder) {\n\n Cursor cursor;\n\n // Switch statement to deci...
[ { "docid": "127bbb7451ad63b83afd801bb1d78473", "score": "0.653159", "text": "@Override\n\tpublic Cursor query(String selection, String[] selectionArgs) {\n\t\tCursor cursor = null;\n\t\tSQLiteDatabase database = mDBHelper.getReadableDatabase();\n\t\ttry {\n\t\t\tcursor = database.query(TestItemColumns.T...
99501e59c17c4d45595f1c870b45a85e
Construct FITS table for alignment slit list.
[ { "docid": "647564b9db0c65aadf7989d1629afb6d", "score": "0.79785603", "text": "private AsciiTableHDU constructAlignmentSlitListFITSExtension() throws FitsException {\n\t\tAsciiTable table = new AsciiTable();\n\t\t@SuppressWarnings(\"unchecked\")\n\t\t//. mechanicalSlitList if of type ArrayList<Mechanica...
[ { "docid": "21c2484066a88de3f6192e84602aee28", "score": "0.7353774", "text": "private AsciiTableHDU constructScienceSlitListFITSExtension() throws FitsException {\n\t\tAsciiTable table = new AsciiTable();\n\t\t@SuppressWarnings(\"unchecked\")\n\t\t//. mechanicalSlitList if of type ArrayList<MechanicalSl...
e191a41d5a979384cfeffd3590f68bc0
Returns an SVG formatted string describing a color change event.
[ { "docid": "378b8d26ec32bfaf980e475b051a324d", "score": "0.67654043", "text": "private String addColorChange(IShape shp, IEvent e) {\n float duration = ((e.getEventEnd() - e.getEventBegin()) / (float) speed);\n return \"<animate attributeType=\\\"xml\\\" begin=\\\"\" + e.getEventBegin() * 100 / sp...
[ { "docid": "4ee51d4c17c9c853a49f6f462f83080b", "score": "0.6588269", "text": "private String changeColorActionSvg(ChangeColorAction a) {\r\n int startTime = a.getStartTime() * 100 / tempo;\r\n int duration = (a.getEndTime() - a.getStartTime()) * 100 / tempo;\r\n ArrayList<Double> colors = a.get...
0aeabe51c51bf9d24041efa902aaae7b
Check if four images are taken
[ { "docid": "ea6bb7a3f6ec883843a84c9267b872a6", "score": "0.0", "text": "@Override\r\n public void onClick(View view) {\n if (imagesTaken == 4){\r\n // Add to all readings to pass to Activity_Report\r\n for (int i = 0; i < 3;i++) {\r\n ...
[ { "docid": "7f226e91b948bb55779efd669b1f603a", "score": "0.64261585", "text": "boolean hasImage();", "title": "" }, { "docid": "e75c0ab52620d88c56924dd083b8bfe0", "score": "0.6257547", "text": "public abstract boolean hasMoreImages();", "title": "" }, { "docid": "a5e495ae...
66beb28fd32e29029bd714e9a4ce8d97
/String url = "jdbc:mysql:///bootdemo"; String user = "root"; String psd = "123456"; String driverClass = "com.mysql.jdbc.Driver";
[ { "docid": "ca4fc1834e4db0d571102d83739c4090", "score": "0.0", "text": "public static Connection getConnection() throws Exception {\n InputStream input = JDBCUtil.class.getClassLoader().getResourceAsStream(\"jdbc.properties\");\n Properties properties = new Properties();\n propertie...
[ { "docid": "f00381362cbe86c09fc1d74cc478b289", "score": "0.6992551", "text": "private connectBD(){\n\t\tString url = \"jdbc:mysql://52.50.23.197:3306/world\"; //Defining path to the database\n\t\tString driver = \"com.mysql.cj.jdbc.Driver\"; //JDBC Driver path\n\t\tString user = \"cctstudent\"; //Userna...
e87cc286149fa31de22a40363d0047dc
Callback redirections from Osgi Root =================================================================================================================
[ { "docid": "d2306d20bea7f36543faa482e76965b0", "score": "0.0", "text": "public void addService(ServiceReference serviceReference) {\n Object serviceId = serviceReference.getProperty(Constants.SERVICE_ID);\n ServiceResource createdService;\n synchronized (m_serviceResourceMap) {\n ...
[ { "docid": "90dd5bdd65bae2d034e32ca887f380d3", "score": "0.61948174", "text": "@Override\r\n\tpublic void redirect(String url) throws IOException {\n\t\t\r\n\t}", "title": "" }, { "docid": "1243e3d443f553b2db2173c8c3a87e67", "score": "0.61718047", "text": "public MyAuthenticationSucc...
9bcd84965703259f9fdc741243d83c36
We keep the last known orientation. So if the user first orient the camera then point the camera to floor or sky, we still have the correct orientation.
[ { "docid": "6710e27cdf6b23d9ffe871c16ad1c926", "score": "0.56793094", "text": "@Override\n public void onOrientationChanged(int orientation) {\n if (orientation == ORIENTATION_UNKNOWN) {\n return;\n }\n synchronized (mOnOrientationListeners) {\n ...
[ { "docid": "5fedda07e9bec4c850254d12d4e22f8b", "score": "0.67504364", "text": "private void determineDisplayOrientation() {\n Camera.CameraInfo cameraInfo = new Camera.CameraInfo();\n Camera.getCameraInfo(mCameraId.ordinal(), cameraInfo);\n\n int rotation = mActivity.getWindowManage...
fd46ec817a1d21164e4214b5d46adf61
We create a cell event
[ { "docid": "429b761971d31754b5f7de239eb4f501", "score": "0.5894591", "text": "public CheckboxCellEvent(String name, int i) {\n this.name = name;\n this.i = i;\n }", "title": "" } ]
[ { "docid": "b175825d6f4cde60255326a7771bbf7c", "score": "0.6570806", "text": "private void onCellClick(MouseEvent event) {\n if (handler != null) {\n Node source = (Node) event.getSource();\n int col = GridPane.getColumnIndex(source);\n int row = GridPane.getRowIn...
ef77ad20e9a8432cde591c35eeaa5856
metoda calculeaza levelul si in caz de level up, reface HP
[ { "docid": "c79f30d59471551e40e5e93f0ee90ecd", "score": "0.73250276", "text": "public void updateLevel() {\n\t\tif (level < (XP - 250) / 50 + 1) {\n\t\t\tlevel = ((XP - 250) / 50 + 1);\n\t\t\tHP = updateHP();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "b83347bd6ce3cf4c1aba11d5e87e25a9", "score": "0.74235386", "text": "private void calculateLevel() {\n\t\t\tvar.level = Math.round(var.score / 150f);\n\t\t\tvar.score = var.kills*10 + Math.round(var.distance * 4);\n\t\t}", "title": "" }, { "docid": "be57f79c49da019ba1e7413705450e11...