query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
dd23a42ae2b6242ed2ceaef4ebb830b3
System.out.println("background_color_pref : " + newValue);
[ { "docid": "f207085e1385f57648670ea37e4c3709", "score": "0.72974545", "text": "@Override\n public boolean onPreferenceChange(Preference preference, Object newValue) {\n\n SharedPreferences.Editor editor = sharedpreferences.edit();\n editor...
[ { "docid": "814b742df2472dfa036db4f47dadaf5c", "score": "0.67043716", "text": "@Override\n public boolean onPreferenceChange(Preference preference, Object newValue) {\n\n SharedPreferences.Editor editor = sharedpreferences.edit();\n editor...
e4099bdff8d99568f6aea4e613ce9470
Remove a property change listener.
[ { "docid": "28c4acc28216c7cff7a297c01bf834be", "score": "0.8573572", "text": "public void removePropertyChangeListener (PropertyChangeListener l);", "title": "" } ]
[ { "docid": "ef7d7534ff2fb5d511f1cb7817219082", "score": "0.8616294", "text": "void removePropertyChangeListener(PropertyChangeListener listener);", "title": "" }, { "docid": "6ad4a8ff59b2b9be50d0c62ca3071b0b", "score": "0.86076367", "text": "public void removePropertyChangeListener(P...
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": "a2168d51a86314776e46d0178b701824", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2...
[ { "docid": "5f8540ed063cf75672e07098d5395e1e", "score": "0.7698168", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n\n }", "title": "" }, { "docid": "f2a15d150dfd3ed84ee155b14e6cc757", "score": "0.7455254", "text": "public\n Form() {\n\n init...
14ff6865540c2f29704ce864a34294a0
Test for each of the ContentViewModels
[ { "docid": "b94fd04ae96b78b6e437f8ff53a564e8", "score": "0.0", "text": "@Test\n public void inventoryViewModelIsParcelable() {\n setUpInventoryViewModel();\n isPackedAndUnpackedAsParcelSuccessfully();\n }", "title": "" } ]
[ { "docid": "030c4464489240cd58959d9036461324", "score": "0.6263662", "text": "@Test\n public void checkAllViews() {\n checkSearchViewExists();\n checkBaselineHints();\n checkSpinnerText();\n }", "title": "" }, { "docid": "f34a695865cbce56e78c1794fa5da0bc", "sco...
5cb371d9a2987950e2f76744611463c1
/ renamed from: d
[ { "docid": "1ec71f6d8bb794cfdf39785ac92c457a", "score": "0.0", "text": "public void mo12425d(int i) {\n this.f17407R = i;\n this.f17402M = Integer.toString(this.f17407R - 5);\n m21007v();\n }", "title": "" } ]
[ { "docid": "221cf27cebe848eaee87d7758714f682", "score": "0.69657224", "text": "@Override\r\n\tpublic void d() {\n\t\t\r\n\t}", "title": "" }, { "docid": "221cf27cebe848eaee87d7758714f682", "score": "0.69657224", "text": "@Override\r\n\tpublic void d() {\n\t\t\r\n\t}", "title": ""...
a2e49e959ae740f68c9cdde550204fc3
Returns a short description of the servlet.
[ { "docid": "8a3f6bbb84898014a0585bb0f023d468", "score": "0.0", "text": "@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }", "title": "" } ]
[ { "docid": "63004d59b4ffcaf2437e8692fcd9ab59", "score": "0.87322754", "text": "public String getServletInfo() {\n return \"Short description\";\n }", "title": "" }, { "docid": "63004d59b4ffcaf2437e8692fcd9ab59", "score": "0.87322754", "text": "public String getServletInfo()...
d35b3dd49af933951171f89b2f1075b2
Returns a new object of class 'Interval'.
[ { "docid": "81e70af2bdb20727a37e96a3315352ef", "score": "0.82901937", "text": "Interval createInterval();", "title": "" } ]
[ { "docid": "526f6f6a8eb707af98f5ce7080f19093", "score": "0.7597404", "text": "Interval toInterval();", "title": "" }, { "docid": "5380d1581a9229de3170ea246c0ed6f8", "score": "0.7266155", "text": "IntervalConstraint createIntervalConstraint();", "title": "" }, { "docid": "...
a96d105889f037dbdd316fdd5708c09d
shrink array to half its size when 1/4 full this keeps the array between 25% and 100% full. shrinking array to half when it's half full would be too expensive in the worst case (pushpoppushpop... sequence when array is full)
[ { "docid": "3ed05d03b3601bb13f6fec5df7649fdb", "score": "0.0", "text": "public T dequeue()\n {\n if(this.isEmpty())\n throw new NoSuchElementException(\"Queue underflow\");\n\n T item = this.a[this.first];\n this.a[this.first] = null;\n this.n--;\n this.f...
[ { "docid": "fb42b3ed14c552cb4b4eb12c0e184638", "score": "0.6804431", "text": "private void halveCapacity() {\n\t\tarr = Arrays.copyOf(arr, capacity /= 2); // These operators (+=, -=, *=, etc) return their value when used as expressions (i.e. without \";\").\n\t}", "title": "" }, { "docid": "...
91264893ca4a533f8484d0f4098d9e96
Converts a given length in feet and inches to equivalent centimeters.
[ { "docid": "8dae7a158c8ab2f65e1ddf0b7a0ae052", "score": "0.74365", "text": "public double feetAndInchesToCentimeters(double feet, double inches) {\r\n // this is a stub\r\n return 0;\r\n }", "title": "" } ]
[ { "docid": "681831c20e548b4bcf19f1bd1aefefa2", "score": "0.78977937", "text": "public static float inchToCentimeter(float length) {\n return length * 2.54f;\n }", "title": "" }, { "docid": "bff2b6bda52327d60b0ba9140a516500", "score": "0.7861142", "text": "public static float foot...
923eb3773632d206fe0e7d672aaf561a
/ The reactions of state GotToFirstStation.
[ { "docid": "c1077eb5fa98c2feb0a00bed2c7a120c", "score": "0.7206415", "text": "private void react_main_GotToFirstStation() {\n\t\tif (check_main_GotToFirstStation_tr0_tr0()) {\n\t\t\teffect_main_GotToFirstStation_tr0();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "0622dc39b2f62463158024e6c0e349eb", "score": "0.67508143", "text": "private void entryAction_main_GotToFirstStation() {\n\t\tsCIBGF.setEventNum(1);\n\t\t\n\t\tsCIMira.operationCallback.sendGoToGWP(1);\n\t}", "title": "" }, { "docid": "13ba4e3c4dfae8b004d8b1d315a4a44e", "score"...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "b503fc7fa1f36527045b729accf7ab38", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "3f26cf29ffa9cc2c501cdc2855095ebc", "score": "0.7262509", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.layout.main_activity_actions, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", ...
c91654b339d3b35c035730f44f1327b3
optional string pkdrg4010 = 1; optional string pkdrg4010 = 1;
[ { "docid": "0d1b0eeb43bee0f4c91e23137583adc5", "score": "0.683789", "text": "boolean hasPkdrg4010();", "title": "" } ]
[ { "docid": "51984339e1d5bd78d9f109c175cef205", "score": "0.6755704", "text": "public Builder setPkdrg4010(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n pkdrg4010_ = value;\n onChanged();\n ...
817a7a4cc849819e4b088d1763e3c164
Get mowi nam ze do zasobu mozna sie dostaz z uzyciem metody HTTP typu GET
[ { "docid": "d9dd50c376a777fd6df1383ce844f961", "score": "0.0", "text": "@GET\n //Okresla dalsza czesc url uzytego do wywolania metody\n @Path(\"/czesc\")\n //Informuje nas o typie zwracanej zawartosci odpowiedzi\n @Produces(MediaType.TEXT_PLAIN)\n //QueryParam mapuje parametr z url na par...
[ { "docid": "c32a9ea773cc28b0f65e4466e5575e41", "score": "0.620011", "text": "@GET\r\n\t@Produces({\"application/xml\", \"application/json\"})\r\n\t@Path(\"{id}/names/{nid}\")\r\n\tpublic Name getName(@Context ServletContext srvc, \r\n\t\t\t@PathParam(\"id\") int id, @PathParam(\"nid\") int nid) {\r\n\t\...
0d20e22272335d9e95378118797a1951
Sets the created date of this data convert.
[ { "docid": "ae8928ed68c8638d1818ddc08aaca658", "score": "0.83569825", "text": "@Override\n\tpublic void setCreatedDate(Date createdDate) {\n\t\t_dataConvert.setCreatedDate(createdDate);\n\t}", "title": "" } ]
[ { "docid": "c14c189a075a7eff28afa93eec009fae", "score": "0.79500246", "text": "public void setCreatedDate(Date value) {\r\n this.createdDate = value;\r\n }", "title": "" }, { "docid": "2d1d24fefe7fb87a37acd8b7206ca146", "score": "0.78371847", "text": "public void setCreated...
9c17f6fa9724b83c7765aa185c6f7f35
Reads an int from user input
[ { "docid": "3d7c2e855af0cdf6a6233d1d71a4626a", "score": "0.7259494", "text": "public int readInteger(){\n return Integer.parseInt(reader.nextLine());\n }", "title": "" } ]
[ { "docid": "88708faf9e40bf18c4aef872d91e2eb7", "score": "0.81249946", "text": "public static int ReadIntegerFromUser() {\n\t\tint intInput = 0;\n\t\t\n\t\ttry {\n\t\t\tString strBuffer = \"\";\n\t\t\tBufferedReader burInput = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tstrBuffer...
f2b1db70038b49cc24aa5d0434f4aee0
Returns the distance of the closest node.
[ { "docid": "289991e2ccf487a6c70e83f616f653f9", "score": "0.65204734", "text": "double getDistance();", "title": "" } ]
[ { "docid": "306d7dd480e41285875235709df92043", "score": "0.7287424", "text": "public double getClosestDistance() {\n double min = Double.MAX_VALUE;\n if (distances != null) {\n for (final double val : distances) {\n if (val < min) {\n min = val;...
eafeeb9e4a4f7c47d5df40975e416b7e
repeated InnerEvent inner_events = 4; uint64 timestamp = 3;
[ { "docid": "aab23b4ce1909189ed18ebc3f4eb1e96", "score": "0.0", "text": "public long getTimestamp() {\n return timestamp_;\n }", "title": "" } ]
[ { "docid": "172a50435db4e9efe9fcd32970b6bd80", "score": "0.61679536", "text": "protected void timestamp(EventObject e) {\r\n\t\ttry {\r\n\t\t\tif (external_timing) {\r\n\t\t\t\te.put(_DTO_RECEIVED, e.get(_TRANSACT_TIME));\r\n\t\t\t\te.put(_DSTIMESTAMP, e.get(_TRANSACT_TIME));\r\n\r\n\t\t\t} else {\r\n\t...
d6e0a337a4a521794b3934ac6cde8fdc
Convert radius from meters to degrees
[ { "docid": "1a9ee6cf1c6d74147808d023e7d551c1", "score": "0.0", "text": "public void generateNext(int radius) {\n\t double radiusInDegrees = radius / 111000f;\n\n\t double u = random.nextDouble();\n\t double v = random.nextDouble();\n\t double w = radiusInDegrees * Math.sqrt(u);\n\t double...
[ { "docid": "e5ff96d69ad5506b4555832d34948886", "score": "0.7660045", "text": "private double radianstoDegrees(double radians){\n return (radians/Math.PI)*180.0;\n }", "title": "" }, { "docid": "5c7100eb89a2579841e990ec900c6dc7", "score": "0.7437801", "text": "public float c...
8fd7a491faa57b286c23c4567a325226
noop, handled by jBPM extension
[ { "docid": "a446582e56202a534ee585f2ebd0e407", "score": "0.0", "text": "@Override\n\tpublic void createContainer(String id,\n\t\t\tKieContainerInstance kieContainerInstance,\n\t\t\tMap<String, Object> parameters) {\n\t}", "title": "" } ]
[ { "docid": "e253b65399c9494417d02ec30a3fd7d7", "score": "0.6816281", "text": "@Override\n\tpublic void doNothing() {\n\t}", "title": "" }, { "docid": "c26d9045cea0f1fdefda02ba72435e5c", "score": "0.6420976", "text": "private void doNothing() {\n\t}", "title": "" }, { "doc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0e2e45b52b4a19d4a526fe1713ed850f", "score": "0.0", "text": "@Override\n\tpublic int numEntries() {\n\t\treturn numEntries(root);\n\t\t\n\t}", "title": "" } ]
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
e929ace3e598526b000b5cb71bfa6cf1
Returns the suit of this card
[ { "docid": "1a035b7c3d3f6b44f6a6f8306fe472e6", "score": "0.8341436", "text": "public char getSuit() {\n\t\treturn suit;\n\t}", "title": "" } ]
[ { "docid": "13438a12ba5c4f86ddc538ce8dc4d0e6", "score": "0.8386682", "text": "public CardSuit getSuit() {\n\t\treturn suit;\n\t}", "title": "" }, { "docid": "17371e93cbc4a6021ec4144df6230cb8", "score": "0.8250589", "text": "public char getSuit()\n {\n return suit;\n }", ...
08f66f1b96cbb3a8fdb22a64f4ee2c0d
Assert validHash works properly for higher difficulty case
[ { "docid": "9735821945f114aab74749bacaea1b7d", "score": "0.72470343", "text": "@Test\n\tpublic void testHigherDifficulty()\n\t{\n\t\n\t\tLaboonCoin l = new LaboonCoin();\n\t\tassertTrue(l.validHash(1, 16619695));\t\n\t\t\t\n\t}", "title": "" } ]
[ { "docid": "19e77d9fb7a582ffed03abfc8a5a5ac1", "score": "0.7508095", "text": "@Test\n public void testHash() {\n // the hash function does sha256, but I guess I don't care about implementation\n // test if two things hash to same value\n logger.trace(\"Equal strings hash to same ...
818c9372779b264948b5ce3902352fa8
repeated .metapb.StepState states = 3;
[ { "docid": "c1da26917f664e222d8fb21b72839872", "score": "0.0", "text": "public cn.infinivision.dataforce.busybee.pb.meta.StepState.Builder addStatesBuilder() {\n return getStatesFieldBuilder().addBuilder(\n cn.infinivision.dataforce.busybee.pb.meta.StepState.getDefaultInstance());\n }",...
[ { "docid": "1fc9ee3ae97bcea5af4d2a47ee5b13fe", "score": "0.6326804", "text": "@Override\n\tpublic void step(SimState state) {\n\t\t\n\t}", "title": "" }, { "docid": "68cd496ed7b5b8453f7840cd81290e62", "score": "0.6090609", "text": "public void step() {}", "title": "" }, { ...
7ca60b388e5a6153209e1d8cc6c7f671
/ Method to get update a recipe from the table based on the id Implicitly it uses save method of JPARepository. Save() is used for both insertion and updation. JpaRepository differentiates based on the id. During insertion id is 0 while during updation id >0
[ { "docid": "f3a54d7a878215babc3e3c1be7452485", "score": "0.75226384", "text": "@Override\r\n\t@Transactional\r\n\tpublic RecipeModelClass updateRecipe(int id, RecipeModelClass recipes) {\r\n\r\n\t\tRecipes updatedRecipe = uc.demarshallingMethod(recipes);\t\t\r\n\t\tupdatedRecipe.setId(id);\r\n\t\tupdate...
[ { "docid": "b368f3050776dd732042c9b86fd912cd", "score": "0.74081445", "text": "@Transactional\n\tpublic Recipe updateRecipe(@PathVariable Long id, @RequestBody Recipe rec) {\n\t\tRecipe recipe = repo.findById(id)\n\t\t\t\t.orElseThrow(() -> new ResourceNotFoundException(\"recipes not exist with id :\" +...
341fb9a5a87310703253cefdaf3fd9d9
Get a copy of a row by it's name.
[ { "docid": "83bde640a977c7790802edb46dcc50f0", "score": "0.55795044", "text": "public double[] getRow(String rowName) throws IllegalArgumentException {\n\t\tInteger row = rowNamesToRows.get(rowName);\n\t\tif (row == null) {\n\t\t\tthrow new IllegalArgumentException(\"No row for name: \" + rowName);\n\t\...
[ { "docid": "99581176580e839d8ed4c52eeb63ac3f", "score": "0.63232285", "text": "public RunsTable copy (String name)\r\n {\r\n RunsTable clone = new RunsTable(name, orientation, dimension);\r\n\r\n for (int i = 0; i < getSize(); i++) {\r\n List<Run> seq = getSequence(i);\r\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "ca76515e919be6b5610e981adb23c38d", "score": "0.0", "text": "@Override\r\n\tpublic int removeModelPropertyDefined(String id) {\n\t\treturn modelPropertyDefinedDao.delete(id);\r\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
b000397b65e03a364e572a644fdd81af
this method returns Current dateofJorney in string form
[ { "docid": "3024211e656ddd04148cb1f7b5fc19c1", "score": "0.0", "text": "public static String getCurrentDateForJourneyPlan(String date)\n\t{\n \n Calendar ca1 = getCalender(date);\n \n int WEEK_OF_MONTH\t=\tca1.get(Calendar.WEEK_OF_MONTH);\n int DAY_OF_WEEK\t\t=\tca1.ge...
[ { "docid": "32f0b3a92dc34c6312b0878e4e233999", "score": "0.7667647", "text": "public static String getCurrentDate() {\r\n java.text.SimpleDateFormat dateFormat = new java.text.SimpleDateFormat\r\n (\"yyyyMMdd\", java.util.Locale.KOREA);\r\n return dateFormat.format(new java....
19ddbe88cc48609bfc7da294133cae81
Add a node of value val before the indexth node in the linked list. If index equals to the length of linked list, the node will be appended to the end of linked list. If index is greater than the length, the node will not be inserted.
[ { "docid": "fb0c516ca1f9011b3c23dfea97b47d97", "score": "0.6907572", "text": "public void addAtIndex(int index, int val) {\n if (index <= 0) {\n addBetween(first, first.next, val);\n } else if (index < size) {\n DoublyNode node = node(index);\n ...
[ { "docid": "7525d9bfc6fbc9e371a294814fdffdb3", "score": "0.78210545", "text": "public void addAtIndex(int index, int val) {\n ListNode n = head;\n if (size == 0) {\n if (index == 1 || index == 0) {\n ListNode node = new ListNode(val);\n ...
f93b121ae4949c05a08f7f0d19dbe5c5
Builds a UI tree.
[ { "docid": "0f5c9b8f3889ad880c8edf4f14cb4803", "score": "0.6192991", "text": "public static Tree buildTree(List<RefactoringInfo> refactorings) {\n DefaultMutableTreeNode root =\n new DefaultMutableTreeNode(refactorings.isEmpty() ? \"\" : refactorings.get(0).getCommitId());\n refactorings.fo...
[ { "docid": "7f553f0e7705839a65e95ee2967643f9", "score": "0.73720235", "text": "private JTree buildTree() {\n DefaultMutableTreeNode root;\n root = new DefaultMutableTreeNode(new ColopediaTreeItem(null, Messages.message(\"menuBar.colopedia\")));\n \n DefaultMutableTreeNode...
3259fed91ad6c7519f7772c5f11035b4
This method was generated by MyBatis Generator. This method sets the value of the database column TRSPAYPLANDET_TMP.PLAN_SEQ
[ { "docid": "9814dfda07e6ebb325db76d0b01e21e5", "score": "0.73734975", "text": "public void setPLAN_SEQ(BigDecimal PLAN_SEQ) {\r\n this.PLAN_SEQ = PLAN_SEQ;\r\n }", "title": "" } ]
[ { "docid": "b4a34f0e3917a550a07cc18d589bfead", "score": "0.62735337", "text": "public BigDecimal getPLAN_SEQ() {\r\n return PLAN_SEQ;\r\n }", "title": "" }, { "docid": "08571ba228134f4c7abde7db7e05cfca", "score": "0.59813374", "text": "public void setPAYLAY_SEQNO(BigDecimal...
385f3c63563177ce1b734018aed1a598
Parses Base64encoded data back into its binary form.
[ { "docid": "7f19cbcdfa6224225c24360515577287", "score": "0.7244109", "text": "private static byte[] toByteArray( final String base64Data )\n {\n return Base64.decode( base64Data.getBytes() );\n }", "title": "" } ]
[ { "docid": "5898aa725110addcc0276de0eae91ac3", "score": "0.7228547", "text": "public static byte[] decode(String data) {\n return DatatypeConverter.parseBase64Binary(data);\n }", "title": "" }, { "docid": "6e7a4ddb7b1ade8a7754ec4def1476bc", "score": "0.6977802", "text": "pu...
6dc824488c3dc9c81f3fc5cc6f07d58e
List users = userService.findAll(); return users;
[ { "docid": "8a5e34bb6a7714770db80224f1ce744a", "score": "0.77873015", "text": "@RequestMapping(\"/user\")\n public List<User> list() {\n return userService.findAll();\n }", "title": "" } ]
[ { "docid": "b12035df56b789b8fb14b6613af34d2a", "score": "0.877971", "text": "public List<User> findAllUser();", "title": "" }, { "docid": "3d605818d3dd827ef62a12805e4df8a6", "score": "0.8705734", "text": "List<User> findAll();", "title": "" }, { "docid": "3d605818d3dd827e...
8dedf9cea385f473adf980cbdcef7a2b
string type = 2;
[ { "docid": "14c5200f0f7597c0c5b0714497e382fb", "score": "0.0", "text": "public com.google.protobuf.ByteString\n getTypeBytes() {\n java.lang.Object ref = type_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protob...
[ { "docid": "e2d3861af153b4290096fdc029b69f9b", "score": "0.7086366", "text": "private int getType(String type) {\n\tint i=0;\n\tif(type.equals(\"total\"))\n\t\t i=1;\n\telse if(type.equals(\"used\"))\n\t\t\ti=2;\n\telse if(type.equals(\"free\"))\n\t\t\ti=3; \n\telse if(type.equals(\"shared\"))\n\t\t...
b0218c9d94bbf88207dab9a3d7e4fd33
Sets the YDQBJDM value for this XjydInfo.
[ { "docid": "e7a888a76f67edbba6f152b7d76dc4ef", "score": "0.8322293", "text": "public void setYDQBJDM(java.lang.String YDQBJDM) {\r\n this.YDQBJDM = YDQBJDM;\r\n }", "title": "" } ]
[ { "docid": "1a2e01fd391be9911b520b8f74dcfdf0", "score": "0.7473804", "text": "public void setYDHBJDM(java.lang.String YDHBJDM) {\r\n this.YDHBJDM = YDHBJDM;\r\n }", "title": "" }, { "docid": "754a6b3b7de2c942984409b2376af153", "score": "0.7345749", "text": "public java.lang...
5fa669c29688b8110a0d7f8ce317506d
Interface for custom requests.
[ { "docid": "990b31a914960abe9393ffd27206dbdc", "score": "0.0", "text": "public interface CustomServiceTracer extends Tracer {\n\n}", "title": "" } ]
[ { "docid": "110b53bb33965b98eaa6c5e2db47649e", "score": "0.74551475", "text": "interface Request { }", "title": "" }, { "docid": "e1ac73abc78f947c99ab9cf316fb5ecf", "score": "0.721026", "text": "public interface RequestInterface {\r\n public String toJson();\r\n public String t...
8182b87c940315ec5a2b805bfe551413
Build call for createRepository1
[ { "docid": "aad307874c7dd0eb81d8057b5ff22dcf", "score": "0.5516506", "text": "public com.squareup.okhttp.Call createRepository1Call(MavenProxyRepositoryApiRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener...
[ { "docid": "43c0d019c9bdcaf84a717359512c2de2", "score": "0.644822", "text": "public Repository createNewRepository();", "title": "" }, { "docid": "6296afba78f805527d98208af66aa93b", "score": "0.6307511", "text": "public void createRepository1(MavenProxyRepositoryApiRequest body) thro...
9b439be9f1c1e8805c972a37a2187161
Add a value to property includesObject.
[ { "docid": "fd8df4942c858d406fab254a046cbf96", "score": "0.6460123", "text": "Builder addIncludesObject(TypeAndQuantityNode value);", "title": "" } ]
[ { "docid": "ca491614353cc19f57e227a5b0889b9c", "score": "0.82149565", "text": "Builder addIncludesObject(String value);", "title": "" }, { "docid": "8b9ef5c6a3deab74fd93807073a95efc", "score": "0.59813136", "text": "public LuceneQuery<T> include(String field, Object value) {\n\t\tif ...
c9e52a4ba94171f835ff16a516ca9c20
Converts, if possible, a key specification into a NiederreiterPrivateKey. Currently, the following key specifications are supported: NiederreiterPrivateKeySpec.
[ { "docid": "868b5b4435c40e17cd4e60503fdf1818", "score": "0.77182996", "text": "public PrivateKey generatePrivate(KeySpec keySpec)\n\t throws InvalidKeySpecException {\n\tif (keySpec instanceof NiederreiterPrivateKeySpec) {\n\t return new NiederreiterPrivateKey(\n\t\t (NiederreiterPrivateKeySpec...
[ { "docid": "d46922d95a317c73cad9c1daa434558c", "score": "0.64744335", "text": "public KeySpec getKeySpec(Key key, Class keySpec)\n\t throws InvalidKeySpecException {\n\tif (key instanceof NiederreiterPrivateKey) {\n\t if (PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) {\n\t\treturn new PKCS8...
fa8b306ffa83bbc8535c73d3ae98790e
Appends a line to the log.
[ { "docid": "26c38e19f1ad325df68ae958a376c8ab", "score": "0.7528597", "text": "public void log(String line){\n if(this.logFile!=null){\n this.logFile.println(line);\n }\n }", "title": "" } ]
[ { "docid": "45f5467e2e1f6e47b3dbbf15a8760574", "score": "0.70466053", "text": "public void append(String line)\n\t{\n\t\tthis.parse(line);\n\t\tthis.println(line);\n\t}", "title": "" }, { "docid": "2eee089ef848034a37665ef8a7b25763", "score": "0.69654965", "text": "void append(LogEven...
c7decbfbe3e8384fba2e5b56c985d529
Unsets the "testruninfos" element
[ { "docid": "654f5c7f84fc3b06ca7ed0e284a9fd08", "score": "0.8394663", "text": "public void unsetTestruninfos()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(TESTRUNINFOS$6, 0);\r\n }\r\n ...
[ { "docid": "dec0b02aa7015e6db3f215956d33b302", "score": "0.65337133", "text": "void unsetDetails();", "title": "" }, { "docid": "76eba99dc773bad570fd0d2a4bb74161", "score": "0.64972377", "text": "public void setTestruninfos(noNamespace.TestautomationDocument.Testautomation.Testruninf...
b1d4ddd3467f861d8d41acfb4e315652
required string points = 6;
[ { "docid": "c8acec1f8775ad00375d05859adc374f", "score": "0.0", "text": "public boolean hasPoints() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" } ]
[ { "docid": "623f482c21ac274e8d31c2a3d9cd0b53", "score": "0.7273939", "text": "java.lang.String getPoints();", "title": "" }, { "docid": "1372511d225210936eafe0f8b6945daf", "score": "0.7034766", "text": "public void setPoints(String points) {\n this.points = points;\n }", ...
e6cdae88fc4605ba1bbda1a209fb9fc6
Remove a service's root and its contents.
[ { "docid": "ec532da66ad073a3e7c78152dd49abc2", "score": "0.7861783", "text": "public boolean removeServiceRoot(String serviceName);", "title": "" } ]
[ { "docid": "d647e2e4936c7ee920a19c3eb61d89b0", "score": "0.6344036", "text": "private void removeService(Service service) {\n if (service == null) {\n return;\n }\n\n // Remove the service if it exists.\n if (serviceList.remove(service)) {\n\n // Notify ...
68e9179a040d20688836be25c6d925e6
Destroy verification accumulators all.
[ { "docid": "011d348353637dfc3a2074fec30d2238", "score": "0.5838333", "text": "private void destroyCumulators(@NotNull List<String> factors) {\r\n\t\tmatchCumulator.destroy(factors);\r\n\t\tapplyCaptchaCumulator.destroy(factors);\r\n\t\tapplySmsCumulator.destroy(factors);\r\n\t\tsessionMatchCumulator.des...
[ { "docid": "f8e4f816ead5e932dd4f4fd12211b021", "score": "0.68477637", "text": "public final void clean() {\n\t\tsimManager.clean();\n\t}", "title": "" }, { "docid": "e3365b813ee09a84b4fb9cf0e770df82", "score": "0.66218746", "text": "private void destroy() {\n\t\thashKeys = null;\n\t\...
0784b9c0c902b0601169e58104138fff
TODO Autogenerated method stub createNewWindow();
[ { "docid": "2da8606bcf2f908b492702b7f091df41", "score": "0.0", "text": "@Override\r\n\tprotected void init(VaadinRequest request) {\n\t}", "title": "" } ]
[ { "docid": "5cc7e4a31758855a2133813c26e8700d", "score": "0.8141512", "text": "Window createWindow();", "title": "" }, { "docid": "6ba83899641f80bf5a251b321f8b09f6", "score": "0.7947695", "text": "abstract protected Object createWindow();", "title": "" }, { "docid": "51120...
9c5a10487927351fd96d23a1cc49f95c
Gets the number of ProcessInstances that are not subprocess instances and having the given userId member of the active user.
[ { "docid": "05451fcd7305832c54579200d7e67aae", "score": "0.6246245", "text": "@POST @Path(\"getNumberOfParentProcessInstancesWithStartedBy/{userId}\")\n\tInteger getNumberOfParentProcessInstancesWithStartedBy(\n\t @PathParam(\"userId\") String userId,\n\t @FormParam(\"options\") final Map<String, ...
[ { "docid": "6cea762397f9f49b4e0068a2114d010c", "score": "0.72214484", "text": "long getNumberOfOpenProcessInstancesInvolvingUser(long userId, QueryOptions queryOptions) throws SBonitaReadException;", "title": "" }, { "docid": "fe59a077ba8604b0dc0a74285e96be3b", "score": "0.70769984", ...
981b897016a54a8f3ee646f4b3ee6b71
This method was generated by MyBatis Generator. This method corresponds to the database table t_cpy_winning
[ { "docid": "0def34e6682d473f58ea84cfeea4d5dc", "score": "0.0", "text": "public void clear() {\n oredCriteria.clear();\n orderByClause = null;\n distinct = false;\n }", "title": "" } ]
[ { "docid": "23c2ec080ab9fa061362f870bd135fae", "score": "0.5487161", "text": "@Override\n\tpublic String updateBetWinning(Map<String, Object> param) throws Exception {\n\t\tfinal List<String> sqls = (List<String>) param.get(\"bets\");\n\t\tString status = getSession().doReturningWork(new ReturningWork<S...
d10343c6a3e0a5dd03e65b98c85e94cd
Shifts the origin translation and rotation of the drivetrain.
[ { "docid": "a0d0a954b8171da503060b6a879cf54e", "score": "0.0", "text": "public void resetOdometry(Pose2d pose) {\n resetEncoders();\n m_odometry.resetPosition(pose, Rotation2d.fromDegrees(getHeading()));\n }", "title": "" } ]
[ { "docid": "250974ccbddb1bb6f418a9c023c77bb5", "score": "0.64186853", "text": "public void rotate() {\n\t\tboolean temp = north;\n\t\tnorth = west;\n\t\twest = south;\n\t\tsouth = east;\n\t\teast = temp;\n\t}", "title": "" }, { "docid": "4fd40f2839701fbf2bd98e5ea34e1814", "score": "0.606...
71f277bcc943e28df516ba5872d70e29
If there is already a loader task running, tell it to stop. returns true if isLaunching() was true on the old task
[ { "docid": "4081ef4de189a3fad73f17d52a940c30", "score": "0.7925021", "text": "private boolean stopLoaderLocked() {\n boolean isLaunching = false;\n LoaderTask oldTask = mLoaderTask;\n if (oldTask != null) {\n if (oldTask.isLaunching()) {\n isLaunching = tru...
[ { "docid": "6acfacbe70fc11b8357d10a314558317", "score": "0.64833045", "text": "@Override\r\n\tboolean isRunning() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "99908b791dfc2aee42071bf84a58f4c8", "score": "0.6422312", "text": "public boolean isStarting();", "title": "" ...
b476497b580f8580a9232e27dba4805e
String accountId = request.getParameter("accountId");
[ { "docid": "799f54ec8099a43c64ce0bdafc4c1fec", "score": "0.0", "text": "public String sendBill( String billMonth, Locale locale,String accountId) throws IOException, MessagingException, DocumentException{\n\t\tString query = \"select o.elBillId,p.personId,a.propertyId,o.typeOfService from ElectricityBi...
[ { "docid": "e1f68677207ec98331931212ab1fdfe7", "score": "0.60775024", "text": "public void getAccount(HttpServletRequest req, HttpServletResponse resp) {\n try {\n int id = Integer.parseInt(req.getParameter(\"accountId\"));\n Account a = getAccountById(id);\n if(a...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2687e221ea7ebfb477670d01cdcd3d87", "score": "0.0", "text": "@Override\r\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\r\n\t\tsetContentView(R.layout.activity_gouchexunjia);\r\n\t\tinitView();\r\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
d3cf555887d327e399ee1a644611297f
Creates new form InicioSesion
[ { "docid": "18499cf5a584e14a834d39513e892b07", "score": "0.0", "text": "public InicioSesion() {\n initComponents();\n setTitle(\"Iniciar Sesión\"); //Titulo, fondo, redimensionable y ubicacion de la ventana.\n getContentPane().setBackgroun...
[ { "docid": "2e0fb61062541ec98fc1dc8021d7110b", "score": "0.73072", "text": "public frm_registro_admision_ingreso_registro() {\n }", "title": "" }, { "docid": "b74fb30e069ce8214784e436bb34941e", "score": "0.68404835", "text": "@Override\n public void crear() {\n try {\n ...
3848163fb2c6b0b3b41eba5cf0f4ebc7
Find records that have CREATED_AT IN (values) asynchronously
[ { "docid": "db789a72f0fb9fa5b7fd329b5d48bf49", "score": "0.5605538", "text": "public Future<List<cn.vertxup.ui.domain.tables.pojos.UiList>> findManyByCreatedAt(Collection<LocalDateTime> values) {\n return findManyByCondition(UiList.UI_LIST.CREATED_AT.in(values));\n }", "title":...
[ { "docid": "6b8d0c27a84097b6cee5516615353695", "score": "0.58359087", "text": "public CompletableFuture<List<cn.vertxup.erp.domain.tables.pojos.EEmployee>> fetchByCreatedAtAsync(List<LocalDateTime> values) {\n return fetchAsync(EEmployee.E_EMPLOYEE.CREATED_AT,values);\n }", "title": "" }...
3e82b9765c86254bf4e10b24d41a9181
repeated .Polarx.ExecPlan.SessionInfo sessions = 1;
[ { "docid": "6027d9937e13d3d96ca379b96f32fe57", "score": "0.5392055", "text": "public com.mysql.cj.x.protobuf.PolarxExecPlan.SessionInfo getSessions(int index) {\n if (sessionsBuilder_ == null) {\n return sessions_.get(index);\n } else {\n return sessionsBuilder_.getMessag...
[ { "docid": "9b7a8d86314f8052efcfac73d003630e", "score": "0.64092314", "text": "com.mysql.cj.x.protobuf.PolarxExecPlan.SessionInfo getSessions(int index);", "title": "" }, { "docid": "6f28a1b34c2d68ea2af74c266e619f50", "score": "0.57599074", "text": "Possession getExecution();", "...
ff9cd0eeae8e7b2120dc977fdc5c5a5d
Compares two map nodes by their distance from the source node
[ { "docid": "bc7889087ad04eef74a552e2fe7331bc", "score": "0.55470556", "text": "public int compare(Integer node1, Integer node2) {\n\t\t\tdouble dist1 = distancesFromStart.get(node1);\n\t\t\tdouble dist2 = distancesFromStart.get(node2);\n\t\t\t\n\t\t\tif (dist1 > dist2) {\n\t\t\t\treturn 1;\n\t\t\t}\n\t\...
[ { "docid": "6a1745e8868f949f8e1c05a739fffb06", "score": "0.6564351", "text": "private int getDistance(Node nodeA, Node nodeB) {\r\n\t\t// helper method. Provided for your convenience.\r\n\t\tint dstX = Math.abs(nodeA.gridX - nodeB.gridX);\r\n\t\tint dstY = Math.abs(nodeA.gridY - nodeB.gridY);\r\n\t\tif ...
8462d40aacd784e31811c9afb68b7dc5
An entity bean with audit fields behind the scenes.
[ { "docid": "d0a919450ed3ccd6f1df9619ee145c8c", "score": "0.65185994", "text": "public interface Audit\n extends EJBLocalObject\n{\n public String getId();\n\n public String getStringValue();\n public void setStringValue(String s);\n}", "title": "" } ]
[ { "docid": "86db393eb6c70ae97904bd0082aff28e", "score": "0.6769971", "text": "protected Audit getAudit(Object entity)\n {\n Audit audit = ((Auditable) entity).getAudit();\n if (audit == null)\n {\n audit = new Audit();\n ((Auditable) entity).setAudit(audit);...
c457574a4c3d8022d2a363c5c7725f09
Getter for property referenceMap
[ { "docid": "6689dd135eae8865fc4ff6c1c5bd26e1", "score": "0.67754066", "text": "public ReferenceMapInterface getReferenceMap() throws RemoteException;", "title": "" } ]
[ { "docid": "abdf450ff500591947b1a2e10d3b4e4d", "score": "0.78384125", "text": "public Map<String, String> getPropertyReferences(){\r\n return propertyReferences;\r\n }", "title": "" }, { "docid": "5cd1767f6055c6b9047868234924c927", "score": "0.6738207", "text": "public Coll...
7b0c2fad68870467b9dc992876e2fd2d
repeated .game.msg.DItem itemList = 1;
[ { "docid": "c0ef0562d68b66199697cd3d70275f60", "score": "0.73994964", "text": "game.msg.Define.DItem getItemList(int index);", "title": "" } ]
[ { "docid": "19d97d904b3f65d342bf911a2c1b5b91", "score": "0.6382242", "text": "java.util.List<game.msg.Define.DItem> \n getItemListList();", "title": "" }, { "docid": "2d0bd35a6a3db5596192b6e02d073e3a", "score": "0.6367125", "text": "java.util.List<cn.wsds.gamemaster.pb.Proto.M...
ac5722d617c0b3bfc57a873bf8666f93
TODO: No features shown in feature overview
[ { "docid": "239d4a6c0298a849d6278408d6edc23f", "score": "0.0", "text": "@Test\n public void testLocalizedDetailedReportIssue41() throws Exception {\n CucumberDetailedResults results = new CucumberDetailedResults();\n results.setOutputDirectory(\"target/\");\n results.setOutputNam...
[ { "docid": "ae14329986ba7968280677deb83295ea", "score": "0.7579436", "text": "public Features() {\n\t\tsuper();\n\t\t// TODO Auto-generated constructor stub\n\t}", "title": "" }, { "docid": "a5ab72b553b553258b752d004c254de6", "score": "0.7457671", "text": "Feature getFeature();", ...
8c50b27b642834fc660904def22751b4
Repassa ao fragmento o bundle completo obtido do estado
[ { "docid": "dd7fa29459876a7c39fb26d6962d1847", "score": "0.0", "text": "protected void onRestoreState(Bundle bundle){}", "title": "" } ]
[ { "docid": "6afdfcc8ef55b9c640def29039bd3e41", "score": "0.70881736", "text": "protected void onSaveInstanceState(Bundle bundle) {\n\t\tsuper.onSaveInstanceState(bundle);\n\t\tFragment fragmentoActual = this.getSupportFragmentManager().findFragmentById(android.R.id.tabcontent);\n\t\tbundle.putString(\"f...
7eadbca14f9e0903350962447f76ba73
TemplateProcessor Configures for template processing, but defines a specific directory that contains Freemarker templates.
[ { "docid": "38f3bb5b57e010ae6b45d792530b6123", "score": "0.6142058", "text": "public TemplateProcessor(Configuration cfg, ServletContext servletContext, String templateDir) {\n\t\tthis(cfg, servletContext);\n\t\tthis.templateDir = templateDir;\n\t\tcfg.setServletContextForTemplateLoading(servletContext,...
[ { "docid": "3ed5cdd4dabfda2664d0e8c73a2c499c", "score": "0.64561343", "text": "private void process(String template,String templateFolder, String mappingFolder, String outputFolder) throws Exception\n\t{\n Configuration cfg = new Configuration();\n cfg.setWhitespaceStripping(true);\n ...
dbadb6e6787260d2c6ae10e188d49aa0
This method was generated by MyBatis Generator. This method corresponds to the database table t_base_fund_type
[ { "docid": "06b22d92be1283ad1fbc7e0abf4d982c", "score": "0.5191457", "text": "FundTypeBase selectOneByExampleSelective(@Param(\"example\") FundTypeBaseExample example, @Param(\"selective\") FundTypeBase.Column ... selective);", "title": "" } ]
[ { "docid": "942024b1fb672241580a8b97cb65e520", "score": "0.66042215", "text": "String getBaseTypeName() throws SQLException;", "title": "" }, { "docid": "2cc7fff6f9159ed22c3d86b1791c8433", "score": "0.6035116", "text": "List<FundTypeBase> selectByExample(FundTypeBaseExample example);...
aef7aa47f25cee11933514632c458310
THE MAGIC OF CTRL+C AND CTRL+V
[ { "docid": "84034b630edc95a3fb4506e0056e5efd", "score": "0.0", "text": "public ArrayList<Actor> getActors()\n {\n ArrayList<Actor> actors = new ArrayList<Actor>();\n int[] dirs =\n { Location.AHEAD, Location.HALF_CIRCLE};\n for (Location loc : getLocationsInDirections(...
[ { "docid": "10be9f104fc48aff1253115e55abe640", "score": "0.70138633", "text": "public void noCtrlC(KeyEvent evt) {\n if (evt.isControlDown() && evt.getKeyCode() == KeyEvent.VK_C) {\n evt.consume();\n }\n }", "title": "" }, { "docid": "7c37d7ed164049aaa6712181d3db1...
2443d75578e91ec5bb0b46ad508ba66b
method to add the employee into the set.
[ { "docid": "c82c299bd6c803165bd238d0adc59f4c", "score": "0.8110108", "text": "public void addEmployee(Employee employee) {\n\t\tsetOfEmployee.add(employee);\n\t}", "title": "" } ]
[ { "docid": "46559087d1e87522072d12bc595cc54c", "score": "0.7727415", "text": "public void addEmployee (Employee employee) {\n employees.add(employee);\n }", "title": "" }, { "docid": "242b266b2a98c70bce49152e04b8d480", "score": "0.76102173", "text": "public void addEmployee...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5e411d380438d5070ca29f7da3b32094", "score": "0.0", "text": "private void initPropertyFile() {\n\t\tprop = new Properties();\n\t\tOutputStream output = null;\n\n\t\ttry {\n\n\t\t\toutput = new FileOutputStream(\"config.properties\");\n\n\t\t\t// set the properties value\n\t\t\t/*\n\t\t\t * pr...
[ { "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...
8ea07bb1d75412badf5b19b2c02893e6
Defines attr attribute value of item item.
[ { "docid": "1e300fb8e109d354fb02cfb5de086773", "score": "0.6632781", "text": "public void putValue(Item item, IAttributeType<String> attr, String value) {\n\t\t_values.put(item.getId() + attr.getName(), value);\n\t}", "title": "" } ]
[ { "docid": "f00ad59959dd776846acbc103a27c5d9", "score": "0.68954295", "text": "public void setAttributeValue(final int pos, final Object value);", "title": "" }, { "docid": "c5c3918da1645796cd207870349146bd", "score": "0.66647637", "text": "Attribute getAttrValue();", "title": ""...
fc39af24f0b52337b6418b8b5ea664e5
This method was generated by MyBatis Generator. This method sets the value of the database column t_student.password
[ { "docid": "6d4cf62bc09015802dd5e7e9fc5ba175", "score": "0.0", "text": "public void setPassword(String password) {\n this.password = password == null ? null : password.trim();\n }", "title": "" } ]
[ { "docid": "ff85155c41298337587296d78c406755", "score": "0.68084204", "text": "public void setPassword(String v) {this.password = v;}", "title": "" }, { "docid": "83e977714b77a603d221451a9ff972a7", "score": "0.6801449", "text": "public void setSqlPassword(String password) {\n\t\tpro...
d6d01eeb5a2268515ae8038724724dd2
TODO: Warning this method won't work in the case the id fields are not set
[ { "docid": "7170fa4e597f5b0fa800e0caf7feb91c", "score": "0.0", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Estadio)) {\n return false;\n }\n Estadio other = (Estadio) object;\n if ((this.codEstadio == null && other.codEs...
[ { "docid": "27d40fad6ffddfb882d4698918a44f23", "score": "0.6897049", "text": "private void setId(Integer id) { this.id = id; }", "title": "" }, { "docid": "c520db2892ba2af63fa6d93e9c1cb59a", "score": "0.6839498", "text": "private Integer getId() { return this.id; }", "title": "" ...
3adb4be7a67d710e1aad1d078ce07b2c
Approach 3: Binary Search
[ { "docid": "797ecf4d34290b3f71a82667899572d1", "score": "0.0", "text": "public static char nextGreatestLetter(char[] letters, char target) {\n if(target < letters[0] || target >= letters[letters.length - 1]){\n return letters[0];\n }\n\n int left = 0;\n int right =...
[ { "docid": "caf31a32bd91c1b8d6b8da2a994d06d2", "score": "0.77211004", "text": "private static int binarySearch(int[] nums, int target, int left, int right) {\n while (left <= right) {\n int mid = left + (right - left) / 2;\n if (nums[mid] == target) return mid;\n ...
c22975cbd43570ef22afcac3d81ba837
Returns a node that it's ith finger is the specified key. The algorithm is based on knuckle search algorithm
[ { "docid": "3d9b9477b8232188aeddcd60edb280e2", "score": "0.64692235", "text": "protected ChordNode knuckleSearch(ChordKey key, int i)\n\t{\n\t\tChordKey knuckleKey = key.createEndKey(Hash.KEY_LENGTH - 1 - i);\n\t\tincrementMessageCount(1);\n\t\tChordNode knuckle = chordLocate(knuckleKey);\n\t\treturn im...
[ { "docid": "eebf16c330aa54d59d61d2c3253ad5e4", "score": "0.72423613", "text": "public Node find(Object key) {\n\t\tNode c = root;\n\t\twhile (!c.isLeafNode()) {\n\t\t\tint i = c.findIndexGE(key); // find smallest i such that c.keys[i] >= key\n\t\t\tif (i < 0) { // if no i such that c.keys[i] >= key\n\t\...
78aaae0d91a4ca716df5f75f02f10ac7
Returns true if this map contains no keyvalue mappings.
[ { "docid": "a805041ce81f87b94d529c82546cb5ad", "score": "0.6715473", "text": "public boolean isEmpty(String key) {\n List<String> list = this.get(key);\n return (list == null || list.size() == 0);\n }", "title": "" } ]
[ { "docid": "2c8ed13b5bd5d7f8ff8f8c663a46528b", "score": "0.8130694", "text": "public boolean isEmpty() {\n\t\treturn map.isEmpty();\n\t}", "title": "" }, { "docid": "2c0f2a27587c2311d24aea0661af3fa3", "score": "0.8118695", "text": "public boolean isEmpty() {\r\n return map.isE...
63f99dca7e9a7a298cd03e6870456fa3
Called just before this Command runs the first time
[ { "docid": "8619148d55cdb556364432c107ae012f", "score": "0.0", "text": "protected void initialize()\n\t{\n\t}", "title": "" } ]
[ { "docid": "3a60a403f5015b34ded733d406f21d83", "score": "0.66072744", "text": "protected void preExecute() {\n\t\t// By default, do nothing\n\t}", "title": "" }, { "docid": "cc397203054a9a1609530c779d3c74c5", "score": "0.6604923", "text": "protected void beforeRun() { }", "title"...
574a0e3366700c26c1bdbafdf2eb36df
KeyListener method. Here we act on the (press and) release of keys. Currently implemented: f toggles hunting/fleeing mode.
[ { "docid": "179d23519376cdf53a2745e5a49fb309", "score": "0.0", "text": "public boolean keyReleased(KeyEvent event) {\n switch (event.getKeyChar()) {\n case 'f':\n cherry.countDown();\n return true;\n case 'g':\n papple.countDown();\n retur...
[ { "docid": "0c7456dc455b237cda016daf72476f17", "score": "0.7303835", "text": "@Override\n public void keyReleased (KeyEvent e)\n {\n int keyCode = e.getKeyCode();\n\n // Acclerating - UP_ARROW\n if (keyCode == KeyEvent.VK_UP && ship != null)\n {\n ship.keyCon...
c8615f4be5a70f06cde7a9d24c8c7d8b
A new Game that takes command/move input from INPUT, prints normal output on OUTPUT, prints prompts for input on PROMPTS, and prints error messages on ERROROUTPUT. The Game now "owns" INPUT, PROMPTS, OUTPUT, and ERROROUTPUT, and is responsible for closing them when its play method returns.
[ { "docid": "a9df914ef54f15c3afdefa8a9aaab8f9", "score": "0.743607", "text": "Game(Reader input, Writer prompts, Writer output, Writer errorOutput) {\n _board = new MutableBoard(Defaults.BOARD_SIZE);\n _prompter = new PrintWriter(prompts, true);\n _inp = new Scanner(input);\n ...
[ { "docid": "bcac9826ff48cbbf0c6b59a5dea1b5d4", "score": "0.6416", "text": "public void play () {\n // TODO\n\n // If already game over, return\n if (this.isGameover) {\n return;\n }\n\n Scanner scanner = new Scanner(System.in);\n\n while (!this.isGameover) {\n // Check if inp...
1bd935e3bfca9ff242c845bc779552cc
Returns the value of the 'Associe Comme Objet Adresse' containment reference. If the meaning of the 'Associe Comme Objet Adresse' containment reference isn't clear, there really should be more of a description here...
[ { "docid": "3f6df84ae8011f747b9c49a7358902b6", "score": "0.7322183", "text": "TypeAssociation getAssocieCommeObjetAdresse();", "title": "" } ]
[ { "docid": "813296c7ed66660d6fd6aecf164b5adc", "score": "0.59829557", "text": "TypeAssociation getAssocieCommeSujetInstanceObjet();", "title": "" }, { "docid": "d0471aea6bbb02f908abd2388a648844", "score": "0.5831463", "text": "TypeAssociation getConcerneZoneAutreElementControle();", ...
8bf9d22a8c8d00e4741aac4fd2ac3e5f
Schedules a call to hide() in [delay] milliseconds, canceling any previously scheduled calls.
[ { "docid": "6a346845e99f86f41889b15cdd5d60c6", "score": "0.76384187", "text": "private void delayedHide(int delayMillis) {\n mHideHandler.removeCallbacks(mHideRunnable);\n mHideHandler.postDelayed(mHideRunnable, delayMillis);\n }", "title": "" } ]
[ { "docid": "f96f2a6e9a974ea44dcf3d5bb896f3f2", "score": "0.76661843", "text": "private void delayedHide(int delayMillis)\n\t{\n\t\tmHideHandler.removeCallbacks(mHideRunnable);\n\t\tmHideHandler.postDelayed(mHideRunnable, delayMillis);\n\t}", "title": "" }, { "docid": "8c657c8b33104cff96227fb...
897be3031ee19127f54eadfeb9c3f352
Indicates if the given short should be reserved. Only ids where isReverved(id) returns true will be returned by the add(...) method. Ids from (65536 length) to 65535 are reserved. The top 2 bytes of the id are ignored.
[ { "docid": "4815b1241a8b20fb1aed451ac1aafdf7", "score": "0.5847053", "text": "public final boolean isReserved(int id) {\r\n \t\tid = id & 0x0000FFFF;\r\n \t\treturn (id & reservedMask) == reservedMask;\r\n \t}", "title": "" } ]
[ { "docid": "8d6b6bc959afc9f2cf1d142677ece52b", "score": "0.56815046", "text": "public void insert_short(short paramShort) throws TypeMismatch, InvalidValue {\n/* 312 */ ServantObject servantObject = _servant_preinvoke(\"insert_short\", _opsClass);\n/* 313 */ DynEnumOperations dynEnumOperations...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2072e1430007542d1279fbcdd55f68ac", "score": "0.0", "text": "@Override\n\tpublic ReqResult getMyBBSPraiseList(Long userId, Integer userType, Integer pageSize, Integer pageIndex)\n\t\t\tthrows Exception {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
49c2825fc0a1e036f62f44d645ca0c4d
Return a new switch that is only triggered when both switches are triggered.
[ { "docid": "f8ff6a7160c18a42976a240120bb7eb4", "score": "0.6680495", "text": "public static Switch and(Switch switch1, Switch switch2) {\n Objects.requireNonNull(switch1, \"The first switch may not be null\");\n Objects.requireNonNull(switch2, \"The second switch may not be null\");\n ...
[ { "docid": "69937a3ee3d2c156581812334dcb7ec5", "score": "0.68399847", "text": "@ThreadSafe\n@FunctionalInterface\npublic interface Switch {\n /**\n * Checks if this switch is triggered.\n *\n * @return {@code true} if this switch was triggered, or {@code false} otherwise\n */\n pub...
77239f302031c0ee730165c05fbfbd5e
Check for key interactions
[ { "docid": "ff7072d6772d90576b07a356c0574676", "score": "0.0", "text": "public void update() {\n\t\tif(Keyboard.isKeyDown(getKey())) {\n\t\t\tsetPressed(true);\n\t\t\tsetReleased(false);\n\t\t} else {\n\t\t\tif(isPressed())\n\t\t\t\tsetReleased(true);\n\t\t\telse\n\t\t\t\tsetReleased(false);\n\t\t\tsetP...
[ { "docid": "4e60748f296ee664822985c9b40968e4", "score": "0.74620026", "text": "private void checkKeys() \n {\n if (Greenfoot.isKeyDown(\"space\")) \n {\n fire();\n }\n \n if(Greenfoot.isKeyDown(\"left\"))\n {\n turn(-5);\n }\n ...
ae2e80d67c3e878752fbd45deaba157d
Converts value string to it Windows representation. as a byteencoded string. Encoding algorithm adds "/" character to capital letters, i.e. "A" is encoded as "/A". Character '\' is encoded as '//', '/' is encoded as '\'. Then encoding scheme similar to jdk's native2ascii converter is used to convert java string to a by...
[ { "docid": "9bd36bb12a017f3f3792e524b59250fd", "score": "0.7061037", "text": "private static byte[] toWindowsValueString(String javaName) {\n StringBuilder windowsName = new StringBuilder();\n for (int i = 0; i < javaName.length(); i++) {\n char ch = javaName.charAt(i);\n ...
[ { "docid": "39df5e1a681173da93fc56fadd75c73e", "score": "0.66147447", "text": "public static String encode(String value) {\n byte[] encoded = new byte[0];\n\n try {\n encoded = Base64.encode(value.getBytes(\"UTF-8\"), Base64.DEFAULT);\n\n return new String(encoded, \"UTF-...
686d7dfb17ecb51958dc927a310db9b5
Reads a string, starting with the current nextChar value, until reaching the endquote char. The endquote char is consumed but not appended to the string. The string is returned.
[ { "docid": "bd9a6e3b418289e5b0581b10e139db3d", "score": "0.7315335", "text": "private String readString(char quoteChar) {\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile (nextChar != quoteChar && nextChar != -1 && nextChar != 10 &&\n\t\t\tnextChar != 13) {\n\t\t\tif (nextChar == '\\\\') {\n\t\t\...
[ { "docid": "28b6cb787663997163b3b2b779515168", "score": "0.73081636", "text": "String readString() {\nString str = \"\";\r\nchar ch;\r\ndo ch = readChar(); while (!(eof() || ch == '\"'));\r\n// Initial quote\r\nfor (;;) {\r\nch = readChar();\r\nif (eof() || ch == '\"') // Final quote (end of string)\r\n...
723377e1926943e0a40c5c40121ed3e2
Creates and returns an instance of current implementation of XMLParser interface
[ { "docid": "3fde97f2a4261eafdba2ea0a19bc4cbe", "score": "0.84946156", "text": "public static XMLParser createParser(){\n return new vib.core.util.xml.DefaultXMLParser();\n }", "title": "" } ]
[ { "docid": "a480fc0578cee976619c69c7131b3d0d", "score": "0.75794226", "text": "protected abstract XmlPullParser createParser() throws XmlPullParserException;", "title": "" }, { "docid": "d235c5908cc144f23ddd953b1057c38f", "score": "0.7188697", "text": "public interface AbstractParser...
0a5666f97dde40e85669e0ad2394069d
Gets ith "MetricDescription" element
[ { "docid": "57a90652412772ee892af4b65f26c9aa", "score": "0.6380825", "text": "public br.pucrio.dslmetrics.core.mtbl.parsers.mtblfile.MetricDescriptionType getMetricDescriptionArray(int i)\n {\n synchronized (monitor())\n {\n check_orphaned();\n br.pucrio.dslmetrics...
[ { "docid": "e3e6c463d1b9d20c0473d61a419b6800", "score": "0.65442294", "text": "int getMetric();", "title": "" }, { "docid": "c8ef14597d0ddfa2f3668953fb63bd0c", "score": "0.642127", "text": "MetricsDescription getMetricsDesciption(String metricsName, long productId);", "title": ""...
dd2eab3b4522ef4b9f5c417939981cb3
Splits the text in "entry" around the add, subtract, multiply, and divide operators and sets the digits to the right of the operators as the rightValue in the Calculations class. Catches NumberFormatException but does nothing as a result. This prevents chain calculations. Future versions to possibly revise the methods ...
[ { "docid": "d8db0d4058c91c8a1eb10fafc04ec582", "score": "0.6690099", "text": "private void setRightValue()\n\t{\t\n\t\tString[] split = null;\t//String array created to hold individual Strings generated by the\n\t\t\t\t\t\t\t\t//split method\n\t\t\n\t\t/* Determines the arithmetic symbol that is being u...
[ { "docid": "2dd8c5778aa978908b43dec1ef472b9e", "score": "0.64459145", "text": "public int calculate_2(String s) {\n if ((s == null) || (s.length() == 0)) return 0;\n int i = 0;\n int j = 0;\n s = s.replace(\" \", \"\");\n String val = \"\";\n boolean ifStop = tr...
4561c2de98b228957f15222f0d718db4
Removes the old Tiles so that new ones can be created.
[ { "docid": "f3b5dff5f3cec01724026a8c350630e2", "score": "0.72336364", "text": "private void deleteOldGrid()\n\t{\n\t\tfor(int y = 0; y < rows; y++)\n\t\t{\n\t\t\tfor(int x = 0; x < columns; x++)\n\t\t\t{\t\n\t\t\t\ttiles[x][y].destroy();\n\t\t\t\ttiles[x][y] = null;\n\t\t\t}\n\t\t}\n\t}", "title": "...
[ { "docid": "7adcf924a3fa71cc316511dbc5431604", "score": "0.66612613", "text": "public static void emptyBag() {\r\n\t\ttiles.clear();\r\n\t}", "title": "" }, { "docid": "42511c16bccac215f096912ee914a191", "score": "0.6635731", "text": "public void clean()\n\t{\n\t\tif(_levelGridTiles ...
df2a4ac5e3ecd457a6597456f79c25de
Sets (as xml) the "cpuCount" element
[ { "docid": "a44fede1de59d6341de4903e4ee7ca40", "score": "0.7699877", "text": "public void xsetCpuCount(org.apache.xmlbeans.XmlInt cpuCount)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlInt target = null;\n target = (org...
[ { "docid": "49acacc1738b921d099ee07f66344587", "score": "0.79250586", "text": "public void setCpuCount(int cpuCount)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.S...
850e191a934e152cc28c83ba17e654e1
Remove duplicate header, bring similar errors at the same location togther etc.
[ { "docid": "d56fb11aec4edaa5f5bd25b7eed9e939", "score": "0.0", "text": "public void prepareToDisplay() {\n\t\terrorCount = 0;\n\t\tfor (int i = 0; i < getSize(); i++) {\n\t\t\tAbstractErrorEntry element = getElementAt(i);\n\t\t\tif (element instanceof ErrorEntry) {\n\t\t\t\tErrorEntry e = (ErrorEntry) e...
[ { "docid": "52c1c7a79b6f44ff1218ac7efbe855b1", "score": "0.58275473", "text": "public void removeHeader(String name) {\n/* 1035 */ this.headers.removeHeader(name);\n/* */ }", "title": "" }, { "docid": "f5ebc1e794e0a0fd55acaf8728081e5c", "score": "0.5765598", "text": "publi...
70334506a29c90b85c44fcf69e66ec87
Creates context menu rightclicked on an argument(s).
[ { "docid": "5ca7c9f765ac84d2f0e67d8c46111110", "score": "0.5924328", "text": "private void createContextMenu() {\n\t\tMenuManager manager = new MenuManager();\n\t\tmanager.setRemoveAllWhenShown(true);\n\t\tMenu menu = manager.createContextMenu(tree.getControl());\n\t\ttree.getControl().setMenu(menu);\n\...
[ { "docid": "a89d93a402c0f97acb181910bd65873b", "score": "0.6794001", "text": "protected void makeContextMenu(ContextMenu contextMenu){\n }", "title": "" }, { "docid": "ba71ba6a49a1bee14250857e756caee3", "score": "0.6574317", "text": "public void buildContextMenu(ContextMenu menu, ...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "5f709e0facf752c2271303e32906db2c", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n final View v = inflater.inflate(R.layout.fragment_add_products, container, fal...
[ { "docid": "7e52f54a51b60b2d92de2945e07553d5", "score": "0.6759142", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_list_data_packet, container, f...
05e83ac2b303b61c4b4efc4d60caeaf0
this method iterates through each family in Hashtable families and adds up the number of individuals in total across all families
[ { "docid": "e5654a0ab2865f73845a5d5acc107cfc", "score": "0.74265915", "text": "public int getNumIndividuals(){\r\n Enumeration enum = this.families.elements();\r\n int total =0;\r\n while (enum.hasMoreElements()) {\r\n Family fam = (Family) enum.nextElement();\r\n ...
[ { "docid": "c263a8aa6df98947b1bde614be463a1f", "score": "0.6362346", "text": "int getFamilyCount();", "title": "" }, { "docid": "255df993e2d66aabc2de2d7a0a7b372a", "score": "0.62463003", "text": "public int getFamilyCount() {\n return family_.size();\n }", "title": "" }...
27adea84312e42447d95404574ecb555
Default implementation is using a unique instance for the checker. An alternative implementation consists in creating a new instance of the checker for each element to check. This allows for fine tuning of the check depending on the element status or on some external conditions. Use the 'new instance' strategy only if ...
[ { "docid": "b8102f6b5098aad834d07ad92de14d84", "score": "0.0", "text": "@objid (\"aa093b53-ac5a-44e5-bcec-a29baaf43724\")\n @Override\n public IControl getCreationControl(MObject element) {\n return null;\n }", "title": "" } ]
[ { "docid": "e711b677cfc50063cb94ce2f53c414f4", "score": "0.56026244", "text": "public static CheckingValidation getInstance() {\r\n\t\treturn INSTANCE;\r\n\t}", "title": "" }, { "docid": "49d33e62a82cb2fe75e5663679182c2e", "score": "0.5149095", "text": "@Test\n public void testUni...
56ee286670630d60b9af7b499d83ff64
Getter method for the table.
[ { "docid": "1d1c30698fb0e7657f250a549357de9d", "score": "0.0", "text": "public LinkedList<LinkedList<String[]>> getTables() {\n\t\treturn tables;\n\t}", "title": "" } ]
[ { "docid": "6b5e2ae7b04bf1ef7f924638ebd026ac", "score": "0.7711344", "text": "public Table getTable() { \n return table;\n }", "title": "" }, { "docid": "d0b40761fccb38e54c821d98d77f5e54", "score": "0.7560156", "text": "public TheTable theTable() {\n return theTable;...
2d8b43737fa32677604e4ad20f7892e8
if angle smaller than 0. angle substitutes 0.
[ { "docid": "1802ea5c5ff167c39196ca87c51b1b43", "score": "0.7180115", "text": "public void setAngle(int angle) {\n\t\tif(angle < 0) {\n\t\t\tangle = 0;\n\t\t}\n\t\t//if angle grater than 360, angle substitutes angle % 360.\n\t\tif(360 < angle) {\n\t\t\tangle = angle % 360;\n\t\t}\n\t\tthis.angle = angle;...
[ { "docid": "6b8d13c0c3088ef4e1f3f393ffe7adc9", "score": "0.76077855", "text": "private double correctAngle(final double angle) {\n if (angle < 0) {\n return Math.abs(angle);\n } else {\n return (Math.PI * 2) - angle;\n }\n }", "title": "" }, { "d...
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": "c22730e2110bf1946392a26ef46be8c9", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel1...
[ { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7394026", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "4d7bc4524...
025a5f848ecdb85341314aee04d481ee
Get method for struct member 'effector_weights'.
[ { "docid": "1c3a3567565e668fd6164cde89012c9a", "score": "0.6657798", "text": "public CPointer<EffectorWeights> getEffector_weights() throws IOException\n\t{\n\t\tlong __dna__targetAddress;\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__dna__targetAddress = __io__block.readLong(__io__address + 384);\n\t\t...
[ { "docid": "6d91804efb980d02e61f94a02b944522", "score": "0.61695194", "text": "public float getWeight();", "title": "" }, { "docid": "6d91804efb980d02e61f94a02b944522", "score": "0.61695194", "text": "public float getWeight();", "title": "" }, { "docid": "5c3cd7924b334f71...
4dc172d0614ed5c3e3d8fd7207ad50eb
Forward changes in calendar event list to agenda
[ { "docid": "3acf0cddc97402774ac859307b22dd1e", "score": "0.7407343", "text": "private void forwardChanges(ListChangeListener.Change<? extends CalendarEvent> c) {\n while (c.next()) {\n if (c.wasRemoved()) {\n for (CalendarEvent removedEvent : c.getRemoved()) {\n ...
[ { "docid": "7eaa4f218609719bd02a5aa14e4fcab8", "score": "0.62929523", "text": "private void onAddToCalendarSuccess() {\r\n database.eventDao().update(event);\r\n updateSpeedDialActionItems();\r\n showToast(getString(R.string.event_calendar_add_event_sucess), Toast.LENGTH_LONG);\r\n ...
d0a8bff305f87b4358f0e2c8c19bd310
/ webcontentlink = " Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(code)); startActivity(browserIntent); downloadFile(url);
[ { "docid": "ec763c8251dfff3ec5cc1b07ae7c4be3", "score": "0.6488377", "text": "@Override\n public void onClick(View v) {\n downloadFile(url);\n DownloadManager downloadManager = (DownloadManager)getContext().getSystemService(Context.DOWNLOAD_SERVICE);\n\n Uri uri = Uri.parse(url);\...
[ { "docid": "bc7b0395ba19b2ce4ca02ea88c239c37", "score": "0.7729575", "text": "public void download(AppComponent app) {\n\n Intent intent = new Intent();\n intent.setAction(\"android.intent.action.VIEW\");\n Uri content_url = Uri.parse(app.uri);\n intent.setData(content_url);\...
87f73b6fd9b006cf9f2148272c6e999d
Convert the given object to string with each line indented by 4 spaces (except the first line).
[ { "docid": "8279fe35d1f3c688ad6983974b78755b", "score": "0.0", "text": "private String toIndentedString(java.lang.Object o) {\n if (o == null) {\n return \"null\";\n }\n return o.toString().replace(\"\\n\", \"\\n \");\n }", "title": "" } ]
[ { "docid": "f4e311661defdd80d658738f950145b7", "score": "0.78847593", "text": "private String toIndentedString(Object object) {\n if (object == null) {\n return EndpointCentralConstants.NULL_STRING;\n }\n return object.toString().replace(EndpointCentralConstants.LINE_BREA...
8b81104b0429b3c7382aea284d7e3a6a
The constructor should first build the main layout, set the composition root and then do any custom initialization. The constructor will not be automatically regenerated by the visual editor.
[ { "docid": "54553a84592391a43d0baaddc6e73c13", "score": "0.0", "text": "public ventanaFirmaDigital() {\r\n\t\tbuildMainLayout();\r\n\t\tsetCompositionRoot(mainLayout);\r\n\t\t\r\n\t\tlabel_1 = new Label(\"<b><font color=\\\"003399\\\"><div style='font-size: 10px'><h1>Suba el archivo con su llave privada...
[ { "docid": "51652db43e335d29bed500b44a8561a4", "score": "0.7394982", "text": "public void init() {\n /** Instantiate GUI elements */\n contentPane = new MainContainer();\n\n /** Add GUI elements */\n setContentPane(contentPane);\n\n setVisible(true);\n\n }", "ti...
e36aa78ff74d3d5e4b9f9a745692974e
Hardcode music commands in FredBoatHangout. Blacklist any channel that isn't general or staff, but whitelist Frederikam
[ { "docid": "e8b1c8cee66bff68356baf30848f67a4", "score": "0.643098", "text": "private static boolean musicCommands(CommandContext context, Guild guild, Command invoked, TextChannel channel, Member invoker) {\n if ((invoked instanceof IMusicCommand || invoked instanceof AkinatorCommand) // the hate...
[ { "docid": "7f3606886e996e160107e29df35923c3", "score": "0.61040074", "text": "public void specialSong()\n {\n if(!mute)\n {\n try {\n \n bclip.stop();\n \n // Open an audio input stream.\n //URL url = this.getClass().getClassLoader().getResource(\"...