query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
5a8149a140085a9edc1d76a982e5ba1b
Metodo que devuelve el numero de la celda.
[ { "docid": "bdad1662da70325328270b7b9107d817", "score": "0.68361837", "text": "public int getNumero() {\r\n\t\treturn numero;\r\n\t}", "title": "" } ]
[ { "docid": "3a1db77551d377521ba4f5f24ce06545", "score": "0.7071335", "text": "public String getCelular() {\r\n return celular;\r\n }", "title": "" }, { "docid": "b13377406dcd11a09d0acc095c3b37bd", "score": "0.697619", "text": "public int getNumero(){\n\t\treturn this.numero...
fececd5ba365f83a15e1a392c609fe60
private String name; private String bloodgrp; private String age;
[ { "docid": "8dc677aafb5146fd9b7ae4bdc1c68dc8", "score": "0.0", "text": "public float gettemp() {\r\n return temp;\r\n }", "title": "" } ]
[ { "docid": "20fa4145191c8f63cc50cca71721230b", "score": "0.5812992", "text": "public String getNombre(){\n return nombre; //le devuelve el nombre que esta en el atributo de tipo String y se llama nombre\n}", "title": "" }, { "docid": "c98dd706b34db1e3e537f238195b8ff7", "score": "0.5702...
fa44cf3f73ea3f4528e89b10f32b1796
initializes ProcessCameraProvider and once the provider is given, bind the preview to the camera view.
[ { "docid": "23009bc73c77419169dc89f537c14039", "score": "0.77566713", "text": "private void startCamera() {\n final ListenableFuture<ProcessCameraProvider> cameraProviderFuture = ProcessCameraProvider.getInstance(this);\n\n cameraProviderFuture.addListener(new Runnable() {\n @Ov...
[ { "docid": "790e39ef889e049cddf5e7f9a7d3ca2d", "score": "0.8453193", "text": "void bindPreview(@NonNull ProcessCameraProvider cameraProvider) {\n Preview preview = new Preview.Builder()\n .build();\n\n CameraSelector cameraSelector = new CameraSelector.Builder()\n ...
44f982e158dbb93e88ad85f57f1e8a84
Regression test for 1GDN0PX: ITPUI:WIN2000 SEVERE AssertionFailure when expanding Navigator Problem was: before addition, parent item had no children, and was expanded after addition, during refresh(), updatePlus() added dummy node even though parent item was expanded in updateChildren, it wasn't handling a dummy node
[ { "docid": "79d7561f490dad7bd9e247946093e107", "score": "0.66296315", "text": "public void testRefreshWithAddedChildren() {\n TestElement parent = fRootElement.addChild(TestModelChange.INSERT);\n TestElement child = parent.addChild(TestModelChange.INSERT);\n ((AbstractTreeViewer) fV...
[ { "docid": "48f85a1c2d8a2c01b6d9f58f8c0bae04", "score": "0.67704904", "text": "public void testRefreshWithReusedItems() {\n // TestElement a= fRootElement.getFirstChild();\n // TestElement aa= a.getChildAt(0);\n // TestElement ab= a.getChildAt(1);\n // fTreeViewer...
60cdceebb616725dbe4e61d9658baf61
person class need to 2 props firstName and lastName
[ { "docid": "8a9c19411f319a7d874fec871b40bc19", "score": "0.0", "text": "@Test\n public void testPersonClass(){\n assertEquals(\"Fer\", fer.getFirstName());\n assertEquals(\"Delayne\", delayne.getFirstName());\n }", "title": "" } ]
[ { "docid": "58eac05b369b9096351150d944bb03df", "score": "0.7642316", "text": "public Person(String firstName, String lastName)\n {\n this.firstName = firstName;\n this.lastName = lastName;\n\n }", "title": "" }, { "docid": "469f600dde4a19d4200f44be09c6b34c", "score": ...
324c067af3f9a037060c4af87b738437
Gets the value of the IssueDate field. Date the check was issued.
[ { "docid": "f3e0676741753999943f44cb017676c7", "score": "0.79411453", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getIssueDate() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ISSUEDATE_PROP.get());\n }", "title": "" } ]
[ { "docid": "b244e5bd49949a9cf849bbfeadb85946", "score": "0.7997983", "text": "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getIssueDate() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ISSUEDATE_PROP.get());\n }", "title": "" }, { "docid": "...
9db27466d4e75ca06e027c8af240cd42
optional string TradeBSFlag = 11;
[ { "docid": "9ece1ed84c7b24e4e67ab1b2356f0867", "score": "0.0", "text": "public Builder clearTradeBSFlag() {\n bitField0_ = (bitField0_ & ~0x00000400);\n tradeBSFlag_ = getDefaultInstance().getTradeBSFlag();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "a7bb22412f05028d5b148ddf44fb6fad", "score": "0.80951786", "text": "java.lang.String getTradeBSFlag();", "title": "" }, { "docid": "8d9e42fe88c42e2b86001906c8cd8c34", "score": "0.71188676", "text": "public Builder setTradeBSFlag(\n java.lang.String value) {\n ...
57dfdfe2df36ed4c015e765ed1ec3985
Returns the unique ID of the BHLabel.
[ { "docid": "dacfea6ac010ac0e748afb7ff49c2185", "score": "0.0", "text": "@Override\n\tpublic String getKey() {\n\t\treturn key;\n\t}", "title": "" } ]
[ { "docid": "bc0cc2285ac039e088fa49f4683be4a0", "score": "0.7629804", "text": "public int getLabelId() {\n\t\treturn labelId;\n\t}", "title": "" }, { "docid": "9d7623a9f80518e2cb836f4fbfdeb7a5", "score": "0.74256104", "text": "public int getLabelID() {\n return this.labelID;\n ...
6395c9454084f7f70091b2c4debfe61a
Stores a short value in the table at the given row and column. Note all values in a given column must be of the same type.
[ { "docid": "ebae8bf91f97681c5d50ddc286353d18", "score": "0.7618266", "text": "@Override\n public void putShort(int row, int col, short value) {\n \tmaxRow = Math.max(maxRow, row);\n occupied.put(row,true);\n\t\tsuper.putShort(row, col, value);\n }", "title": "" } ]
[ { "docid": "b9b60efbf178aedd6155e7100d2aacce", "score": "0.77232385", "text": "@Override\n public void putShort(int rowId, short value) {\n shortData[rowId] = value;\n }", "title": "" }, { "docid": "527f7f14132606d0a4519f00f15904e9", "score": "0.7524726", "text": "void setShort(...
f4eccca3ba4f2391af7604a4f79d08ff
end method method solves for v average velocity after determining which equation is required
[ { "docid": "c86fd2cbb4a176c679570ca53ce2fe56", "score": "0.75863516", "text": "public double solveV() \n {\n double answer = 0.0;\n //variable v found in 2 equations\n if(this.currentEqn.equals(\"v=d/t\")) //if eqn is v=d/t\n {\n answer = displacemen...
[ { "docid": "8dcc06d262cd62cdbb60f7ed3bd82ab5", "score": "0.7168596", "text": "public double solveV1() \n {\n double answer = 0.0; \n \n //variable v1 found in 3 different equations so 3 different ways of calculating\n if(currentEqn.equals(\"v=(v1+v2)/2\")) //...
b715c32d59de614614b1cc302cba1b54
This method allows to find the cheapest book
[ { "docid": "ca21f0d929026be8ed5e93c38c217d8d", "score": "0.77402115", "text": "public Book getCheapestBook() throws EmptyLibraryException {\r\n\t\tif (myBooks.isEmpty()) {\r\n\t\t\tthrow new EmptyLibraryException(\"La libreria no tiene libros aún.\");\r\n\t\t}\r\n\t\tIterator<String> iterator = myBooks....
[ { "docid": "630a74290de65741399076cfd0ad3450", "score": "0.6760196", "text": "Book suggestBookToPatron(int patronId) {\n if(isPatronIdValid(patronId)==false){\n return null;\n }\n int currentMaxBookScore = 0;\n Book currentBestBook = null;\n for (int i=0; i<...
411ceb841e81e1049a15789605d8739e
Indicates if the buffer has free space.
[ { "docid": "ffbec528bb5717dc11980a6f526d9e3b", "score": "0.67173994", "text": "public boolean hasRemaining() {\n return pos <= buffer.length;\n }", "title": "" } ]
[ { "docid": "fa0e2a270d2917144baadb1d778f8568", "score": "0.72305644", "text": "@Override\n public boolean hasSpace() {\n return systemUsage != null ? (!isParentFull() && systemUsage.getMemoryUsage().getPercentUsage() < memoryUsageHighWaterMark) : true;\n }", "title": "" }, { "do...
1a2147fbde8f1e23c2677672b5475ffe
Calculates the occurence this of the variable in constraints
[ { "docid": "c25320660d761f796a6d3eb18828f64d", "score": "0.69830924", "text": "@Override\r\n public int heuristicValue(Set<Constraint> constraints, Variable var, Set<String> domaine) {\r\n int cpt = 0;\r\n for(Constraint c : constraints) {\r\n // for all constraints\r\n ...
[ { "docid": "8299aa285e54a4aeb524e8861cc108b2", "score": "0.5668505", "text": "@Override\n\tprotected BigInteger getModelCount(Expression fullExpression, long bound, String varName) {\n\t\t\n\t\t// This ABCTranslator is from the za.ac.sun.cs.green.service.abc package.\n\t\t// It translates Green AST repr...
e82bbfd973cc3ac32f8f01c865bb7e0c
Closes the file system, freeing any related resource.
[ { "docid": "56cc9f9b1721f71d0b6bb3e66880c6c1", "score": "0.0", "text": "@Override\r\n void close();", "title": "" } ]
[ { "docid": "1f8ec04224e81d383374a3ce3bce30d2", "score": "0.76625013", "text": "public void close() throws IOException {\n fsDirectory.close();\n }", "title": "" }, { "docid": "bc4f845183cdb7cfa29d4470e45e7c93", "score": "0.7655297", "text": "public void close() {\n\tif (cgF...
f53e934603d5bba194135c24161db543
Given a set of distinct integers, S, return all possible subsets. Note: Elements in a subset must be in nondescending order. The solution set must not contain duplicate subsets. For example, If S = [1,2,3], a solution is: [ [3], [1], [2], [1,2,3], [1,3], [2,3], [1,2], [] ]
[ { "docid": "8e80888daf893f7ac56a323a16fd10e2", "score": "0.81044793", "text": "public static List<List<Integer>> subsets(int[] S) {\r\n List<List<Integer>> res = new ArrayList<List<Integer>>();\r\n Arrays.sort(S);//ลละ๒\r\n int len = S.length;\r\n for(int i=0;i<=len;i++){\r\n...
[ { "docid": "fc6bb3fdfdbcfe6d54b9a89967d02b8f", "score": "0.8343595", "text": "public static List<List<Integer>> subsets(int[] S) {\n\n List<List<Integer>> result = new ArrayList<List<Integer>>();\n if (S.length == 0) {\n result.add(new ArrayList<Integer>());\n return ...
1a120d95ffa06d93b68774bc3b30e92d
Generates a StateListDrawable with the supplied colors, shadows, etc, from the source bitmap using a PorterDuff color filter.
[ { "docid": "d8ba34b81771ed9eab8a3db58f74616a", "score": "0.6488038", "text": "public static StateListDrawable genDrawable(Context context, ColorStateList colors, Bitmap bitmap) {\n return genStateListDrawable(context, colors, null, 0,0,0, bitmap);\n }", "title": "" } ]
[ { "docid": "0148cd30acc157bd9c11084b1bd39836", "score": "0.67543983", "text": "public static StateListDrawable genStateListDrawable(Context context, ColorStateList colors, ColorStateList shadow,\n float shadowDx, float shadowDy, float shadowRadius,\...
ee47ff6d1bbce9aecc3c943936158fa0
A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend. +optional repeated .k8s.io.api.extensions.v1beta1.IngressRule rules = 3;
[ { "docid": "2f111c6e98d6c9287b17907072ebb512", "score": "0.60837775", "text": "public io.kubernetes.client.proto.V1beta1Extensions.IngressRuleOrBuilder getRulesOrBuilder(\n int index) {\n if (rulesBuilder_ == null) {\n return rules_.get(index);\n } else {\n retur...
[ { "docid": "a84d9dee3657efd9f8632c4775105d40", "score": "0.6496109", "text": "public java.util.List<\n ? extends io.kubernetes.client.proto.V1beta1Extensions.IngressRuleOrBuilder>\n getRulesOrBuilderList() {\n return rules_;\n }", "title": "" }, { "docid": "0f656d95...
190a6468b777e99d0c9c55a1387af03b
Create an entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity.
[ { "docid": "da00482c1336f8dc98834a6e98897db0", "score": "0.0", "text": "public static SmsTemplate createEntity() {\n SmsTemplate smsTemplate = new SmsTemplate()\n .name(DEFAULT_NAME)\n .code(DEFAULT_CODE)\n .type(DEFAULT_TYPE)\n .content(DEFAULT_CONTENT...
[ { "docid": "e540839c51ba5e6603605333184e347a", "score": "0.7723254", "text": "Entity createEntity();", "title": "" }, { "docid": "e540839c51ba5e6603605333184e347a", "score": "0.7723254", "text": "Entity createEntity();", "title": "" }, { "docid": "e540839c51ba5e6603605333...
09088d3ffad6ad87c0dedea31e637786
Created by ThinhNH on 3/21/2018.
[ { "docid": "4f3ad2d192a24b64348b62e4c7cd8312", "score": "0.0", "text": "public interface NotificationDetailContract {\n interface View extends BaseContract.View {\n void displayData(String title, String content);\n }\n\n interface Presenter extends BaseContract.Presenter<View> {\n ...
[ { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.6110815", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.5999599", "text": "public void mo27791d() {\n }", "title": "" }, ...
d9c641b6eb26d2383aa875088ec7f97c
Method to add a turtle to the whole collection of turtles, don't think it's used.
[ { "docid": "059803a7f025b7c4aebacfcdfd4385b8", "score": "0.7500603", "text": "public void addTurtle(int id) {\n\t\tmySet.add(new Turtle(id));\n\t}", "title": "" } ]
[ { "docid": "2c636dfa47b7c3d57bf388db1663423a", "score": "0.7093373", "text": "public void addMovement(TurtleMovement turtleMovement) {\n myMovements.add(turtleMovement);\n }", "title": "" }, { "docid": "ec6069db84546bed30e0fd774eea5e10", "score": "0.65387815", "text": "publ...
51c3bc717c0fc8ac04b6a70479184845
gets the element at the given index
[ { "docid": "235cfa9c2fab8307e722344bf8b2bc1e", "score": "0.7752863", "text": "public E get(int index) {\r\n\t\tif (index >= size || index < 0) {\r\n\t\t\tthrow new IndexOutOfBoundsException();\r\n\t\t}\r\n\t\tif (index < size && index >= 0) {\r\n\t\t\treturn list[index];\r\n\t\t}\r\n\t\treturn null;\r\n...
[ { "docid": "f24dcc5fa9cfa9f71661ac83ace1e88b", "score": "0.84865963", "text": "Object get(int index);", "title": "" }, { "docid": "1e965df604e2d5bf6b811502d0f7d0bf", "score": "0.844571", "text": "public int get(int index);", "title": "" }, { "docid": "8aae0c92dc7e14bdb70e...
2e74b8eda7970020c7aa1c180724630d
Used to tell the downsampler that no more items will be submitted to it, and that it should finalize any pending items.
[ { "docid": "97df0d2033bac5db688ee754edb01af7", "score": "0.0", "text": "@Override\n public abstract void signalEndOfInput();", "title": "" } ]
[ { "docid": "263d411e02d0a4a395d85cfa703919d3", "score": "0.6432877", "text": "public void finalize() {\n\t\t--useCount;\n\t}", "title": "" }, { "docid": "d2083dd392a71f995d28a6b992ec7550", "score": "0.6335262", "text": "private void requestMoreIfRequired() {\n if (--it...
4a129d1552f3dcc140f2cb75c4c4995c
get the current publications
[ { "docid": "32f603675bce65214341a24863b9f80a", "score": "0.7655462", "text": "public Publication[] getPublications() {\n\t\treturn database.getPublications();\n\t}", "title": "" } ]
[ { "docid": "046d14b4bc4891390402afceab978a5e", "score": "0.6598742", "text": "public String getPublishPeople() {\r\n return publishPeople;\r\n }", "title": "" }, { "docid": "f8d38fa83b2e15254abd0e8be2160c47", "score": "0.6415265", "text": "protected List getVersions() throw...
ffe5c8efe3b6a00ee6664268b96f5d70
Sends a file to the VM itself
[ { "docid": "60ca57498dddfa686cc7acb54a43906f", "score": "0.0", "text": "@Override\n public void copyFileOnExecution(String image, String destinationRoute, File sourceFile) throws PlatformOperationException {\n \tString h = LocalProcessExecutor.executeCommandOutput(createCopyToCommand(getExecuta...
[ { "docid": "3951a9008bdbe8271ed14ed903e4ac50", "score": "0.77620363", "text": "public void sendFile(String sendFilePath) {\n\n }", "title": "" }, { "docid": "5396ac8c8a20824fb9f26ba3befc2da2", "score": "0.72892445", "text": "public abstract void send(String destination, File file)...
eda46e1e92dd15bafbdda8712709b566
Test case number: 75 /Coverage entropy=0.0
[ { "docid": "a225e9e47539fe239ea02c7d42f6d799", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test75() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.bindVariable((PreparedStatement) null, 6, 6, 6, (ResultSet) null);\n fail(\"Expecting exception:...
[ { "docid": "edbd254adb205bdee80095b913541089", "score": "0.7059819", "text": "@Test(timeout = 4000)\n public void test085() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evalua...
bcf132d1543bd547fde5b05c69b4507e
.end of fillBean Perform indexing on OpportunityBean.
[ { "docid": "b0d33e37d4922a117cc2450c1cd59ccf", "score": "0.7222605", "text": "public void indexBean(OpportunityBean opportunityObj) \n\t{\n\t\tif (indexService.validateBean(opportunityObj.getPlaceId(), opportunityObj))\n\t\t{\n\t\t\t// Indexing Starts\n\t\t\tindexService.saveTermsAsIndex(opportunityObj,...
[ { "docid": "f1f1cb372bece4ab5141a3e9530fc3a1", "score": "0.6009514", "text": "public OpportunityBean fillBean(OpportunityBean opportunityObj) \n\t{ \n\t\tif (opportunityObj != null)\n\t\t{\n\t\t\t// Set fullBeanLoaded state\n\t\t\topportunityObj.setFullBeanLoaded( true );\n\t\t\topportunityObj.setHasCh...
cb57cced0e8539b91504e10804b36063
Sets the lastModifiedDate value for this CapMan__Income_Statement__c.
[ { "docid": "eed16853190bfd6353822e3f9b362c6c", "score": "0.7083098", "text": "public void setLastModifiedDate(java.util.Calendar lastModifiedDate) {\n this.lastModifiedDate = lastModifiedDate;\n }", "title": "" } ]
[ { "docid": "85010fa0d58258320f530d54389b8fa5", "score": "0.6991514", "text": "public void setLastModifiedDate(Date lastModifiedDate) {\r\n this.lastModifiedDate = lastModifiedDate;\r\n }", "title": "" }, { "docid": "85010fa0d58258320f530d54389b8fa5", "score": "0.6991514", "...
823959fe22d77ee4e4d7194e562023bb
/ renamed from: f
[ { "docid": "94ba16f0f5ed09ceb3c52cee9cc5d97e", "score": "0.0", "text": "public final boolean mo33063f() {\n return this.f14651f == C5648e.C5649a.LAYERED;\n }", "title": "" } ]
[ { "docid": "b03428f04b8600618608fca961bc1f9b", "score": "0.70022464", "text": "public void f() {\n\t\t\n\t}", "title": "" }, { "docid": "f290031da7b2a074c215286e2d5b3d9f", "score": "0.6782611", "text": "public void mo29457b(float f) {\n }", "title": "" }, { "docid"...
8ec556de02001e82a60773a0512ec031
Required. Thirdparty user ID. string agent_user_id = 2;
[ { "docid": "e0e5198d9fee063d6c9b2443ba2cce7c", "score": "0.58477026", "text": "com.google.protobuf.ByteString\n getAgentUserIdBytes();", "title": "" } ]
[ { "docid": "964dac2eabd7344599b416706bd998d3", "score": "0.7224779", "text": "java.lang.String getAgentUserId();", "title": "" }, { "docid": "964dac2eabd7344599b416706bd998d3", "score": "0.7224779", "text": "java.lang.String getAgentUserId();", "title": "" }, { "docid": "...
751b663649faacdbfdc87737d6c00528
[END onActivityResult] [START handleSignInResult]
[ { "docid": "a8cb4f0172ea23a56d13ef34911f89e8", "score": "0.7527296", "text": "private void handleSignInResult(Task<GoogleSignInAccount> completedTask) {\n try {\n GoogleSignInAccount account = completedTask.getResult(ApiException.class);\n // Signed in successfully, show aut...
[ { "docid": "b14300137d255e052fa06e77400e811e", "score": "0.8425016", "text": "@Override\n //this function is called when other activity finish and created an intent\n protected void onActivityResult( int requestCode, int resultCode, Intent dataIntent) {\n if (requestCode == RC_SIGN_IN) {\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7c7012bdc7b2083e1ba3c92ea6dc35ac", "score": "0.0", "text": "public void switchToFrame(WebElement ele) {\n\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
dd416af5bb0292bbbd9203008a8a1fa8
Enter relevant functionality for when the first widget is created
[ { "docid": "78d04779fe029e12accbcaa81aed0383", "score": "0.0", "text": "@Override\n public void onEnabled(Context context) {\n }", "title": "" } ]
[ { "docid": "0a52f95c006fb4ecfde9423ca14a2520", "score": "0.7327115", "text": "@Override\n\tpublic void initWidget() {\n\t\t\n\t}", "title": "" }, { "docid": "499d2f48911eb2cf54acd166d64fcef2", "score": "0.7217836", "text": "@Override\r\n\tpublic void initWidget() {\n\t\tsuper.initWid...
c768cdcc4f78f2a95afe7d8a9fb048a2
Account controller for CRUD operation.
[ { "docid": "95f73c2b6e7ecde74497fa6176edab82", "score": "0.64428025", "text": "public AccountController(AccountRepository repository) {\n this.repository = repository;\n }", "title": "" } ]
[ { "docid": "9ca55445f3aba129b883a537a6bdc215", "score": "0.6235312", "text": "@Autowired\n public AccountController(AccountService accountService) {\n this.accountService = accountService;\n }", "title": "" }, { "docid": "a1079a316ef5e0e61a7e778c7b8084c9", "score": "0.590624...
3d0067a8b385c06657708e9cb4aec020
encode a key to Base64 (URL Safe String)
[ { "docid": "2252ce05f14cc9bb75fc95c5bfdc5039", "score": "0.66000205", "text": "public static String convertKeyOut(String key) {\r\n\t\tif (key != null) {\r\n\t\t\ttry {\r\n\t\t\t\treturn Base64.encodeBase64URLSafeString(key.getBytes());\r\n\t\t\t} catch (java.lang.Exception e) {\r\n\t\t\t\te.printStackT...
[ { "docid": "91cb96eea033157017feeb461d096fe3", "score": "0.7756367", "text": "private String encodeKeys() {\n try {\n String encodedConsumerKey = URLEncoder.encode(consumerKey, \"UTF-8\");\n String encodedConsumerSecret = URLEncoder.encode(consumerSecret, \"UTF-8\");\n\n ...
8da656697391c4244c2d1e7a2460891e
/ abstraction lets you focus on what the object does instead of how it does it there are two ways of achieving abstraction in java: abstract class, interface
[ { "docid": "1665b85b24564db33792679668328b2f", "score": "0.0", "text": "public static void main(String[] args) {\n Bank b1 = new SBI();\n Bank b2 = new PNB();\n // Bank b3 = new Bank(); // abstract class cannot be instantiated\n\n System.out.println(b1.getRateOfInterest() + \"%\"); // 5%\n ...
[ { "docid": "57928570c2985d4cc5566b50e09d54b2", "score": "0.71018744", "text": "public abstract Object mo31708a();", "title": "" }, { "docid": "a3c6290fa80d295e20553fbea4faf216", "score": "0.70308954", "text": "public interface Animal {\n /**\n * Abstract function print the nam...
6fd7355beef851fd46fac138a40c37c5
Creates an object message with the specified target service id and timeout.
[ { "docid": "562adfaed783bc9b1847b9b19434852d", "score": "0.8240686", "text": "public Message createObjectMessage(String serviceId, String targetServiceId, Serializable object, long timeout) {\r\n\t\tObjectMessage message = new ObjectMessage(object);\r\n\t\tconfigureMessage(message, serviceId, targetServ...
[ { "docid": "f1935a8d81303791c4d9cfd4f22671b0", "score": "0.7990279", "text": "public Message createObjectMessage(String serviceId, Serializable object, long timeout) {\r\n\t\treturn createObjectMessage(serviceId, serviceId, object, timeout);\r\n\t}", "title": "" }, { "docid": "87da3ddeb94c3c...
70373f3f154c245de1bbd2e16815987e
A method that adds any added Food objects to the database
[ { "docid": "a6ff2c77f2a0e885f7a90928a3e9562f", "score": "0.0", "text": "public static void update(Hybrid database, DoubleLinkedList list)\r\n\t\t\tthrows IOException\r\n\t{\r\n\t\t// Add the DoubleLinkedList to the data structure\r\n\t\tdatabase.add(list);\r\n\t\t// Replace the number form of food group...
[ { "docid": "d5b722cfc99b81df50eabfd8349075ea", "score": "0.74293727", "text": "public void addFood(Food food) {\n\n SQLiteDatabase dba = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(Constants.FOOD_NAME, food.getFoodName());\n values...
b14febf59c54952aeb52c8c7bcbdcf16
Lists all the tours that are already planned or in the process of planning.
[ { "docid": "f0e059a28f0637c2059888949341de16", "score": "0.5344712", "text": "@RequestMapping(value=\"/showTours\")\n public String tours(@ModelAttribute(\"tour\") Tour tour, Model model){\n model.addAttribute(\"tours\", tourService.listTours());\n model.addAttribute(\"incompTours\", to...
[ { "docid": "3b0b066b9d5a45d11804b6aaddc80e1b", "score": "0.5883542", "text": "public List<TourModel> showAllTour()\r\n\t{\r\n\t\tList<TourModel> alltour = new ArrayList<TourModel>();\r\n\t\tfor(TourModel tm_obj:tourrepositoryobj.findAll()) \r\n\t\t{\r\n\t\t\talltour.add(tm_obj);\r\n\t\t}\r\n\t\t//tourre...
5c85b9a1a1e7f4a4a2de327d3da417c9
KEYPOINTS: Consider a game where a player can score 3 or 5 or 10 points in a move. Given a total score n, find number of ways to reach the given score. First put 3 at first position and recursively call for n3. Then put 5 at first position and recursively call for n5. Then put 10 at first position and recursively call ...
[ { "docid": "e7ea2fa5c4178c6b9221381ea809e3a0", "score": "0.5564341", "text": "static int count(int n) {\n // table[i] will store count of solutions for\n // value i.\n int table[] = new int[n + 1], i;\n\n // Initialize all table values as 0\n Arrays.fill(table, 0);\n\n...
[ { "docid": "0448e0cf7e7b61ca3332133e06e46d02", "score": "0.5938687", "text": "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if (n < 4){\n return;\n }\n n -= 4;\n for (int a = 0; a <= n; a++){...
002e073533c2ff829af0ad398b0dd614
Metodo para acceder al nombre escrito
[ { "docid": "bd8b4450c935520ab76507334d858ec6", "score": "0.0", "text": "public String getNombre() {\n return nombre;\n }", "title": "" } ]
[ { "docid": "ee92f9cdabf3d8ecfe0cc8de79f933c5", "score": "0.67719895", "text": "public void GenerarNombre () {\n // Completar metodo\n }", "title": "" }, { "docid": "51beb0cf4a9b1e405c2321db0b11a916", "score": "0.666141", "text": "@Override\n public String getName() {\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a438b9f606adb171278e90553d65fc5f", "score": "0.0", "text": "private void processDeleteScreen() {\n\t\tfinal int deleteScreenIndex = mDeleteScreenIndex;\n\t\tif (deleteScreenIndex == mCurSelectedScreenIndex) {\n\t\t\t// When current screen be deleted, select first thumb view\n\t\t\tgetChildAt...
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
594337cda61eb0dbcf99ce0f13ac6f63
GET /accesslevels : get all the accessLevels.
[ { "docid": "e450ee0268e7bdf09602802cb79ad9b0", "score": "0.8423694", "text": "@GetMapping(\"/access-levels\")\n @Timed\n public List<AccessLevel> getAllAccessLevels() {\n log.debug(\"REST request to get all AccessLevels\");\n List<AccessLevel> accessLevels = accessLevelRepository.fin...
[ { "docid": "002af5df883ec15b890a83ed2b1cdb7f", "score": "0.70805776", "text": "@GetMapping(\"/levels\")\n @Timed\n public ResponseEntity<List<LevelDTO>> getAllLevels(@ApiParam Pageable pageable)\n throws URISyntaxException {\n log.debug(\"REST request to get a page of Levels\");\n ...
dcbf016abd908c60f020eeeb012fcf47
this is begin program
[ { "docid": "5d7fbb45f9458f8aaefdc9a0808d8fbf", "score": "0.0", "text": "public static void main(String[] args) throws WrongInputConsoleParametersException {\n Main.main();\n Season[] masSeason = Season.values();\n Month[] masMonth = Month.values();\n Scanner sc = new Scanner(...
[ { "docid": "ae445a7c3d9bcca3ac3a087570335b82", "score": "0.76920265", "text": "private static void program4() {\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "67db9f056f3b8ab115f1bde4a99eaf2f", "score": "0.7407588", "text": "private static void main() {\n\t\t\n\t}", "title":...
df2ca9c0e3f79845b677e44a748d02f8
Created by IntelliJ IDEA. User: Kenny Date: 10mrt2006 Time: 14:49:39 This interface is implemented by different fragmentions.
[ { "docid": "c0780af71f69f46af270f12fcdaf7e80", "score": "0.6065738", "text": "public interface FragmentIon extends SpectrumAnnotation {\n /**\n * This variable is a hard coded identifier for a B-ion.\n */\n public static final int B_ION = 1;\n /**\n * This variable is a hard coded i...
[ { "docid": "9edf45efc5084ced05aa4c4f5790eefe", "score": "0.72340465", "text": "public interface FragmentView extends BaseView {\n\n}", "title": "" }, { "docid": "32ae160d698254275dddef89554c9624", "score": "0.6967437", "text": "public interface BlankFragmentView extends BaseView {\n}...
43a3965a0c7d3c290f86354d76186ac2
I have to use "OrderBy" to pass given tests
[ { "docid": "8c7dbc0aba712dbf3f41aa0b3686017d", "score": "0.0", "text": "public List<Tld> getAllTlds() {\n return tldRepository.findAllByOrderByPrice();\n }", "title": "" } ]
[ { "docid": "7cb48031910b401f6417fb8aa35f7954", "score": "0.6888325", "text": "public void testOrderSqlElements()\n {\n }", "title": "" }, { "docid": "68152f7e6127223849c230d2985db31e", "score": "0.6857973", "text": "public void testOrderAscString() {\n List<SimpleEntity>...
6fd63fa90e6e5d1a1de1e2104a404082
/ / / / / / / / / / / / / / / / / /
[ { "docid": "54e96ab3e8a35f6d8330a94c12038fd5", "score": "0.0", "text": "public XObject execute(XPathContext xctxt) throws TransformerException {\n/* 670 */ return execute(xctxt, xctxt.getCurrentNode());\n/* */ }", "title": "" } ]
[ { "docid": "e74e12af32c3666ca676624097063d84", "score": "0.53145695", "text": "public int getLength() {\r\n return 6 + 8*rank; \r\n }", "title": "" }, { "docid": "bd67a1dd3c1e83e8f7c0928bb5a72807", "score": "0.5263988", "text": "public int getNodeWidth() \n {\n r...
9184475ee533d036779b5f92ac74d48e
/ create a birthday names
[ { "docid": "30227e4daccae2267da7c765f2f58dda", "score": "0.0", "text": "public static void name() {\n\n \n \n }", "title": "" } ]
[ { "docid": "9f329072d3edf1456bca6e6515b61315", "score": "0.66908723", "text": "private String setBirthday(String id) {\n int total_dates = 0;\n if (newNICFormat) {\n total_dates = Integer.parseInt(id.substring(4, 7));\n } else {\n total_dates = Integer.parseInt...
5a4bac848b0e7c1b94954f20f95c056f
Created by Administrator on 2017/3/6.
[ { "docid": "1d15f595be9af65cb5e12fc21b749a74", "score": "0.0", "text": "public interface ProductService {\n\n /**\n * 根据条码获取产品信息\n * @param barCode 条码\n * @return\n */\n Product LoadData(String barCode);\n\n}", "title": "" } ]
[ { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6301448", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.60937697", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" ...
488ccbd38ecbc402fec55d2745e483e8
Created by filip on 02.10.2016.
[ { "docid": "f7219fd0b3b7ea3ac137d3c0201d2c5a", "score": "0.0", "text": "public interface DetailsView extends GalleryView {\n\n void showDetails(Image image);\n void showError(Throwable e);\n\n}", "title": "" } ]
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6305119", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.60360295", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }...
471e9f9e71936e9ce2d06ac8cbd77513
string msgID = 3;
[ { "docid": "e9f3b61716a889aa6df6a30d38dd2928", "score": "0.0", "text": "public Builder setMsgIDBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n msgID_ = value;\n ...
[ { "docid": "2d6e82a8d875b15ee558304c2f57d27d", "score": "0.80932134", "text": "String getMsgID();", "title": "" }, { "docid": "2d6e82a8d875b15ee558304c2f57d27d", "score": "0.80932134", "text": "String getMsgID();", "title": "" }, { "docid": "2d6e82a8d875b15ee558304c2f57d2...
b869435b9f565e26a6503accf9a705e2
Mars Weather Setters Setter for mars minimum temperature
[ { "docid": "1d4becd0cc0c4b4f2def4a93687fa90d", "score": "0.7772098", "text": "private void setMinTempMars() {\n\t\ttry {\n\t\t\tJSONObject jInfo = marsJSONObject.getJSONObject(\"report\");\n\t\t\tdouble jInfo2 = jInfo.getDouble(\"min_temp\");\n\t\t\tdouble jInfo3 = Math.round(jInfo2 * 100.0) / 100.0;\n\...
[ { "docid": "cfe454d9715659d8aa570f2ee9fa54c8", "score": "0.7531733", "text": "public void setMinTemp(double minTemp) {\n this.minTemp = minTemp;\r\n }", "title": "" }, { "docid": "a7c3622a39b4e80ee125cdbef1c754ec", "score": "0.7113126", "text": "public double getMinTempMars...
687d6f58080a2b9edd5b4ffab59d5346
Sets the node that follows this one.
[ { "docid": "54108eb0e998b2a41e07e98657b2599d", "score": "0.645841", "text": "public void setNext(DoubleNode<T> node)\n {\n\n next = node;\n }", "title": "" } ]
[ { "docid": "d5b10ec5cf252d6b4cc4c28e0ceec9de", "score": "0.7727066", "text": "public Node setNextNode(Node node);", "title": "" }, { "docid": "8fca62a2b10d38f5914e1ad9ceb1d5e5", "score": "0.736936", "text": "public Node setPrevNode(Node node);", "title": "" }, { "docid": ...
df5da541586e70118b929ae8fdf9f99b
Function returning the Zombie type associated with this JVeggie.
[ { "docid": "61ebbef01c992a2b36fc8850aef98321", "score": "0.8306523", "text": "public String getTypeZombie() {\n return typeZombie;\n }", "title": "" } ]
[ { "docid": "9c0f0929b69f4e87b3421adf561e99cd", "score": "0.6636866", "text": "public final MinigameType getType() {\n return type;\n }", "title": "" }, { "docid": "b801a0db18a1d5e31b8d4ed53d263a23", "score": "0.6304135", "text": "int getType();", "title": "" }, { ...
43f4da66ebd79a9d36aea2e549cb4488
method to deal with an attack from an Castle.
[ { "docid": "a45f98bcc5da020d2152b14e678419fa", "score": "0.73168236", "text": "@Override\n public abstract void attackedByCastle(Castle castle);", "title": "" } ]
[ { "docid": "567a4aef69b3d887a324248a7cfaa42d", "score": "0.7045496", "text": "@Override\n\tpublic void attack() {\n\t\t\n\t}", "title": "" }, { "docid": "f6ce1e01d395e44c17e62cb668be11f8", "score": "0.70452654", "text": "@Override\n\tpublic void attack() {\n\n\t}", "title": "" ...
c1e3c03b652f2c617ba40afb62fc7134
The +2 comes from the " " before the comment.
[ { "docid": "46afc8912dea3bb1f942956af390273b", "score": "0.0", "text": "private static List<String> splitComment(int depth, String comment) {\n List<String> comments = new ArrayList<>();\n String[] lines = comment.split(Pattern.compile(\"\\n\", Pattern.LITERAL).pattern());\n for (St...
[ { "docid": "95bd15b1a83f59f394dc175706b0608e", "score": "0.58350027", "text": "private void _commentLine() {\n // Insert \"// \" at the beginning of the line.\n // Using null for AttributeSet follows convention in this class.\n try { insertString(_currentLocation, \"//\", null); }\n catch (B...
4a2427dcc5ba41c93ba19a1860c2727a
A straight forward transpose. Good for small nonsquare matrices.
[ { "docid": "ddff23987f9f3a6f855391459e7f12c7", "score": "0.0", "text": "public static void standard( DMatrix1Row A, DMatrix1Row A_tran ) {\n //CONCURRENT_BELOW EjmlConcurrency.loopFor(0, A_tran.numRows, i -> {\n for (int i = 0; i < A_tran.numRows; i++) {\n int index = i*A_tran.n...
[ { "docid": "c39ea555fbc2cd17c1e53c0f342f0a94", "score": "0.8495622", "text": "Matrix transpose();", "title": "" }, { "docid": "e4e1bc318498de9b85034d2d152eee32", "score": "0.81522375", "text": "Matrix transposeSoft();", "title": "" }, { "docid": "71153dc911b0fdc743053b4e1...
db14dff279aa6c424137005336968d4a
Find the _Fields constant that matches name, or null if its not found.
[ { "docid": "df89e0a3046c32259e386bf9daf4403c", "score": "0.0", "text": "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" } ]
[ { "docid": "2aedca74101f3519831ef106c8e1a7b6", "score": "0.7755163", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" }, { "docid": "2aedca74101f3519831ef106c8e1a7b6", "score": ...
67d09d71b45bdc8c4000cd767f0ab55a
Add a press listener to a button. The commands to execute for each state are passed in as parameters
[ { "docid": "4d754372cb201d13d1df5c9e0929eaad", "score": "0.74999976", "text": "public void onPress(Button button, Callable pressCommand)\n {\n pressButtons.add(button);\n pressCommands.add(pressCommand);\n }", "title": "" } ]
[ { "docid": "cd963a6e58dfe4c631ca67f627c5682c", "score": "0.69603294", "text": "public void e_whenPressed(Command cmd) {\r\n button.whenPressed(cmd);\r\n }", "title": "" }, { "docid": "603c2614f7923ecd014abbcb4b11d49b", "score": "0.69384307", "text": "public void onPress(int...
a8af1027cbf57c24ceda3871abecb859
This method will construct the panel for the filter selection.
[ { "docid": "b5c2f2a29633de1acd283d0b78bc14d4", "score": "0.7213209", "text": "private JPanel getPrimaryFilterPanel() {\n\n // Components.\n txtPrimFilter = new JTextField(20);\n txtPrimFilter.setEnabled(false);\n\n // Note that the contents of the 'filters' combobox are\n ...
[ { "docid": "1cd8ca06f38ebb8d75d670966ca1d546", "score": "0.7571947", "text": "public SearchFiltersPanel()\n\t{\n\t\tthis.setName(\"Filter Panel\");\n\t\tcreateComponents();\n\t\tdesignComponents();\n\t\taddComponents();\n\t}", "title": "" }, { "docid": "7a85e92628a4296351a127cd43541a67", ...
b2067d54ef0cd55a07da3627c88e13a2
Performs a deep copy on other.
[ { "docid": "f1588049670db781fe306d516676a4bd", "score": "0.0", "text": "public extractGENDER_result(extractGENDER_result other) {\n if (other.isSetSuccess()) {\n this.success = other.success;\n }\n }", "title": "" } ]
[ { "docid": "c6da63fd5487563a9779ed576b467db2", "score": "0.70283794", "text": "public abstract Operator deepCopy();", "title": "" }, { "docid": "7b1cbd5304cdbbb9298b18b1c2b73d8b", "score": "0.69124913", "text": "public void Copy(ParaClass other) {\n\t\tfor (Entry<String, double[]> e ...
6d8e8188975188ef180e6173d28a38f3
Update the attribute store with the correct scope.
[ { "docid": "8028112038869787ee72999ba793bedc", "score": "0.66104573", "text": "void updateAttributes(String scope, String applicationName,\n\t\t\tMap<String, String> attributes) throws CLIException;", "title": "" } ]
[ { "docid": "cbbb3bbdf8da96010a72a42269f805d6", "score": "0.55962867", "text": "public void setScope(String scope);", "title": "" }, { "docid": "1aaffe23a84b85ae483c086462b28b33", "score": "0.5454372", "text": "public void saveUpdateProperties(AttributeAssignActionSet attributeAssignA...
33654d03a5d02bd71a6923dd0893b17d
Returns the minimum of 3 integer numbers.
[ { "docid": "370b51144b5443bd5a0c0ea6c0edb20b", "score": "0.7283764", "text": "public static int min(int a, int b, int c) {\n return Math.min(Math.min(a, b), c);\n }", "title": "" } ]
[ { "docid": "217227c773e3e82480876289c24b925c", "score": "0.79611003", "text": "private static int minimum(int a, int b, int c) {\n return Math.min(Math.min(a, b), c);\n }", "title": "" }, { "docid": "eb13a60f3b6661c291f42d867d36cea4", "score": "0.76792747", "text": "publi...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e3237f3ca57780fb3ef5c4fc5ab556f4", "score": "0.0", "text": "@Override\n\tpublic void createCart(Cart cart) {\n\t\t\n\t\tcartDao.saveCart(cart);\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}"...
dd5b3ed1294a31c5649f820855c5f66e
Set the value related to the column: SO_QTY
[ { "docid": "dfd53fa496839fc238bbe0252940395a", "score": "0.64877766", "text": "public void setSoQty (java.lang.Integer soQty) {\n\t\tthis.soQty = soQty;\n\t}", "title": "" } ]
[ { "docid": "c81fd9aaee481c27bc250f77d0a4a3ba", "score": "0.6805477", "text": "public void setCurrentQty (BigDecimal CurrentQty);", "title": "" }, { "docid": "1f38d0d0361e3c0422dda6c14f2902e1", "score": "0.6722331", "text": "@Override\n\tpublic void setQty(double qty) {\n\n\t}", "...
f8fbd47ed694308333a57acfd50f82e0
Generate a text description of this object.
[ { "docid": "7ce8e82773cf5106047432f8ab938337", "score": "0.0", "text": "@Override\n public String toString() {\n return \"Point:[\" + this.x + \", \" + this.y + \", \" + this.z + \"]\";\n }", "title": "" } ]
[ { "docid": "a00ff2c2c4bf45578af4ab728367a07c", "score": "0.7620426", "text": "String description();", "title": "" }, { "docid": "a00ff2c2c4bf45578af4ab728367a07c", "score": "0.7620426", "text": "String description();", "title": "" }, { "docid": "a00ff2c2c4bf45578af4ab7283...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "c14780f2627377fcf0350e9680935d93", "score": "0.0", "text": "public Rect mo12477a(C24374fw c24374fw) {\n Rect a;\n AppMethodBeat.m2504i(99633);\n synchronized (this.f1618aa) {\n try {\n if (this.f3384a != null) {\n mo12488e(fal...
[ { "docid": "6cff49359236dc9748a42472eaf4954c", "score": "0.63743937", "text": "public interface C35155a {\n /* renamed from: a */\n void mo89459a();\n }", "title": "" }, { "docid": "1ebc1f569daf5575be1aa061331ac667", "score": "0.63378584", "text": "public interface C...
4db9e0d65dd11b2d1d1c8879c3967138
Add an article to a user's wishlist Simple RPC
[ { "docid": "b27b807a6334bb4cb06a591375ba675e", "score": "0.0", "text": "public void addItem(Request request, StreamObserver<Response> response){\n response.onNext(addItem(request.getUser(),request.getItem()));\n log.add(new AddTransaction(request.getUser(),request.getItem()));\n res...
[ { "docid": "be9150ffac03e02e8c087c7131197f82", "score": "0.6668506", "text": "public void addToWishlist() {\n\t\thlkAddToWishlist.click();\n\t}", "title": "" }, { "docid": "89e8dade29b7d89e4ac9b8ae1296f1cc", "score": "0.6412287", "text": "private Response addItem(User user, Item item...
a203b045277306d10ebb7d1867286cd4
The bean for security manager.
[ { "docid": "d09a21c6c2ae69e36c7fe8ad6b0e4b42", "score": "0.5398419", "text": "@Bean\n public ShiroFilterFactoryBean shiroFilterFactoryBean(\n SecurityManager securityManager) {\n\n val shiroFilterFactoryBean = new CustomShiroFilterFactoryBean();\n shiroFilterFactoryBean.setSecuri...
[ { "docid": "db17d9858c1a121625257314e3462831", "score": "0.66119117", "text": "@Bean\n public SecurityManager securityManager(Realm realm) {\n val securityManager = new DefaultWebSecurityManager(realm);\n SecurityUtils.setSecurityManager(securityManager);\n return securityManager...
19536d0d64c9b39549675d91e8757e5f
Deletes TrackedItem from database.
[ { "docid": "287e824402b63f767cf0e4a1ef20ce55", "score": "0.7649754", "text": "@Override\n public void deleteItem(final TrackedItem item) {\n if (item instanceof TrackedCoin) {\n AsyncTask.execute(new Runnable() {\n @Override\n public void run() {\n LocalDatabase.getInstan...
[ { "docid": "db9f37ba47d945aac030062c5d5c9690", "score": "0.70789266", "text": "public void delete() throws ItemNotSavedException, SQLException, DependencyException;", "title": "" }, { "docid": "029e36c5cf6f31b460ff17aaf31a38bf", "score": "0.6872314", "text": "@Test\n public void w...
6c18fe1452820ff151e595367b330300
Sets the Gun's Tier (Level)
[ { "docid": "a8563e2277c431ec9b1c745e6eb3df78", "score": "0.7207782", "text": "public void setGunTier(int gunTier) {\n this.gunTier = gunTier;\n }", "title": "" } ]
[ { "docid": "efaad53be6b03f2cb2e9a7c955c75a9f", "score": "0.6895287", "text": "Gun(int gunTier){\n\n //Gun Tier must be between 1 and 5\n if(gunTier <=5 && gunTier >= 1) {\n this.gunTier = gunTier;\n setGunName();\n }\n else\n System.out.print(...
be75d9cb9dfdc0d4db7b8120ecb2a83c
Subresource locator method. Returns the subresource object that can handle the remainder of the request.
[ { "docid": "7b21d5ebb8cfccc0ffc2130873772b9a", "score": "0.0", "text": "@Override\n @Path(\"/users/{uid}\")\n public IUserResource findUser(@PathParam(\"uid\") int userId) {\n return new UserResource(provider.getProviderId(), userId);\n }", "title": "" } ]
[ { "docid": "a2bf62607b1870d70ca6d8b3d8178543", "score": "0.61586505", "text": "@GET\n @Path(\"getsublocator/{sublocationid}\")\n public String getSublocator(@PathParam(\"sublocationid\")int subLocId){\n List<SubLocation> sbln=tsb.getSubLoc(subLocId);\n Iterator i=sbln.iterator();\n ...
32d2c4b6626a61ae358be7257bcdf47b
Pobiera zadanie po ID
[ { "docid": "d017e8244ab90c88008909eb1e863438", "score": "0.0", "text": "public static TaskDb getById(long id) {\n String sql = \"select z.*,u.imie,u.nazwisko from Zadania z,Uzytkownicy u where z.uzytkownik_id=u.uzytkownik_id and z.zadanie_id=\"+id+\"\\n\" +\n \"union \\n\" +\n ...
[ { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.7773393", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.7773393", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "7185cb7c3396fbc23ecfee7b7b422e7f", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n escritorio = new javax.swing.JPanel();\n menu...
[ { "docid": "3b789e05401c843123f84caf842850e3", "score": "0.741269", "text": "public Mainform() {\n initComponents();\n }", "title": "" }, { "docid": "c6aad17f0d00f4164576c96a51cda35a", "score": "0.73557013", "text": "public ClerkEntryForm() {\n initComponents();\n ...
d5d3527d70dd9a73f2a187738593e569
/ switches to new window by the exact title returns to original window if windows with given title not found
[ { "docid": "dd7757a39188695ea91b8fcbe2037cfb", "score": "0.71577406", "text": "public static void switchToWindow(String targetTitle) {\n String origin = Driver.getDriver().getWindowHandle();\n for (String handle : Driver.getDriver().getWindowHandles()) {\n Driver.getDriver().swi...
[ { "docid": "9923d54a39fdfcee9a64c210f77512db", "score": "0.7461429", "text": "@Then(\"^I switch to new window having title \\\"(.*?)\\\"$\")\r\n\tpublic void switch_to_new_window(String windowTile) {\r\n\t\tnavigationObj.switchToNewWindow(windowTile);\r\n\t}", "title": "" }, { "docid": "8c54...
ad2e2244eafaee5ba2e4868123658b5e
/ access modifiers changed from: 0000 / renamed from: h
[ { "docid": "403e1df3506fee13d55d4a5fa493b795", "score": "0.0", "text": "public abstract Iterator<Entry<K, V>> mo29807h();", "title": "" } ]
[ { "docid": "6394149f71e2badaa8c3d9a23f9ef7d5", "score": "0.683519", "text": "public abstract zzcci mo29233h();", "title": "" }, { "docid": "6db5017cea06afe0d428b6c46aabff63", "score": "0.6621456", "text": "protected void m9470U() {\n }", "title": "" }, { "docid": "60d3...
b2a7ba29c6a9356a8f1157201798a759
Procesar la respuesta Json
[ { "docid": "b3d06e06a6d2dcf800ad11e2ef1fa8c1", "score": "0.65318745", "text": "@Override\n public void onResponse(JSONObject response) {\n procesarRespuesta(response);\n Log.i(TAG, \"processa...
[ { "docid": "431f478adcbf8c0d41ea5afb30b3ea55", "score": "0.7082076", "text": "Resp json(Object content);", "title": "" }, { "docid": "ff133eeb42d625c478f654e9fff85212", "score": "0.65597546", "text": "@Override\n public void respuesta(JSONObject respuesta) throws Exception {\n ...
8e4bb52ae12ac7a3e322ba1dcfd1d529
The relationship of beneficiary (patient) to the subscriber.
[ { "docid": "39d0461405f7729f53096e60406f6691", "score": "0.0", "text": "public Builder relationship(CodeableConcept relationship) {\n this.relationship = relationship;\n return this;\n }", "title": "" } ]
[ { "docid": "68d8179da69defcabe4357ec80514c9f", "score": "0.585119", "text": "public Relationship getRelationship()\n {\n return relationship;\n }", "title": "" }, { "docid": "eb5beec0ebeabcc6989c65930b9e6fd4", "score": "0.57685995", "text": "@Override\n protected bool...
b31f470fd3563fc55763d05072a6fde5
Returns the quantity type of the ingredient.
[ { "docid": "895b84c8bd3721e6f1a72cb626fc7ed6", "score": "0.7903682", "text": "public final Integer\n getQuantityType() {\n return quantityType;\n }", "title": "" } ]
[ { "docid": "87e8d5ab8e5d5d0f5636e8186833693b", "score": "0.73080736", "text": "public final String\n getQuantityTypeName() {\n return quantityTypeName;\n }", "title": "" }, { "docid": "0f3c84b2769f643d9cc6bba0e1cc109b", "score": "0.6724723", "text": "QuantityType createQ...
5345522fd9adbb87df66ae4b617f1c3e
Create a new AnsiColor from its rgb code, only for terminals supporting 24bit color.
[ { "docid": "96024a599710f7e6eb509d9f49cddd88", "score": "0.6115078", "text": "public static AnsiColor rgb(final int r, final int g, final int b) {\n return new RgbColor(r, g, b);\n }", "title": "" } ]
[ { "docid": "1ca991057c11fab04392c9afe96f6ed4", "score": "0.68590826", "text": "public static Color from24BitRgb(int rgb) {\n return new Color(rgb >> 16 & 0xFF, rgb >> 8 & 0xFF, rgb & 0xFF);\n }", "title": "" }, { "docid": "65150da5bb02d298496dd3b46bbb35c6", "score": "0.6852905", ...
1e9438b32ce08adc1ff5c28c9d3bb70e
Sets the handler to use for this event type. There can only be one such handler specified at a time. This handler is guaranteed to be called first. This is used for registering the userdefined onFoo event handlers.
[ { "docid": "c9aea3bc7ccaa81f367f36459c2d13b9", "score": "0.6085107", "text": "private void setEventHandler(\n final EventType<ConnectStateEvent> eventType,\n final EventHandler<ConnectStateEvent> eventHandler) {\n getInternalEventDispatcher()\n .setEventHandle...
[ { "docid": "91ec1423ab42881337bc2076090578a5", "score": "0.71736133", "text": "public void setEventHandler(EventHandler eventHandler) {\n this.eventHandler = eventHandler;\n }", "title": "" }, { "docid": "46d10054c006ae2e2a787c1edf33bf5f", "score": "0.70770985", "text": "pu...
d49c98d1e2a3559f9a2b9ee07f6c80c0
Return all beans of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory. The return list will only contain beans of this type.
[ { "docid": "2cc8b45608afd1ac1849494921f3a7df", "score": "0.55386627", "text": "public static Map beansOfTypeIncludingAncestors(\n\t\t\tListableBeanFactory lbf, Class type, boolean includePrototypes, boolean includeFactoryBeans)\n\t throws BeansException {\n\n\t\tMap result = new HashMap();\n\t\tresul...
[ { "docid": "d3389197c34f3721850c2b96e717aee0", "score": "0.6058092", "text": "public static Set<Class> getBeanClassesForType(Class beanType) {\n String [] beanNames = getApplicationContext().getBeanNamesForType(beanType);\n Set<Class> beanClasses = new HashSet<Class>();\n for(String...
1d130ad3ad4e00268c66fb7037e5ed75
Search if the given name is a leaf of this tree If yes, the selected tree is returned. If no, null is returned.
[ { "docid": "3c536664086d04b372d6a92f7cf15841", "score": "0.739059", "text": "private Tree search(String name) {\n for (Tree tree : leaves) {\n if (tree.name.equals(name)) {\n return tree;\n }\n }\n return null;\n ...
[ { "docid": "04fce828bfcf9988feda1c6156ac0fac", "score": "0.6767363", "text": "Tree matches(String name, boolean caseSensitive) {\n for (Tree tree : leaves) {\n if (caseSensitive && name.matches(tree.name)) {\n return tree;\n } else if (!cas...
0f5786f1c26692a6edd526c288ed6ce8
SELECT marque_id , ROUND((sum(quantite)/(SELECT sum(quantite) from `pneu`))100,2) FROM `pneu` GROUP BY marque_id
[ { "docid": "8d508ad21bef31e76454db37ebedfcec", "score": "0.67133534", "text": "@Query(\"select new com.albaraka.barakabe.application.dto.statistique.PourcentageStockByMarqueProjection(\"\n\t\t\t+ \"ROUND((SUM(p.quantite)/(select SUM(p2.quantite) from Pneu p2))*100,2), p.marque) \"\n\t\t\t+ \"FROM Pneu p...
[ { "docid": "23f163ada45607bd79dbcb8a213334c5", "score": "0.5951515", "text": "public BigDecimal calcular(BigDecimal valor){\n\t\t\n\t\t\n\t\t//se calculan los grados, o los minutos o los segundos, \n\t BigInteger entero=valor.toBigInteger();\n\t BigDecimal v=new BigDecimal(entero);\n\t retur...
4a67c7f2de7be4678f6682d5d7f267bb
.ActionGetAllflowMsg actionGetAllflowMsg = 13;
[ { "docid": "975776be7e764134a840a62af1a8768a", "score": "0.86081195", "text": "MyActionMessageProto.ActionGetAllflowMsg getActionGetAllflowMsg();", "title": "" } ]
[ { "docid": "da58b15b13eccf092bf6961711404d05", "score": "0.7902466", "text": "MyActionMessageProto.ActionPutAllflowMsg getActionPutAllflowMsg();", "title": "" }, { "docid": "c3a8bdca91807903aa191f91b2ba83ab", "score": "0.76962876", "text": "MyActionMessageProto.ActionGetAllflowAckMsg...
59ae25a9d5914ed42f5844f68132db35
Esta es la interfaz InstrumentoMusical
[ { "docid": "dc8a1fb575ee11fdcf165fa2ef567204", "score": "0.5787596", "text": "public interface InstrumentoMusical {\r\n //por defecto todos los metodos son public y abstract\r\n /**\r\n * Metodo tocar de tipo void\r\n */\r\n void tocar();\r\n /**\r\n * Metodo afinar de tipo void\...
[ { "docid": "bff65a9946eca0e336220c55b5d05d40", "score": "0.64871913", "text": "public DiscoMusical () {\n\n\ttitulo = \"\";\n\tautor = \"\";\n\tanoEdicion = 0;\n\tformato = \"\";\n\tdigital = false;\n\n\t}", "title": "" }, { "docid": "bbe5d3d20c3769be01296b187e8be69b", "score": "0.627297...
40904d8d6762c9b4197f3531cb64cb4f
Populate the given attribute map with the list of attributes that this module reads/writes with example values when appropriate.
[ { "docid": "e5f494db92a4f08ead6382cf5426b1d9", "score": "0.58085835", "text": "public static void inventoryAttributes(Map<String,Inventory> attributes) {\n String m = CardiovascularDiseaseModule.class.getSimpleName();\n // Write\n Attributes.inventory(attributes, m, \"ascvd_risk\", false, true,...
[ { "docid": "46516de53d430b9ce274088644465157", "score": "0.6660895", "text": "public static void init(final Map<String, Object> attributes) {\r\n\t\tif (MapUtils.isNotEmpty(attributes)) {\r\n\t\t\tATTRIBUTES.set(attributes);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "549ae8249a2645085e7260...
5ee257482bdc27af786de2739b957673
Define el valor de la propiedad fecultcalcdmra.
[ { "docid": "4e3bed230a168ad2a1936d79e5a1f9c1", "score": "0.7493059", "text": "public void setFECULTCALCDMRA(int value) {\n this.fecultcalcdmra = value;\n }", "title": "" } ]
[ { "docid": "134193e1b60f7086dba5ae8b8a1c1b82", "score": "0.78155637", "text": "public int getFECULTCALCDMRA() {\n return fecultcalcdmra;\n }", "title": "" }, { "docid": "052eb14808e73203291192667072b19b", "score": "0.6101482", "text": "public DatoVal...
6d6741a41074c7c4e6f6b028b854c355
Update app list with chosen app type.
[ { "docid": "9b90d2071524f42217d49c7f1d4e4a53", "score": "0.5909288", "text": "@Override\n\t\t\tpublic boolean onNavigationItemSelected(int itemPosition, long itemId) {\n\t\t\t\tcurType = itemPosition;\n\t\t\t new UpdateAppList().execute();\n\t\t\t\treturn false;\n\t\t\t}", "title": "" } ]
[ { "docid": "242e8db109024c658a00e62655d6ff8e", "score": "0.73225427", "text": "private void updateAppList() {\n\n\t\tArrayList<ApplicationInfo> appInfos = ApplicationsAdapter.allItems;\n\t\t/* app info */\n\t\tfinal List<AppListInfo> savedAppInfos = new ArrayList<AppListInfo>();\n\n\t\tTextView t = (Tex...
93926090125698ec8353aab73851aa9d
optional string qc_year = 90;
[ { "docid": "7c5e8156dce97c52293632abf70b9ac8", "score": "0.6710903", "text": "boolean hasQcYear();", "title": "" } ]
[ { "docid": "734eb885f85e1478627b87236ef0af2e", "score": "0.6764418", "text": "String getYear();", "title": "" }, { "docid": "6931ef205cff9ac773e01e20963ef54f", "score": "0.67208004", "text": "public void set_year(int yr)\r\n {\r\n year = yr;\r\n }", "title": "" }, ...
358a59d3db8a34fc2fcbae5e87b40f28
required .gameserver.network.protos.share.Proto_RankingType type = 1;
[ { "docid": "cd9ad85a058a050dcd09075661472208", "score": "0.0", "text": "public boolean hasType() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "36c253775580ae030a0e45b39511ced7", "score": "0.855308", "text": "gameserver.network.protos.share.SFRanking.Proto_RankingType getType();", "title": "" }, { "docid": "36c253775580ae030a0e45b39511ced7", "score": "0.855308", "text": "gameserver.network.protos.share.SFRanking....
61a06a671e770864f05ab27001775406
return the attribute binded with the key
[ { "docid": "fcb7540b61640a0abcdda18c4f4756e3", "score": "0.0", "text": "public Object getAttribute(String arg0) {\r\n\t\treturn m_props.get(arg0);\r\n\t}", "title": "" } ]
[ { "docid": "cd1f9a78d3493514fab7cf720a78fcd3", "score": "0.78231287", "text": "public abstract Object getAttr(String key);", "title": "" }, { "docid": "ea2b1752cee6652a3c634ad5881a92f8", "score": "0.7440376", "text": "public String getAttribute(String key);", "title": "" }, {...
81fc587b0e55f854739a4b8491645d1e
Gets the value of the 'lt_query_date' field.
[ { "docid": "53fa5a385449db8526c609e10020cfc5", "score": "0.8320851", "text": "public java.lang.CharSequence getLtQueryDate() {\n return lt_query_date;\n }", "title": "" } ]
[ { "docid": "334d4cbb660fe6cf0ce131a2a389438f", "score": "0.83481324", "text": "public java.lang.CharSequence getLtQueryDate() {\n return lt_query_date;\n }", "title": "" }, { "docid": "e4ef1ed6ad39ca7538c1dfcb35f35ca2", "score": "0.80754375", "text": "public void setLtQueryDa...
bc09f4c0938dc52be0b2d5d8468cc112
Move number of steps on Y axis
[ { "docid": "a6022e64f08a239497b04058bdebe6fe", "score": "0.0", "text": "public Coordinates moveX(int deltaX) {\n throw new NotImplementedException(\"Implement me\");\n }", "title": "" } ]
[ { "docid": "d4e56f9b9192aaedc205fd0567e2a37a", "score": "0.7074255", "text": "@Override\r\n\tpublic void step() {\n\t\ty+=speed;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "7ea5ac131eb0c9e26583855ec552a698", "score": "0.6526291", "text": "public void move() {\n\t\ty = y + DY;\n\t}", ...
22b796c2b0a6f4d1e3ded2efe849361e
verify the required parameter 'id' is set
[ { "docid": "2c9d46fb3939b6983ec7c9f288cadcd5", "score": "0.0", "text": "@SuppressWarnings(\"rawtypes\")\n private com.squareup.okhttp.Call seriesIdImagesQueryGetValidateBeforeCall(Long id, String keyType, String resolution, String subKey, String acceptLanguage, final ProgressResponseBody.ProgressList...
[ { "docid": "9cc76b59d26db0e7ee369ee06dab3e68", "score": "0.7066282", "text": "@Test\r\n\tpublic final void testGetId() {\r\n\t\tassertEquals(id,e.getId(),0.0);\r\n\t}", "title": "" }, { "docid": "e0d5d2498f8aa713a56a15fc3a0adf06", "score": "0.7054582", "text": "@Override\r\n\tpublic ...
c7f08e4e76046be35d76605047d1e182
Created by piatr on 31.05.17.
[ { "docid": "3d8c2398e11a50c2e8f8738c40a6530d", "score": "0.0", "text": "public interface UserService<T extends User> extends GenericService<T> {\n public User getUserByLogin(String login, String type);\n public boolean isLoginExist(String login, String userType);\n public boolean isPasswordCorr...
[ { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.6404195", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.5696678", "text": "@Override\n protected void initialize() {\n \n }", "title...
0ae6f20faa1673681eef834be0472eee
required .IM.BaseDefine.MsgType latest_msg_type = 7;
[ { "docid": "bd2afe40d7de183deb8149309c3f36e8", "score": "0.6253265", "text": "boolean hasLatestMsgType();", "title": "" } ]
[ { "docid": "845ddee007eada951e277b06c3066ad0", "score": "0.8323778", "text": "com.mogujie.tt.protobuf.IMBaseDefine.MsgType getLatestMsgType();", "title": "" }, { "docid": "845ddee007eada951e277b06c3066ad0", "score": "0.8323778", "text": "com.mogujie.tt.protobuf.IMBaseDefine.MsgType g...
39a4a5d56cd2ebe8ca97d333486460b0
Equals for use when comparing in collections, based on matching file paths and metadata
[ { "docid": "4975e10747ae51ab0ff5d898c3a271f9", "score": "0.68692297", "text": "@Override\n public boolean equals(final Object o) {\n if (this == o) {\n return true;\n }\n if (o == null || getClass() != o.getClass()) {\n return false;\n }\n fina...
[ { "docid": "58020b8f6a8b0f021da9d045515c6ede", "score": "0.6489192", "text": "@Override\n public boolean equals(final Object o) {\n if (this == o) {\n return true;\n }\n if (!(o instanceof FileMetaDataDto)) {\n return false;\n }\n final FileMet...
99f9e223881ea85e36139d9099fa2600
public abstract void executeSuccess(); public abstract void executeFailure();
[ { "docid": "d4df311c17997de54dcd35b386803328", "score": "0.0", "text": "public abstract void baseHasData(BaseVO v);", "title": "" } ]
[ { "docid": "38f0108ae740840f93a006ea1944275d", "score": "0.80225337", "text": "public abstract void execute() throws Exception;", "title": "" }, { "docid": "0b004f5c7e8b78a1e1cffeb6886ffbac", "score": "0.8022369", "text": "public abstract void execute();", "title": "" }, { ...
1b53538d5b9b9ef1964037b99da125e5
Get the proxy host name.
[ { "docid": "bd7906ab21edf0405cb4a6ab5989a553", "score": "0.8171179", "text": "public String getProxyHost()\n {\n if( null != m_proxyHost ) return m_proxyHost;\n return m_properties.getProperty( InitialContext.PROXY_HOST_KEY );\n }", "title": "" } ]
[ { "docid": "0e1d464db05af95fb8b24773eba23774", "score": "0.8267968", "text": "public String getProxyHostName();", "title": "" }, { "docid": "e393a882f99e0000031e8fed654dab8a", "score": "0.7772355", "text": "public String getProxyHost();", "title": "" }, { "docid": "613edd...
489ba8bf3685a3dae679ff83c13af4a6
move a piece to specified row and column and capture enemy that is jumped over
[ { "docid": "8dff8d244f6c42069a480de9c200318b", "score": "0.62746924", "text": "public void capture(Piece piece, int newRow, int newCol) {\r\n\t\tint currRow = piece.getRow();\r\n\t\tint currCol = piece.getCol();\r\n\t\tint enemyRow = (currRow + newRow) / 2;\r\n\t\tint enemyCol = (currCol + newCol) / 2;\...
[ { "docid": "500dd20b6208d0e7ed41d9cba63313ee", "score": "0.6806161", "text": "public void move() {\n\t\tif (x + xa < 50 + n) {\n\t\t\txa = a;\n\t\t\ty += 50;\n\t\t}\n\t\tif (x + xa > 50 + m) {\n\t\t\txa = -a;\n\t\t\ty += 50;\n\t\t}\n\t\t// if(hit()) {\n\t\t// System.out.println(\"Pegó\");\n\t\t// }\n\n\...