query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
296116b085bcfe25ffb88daf0d8cfa1b
record problem solving history.
[ { "docid": "21fd8cb20247810d660d186a51acece4", "score": "0.0", "text": "public void saveHist(String userId, String latin, Integer score, String tp) {\n if (StringUtils.isEmpty(latin)) return;\n User user = userRepository.findOne(userId);\n\n //유형별 분류. if가 최선인가?\n if (\"senten...
[ { "docid": "5e93e709ac44afa6f4e91fd158390c03", "score": "0.62580556", "text": "@Override\n\tpublic void recordSolution() {\n\t\t//Check wether every decisions variables have been instantiated\n\t\tassert(solver.checkSolution());\n\t\tsuper.recordSolution();\n\t\tif (LOGGER.isLoggable(Level.FINE)) {\n\t\...
98cebdc40771adf7bf39905e36b7ee4c
Sets the value of the messageIndex property.
[ { "docid": "0ef71a892fba89dd074e1a546d8081ce", "score": "0.86776906", "text": "public void setMessageIndex(int value) {\n this.messageIndex = value;\n }", "title": "" } ]
[ { "docid": "e69dce7ef0aa31986f0cf596049089bc", "score": "0.7864108", "text": "public void setMessage(final int index, final int message)\n {\n this.messages.set(index, message);\n }", "title": "" }, { "docid": "6c29f35962397cd9019ccbb8a5b5e22b", "score": "0.6760007", "te...
c2a45b167fc83d38cc342b8eb733421f
Test of valueOf method, of class Canton.
[ { "docid": "c5d59e9c1b9e36c35215ef3cafaab027", "score": "0.7970561", "text": "@Test\n public void testValueOf() {\n ApplicationInfo.info(\n CantonTest.class, ApplicationInfo.TEST, ApplicationInfo.UNIT_TEST, \"testValueOf\");\n String name = \"BE\";\n Canton expResu...
[ { "docid": "4af796c234b496f7536bc9dc79c09154", "score": "0.6594418", "text": "@Test\r\n public void testValueOf() {\r\n System.out.println(\"valueOf\");\r\n String string = \"\";\r\n Drinks expResult = null;\r\n assertEquals(expResult, null);\r\n }", "title": "" }...
7b2d98c38cecdf5261df2f0afc209972
Tests getProjectVersions(String, String). Checks method for failure. Passes invalid token.
[ { "docid": "ed8b7b80b51d7e959fea2079a5b55933", "score": "0.6917977", "text": "public void testGetProjectVersions_5() throws Exception {\r\n manager.createProject(securityToken, project, version, ComponentType.APPLICATION);\r\n try {\r\n manager.getProjectVersions(\"token\", proj...
[ { "docid": "2fbb78571fafbdc64d20029f58d0a08f", "score": "0.7085592", "text": "public void testGetProjectVersions_4() throws Exception {\r\n manager.createProject(securityToken, project, version, ComponentType.APPLICATION);\r\n try {\r\n manager.getProjectVersions(securityToken, ...
715e36388f66707baed5552a0746a1f6
byte[] array1 = new byte[1024 1024]; array1 = new byte[1024 1024]; array1 = new byte[1024 1024]; array1 = null; byte[] array2 = new byte[2 1024 1024];
[ { "docid": "792144675a09a7937c239e8afce1c8d2", "score": "0.0", "text": "public static void main(String[] args) {\n System.out.println(new Date());\n }", "title": "" } ]
[ { "docid": "3fc5da39c2f20f77680f2ebf6735bde9", "score": "0.7708492", "text": "public static void main(String[] args) {\n\n byte[] a = new byte[1024*1024];\n a = new byte[1024*1024];\n a = new byte[1024*1024];\n a = null;\n\n byte[] a2 = new byte[2*1024*1024];\n\n }"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "40929ecc85742d75f795fec40c237572", "score": "0.0", "text": "@Override\r\n\tpublic boolean supports(Class<?> obj) {\n\t\treturn Car.class.equals(obj);\r\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
535abadbed588f6792a4fe235e7a73e2
return the new object Id as String
[ { "docid": "b6519a5b682bc4f50a57fc1c814d8893", "score": "0.0", "text": "private static PstAbstractObject createCopy(PstManager mgr, PstAbstractObject obj, boolean bPrint)\r\n\t\tthrows PmpException\r\n\t{\r\n\t\t// create the same organization object and copy the attribute value\r\n\t\tPstAbstractObject...
[ { "docid": "d23c22c0bc3812a6d1804d89092b5aab", "score": "0.7870802", "text": "java.lang.String getObjectID();", "title": "" }, { "docid": "0566a6f2cf6efd6da1b41c59ed3fa645", "score": "0.7501538", "text": "java.lang.String getID();", "title": "" }, { "docid": "d781136ba761...
c1561d184cfea5560fe90a28f18a5d84
Generated method Setter of the YFormDefinition.content attribute.
[ { "docid": "2f7a63b72eddca2b5bd5e7d6e8b5dc4d", "score": "0.0", "text": "public void setContent(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, CONTENT,value);\n\t}", "title": "" } ]
[ { "docid": "fdd6d9c7995eb31f77aba2d3b87e0e4e", "score": "0.72518665", "text": "@Override\n\tpublic void setContent(String content) {\n\t\t\n\t}", "title": "" }, { "docid": "2ac26ef167e6592adb09f2e09d15efad", "score": "0.7096334", "text": "public void setContent(String content){\n ...
6895829c086b4e7ebcd8111cb0369a8f
configure Returns the auth port the server will listen on.
[ { "docid": "09b0ff30f9ae34e44ee82001ab8f1b3f", "score": "0.6414751", "text": "public int getAuthPort() {\n return m_AuthPort;\n }", "title": "" } ]
[ { "docid": "15649c672113b9c1a5435e3432648c21", "score": "0.6777147", "text": "int getListenPort();", "title": "" }, { "docid": "1dde54c1899706d79ce401dc91dec777", "score": "0.6745932", "text": "public int getAuthPort() {\n return this.authenticationPort;\n }", "title": ...
4b15263a62b528ea3f4c256a9a5c28d7
/ JADX WARNING: Removed duplicated region for block: B:17:0x005a A[LOOP:0: B:6:0x0029>B:17:0x005a, LOOP_END] / JADX WARNING: Removed duplicated region for block: B:19:0x0058 A[SYNTHETIC] / Code decompiled incorrectly, please refer to instructions dump.
[ { "docid": "26b3a53dceff3f883fd9da6b16d1be83", "score": "0.0", "text": "private final java.lang.reflect.Method tryGetMethod(java.lang.Class<?> r7, java.lang.String r8, java.lang.Class<?>[] r9, java.lang.Class<?> r10) {\n /*\n r6 = this;\n r0 = 0\n int r1 = r9.leng...
[ { "docid": "1a1fa847e7443a77e767561f70b63aab", "score": "0.6130079", "text": "void a(bu var1_1, f var2_2, Map var3_3, double var4_4, double var6_5) {\n block6 : {\n var14_6 = fj.z;\n var8_7 = M.b();\n var9_8 = var2_2.a();\n while (var9_8.f()) {\n ...
45cab552c64a6f56d19d46d0a025ac74
A method that call recursive sort
[ { "docid": "c23939d5510a047eed8d839882d655ea", "score": "0.0", "text": "@Override\n public void sort(Integer[] array) {\n ForkJoinPool forkJoinPool = new ForkJoinPool();\n forkJoinPool.invoke(new RecursiveQSort(array, 0, array.length - 1));\n }", "title": "" } ]
[ { "docid": "b55f4b79f9917427b8342127590aced4", "score": "0.71199656", "text": "private static void run(SortHolder holder, int recursion){\n\t\tif(recursion < recursionDepth){\n\t\t\t++recursion;\n\t\t\trun(holder, recursion);\n\t\t} else {\n\t\t\tQuickSort.sort(holder.arr1);\n\t\t\tMergeSort.sort(holder...
41e5251c288da9611004bf05ca199147
should i iniitalize this variable?
[ { "docid": "67d78bfd40a943b835f8816fcd74cfde", "score": "0.0", "text": "private static ArrayList<DataPoint> dataFromURL(String url) throws Exception {\n\t\tArrayList<DataPoint> MyList = new ArrayList<DataPoint>();\n\t\t// first check if the string is a valid url\n\t\tURL u = new URL(url);\n\t\t// create...
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6240082", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "c16c8d1ea4a8c8572e4aa91460503742", "score": "0.6107607", "text": "private void Initalization() {\n\t\t\n\t}", "title": "" }, { ...
b33329a34fdb72b7740b39d0ee4d9cd8
Reports the given error.
[ { "docid": "01444e837f14f062e36bba16e1b08c66", "score": "0.65036476", "text": "public void reportError(String message)\n {\n Object args[] = { getFilename(), new Integer(_lexer.getLine()), new Integer(_lexer.getColumn()), message };\n _logger.error(Loggers.fmt(\"PARSER_ERROR\", args), null)...
[ { "docid": "dfe35d0cfb599644a7b3d98deb63d6ed", "score": "0.73835343", "text": "public abstract void reportError(String p_message);", "title": "" }, { "docid": "6ed93c984baeb2830bbee4b51d99503c", "score": "0.6851504", "text": "public ExceptionReportNode error(Throwable exception);", ...
4ed11fc8e932112796929abe6054eb14
Checks if the date is provided in the correct format, throws an exception if wrong format is used.
[ { "docid": "076a2de1e92db4991f12f5a1d05daf52", "score": "0.74772465", "text": "private void checkDate(String date) throws Exception {\n if (date.charAt(0) != DATE_IDENTIFIER || date.charAt(1) != SINGLE_SPACE_CHARACTER) {\n throw new DeadlineCreationFormatNotFollowedException();\n ...
[ { "docid": "1c59ab4252dc021e4bb780d53ff6c8d8", "score": "0.71604174", "text": "public static boolean isValidFormat(String date) {\n try {\n FORMATTER.parse(date);\n } catch (DateTimeParseException e) {\n return false;\n }\n return true;\n }", "tit...
d5e632dffb18bb2b29c8e0dd6200fb7e
Sets the vmName value for this PowerOnFtSecondaryFailed.
[ { "docid": "35e32a2389e197661c09aff62c303e07", "score": "0.6432895", "text": "public void setVmName(java.lang.String vmName) {\r\n this.vmName = vmName;\r\n }", "title": "" } ]
[ { "docid": "17995e1c8bdb95931430bbc1cd7d6714", "score": "0.51894104", "text": "public java.lang.String getVmName() {\r\n return vmName;\r\n }", "title": "" }, { "docid": "17995e1c8bdb95931430bbc1cd7d6714", "score": "0.51894104", "text": "public java.lang.String getVmName() ...
db548db18ddce643078208a77b385a38
GENLAST:event_jButton9MouseClicked Ventana Nave Tripulada
[ { "docid": "ca61f12368fde13d4480a710443eed1e", "score": "0.0", "text": "private void jButton10MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton10MouseClicked\n ventana_naves_tripulada.pack();\n ventana_naves_tripulada.setLocationRelativeTo(this);\n ventana_naves...
[ { "docid": "f394c8b0f0944627186f2bc32b2cbecb", "score": "0.75734746", "text": "private void jButton1MouseClicked(MouseEvent evt) {\n }", "title": "" }, { "docid": "4afb6c18fccac8a3843d9fc02e2ac8f4", "score": "0.74663895", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEve...
8907951f896a1ccd54a3bbc95e900231
check all three lists check all three lists
[ { "docid": "26866fa27698e0c2547b2321cafece5c", "score": "0.0", "text": "public boolean isInAlliance4 (String robotNumberString) {\n // check all three lists\n for (Text t : alliance4TextList) {\n if (t.getText().toString().equalsIgnoreCase(robotNumberString)) {\n ...
[ { "docid": "4e2a8b748c9e40b015d3b84099c35719", "score": "0.6457161", "text": "@Test\n\tpublic void test() {\n\t\tList<Integer> listA = new ArrayList<>();\n\t\tList<Integer> listB = new ArrayList<>();\n\t\tList<Integer> listC = new ArrayList<>();\n\t\t\n\t\tlistA.add(1);listA.add(2);listA.add(3);\n\t\tli...
d91fd6e220b295bb5a7d072fa8c07f5a
This is the setter method to the attribute. Enable fine granularity. Field deprecated in 20.1.1. Field introduced in 18.2.5.
[ { "docid": "0f4fe70cb2a5d36423cc2b6ff6101b68", "score": "0.5470373", "text": "public void setFineGrain(Boolean fineGrain) {\n this.fineGrain = fineGrain;\n }", "title": "" } ]
[ { "docid": "07c335abbc6a8343916b3182982d5d45", "score": "0.5790244", "text": "public void setAtten(Attenuation atten) {this.attenuation = atten;}", "title": "" }, { "docid": "f8e5e0ea287594158477d020c25f4367", "score": "0.5769256", "text": "@Override\n\tpublic void setUgly(boolean ne...
c26e382704d113f8f7ba639687a76a9e
The user labels applied to a resource must meet the following requirements: Each resource can have multiple labels, up to a maximum of 64. Each label must be a keyvalue pair. Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum lengt...
[ { "docid": "7956d217db110074e5710688f1b017c9", "score": "0.64444", "text": "@java.lang.Override\n public java.lang.String getUserLabelsOrThrow(java.lang.String key) {\n if (key == null) {\n throw new NullPointerException(\"map key\");\n }\n java.util.Map<java.lang.String, java.l...
[ { "docid": "9aa4f64c17226b038302e431f61b0c20", "score": "0.67132246", "text": "public Builder putUserLabels(java.lang.String key, java.lang.String value) {\n if (key == null) {\n throw new NullPointerException(\"map key\");\n }\n if (value == null) {\n throw new NullPointerE...
edb93d43712e8b2af79ef956ed181e97
/ Checks if external storage is available for read and write
[ { "docid": "8f9f9cbce7596d50fa3b2b8cfca035fc", "score": "0.73540556", "text": "public boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n...
[ { "docid": "01815e94aab0ac0a7ae5e5a75d60bfba", "score": "0.79755485", "text": "private void checkExternalMedia(){\n\n String state = Environment.getExternalStorageState();\n\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n // Can read and write the media\n mExternal...
287327d57f57e6ad0cbdfdc47ca4ce96
Sets the "curveExtend3D" element
[ { "docid": "c9862cff60f55d74b4b3c3130cb3d544", "score": "0.82175577", "text": "public void setCurveExtend3D(net.opengis.gml.x32.SolidPropertyType curveExtend3D)\n {\n synchronized (monitor())\n {\n check_orphaned();\n net.opengis.gml.x32.SolidPropertyType target = ...
[ { "docid": "310bc02c74bfcc94674476d33bfb5168", "score": "0.68625224", "text": "public net.opengis.gml.x32.SolidPropertyType addNewCurveExtend3D()\n {\n synchronized (monitor())\n {\n check_orphaned();\n net.opengis.gml.x32.SolidPropertyType target = null;\n ...
12b3a430b0975a1f6520a58f8f27e80b
True if the listener is to print information after each extension event.
[ { "docid": "2b70db2d8461db9844dbf90e6aff66b3", "score": "0.0", "text": "public boolean getExtension() {\n return extension;\n }", "title": "" } ]
[ { "docid": "4393a07854962d56f27a16a8f32a08c0", "score": "0.5935392", "text": "boolean hasListeners();", "title": "" }, { "docid": "6e8ad78c2ace4b7492ca689d813f4c85", "score": "0.57823485", "text": "private static void hasEventProcessed(boolean processed) {\n\t\tSystem.out.println(\"T...
d2eb6a589572fbd7e1b3b844b2de1bb0
Get the top element.
[ { "docid": "3b6f77b51d2389d6e2b75a5fcea721df", "score": "0.6795726", "text": "public int top() {\n return queue.peekLast();\n }", "title": "" } ]
[ { "docid": "4347284c81706c71c2e879883afb3690", "score": "0.8335419", "text": "public int top() {\n return topElem;\n }", "title": "" }, { "docid": "fd7dc1c42b5ac270d4e85bed8286fcfd", "score": "0.79350287", "text": "public E top() {\n return !isEmpty() ? head....
35b5d93735b5f61b2090c5ca477d7ac1
/ GETTERS AND SETTERS
[ { "docid": "56647031282707403cb5cad08224e192", "score": "0.0", "text": "public long getDogId() {\n return dogId;\n }", "title": "" } ]
[ { "docid": "52738d229d8bf6ec84e3f71bc5ad16e0", "score": "0.68607354", "text": "@Override\r\npublic void set() {\n\t\r\n}", "title": "" }, { "docid": "211a3b19a691e4d00de98f5647b802a8", "score": "0.643018", "text": "private void setValues() {\n\t\t\r\n\t}", "title": "" }, { ...
e7042fb49df0a7e6a96a32d953a5cadb
I1 V5 X10 L50 C100 D500 M1000
[ { "docid": "d13493b95fbdebe85bc12440fccf776f", "score": "0.0", "text": "public int romanToInt(String s) {\n char[] roman = s.toCharArray();\n int result = 0;\n \n for (int i = 0; i < roman.length; i++){\n if (i == roman.length - 1){\n result = result...
[ { "docid": "88bbc5531e719a312899da5a2ce2cc93", "score": "0.6249346", "text": "@Data(size=4, value=\"0002\")\n IString x2ViaCaderneta() ;", "title": "" }, { "docid": "eac90c3c8517946d8b8dbe9f350832e6", "score": "0.59710383", "text": "@Data(size=4, value=\"HVB6\")\n IStri...
f2548270eed17ccd6e42eef2dafead82
To create menu on inflater
[ { "docid": "c06037b2c4bfb81035eac7440f360d88", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_home, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "e04467fd327109d3b0762ba3d715bf93", "score": "0.7561683", "text": "@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.article_detail_menu, menu);\n \t}", "title": "" }, { "docid": "57b68e1780727c3bab42ba55741105f1", ...
b5f0cbf54baf970da1e1e9bac16f9409
optional .ohmdb.flease.BallotNumber k = 4; Ballot number, aka 'k' in Algorithm 1. Used by READ and WRITE messages
[ { "docid": "00129ad4281100a311245fb8a7c6d252", "score": "0.5749313", "text": "public Builder mergeK(ohmdb.flease.Flease.BallotNumber value) {\n if (kBuilder_ == null) {\n if (((bitField0_ & 0x00000004) == 0x00000004) &&\n k_ != ohmdb.flease.Flease.BallotNumber.getDefaultInst...
[ { "docid": "03bbbe895e705fb0b2333bf75ac54dd8", "score": "0.7391813", "text": "ohmdb.flease.Flease.BallotNumber getK();", "title": "" }, { "docid": "03bbbe895e705fb0b2333bf75ac54dd8", "score": "0.7391813", "text": "ohmdb.flease.Flease.BallotNumber getK();", "title": "" }, { ...
bade21921104b0c0e8a08253b8bb94a2
This method was generated by MyBatis Generator. This method corresponds to the database table t_ctr_meeting
[ { "docid": "3fe42a3ed83a744b832557240127258e", "score": "0.0", "text": "int updateByPrimaryKeySelective(Meeting record);", "title": "" } ]
[ { "docid": "fcd554fd6ffee8ada11f3f187cf9af10", "score": "0.5612996", "text": "Meeting selectByPrimaryKey(String id);", "title": "" }, { "docid": "e21f16c3e565ad582d24f845afc802f3", "score": "0.55850106", "text": "@Override\n\tpublic int selectJoinMeetingList(Map map) {\n\t\treturn da...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d194185826bf4c612075126aa6c70c66", "score": "0.0", "text": "@Override\n\tpublic String getNameById(String userId) {\n\t\tString name=null;\n\t\ttry {\n\t\t\tname=(String) client.queryForObject(\"teacherMapper.getNameById\", userId);\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generat...
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
ce3ba93c9f329b4195cdef623aec0098
A string that gives context to the text string. For example, the text string read is valid. However, if you set postContextText to carpet, the context changes and the text string becomes not valid. In this case, the API suggests that you change read to red (as in red carpet). This text is not checked for grammar or spe...
[ { "docid": "ab815f4781c0503c352c7ad2d7030a51", "score": "0.49875456", "text": "BingSpellCheckOperationsSpellCheckerDefinitionStages.WithExecute withPostContextText(String postContextText);", "title": "" } ]
[ { "docid": "359f684ce59cbf70e9dda48a88789ce5", "score": "0.54281104", "text": "java.lang.String getContext();", "title": "" }, { "docid": "0ad436d7ea351e8b184c9f1a3778b2c1", "score": "0.5361062", "text": "public QuestionText(String text, QuestionTextFormat questionTextFormat) {\n\t\t...
7b6052baea86a48524cd6b6a2f78cc8a
Returns date of the record
[ { "docid": "8a8209981c2afe5a8c0a5768ef070235", "score": "0.0", "text": "public Date getDate()\n\t{\n\t\treturn cabDate;\n\t}", "title": "" } ]
[ { "docid": "8378f564991bbea1d67b26dd3125e6f8", "score": "0.8272256", "text": "public Date getRecord_date(){\n\t\treturn this.record_date ;\n\t}", "title": "" }, { "docid": "3432d6f4ab0820443fa8c8f5df6e8ea0", "score": "0.75131804", "text": "java.lang.String getDate();", "title": "...
ccf4bccf581db2fd2b11107c2307831c
avalia os resultados do JMetal
[ { "docid": "70276efb306a8a69ac554b56d06953cf", "score": "0.0", "text": "@SuppressWarnings(\"resource\")\r\n\tpublic static ArrayList<Rule> deciferResults(String rules_path) throws FileNotFoundException {\r\n\t\t//-------------------------------------------------------------------------------------------...
[ { "docid": "767e06fbee980968cb550a8c5d90228b", "score": "0.6058414", "text": "Object getResults() throws DataStoreException;", "title": "" }, { "docid": "09f315533a3799b98a2c097cd9313a3c", "score": "0.6044536", "text": "public CjtResultados(){\n raiz = null;\n numNodes ...
31a9a22638d64f5983bbb25452caf66a
Mouse Click listener used for setting player movement.
[ { "docid": "a256ef33844e356896ba45a256a1deb2", "score": "0.6348681", "text": "public void mouseClicked(MouseEvent e){\n\n //If human player's turn to choose movement & not in a hall.\n if(canMove && humanTurn) {\n Rooms clicked = roomClicked(e.getPoint());\n\n //If po...
[ { "docid": "6e4e12ed3f6bf905c46b4423708d89e1", "score": "0.6871634", "text": "@Override\n\tpublic void mousePressed(MouseEvent e) {\n\t\tclickedX=e.getX();\n\t\tclickedY=e.getY()-24;\n\t\tif(currentState==GAME_STATE) {\n\t\t\tmanager.activatePower();\n\t\t}\n\t\t\n\t\tif(currentState==MENU_STATE&&clicky...
5d2333e828d5def1aa42cb730d57eac6
Show 3 total pages.
[ { "docid": "16060029f737d8fc4884531ef9412d10", "score": "0.0", "text": "@Override\n public int getCount() {\n return 3;\n }", "title": "" } ]
[ { "docid": "5609d52c039cdad4a69dbb5bbfe1419a", "score": "0.7512089", "text": "@Override\n\t\tpublic int getCount() \n\t\t{\n\t\t\t// Show 3 total pages.\n\t\t\treturn 3;\n\t\t}", "title": "" }, { "docid": "043a4fb5fc4960a9cf7eef82ce87505a", "score": "0.66175514", "text": "public int ...
d454f31ca20e24453dfb9a853bb53d98
Convenience method so you can run it in your IDE
[ { "docid": "bc19323d42b08d02d9ebaea15cfe54fa", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tfinal Vertx vertx = Vertx.vertx();\n\t\tvertx.deployVerticle(new Server());\n\t}", "title": "" } ]
[ { "docid": "1f8492fb2927724df47f91ee1bec85fe", "score": "0.69859165", "text": "public static void main(String[] args) // unit testing (optional)\n {\n }", "title": "" }, { "docid": "2d9c2ac69aa8ed15f68fd1fd0c056c62", "score": "0.6942851", "text": "public static void main(String...
b23ee2ebff29c84752a0a20f9171d39b
get canReportBufferFillWarning of type Bit.
[ { "docid": "f06cfba81f11a852c1db86e6fc4909d9", "score": "0.8666645", "text": "public Bit getCanReportBufferFillWarning() {\n return this.canReportBufferFillWarning;\n }", "title": "" } ]
[ { "docid": "19261bb068800caab24b348f6bafb24e", "score": "0.75973636", "text": "public void setCanReportBufferFillWarning(\n final Bit canReportBufferFillWarning) {\n this.canReportBufferFillWarning = canReportBufferFillWarning;\n }", "title": "" }, { "docid": "b11f557955f806...
63fc76b6a99d54ebe527581824106235
Method which creates a new InvalidNumberException with error message the String that is given as parameter.
[ { "docid": "7947beaccc398d01dfebeb5da34a44fb", "score": "0.7209431", "text": "public InvalidNumberException( String detailMessage ) {\n\t\tsuper( detailMessage );\n\t}", "title": "" } ]
[ { "docid": "9c4e8a9f937a437229f2c37ccaa6bf82", "score": "0.7467082", "text": "public InvalidNumberException() {\n\t\tthis( \"Error: Invalid Number. Cannot convert this number to a character.\" );\n\t}", "title": "" }, { "docid": "75d8787d7753bb85859ae8b84b3bbbfb", "score": "0.7129755", ...
75dfb271e653f96d166ec58b7cec7e45
required string content = 2;
[ { "docid": "f5265325d319bf2aa541758f6ea369b8", "score": "0.0", "text": "public Builder setContentBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n content_ = value;\n on...
[ { "docid": "9cc92a5b6c683eb1cdd6e6326e4122d0", "score": "0.621193", "text": "String getContent();", "title": "" }, { "docid": "9cc92a5b6c683eb1cdd6e6326e4122d0", "score": "0.621193", "text": "String getContent();", "title": "" }, { "docid": "e9fad3361c0f5c59a7834172ab65a0...
fe612876bccccb8019edb00d423968c7
Builds the URL used to return the Movie poster
[ { "docid": "1013df517fbdc091a357bb4f2041df50", "score": "0.5783158", "text": "static URL buildImageUrl(String imageFile) {\n Uri builtUri = Uri.parse(POSTER_BASE_URL).buildUpon()\n .appendPath(POSTER_SIZE)\n .appendPath(imageFile)\n .build();\n\n ...
[ { "docid": "5e27c40ae2eb4ba7d38caada9e4ece2d", "score": "0.7223171", "text": "public static String buildMoviePosterPath(String posterPath){\n\n /*\n * For some reason the poster path is prefixed with '/'\n * so we need to get rid of it in order to build the URI in the correct form...
44982b6de274f041a3bb7b33a5a4caae
Constructor used when dies in incubating (Exposed = E) stage
[ { "docid": "a011965522e463d6aa603ac842614953", "score": "0.0", "text": "public CaseOutcomes(){\n this.nAbandonments = 0;\n this.nBitesE = 0;\n this.nBitesV = 0;\n this.nTransmissions = 0;\n this.nFailedTransmissions = 0;\n this.nReinfections = 0;\n this.d...
[ { "docid": "a50e225049de5302e22a2a0c0cc041a3", "score": "0.6879007", "text": "protected abstract void construct();", "title": "" }, { "docid": "a50e225049de5302e22a2a0c0cc041a3", "score": "0.6879007", "text": "protected abstract void construct();", "title": "" }, { "docid...
23a81d5e919444f0d006dd492538074a
Tests the logout method in RegistrationManager
[ { "docid": "f5f5a9c538d5a6c1d9a2104a2733e872", "score": "0.76616144", "text": "@Test\n\tpublic void testLogout() {\n\t\tmanager.clearData();\n\t\tmanager.logout();\n\t\tString pass = \"pw\";\n\t\tmanager.getStudentDirectory().addStudent(FIRST_NAME, LAST_NAME, ID, EMAIL, pass, pass, STUDENT_CREDITS);\n\t...
[ { "docid": "d3f93d35749f8e79fda2a07801c01b8f", "score": "0.81583536", "text": "@Test\r\n public void logoutAfterRegisterTest () {\r\n /**\r\n * Logs out a user.\r\n * Gets called when a user wants to log out, or a session has expired.\r\n * @param klant\r\n...
115f83027294a2f2fe273460b7870b99
A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 1;
[ { "docid": "481df228bea7d7ba918e8b05af219cbd", "score": "0.0", "text": "public Builder clearSelector() {\n if (selectorBuilder_ == null) {\n selector_ = null;\n onChanged();\n } else {\n selectorBuilder_.clear();\n }\n bitField0_ = (bitField0_ & ~0x...
[ { "docid": "089e4ff22082cc9cedf6e0a8a129e922", "score": "0.6981504", "text": "io.kubernetes.client.proto.Meta.LabelSelector getSelector();", "title": "" }, { "docid": "089e4ff22082cc9cedf6e0a8a129e922", "score": "0.6981504", "text": "io.kubernetes.client.proto.Meta.LabelSelector getS...
d5859592fbe62b82f2346755b711bf6e
Implementation of Menu class's abstract method; adds the necessary JMenuItems
[ { "docid": "e4ca390d723e2b9994b3a9e9035c7377", "score": "0.64671785", "text": "public ArrayList<JMenuItem> createMenuItems()\r\n\t{\t\r\n\t\tmapDependentItems = new ArrayList<JMenuItem>();\r\n\t\t\r\n\t\t// Get a reference to the main MapperFrame\r\n\t\tparentFrame = getParentFrame();\r\n\t\tsaveMapItem...
[ { "docid": "205ff7c457e71303d5767a81b45ffdc9", "score": "0.8361082", "text": "protected void addMenuItems() {}", "title": "" }, { "docid": "de2c676aa4823d2e63af0c61d7de0053", "score": "0.7482173", "text": "protected abstract void createMenus();", "title": "" }, { "docid":...
d707dbf62a1fe972c36da921867e13c3
$ANTLR end "rule__TestOP__Group_4_1__2__Impl" $ANTLR start "rule__Operation__Group__0" InternalMappingAssistance.g:3327:1: rule__Operation__Group__0 : rule__Operation__Group__0__Impl rule__Operation__Group__1 ;
[ { "docid": "8e248dbfbe10f3449035888e160220e3", "score": "0.76870024", "text": "public final void rule__Operation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingAssistance.g:3331:1: ( rule__Operation__Gro...
[ { "docid": "0f310edb738d79174365065bce668794", "score": "0.7755832", "text": "public final void rule__Operation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMappingDsl.g:13862:1: ( rule__Operation__Group__0__...
219dafa7a380fa99dd1061a308712921
$ANTLR end "LONG_TYPE" $ANTLR start "STATIC"
[ { "docid": "509947f18c40308d71d70eca68bc848e", "score": "0.4837314", "text": "public final void mSTATIC() throws RecognitionException {\n\t\ttry {\n\t\t\tint _type = STATIC;\n\t\t\tint _channel = DEFAULT_TOKEN_CHANNEL;\n\t\t\t// mylexer.g:17:11: ( 'static' )\n\t\t\t// mylexer.g:17:13: 'static'\n\t\t\t{\...
[ { "docid": "662ecd9ddf5f37523fc4c6bcec1768cd", "score": "0.60266584", "text": "@Mapping(\"FUNCTION('TREAT_LONG', \" + 0x80000000L + \"L + 1)\")\n public Long getStaticLong();", "title": "" }, { "docid": "ddf2a073125de564febb7ea821b2dcc5", "score": "0.60019207", "text": "public fin...
5f7498321f2ca3d01ba96f103c252510
Method generated by IntelliJ IDEA GUI Designer >>> IMPORTANT!! <<< DO NOT edit this method OR call it in your code!
[ { "docid": "9692b9ec11713bae1ff23695a432dde1", "score": "0.0", "text": "private void $$$setupUI$$$() {\n\t\tcontentPane = new JPanel();\n\t\tcontentPane.setLayout(new GridLayoutManager(2, 1, new Insets(10, 10, 10, 10), -1, -1));\n\t\tfinal JPanel panel1 = new JPanel();\n\t\tpanel1.setLayout(new GridLayo...
[ { "docid": "1644630139841d08933329ab512e8a61", "score": "0.69449884", "text": "@Override\n\tprotected void UpdateUI() {\n\t\t\n\t}", "title": "" }, { "docid": "5311a0b14ec52a900955a9f86c316938", "score": "0.6705584", "text": "@Override\r\n public void initGui() {\n super.initGui(...
3b36c245bae2825403ace53105049ef2
tester le cas de paiement d'une intention sans indiquer le mode paiement.
[ { "docid": "2f2615b967381b0c9c6e11ed9a970e91", "score": "0.621548", "text": "@Test\r\n\t@DatabaseSetup(value = { \"/dataset/emptyDB.xml\", \"/dataset/payer-intention.xml\" })\r\n\tpublic void testerPayerIntentionPaiementAvecPaiementInfoSansModePaiement() {\r\n\t\ttry {\r\n\t\t\tPaiementInfoComptant paie...
[ { "docid": "0a2a0af432042ca8f2899164f7f929cd", "score": "0.63091505", "text": "protected void testInteractionMontee() throws TecException {\n\tPassagerAbstrait p = (PassagerAbstrait) creerPassager(\"yyy\", 5);\n\t\n\tFauxVehicule faux = new FauxVehicule(FauxVehicule.PLEIN);\n\tp.monterDans(faux);\n\n\ta...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3034b962b131bd76de30296b11b1808d", "score": "0.0", "text": "public static void main(String[] args) {\n\t\trunOutOfMemory();\r\n\t\tint size = Integer.MAX_VALUE;\r\n\t\tSet<Object> m = new HashSet<>();\r\n\t\t\ttry {\r\n\t\t\t\tbyte[] bytes = new byte[size];\r\n\t\t\tm.add(bytes);\r\n\t\t\tSy...
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
880eb0f03b592eeaa14b513888305f18
Description : This service for creating new taxRate(s)
[ { "docid": "958e06afe19e44fb1f96dcbea5d041fc", "score": "0.7670193", "text": "public TaxRatesResponse createTaxRate(String tenantId, TaxRatesRequest taxRatesRequest) throws Exception;", "title": "" } ]
[ { "docid": "2cf1044043cafe4a5d2eb38e0bf7a57c", "score": "0.64744043", "text": "com.hps.july.persistence.RateType create(int argRatetype) throws javax.ejb.CreateException, java.rmi.RemoteException;", "title": "" }, { "docid": "020c1e063cfd46f0f2bed4ba50677055", "score": "0.63114846", ...
099e4fb1e61f80de7253bd44edadc402
/return MoreObjects.toStringHelper(this) .add("Make", this.getMake()) .add("Number", this.getNumber()) .add("Color", this.getColor()) .toString();
[ { "docid": "270a4cc95189fdea0508dd044e734cad", "score": "0.81910425", "text": "@Override\n public String toString() {\n return getMake() + \", \" + getNumber() + \", \" + getColor();\n }", "title": "" } ]
[ { "docid": "04a67de50faf836531a9384f15dd7a8f", "score": "0.784711", "text": "public String toString() {\n\t\treturn(\"Make: \" + this.make + '\\n' + \"Model: \" + this.model + '\\n' + \"Year: \" + this.year + '\\n' + \"Price: \" + this.price);\n\t}", "title": "" }, { "docid": "b7fd6ba28d41...
2e88097cd031d19cecb5f70540514d7b
Shows a text field specifically for an InHouse part
[ { "docid": "0fafb794b45a7315322409dbc3d85ea5", "score": "0.7240811", "text": "public void showInHouseField() {\n optionalRowLabel.setText(\"Machine ID\");\n optionalRowLabel.setVisible(true);\n optionalRowTextfield.setVisible(true);\n inHousePart = true;\n }", "title":...
[ { "docid": "b0894c67ffab709b1caedbf09246cce7", "score": "0.6611838", "text": "public void showOutsourcedField() {\n optionalRowLabel.setText(\"Company Name\");\n optionalRowLabel.setVisible(true);\n optionalRowTextfield.setVisible(true);\n inHousePart = false;\n }", "t...
c97b62d0831fd1069ae9ca1513cc1138
Express the Regexp above with the code you wish you had
[ { "docid": "42940661b3f984585bb6df28978a84e1", "score": "0.0", "text": "@Then(\"^user gets an option to create repository$\")\n\tpublic void user_gets_an_option_to_create_repository() {\n\t \n\t}", "title": "" } ]
[ { "docid": "352906097c426d2729a16907e3676139", "score": "0.6456313", "text": "java.lang.String getMatchregexp();", "title": "" }, { "docid": "4c5f219972de93519e230243c4f736d3", "score": "0.63294667", "text": "private RegexHelper() { }", "title": "" }, { "docid": "f6ffc25a...
43328dc63d91821dad48e462b8ff3b30
question, lower, upper bounds (less than inclusive)
[ { "docid": "15c3ab27843528868273449ad9066372", "score": "0.641896", "text": "public boolean inBounds(short q, short l, short u) {\n if (q >= l && q < u) {\n return true;\n } else {\n return false;\n }\n }", "title": "" } ]
[ { "docid": "856f0d0c2b9ad88278dfed0f11810125", "score": "0.68849874", "text": "RangeCheck(double upper, double lower, int limit)\n {\n upperLimit = upper;\n lowerLimit = lower;\n lengthLimit = limit;\n }", "title": "" }, { "docid": "cc6693611be323a701e85107b3297660...
372328fede72462eec96d180090c235b
TODO fix addToBasket method below!!
[ { "docid": "1711a1fc460d45fde3c64b4c7ef31c95", "score": "0.6008885", "text": "@RequestMapping(method = RequestMethod.POST, value=\"/products/{name}/addtobasket\")\n public void addToBasket (@RequestBody Products product) {\n productsService.addProductToInProcessBasket(product);\n }", "t...
[ { "docid": "98f52fa059cd7c6f66688744d18cca0f", "score": "0.74102616", "text": "public void addItem(ShoppingBasketItem item);", "title": "" }, { "docid": "f0358c9b92c9495bc1416bd56e66775b", "score": "0.7139499", "text": "public void createBasket(int id) {\n basketService.addToB...
13381f8270c71b654b3b144318cfc174
Get all the shoppingSessionRefs.
[ { "docid": "95d1895531ee7051b28f13c125c44d2a", "score": "0.69098544", "text": "List<ShoppingSessionRefDTO> findAll();", "title": "" } ]
[ { "docid": "71ff2bd53b6c13b30639c28a6caf0054", "score": "0.6629474", "text": "public List<DependencyFacade> getSessionObjectReferences();", "title": "" }, { "docid": "6ce945bc90fd5f3a8fee8541a7661eed", "score": "0.61280054", "text": "@Transactional\n\tpublic List<Session> getAllSessi...
0e71ff7d6941aceaed9800de4f3fa19b
Returns whether this status indicates everything is okay (neither info, warning, nor error).
[ { "docid": "8d3f7b9cfb70398a433003fcf8616cb3", "score": "0.6150492", "text": "public boolean isOK();", "title": "" } ]
[ { "docid": "e0894590d07337a18ba79bcdd6de6996", "score": "0.70188075", "text": "public boolean isOk() {\n return errors.isEmpty();\n }", "title": "" }, { "docid": "c1ce366d3f9982965359aa03f4c6b9c2", "score": "0.6664584", "text": "public boolean isOK()\r\n\t{\r\n\t\treturn !e...
ebdd3226787d6426668aa12e52866b10
Get all values of property QualifiedStart as a ReactorResult of RDF2Go nodes
[ { "docid": "4a5a4441b08ebbf12536bc60026447cd", "score": "0.713553", "text": "public ReactorResult<org.ontoware.rdf2go.model.node.Node> getAllQualifiedStart_asNode_() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), QUALIFIEDSTART, org.ontoware.rdf2go.model.node.Node.class);\r\n\t}", "t...
[ { "docid": "13fdd4fe077ab9c1896f9db7110546d7", "score": "0.6891209", "text": "public ClosableIterator<org.ontoware.rdf2go.model.node.Node> getAllQualifiedStart_asNode() {\r\n\t\treturn Base.getAll_asNode(this.model, this.getResource(), QUALIFIEDSTART);\r\n\t}", "title": "" }, { "docid": "a99...
4d1ff020527614a9f1dbaeb9c9327598
Returns a new transformed Shape.
[ { "docid": "fa88257a7a557764247f5ffb6e87381c", "score": "0.75320244", "text": "public synchronized Shape createTransformedShape(AffineTransform at) {\n return path.createTransformedShape(at);\n }", "title": "" } ]
[ { "docid": "02d6cf68c643f7bcca594e3dfd7b8dc1", "score": "0.6723338", "text": "protected Shape getLocallyTransformedShape () {\n Shape dShape = getShape();\n AffineTransform at = new AffineTransform();\n if (centered) {\n // Position Shape centered on xLoc/yLoc in inches (x from lef...
b53dbee09265c10a5044c764d66b30cc
Indicates a search should be executed via an API utils search.
[ { "docid": "1a55ade1c955959519159f53acdb3ba5", "score": "0.0", "text": "public boolean isApiUtil()\r\n {\r\n return apiUtil;\r\n }", "title": "" } ]
[ { "docid": "1bf206c4a3587c571042717ca5064ab0", "score": "0.6646628", "text": "public boolean isSearchEnabledGlobally();", "title": "" }, { "docid": "bb346146db46311403ac556e5605eade", "score": "0.6522015", "text": "SearchResult search(SearchParam searchParam);", "title": "" }, ...
3e1d5e8d3148643cff16c3985ed12e35
Search for data in Serie table
[ { "docid": "587190aedf10f9209617c5c12092e22b", "score": "0.63534695", "text": "List<Serie> searchSerie(String uString);", "title": "" } ]
[ { "docid": "412b309e02e50f22c8faa72ef7271c67", "score": "0.6832254", "text": "Set<CalorieDatum> searchSportsCalorieTable(String keyword);", "title": "" }, { "docid": "e673419ebd9bcd8672d8d7e8e825a2d1", "score": "0.6694455", "text": "Set<CalorieDatum> searchFoodCalorieTable(String key...
ff54270920b7d104f9292eb6979c2084
Interface to C language function: void density(float P, float TVIR, int NLVLS, float RHO);
[ { "docid": "b2fa684625d137952e343075f1bd419a", "score": "0.68950325", "text": "public static void density(float[] P, int P_offset, float[] TVIR, int TVIR_offset, int[] NLVLS, int NLVLS_offset, float[] RHO, int RHO_offset)\n {\n if(P != null && P.length <= P_offset)\n throw new RuntimeException(...
[ { "docid": "f3f9ea4aaa740827b87ecd424a55ce63", "score": "0.793413", "text": "private static native void density1(Object P, int P_byte_offset, Object TVIR, int TVIR_byte_offset, Object NLVLS, int NLVLS_byte_offset, Object RHO, int RHO_byte_offset);", "title": "" }, { "docid": "4c8d467d186a18f...
b885d8bde0bf5b4889c0b67122e9736b
Methods: / Description: gets the total number of yards ran by all of the athletes Input: Athlete [] athletes Output: int total number of yards Side Effect: none
[ { "docid": "2838e64d9b5446268bb4dc388fe0d1b7", "score": "0.8780529", "text": "public int getTotalYards(Athlete[] athletes) {\n\t\tint sum = 0;\n\t\tfor (int i = 0; i < athletes.length; i++) {\n\t\t\tathletes[i].getYardsRan();\n\t\t\tsum += athletes[i].getYardsRan();\n\t\t}\n\t\treturn sum;\n\t}", "t...
[ { "docid": "25a776ea2bb47a41a7c56a10449c6daa", "score": "0.7480279", "text": "public double getAverageYards(Athlete[] athletes) {\n\t\tint total = getTotalYards(athletes);\n\t\treturn (double) total / athletes.length;\n\t}", "title": "" }, { "docid": "d8f6a49105754b0705c305f972969ee7", "...
336bda06f76c1df55d810d068e15ab15
Test for required postions to place ship on board
[ { "docid": "47e96fcc00a936d440c4defca75001ff", "score": "0.57646155", "text": "@Test(dataProvider = \"positionToCheckProvider\")\n public void positionToCheckTest(Board board,BoardHelper boardHelper,Ship ship,int position,Direction direction,List<Integer> expectedPositionsToCheck){\n List<Inte...
[ { "docid": "67345266529d58517dc41130960eeb60", "score": "0.7093935", "text": "private boolean checkShipPlacement(int startColumn, int startRow, int endColumn,\r\n\t\t\tint endRow) {\r\n\t\t// Do a check first\r\n\t\tif (startRow == endRow) {\r\n\t\t\tfor (int c = startColumn; c <= endColumn; c++) {\r\n\...
947629b8bd1e04fa1df06efc1ac9f361
This is a helper method that addsMoney to a particular slot in the cash register.
[ { "docid": "9091da0d5d33e3a0d7735110691a64d7", "score": "0.62396896", "text": "private void addMoney(int hashValue, int num) {\n Integer numberOfMoney = register.get(hashValue);\n numberOfMoney = numberOfMoney + num;\n register.put(hashValue, numberOfMoney);\n\n }", "title": "" } ]
[ { "docid": "4302d2b1d8c9c8d7083ce0987b976753", "score": "0.73457134", "text": "public void addMoney(int toAdd){\n wallet += toAdd;\n }", "title": "" }, { "docid": "fc13880e921100814e3b80c87e7e18bf", "score": "0.6769027", "text": "void addCash(double amount);", "title": ...
10ea5e28962e0dd537302bceb64453c2
PUBLIC METHODS Returns the hashCode of the filename
[ { "docid": "494559bcefa28a45222c7b02615b7a96", "score": "0.0", "text": "public long timeLastModified()\n {\n return m_timeLastModified;\n }", "title": "" } ]
[ { "docid": "ef469a46ce144882b02bd7e7c8472219", "score": "0.8586417", "text": "@Override\n\tpublic int hashCode() {\n\t\treturn fileName.hashCode();\n\t}", "title": "" }, { "docid": "0184553f839b26abbb8c5513b5da8ccb", "score": "0.84420896", "text": "public int hashCode()\n {\n ...
25b47691d0cff44032a1e3385fe6bd75
Set the id property.
[ { "docid": "4e9dbc55e009bb02e533ad4affd53622", "score": "0.0", "text": "public void setId(java.lang.Long value)\n {\n this.id = value;\n }", "title": "" } ]
[ { "docid": "2b204635d7729440135e1ba40611d070", "score": "0.86566865", "text": "public void setId(final int id)\r\n {\r\n this.id = id;\r\n }", "title": "" }, { "docid": "05f06e52cbb0aa66e8104602e5c39d08", "score": "0.86221206", "text": "public void setId(int id) {\n ...
6a8a1ab3e3c4a2d9898350bc38f1020b
Invoked when a key is pressed and then released. This method does nothing.
[ { "docid": "828fd34bd858c840bfea93f2489df697", "score": "0.0", "text": "public void keyTyped(KeyEvent e)\n {\n //Do nothing\n }", "title": "" } ]
[ { "docid": "5aee42313d163f24ce8c3564554b2017", "score": "0.80538857", "text": "@Override\r\n public void keyReleased(final KeyEvent arg0)\r\n {\n }", "title": "" }, { "docid": "f7fdcb9c70f85e23a2871da6d1544796", "score": "0.803704", "text": "@Override public void keyReleased...
ba6e63ead64fd5eaf276be9bdfeb1c6e
Indicates if this execution has been decided
[ { "docid": "75c75e709a2c0e482dee320ce94f556b", "score": "0.0", "text": "public boolean isDecided()\n {\n return m_decided;\n }", "title": "" } ]
[ { "docid": "4edb9a2d8b5a1fbc0407c04bfda03c21", "score": "0.73285824", "text": "public boolean isExecuted()\n {\n return executed;\n }", "title": "" }, { "docid": "32a71f3502b6bc9e3cd3be936fdbd6e4", "score": "0.72607416", "text": "boolean hasExecution();", "title": ""...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c852091b54f995cae01da48e56fabf06", "score": "0.0", "text": "@Override\r\n\t\tpublic void onCancel(DialogInterface dialog) {\n\t\t\tmProgressHUD.dismiss();\r\n\t\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69752145", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.69362766", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}...
8d06cbbd79930bce0df21474b15e49d6
SETS endpoint is meant to showcase the different types of INode sets available in the "&set=" parameter in JSON form. These are only applicable under the /divide, /filter and /histogram endpoints.
[ { "docid": "c50dd6b2f02271799ffe30aecaefb6cc", "score": "0.6926045", "text": "@GET\n @Path(\"/sets\")\n @Produces({MediaType.APPLICATION_JSON})\n public Response sets() {\n try {\n before();\n return Response.ok(Helper.toJsonList(INodeSet.values()), MediaType.APPLICATION_JSON).build();\n...
[ { "docid": "4f7b4cc43f7429f5d1ece425c33fb591", "score": "0.61234707", "text": "public void setSets(int newSets) {sets = newSets;}", "title": "" }, { "docid": "c79cc33913e7fd96e26712586c9e7cd0", "score": "0.5848301", "text": "public void setValueSet(String valueSet) {\n this.valueS...
abb4f20e3c0a074858661b7906ada00c
Creates a XertexGroup from a serialised source representation.
[ { "docid": "10643b83e9201aff9567a7bcb19b2293", "score": "0.6628454", "text": "private static VertexGroup createVertexGroupFromSource(final Element vertexGroupElement)\n {\n // Check that a class was specified.\n if (vertexGroupElement.getAttribute(\"class\").isEmpty())\n {\n ...
[ { "docid": "33e484486db3d7ad2f224112b2d33d60", "score": "0.59155357", "text": "private static Element createSourceFromVertexGroup(final Document document, final VertexGroup vertexGroup)\n {\n Element vertexGroupElement = document.createElement(\"content\");\n vertexGroupElement.setAt...
f38decf8059878672676e7f0976b1881
Passed in array of all edges
[ { "docid": "b48c8793717c34aebb99f171dcebc3de", "score": "0.0", "text": "public Heap(int _N, Edge[] _edge) {\n int i;\n N = _N;\n h = new int[N+1];\n edge = _edge;\n \n // initially just fill heap array with \n // indices of edge[] array.\n for (i=1;...
[ { "docid": "de9aace4bdab360c17220e000f7fdf72", "score": "0.7057323", "text": "void generateEdges();", "title": "" }, { "docid": "2007e63b661b9923d4caf92c2cfe6d7e", "score": "0.67224157", "text": "public ArrayList \tgetEdges();", "title": "" }, { "docid": "23b8b47abd554848...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "f28718610ca2e979b4db1f0c57d1c52a", "score": "0.0", "text": "public final void mo62392a() {\n this.f95552a.mo92152K();\n }", "title": "" } ]
[ { "docid": "e8b407e15e709133d36c40b376c5772b", "score": "0.6288352", "text": "@C4056a\n /* renamed from: a */\n public abstract Object mo18472a(String str);", "title": "" }, { "docid": "b7e8cbc10834bded8ca03375afdf1d79", "score": "0.6287218", "text": "public interface C35231a {...
c313b40f908d0891ffb137b2628ebd04
=== configure JdbcTemplate based on the Datasource ===
[ { "docid": "565cfb324a190b87ebabaf23d18f1a63", "score": "0.7064967", "text": "private JdbcTemplate getJdbcTemplate(DataSource ds) {\n\t JdbcTemplate jdbcTemplate = new JdbcTemplate(ds);\n\t return jdbcTemplate;\n\t }", "title": "" } ]
[ { "docid": "76425fe033778e07eaf16fd5fdeb5098", "score": "0.7698885", "text": "@Bean\n\tpublic JdbcTemplate jdbcTemplate(){\n\t\treturn new JdbcTemplate(dataSource());\n\t}", "title": "" }, { "docid": "a234c1eeccabe6b46b8f2cab92adb3f2", "score": "0.7679434", "text": "@Bean\n\tpublic J...
42604ac2f89e57eccdd880f08cc49e47
Simulates a recovered container that is sent to the AM in the heartbeat response.
[ { "docid": "908767aeac375cb994cc766498a04aae", "score": "0.5418534", "text": "public void feedRecoveredContainer(ContainerId containerId, String compName) {\n Container container = createContainer(containerId, compName);\n recoveredContainers.add(container);\n addContainerStatus(container, Cont...
[ { "docid": "2a7290361fe3c9b798d0e370cfc345d2", "score": "0.60389173", "text": "@Override\n public Object run() throws Exception {\n RegisterApplicationMasterRequest registerReq = Records.newRecord(RegisterApplicationMasterRequest.class);\n registerReq.setHost(Int...
f964a24db192a56e2b6392d583636276
TODO: Update argument type and name
[ { "docid": "0bd5a9c481e36f2574430c750d121102", "score": "0.0", "text": "void onFragmentInteraction(Uri uri);", "title": "" } ]
[ { "docid": "386568f303eea2505721661cee446f72", "score": "0.69834054", "text": "public abstract Parameter[] arguments();", "title": "" }, { "docid": "1e138a0c039318b13cf03cd3c74ee427", "score": "0.6775121", "text": "@Override\r\n protected void validateArguments() {\n }", "t...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a2471d9db9c218150d6de43fa6375742", "score": "0.0", "text": "@Override\n public Boolean enabled() {\n return super.enabled();\n }", "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}"...
b43aa46d75efbf36e3ee07bba9274da2
Created by THOMASBRONDEAU_Steven on 18/04/2018.
[ { "docid": "b799fe94f7034880240e720de1d52bc1", "score": "0.0", "text": "public interface RetrofitService {\n @GET(\"sales/women/active.json\")\n Call<ResponseBody> getActiveWomenSales();\n}", "title": "" } ]
[ { "docid": "5cf6e7275cb8d34bdacabdb57b1297ed", "score": "0.5687181", "text": "public void mo74847b() {\n }", "title": "" }, { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.564622", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "doc...
8afcce04d13544ff1ac298de09946908
Commonly blocked attachment file extensions
[ { "docid": "b036f520ab4ef2f2be0681bb918a29a4", "score": "0.0", "text": "@ZAttr(id=196)\n public Map<String,Object> addMtaCommonBlockedExtension(String zimbraMtaCommonBlockedExtension, Map<String,Object> attrs) {\n if (attrs == null) attrs = new HashMap<String,Object>();\n StringUtil.add...
[ { "docid": "10c884ab90e4789ce420ba959ef40e7d", "score": "0.71387464", "text": "public UnsupportedFileBehaviour getUnsupportedAttachmentBehaviour(){\n return localUnsupportedAttachmentBehaviour;\n }", "title": "" }, { "docid": "10c884ab...
bc2e045565d96c3ffa8f40d87d400371
Used to override automatic resolution of data type, force a particle to become whatever object type specified as the parameter. can cause errors
[ { "docid": "fe05f1bcbff4cdd7b9bc6212d3807fc5", "score": "0.63314474", "text": "public static Particle resolveType(String value,char type) {\n \tParticle newParticle;\n \tif(type == 'N') {\n if(isInteger(value)) {\n newParticle = new IntegerParticle(Integer.parseInt(value)...
[ { "docid": "17d88582b22eade9b98d6ba22cb9af19", "score": "0.70434755", "text": "public static Particle resolveType(Object value,char type) {\n \tParticle newParticle = null;\n \tif(type == 'N') {\n if (value instanceof Integer)\n newParticle = new IntegerParticle((Integer)...
bca83c70240022b3c2ce3c66d8230ac2
Check whether an error occurred while reloading
[ { "docid": "005b6dca217223a6283487e94473fe65", "score": "0.6263488", "text": "public boolean isError();", "title": "" } ]
[ { "docid": "3d836672bcd0c19f8991882f6ae56190", "score": "0.72875667", "text": "public abstract void onReloadFailure();", "title": "" }, { "docid": "bd6aef3d0eb29a8d4e7dcf713599314a", "score": "0.6481366", "text": "boolean canReload();", "title": "" }, { "docid": "483094f6...
ddf9a66ada868e15e7847165d29682a1
Are all words in this term contain words menitioned in a list.
[ { "docid": "211a8c5ccd218fa14bb6052df5cc10f4", "score": "0.7083382", "text": "private boolean contains(String term, List<String> words) {\n\t\tboolean all = true;\n\t\tList<String> twords = TextTools.getWords(term);\n\t\t// if at least one word not in list of words, don't have a match\n\t\tfor(String t...
[ { "docid": "3247d6551c946ed946aa80fd6135d884", "score": "0.6828493", "text": "public boolean foundAllTerms() {\n\t\tif(docInArray.containsAll(termSt) == false){\n\t\t\treturn false;\n\t\t}else{\n\t\t\treturn true;\n\t\t}\n\t}", "title": "" }, { "docid": "6eba7afa4daa07e03a6d5c77baacf1ed", ...
23444349f0de7aea84d248136baa697a
public boolean empty() returns true if and only if the tree is empty
[ { "docid": "ec90e0901867206800be8785dc8ce548", "score": "0.0", "text": "public boolean empty() {\n\t\treturn (this.tSize == 0);\n\t}", "title": "" } ]
[ { "docid": "b80ea5582a7a39c3dfb2b2dad146d846", "score": "0.89688796", "text": "public boolean empty() {\n return root==null;\n }", "title": "" }, { "docid": "6061c6596533fc03ae188e0940dca889", "score": "0.89194274", "text": "public boolean empty() {\n\t\treturn root == null;\n\t}...
acf0806f6e9a542b59cb162b6537a84a
/ 158: / 159:
[ { "docid": "d2302625a7bf4b11b4b13b785edc7be9", "score": "0.0", "text": "private boolean checkForVerb(Vector paramVector, String paramString)\r\n/* 160: */ {\r\n/* 161:284 */ Enumeration localEnumeration = paramVector.elements();\r\n/* 162:285 */ while (localEnumeration.hasMoreElements())\r\...
[ { "docid": "412280eb86067ad36fa2a500d7f06929", "score": "0.58427083", "text": "public int method_5482() {\r\n return 3;\r\n }", "title": "" }, { "docid": "d90dfffa090f6a53a3dd0832bb1738a3", "score": "0.58413047", "text": "public void mo1375b() {\n }", "title": "" }, ...
3c8343c47f7656b152b19c75c254b92a
Read a JPEG from a stream using JAI codec.
[ { "docid": "2981abea6a7df4e9623a54963ee0045b", "score": "0.77300036", "text": "public static BufferedImage readJAI(InputStream stream) throws IOException {\n JPEGImageDecoder d = JPEGCodec.createJPEGDecoder(stream);\n return d.decodeAsBufferedImage();\n }", "title": "" } ]
[ { "docid": "95bcc744154d3477566d49730fcf8dd9", "score": "0.60104364", "text": "public BufferedImage read(int bufimatype) throws IOException {\n\t\ttry {\n\t\t\treadMainHeader(); // Make sure the main header has been read,\n\t\t\treadImageMeta(); // Read image metadata & move to compressed,\n\t\t\tcreate...
9a2f7015e1b7703fe9da501b130f3ae3
Create an image file name
[ { "docid": "08d3fa8bbd376c4407e936d88e23a885", "score": "0.66892946", "text": "private File createImageFile() throws IOException {\n String timeStamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n String imageFileName = \"JPEG_\" + timeStamp;\n\n String folderName...
[ { "docid": "8179e5ac5432da78437105d6d050adfd", "score": "0.7782615", "text": "private File createImageFileName() throws IOException {\n String timestamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n //there are two types of SimpleDateFormat and Date()\n String pr...
480d9ccc31d42579fe0d536799f0da41
Returns the identifier of the element
[ { "docid": "866e9f06e60526428f3239bd16fd567c", "score": "0.0", "text": "public UUID getId();", "title": "" } ]
[ { "docid": "ebcdc18204ba53ccdc12e961cc7572eb", "score": "0.79508096", "text": "int getElementId();", "title": "" }, { "docid": "ebcdc18204ba53ccdc12e961cc7572eb", "score": "0.79508096", "text": "int getElementId();", "title": "" }, { "docid": "f28b8a7a66a8211a5e86ad083ffd...
68e7c617a32f12fc90cd97c1c5552ea2
Set the game to pause
[ { "docid": "922068744fdf0d026c8d8a1d68ee57e8", "score": "0.79301953", "text": "public void pause (){\n status = STATUS_GAME_PAUSED ;\n\n }", "title": "" } ]
[ { "docid": "841a1038de775905e5343adae84d2f61", "score": "0.8701698", "text": "private void gamePause() {\n\t\tMain.getGame().pause();\r\n\t}", "title": "" }, { "docid": "212862b4d8f521ec0856415f67dcad4a", "score": "0.8621355", "text": "public void pauseGame() {\r\n\t\tgame.setPaused(...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a6fe9449a2f2b11e98c17675bd7757b8", "score": "0.0", "text": "@Override\n\tpublic void visit(Datatype o) throws AlignmentException {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905785", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697522", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
fb0afe36292ff0fcdf874e16d121c172
End of variables declaration//GENEND:variables
[ { "docid": "d37deb931880d79c059c3769cd4d8b6b", "score": "0.0", "text": "public static void main(String[] args) {\n /* Set the Nimbus look and feel */\n //<editor-fold defaultstate=\"collapsed\" desc=\" Look and feel setting code (optional) \">\n /* If Nimbus (introduced in Java SE 6...
[ { "docid": "64ef196975494d0f22f64b1b376ba62e", "score": "0.65240926", "text": "private void limpiaVariables() {\n }", "title": "" }, { "docid": "39fc93a8afed8fd9587e1725b3dd1330", "score": "0.6196968", "text": "public void mo9673C_() {\n }", "title": "" }, { "docid"...
18c836a0a10b3dacdd8865e9e1b04b33
required uint32 user_id = 1; cmd id: 0x040b
[ { "docid": "be185dcf2795b73d92c95d20591671b1", "score": "0.0", "text": "public boolean hasUserId() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "093c05d609317dec53f2a85888811c3c", "score": "0.61072946", "text": "String getUserID();", "title": "" }, { "docid": "93b79e0dba2e0694c49e652d5c004bd0", "score": "0.6075003", "text": "public String getUserID();", "title": "" }, { "docid": "93b79e0dba2e0694c49e65...
78e99513fbaab78acecae0f138f2851c
Retrieves the next occurrence of this TimeOfDay in local time.
[ { "docid": "3fa26b77a72d6ffa10519594e96d3c19", "score": "0.6890948", "text": "public Time next() {\n return next(AbstractTime.localtime);\n }", "title": "" } ]
[ { "docid": "82e1fd6c7a58fef83a26c740a05f5b21", "score": "0.5937155", "text": "public Date getNextSchedule() {\n\n if (getTimeModel().getTime() == null)\n return null;\n\n if (!getRepeatModel().isEnabled()) {\n // This mean repeat is off but still target time can be re...
a983addf3c4c2a457c3b65408b4ae5f7
Returns a list of all the page templates
[ { "docid": "37e6f7bb005dc5c2b2316c84b82c91e5", "score": "0.7720548", "text": "public List<PageTemplate> selectPageTemplatesList( )\n {\n List<PageTemplate> listPageTemplates = new ArrayList<>( );\n try ( DAOUtil daoUtil = new DAOUtil( SQL_QUERY_SELECTALL ) )\n {\n daoU...
[ { "docid": "0072a45a169ee7e3bbd6e8252737dee1", "score": "0.667099", "text": "public List<SmartTemplatesComponentModel> getPages() {\n return pages;\n }", "title": "" }, { "docid": "d0778bdacd5bd6e4343d5c67f7f26f07", "score": "0.66567993", "text": "java.util.List<com.google.cloud....
9813de2afa0b9384819325045ccc75f7
Return the first column of results from a statement as a list of strings.
[ { "docid": "cf76511d77045889ec4638d452ed71fb", "score": "0.57392126", "text": "public static List<String> getStringList(PreparedStatement statement)\n throws SQLException {\n List<String> ids = new ArrayList<String>(DEFAULT_SIZE);\n\n ResultSet results = statement.executeQuery();\n\n try {...
[ { "docid": "53e21ed2e26b396b8ffdc3da71ceb564", "score": "0.6378202", "text": "public LinkedList<String> executeStatementReturnsListString(String sql, String columnLabel) {\n java.sql.Connection conn = Connection.getInstance().connect();\n Statement stmt = null;\n ResultSet rs = null...
a1370149b0995dc2d6017551a66f73a7
Main Lancement de l'interface
[ { "docid": "41d680d13f5b8e575ed5e01310b5b3e5", "score": "0.6363534", "text": "public static void main(String[] args) {\n\n\t\tlogger.info(\"Lancement du programme Serveur\");\n\t\t// Lancement de l'interface\n\t\tnew ServeurUI();\n\n\t}", "title": "" } ]
[ { "docid": "42b2b2271905f6b29eaa0918fc393d3e", "score": "0.74470156", "text": "public interface IMain {\n}", "title": "" }, { "docid": "cb57239dc02e0ae50bdc7f921b2e363f", "score": "0.6857219", "text": "static void apply(){\n System.out.println(\"Hello from Interface ...\");\n ...
1636c58de56e90c2a2ca093bd2d82989
Retrieves the entry with the smallest key.
[ { "docid": "f2f0082ec263f515ed028adc0c46cf65", "score": "0.0", "text": "public T2<K, V> minimum() throws NoSuchElementException {\n return root.minimum();\n }", "title": "" } ]
[ { "docid": "b70f9763fc866bd3b48e1105f963f118", "score": "0.74778897", "text": "public Key min()\n { return keys[0]; }", "title": "" }, { "docid": "18849521ab7f4dd53cbc2f03bf8ea680", "score": "0.7359746", "text": "public Key min() {\n return this.first.key;\n }", "tit...
81e39a29269992ebd8cbd2574653fb5f
/ StringBuilder sb = new StringBuilder(); sb.append("User: " + getUsername()); sb.append("\t"); sb.append("Rounds Played: " + getRoundsPlayed()); sb.append("\t"); sb.append("Rounds Won: " + getWonRounds()); sb.append("\t"); sb.append("Ratio: " + getPercentageWon()); sb.append("\t"); sb.append("Throws: " + getNumberOfTh...
[ { "docid": "a72e851f9fb19aaf0ec82fd7830d0777", "score": "0.0", "text": "public String toString() {\n\t\treturn getUsername();\n\t}", "title": "" } ]
[ { "docid": "b6019f66d79942603eba63e088c0032c", "score": "0.65996224", "text": "public String info(){\n String str = \"\";\r\n str += \"\\nHappiness: \" + happiness + \"/100\";\r\n str += \"\\nHunger: \" + hunger + \"/100\";\r\n return str;\r\n }", "title": "" }, { ...
f62cdd56788bca90fd1b9916e37b1455
Checks the quantity if it is more then 7 then java goes for $2 a cup
[ { "docid": "e2fc527b1192447027f9093218ecf764", "score": "0.0", "text": "public Boolean multiDiscount() {\n Boolean multiDiscountStatus = false;\n if (quantity >= 7) {\n multiDiscountStatus = true;\n }\n return multiDiscountStatus;\n }", "title": "" } ]
[ { "docid": "94b4c8bd23ab1807fc7a7a0f517f4fb6", "score": "0.6353883", "text": "private int calculatePrice() {\n\n return quantity * 5;\n }", "title": "" }, { "docid": "0d00b937b6036f9399877950caf9245f", "score": "0.6261382", "text": "public int getBonucePrice (){\n re...
dffdd844937d552243e4b9a45ccae179
Given a channel and file number make a zero padded unique file name for a log file.
[ { "docid": "8c81183090c2ad8a830202336d06b28d", "score": "0.8181235", "text": "public static String getFileName(String channel, int fileNumber) {\n return channel + \"-\" + String.format(\"%012d\", fileNumber) + \".log\";\n }", "title": "" } ]
[ { "docid": "ddc788998c062cc9c9c5c6b0e194b6a4", "score": "0.6750929", "text": "public static String generateSemiUniqueFileName() {\n long millis = System.currentTimeMillis();\n String datetime = (millis / 200) + \"\";\n return datetime + \"_\" + millis;\n }", "title": "" }, ...
0e154c304f05143f66560429bec9c525
This method was generated by MyBatis Generator. This method corresponds to the database table workexperience
[ { "docid": "7db1289fc7908727d5126f715610f3e7", "score": "0.0", "text": "int countByExample(WorkexperienceExample example);", "title": "" } ]
[ { "docid": "91d6b59cd6afc73a5f0a1c7591cd3c3b", "score": "0.6403662", "text": "@Select({\n \"select\",\n \"id, user_id, class_id, lesson_id, homework_file_path, homework_name, create_date, \",\n \"correct_flag, star_count, negative_count, best_flag\",\n \"from ld_home_work\"\n...