query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
fb7da43d394321ff3a82deed650844b6
ends the main method
[ { "docid": "b47189f8089066a58d7a64a2d88e34a0", "score": "0.0", "text": "public static String[][] getWordCount() {\n //create an array of words and occurences to return\n String wordsToReturn[][] = new String[29][2];\n\n try {\n File file = new File(\"testinput.txt\");\n Scanner ...
[ { "docid": "b605ea1803e091bfcc194b75ff772c56", "score": "0.7119277", "text": "public static void end() {}", "title": "" }, { "docid": "87c52199baef22f6084188710e5850eb", "score": "0.7053164", "text": "public void end() {\r\n hasRun = false;\r\n }", "title": "" }, { ...
1b04545953de4cef787722e4f8519e56
Transaction log flush behaviour. See [MySQL documentation]( for details. .google.protobuf.Int64Value innodb_flush_log_at_trx_commit = 9 [(.yandex.cloud.value) = "12"];
[ { "docid": "04db8cfe9b11c21610b4a956f3be3cb3", "score": "0.6539288", "text": "boolean hasInnodbFlushLogAtTrxCommit();", "title": "" } ]
[ { "docid": "ba4d2b79a74abb5f07e45066e558b98c", "score": "0.7461146", "text": "com.google.protobuf.Int64Value getInnodbFlushLogAtTrxCommit();", "title": "" }, { "docid": "66431956ee4b0da5f036f579ba3df8b0", "score": "0.6929256", "text": "com.google.protobuf.Int64ValueOrBuilder getInnod...
a7dbd422a9c1ed50179c89b8b786e3d8
/ este metodo retorna la regla de navegacion para ir a la histpria clinica pero antes guarda en session el paciente de la consulta
[ { "docid": "50b5595c1044755a11a9ed2d510288f0", "score": "0.654686", "text": "public String irHistoriaClinica() {\n\n\t\tif(indicadorGuardar==true){\n\t\t\n\t\tSesionFactory session = new SesionFactory();\n\t\tsession.agregarASesion(\"pacienteHistoria\", this.paciente);\n\t\t\n\t\t//aqui va evaluacion ag...
[ { "docid": "a84c95b1ea7d8faf9924d13675b81807", "score": "0.61736155", "text": "public static void obtieneIndRegistroVentaRestringida() {\r\n try {\r\n VariablesPtoVenta.vIndRegistroVentaRestringida = DBPtoVenta.obtieneIndRegistroVentaRestringida();\r\n } catch (SQLException sql)...
42811d384db79b3c583d44e28f2fb637
Shows a popup allowing to specify properties of a new uml instance of the given nature, bound to the specified expression. Calls the associated instance creation method if user validates.
[ { "docid": "acbeeee1a7a1f92013dce4d8f3a7a162", "score": "0.658903", "text": "public void doShowUmlInstanceCreationPopup(int firstWord, int lastWord,\n\t\t\tObject nature) throws BadLocationException {\n\t\tString keyword = getText(firstWord, lastWord);\n\t\tif (nature.equals(UMLNature.CLASS)) {\n\t\t\tV...
[ { "docid": "46ca58be2aa9dac89667aa0edd73140d", "score": "0.66366976", "text": "public void doShowUmlInstanceCreationPopupWithNoKeyWord(Object nature)\n\t\t\tthrows BadLocationException {\n\t\tif (nature.equals(UMLNature.CLASS)) {\n\t\t\tVertexEditionPanel panel = new VertexEditionPanel(this, null, null)...
d2edc260132367b238964c8c5da7624d
Tests a valid query for NKT6 normalized algorithm.
[ { "docid": "ca54146c1d53bd13ffdb4ed7b307ca44", "score": "0.4604884", "text": "@Test\r\n\tpublic void testNormValid() {\t\r\n\t\tclickOn(\"#tabApp3\");\r\n\t\tname1.setText(\"Daniel\");\r\n\t\tclickOn(\"#task6RadioMale1\");\r\n\t\tyear1.setText(\"1999\");\r\n\t\tname2.setText(\"Taylor\");\r\n\t\tclickOn(...
[ { "docid": "0313e5a53d5793c7d59f130de99e7c75", "score": "0.5930059", "text": "@Test(timeout = 4000)\n public void test096() throws Throwable {\n String string0 = SQLUtil.normalize(\"mY!G>Rh/Zo8R[nf%^=5\", false);\n assertEquals(\"mY ! G > Rh / Zo8R [ nf % ^ = 5\", string0);\n }", "titl...
8ebbc16f07eb812cfde19d8275894f6d
Truncates this number's value to an integer and returns the leastsignificant bits of its two'scomplement form as a 16bit signed integer.
[ { "docid": "dddea790eb3ef4979a6c5fc0d6574615", "score": "0.68836886", "text": "public short ToInt16Unchecked() {\n return this.isFinite() ? this.ToEInteger().ToInt16Unchecked() : (short)0;\n}", "title": "" } ]
[ { "docid": "68b3b640823ea296e2f5487eeb771cc7", "score": "0.6924121", "text": "public short ToInt16IfExact() {\n if (!this.isFinite()) {\n throw new ArithmeticException(\"Value is infinity or NaN\");\n}\n return this.isZero() ? ((short)0) :\n this.ToEIntegerIfExact().ToInt16Checked();\n}", "title":...
3840d1cc847ec97cc59b7ab9d4e4c0df
Same as next_token but also prints the token to standard out for debugging.
[ { "docid": "24fb4530e9e5e8465fd49579b7945f9e", "score": "0.7234711", "text": "public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException\n {\n java_cup.runtime.Symbol s = next_token();\n System.out.println(\"line:\" + (yyline + 1) + \" col:\" + (yycolumn + 1) + \" --\"...
[ { "docid": "6cc589009ed8fe51a30d7baa3de5ff94", "score": "0.7407965", "text": "String nextToken();", "title": "" }, { "docid": "6cedaa8018ea7504088c62e425c289dd", "score": "0.7349725", "text": "public java_cup.runtime.Symbol debug_next_token() throws java.io.IOException {\n java_cu...
ef6f5dfe851b8fa74bd7a3aa6bc9ce36
optional bool isSucceed = 1;
[ { "docid": "73938ecccf48f5c5da8f5264994bc081", "score": "0.0", "text": "public boolean hasIsSucceed() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" } ]
[ { "docid": "99ab39503b31dd041aaf4b75373a10b2", "score": "0.8181889", "text": "boolean getIsSucceed();", "title": "" }, { "docid": "99ab39503b31dd041aaf4b75373a10b2", "score": "0.8181889", "text": "boolean getIsSucceed();", "title": "" }, { "docid": "99ab39503b31dd041aaf4b...
93e88236923543fc8cdd4ef13b142e4f
Draws the games lists
[ { "docid": "34f321050ef83dca96b7bbf6116bd705", "score": "0.7088672", "text": "public void drawLists(Graphics2D g)\n {\n int initial_x = (int)deck.getX();\n int initial_y = (int)deck.getY() + CARD_HEIGHT + 50;\n \n for(int list_index = 0; list_index < game.getLists().len...
[ { "docid": "9acba0645798aff57f0f6e28db87a1ae", "score": "0.73413086", "text": "public void drawGame() {\r\n\t\tStdDraw.text(rx.get_max(), ry.get_max(), \"scenario: \" + this.scenario);\r\n\t\tgame_manager.updateFruits(game_manager.getGame().getFruits());\r\n\t\tgame_manager.updateRobots(game_manager.get...
84938bdb15a29648d1991256dbeb755f
The current status of the alert. The supported values are the following: NOT_STARTED IN_PROGRESS CLOSED string status = 4;
[ { "docid": "7ae0ec90b1387e52cb8072edafcc5d94", "score": "0.0", "text": "public Builder setStatus(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n status_ = value;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "37781f47d385b0b6f1ab4adecdf33924", "score": "0.7857274", "text": "@Override\n\tpublic int getStatus() {\n\t\treturn _alert.getStatus();\n\t}", "title": "" }, { "docid": "8ad67a37183dd2ef5ba88b09679a8612", "score": "0.74281216", "text": "java.lang.String getStatus();", ...
3dcf6ff3fdc1cd347ee75bf58570a2e2
Parse agent arguments. The newly parsed arguments are added to already existing ones (i.e. calling this method several times on different input would merge all arguments, latest overriding the first ones).
[ { "docid": "604b9edbb7a72cc12d842239afe5de32", "score": "0.58801794", "text": "protected void parse(String arguments) {\n\t\tif ((arguments == null) || arguments.isEmpty()) {\n\t\t\treturn;\n\t\t}\n\t\t\n\t\tString[] parts = arguments.split(OPTION_DELIMITER);\n\t\tfor (String opt : parts) {\n\t\t\tStrin...
[ { "docid": "f1088c5447fd4b7ad973faa8bab6d81c", "score": "0.6859821", "text": "ArgumentParser parseArguments();", "title": "" }, { "docid": "b435d0c7b0a91f69cdb97ccd81634a8c", "score": "0.6693692", "text": "public void parse(String[] arguments) {\n args = parseArguments(argumen...
b096cb1bf92547679a5d3dba973e9019
Asigno a cada celda del mapa que contiene un edificio/unidad inicial del jugador 1 su vista
[ { "docid": "31fda98f3db90a636cb95a47ad1af510", "score": "0.5515764", "text": "private void inicializarPosicionablesJugador2(Mapa mapa, Juego juego) throws OroInsuficienteException, EdificioNoAptoParaReparacionException, EdificioConReparadorAsignadoException, EdificioNoAptoParaConstruccionException, Edif...
[ { "docid": "169693676d017a0364285f76022af10a", "score": "0.6312346", "text": "public static void labirintoDois(Aventureiro fer, int linR, int colR){\r\n\t\t//int num = 0;\r\n\t\tif(((linR >= 0) && (linR <= matrizCaminho.length-1)) && ((colR >= 0) && (colR <= matrizCaminho[0].length-1))){ //Condicoes do...
69309d0dfce519969186114103224976
Returns gap width between option label and low field.
[ { "docid": "507c8d13d11cc4c7cdadbc6e9dfd7a59", "score": "0.70677245", "text": "public int getOptionFieldGap() {\n return optionFieldGap;\n }", "title": "" } ]
[ { "docid": "711ec595e41062a92b6711f677104d02", "score": "0.64159685", "text": "public String getMarginWidth();", "title": "" }, { "docid": "83aa20f9ef20da110845a89650ad1c86", "score": "0.634901", "text": "public double getAutoWidthGap() { return this.autoWidthGap; }", "title": ""...
00cf82779d96f6d7dde0376f661aed05
updates the time we display in the TextView
[ { "docid": "57112863bc3e952ed2fa160289f9f37f", "score": "0.7257136", "text": "private void updateDisplayTime() {\n\n\t\tmPickTime.setText(dfTime.format(AstroLib.convertJulian2Gregorian(\n\t\t\t\tjd + timezoneinDay).getTime()));\n\n\t}", "title": "" } ]
[ { "docid": "34bf957eeabbb5db6cb8016dbaaf3552", "score": "0.81391585", "text": "private void updateDisplay() {\n\t\t\tTextView mTimeDisplay = (TextView) findViewById(R.id.timeDisplay);\n\t\t\tmTimeDisplay.setText(getString(R.string.oraat) + pad(mHour) + \":\"\n\t\t\t\t\t+ pad(mMinute));\n\n\t\t}", "t...
6dc386c3402178c21af6c765549670e5
Return first entry's key
[ { "docid": "ea026aa757c32380b84c442fa70e92c3", "score": "0.6345099", "text": "LuaValue key();", "title": "" } ]
[ { "docid": "95be1bf26f7681b2148171a119249554", "score": "0.8476899", "text": "public Object firstKey() {\n return key(firstEntry());\n }", "title": "" }, { "docid": "0de9976df7f9dcafd0fbb6182e7c5640", "score": "0.83875585", "text": "public String getFirstKey() {\r\n\t\tretu...
274bb067011dea9e7be11fd42c4f206c
/ The reactions of state Copy_1_STT3.
[ { "docid": "37dbe5beed910a2114d8021c37f63c10", "score": "0.517053", "text": "private void react_main_mainStorry_inner_region_FaceDataInterpretation_FaceDataInterpretation_yesNo_fun_inner_region_Copy_1_STT3() {\n\t\tif (check_main_mainStorry_tr0_tr0()) {\n\t\t\teffect_main_mainStorry_tr0();\n\t\t} else {...
[ { "docid": "7fcc6c526c1f6cd7b31d2cc8720d1085", "score": "0.60359466", "text": "private void enterSequence_main_mainStorry_inner_region_FaceDataInterpretation_FaceDataInterpretation_YesNo_MoreInfo_inner_region_Copy_1_STT3_default() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.main_mainStorry_in...
4b182df0fbdc7dd10ee8d46df3bf080e
Getter for Top Left Y coordinate of hitbox
[ { "docid": "38053876b6afa467b4518406a3e2beff", "score": "0.65768194", "text": "public double getY1()\n\t{\n\t\treturn box.getTL().getY(); \n\t}", "title": "" } ]
[ { "docid": "06d22941d034e6bf7e3a80a8510a4279", "score": "0.8470434", "text": "public int getHitboxY() { return hitboxY; }", "title": "" }, { "docid": "08aca42acfa59fe321428970c80fa13a", "score": "0.838573", "text": "public float getY(){\n return hitbox.getY();\r\n }", "...
5ac3a1156d6f9ed910526eda73b77097
Get instance of EntityAdapter with all needed mocks for GetOneFails method.
[ { "docid": "eeab99d95c5785e8d1607f297e6bb526", "score": "0.7131962", "text": "EntityAdapter<T> getAdapterForGetOneTest() throws IOException {\n MongoAdapter<T> mongoAdapter = mock(MongoAdapter.class);\n when(mongoAdapter.getOne(ArgumentMatchers.any(Bson.class))).thenReturn(getTestEntity())...
[ { "docid": "2c73eac2c502e338beae0419abc97549", "score": "0.7369172", "text": "EntityAdapter<T> getAdapterForGetOneFailsTest() throws IOException {\n MongoAdapter<T> mongoAdapter = mock(MongoAdapter.class);\n when(mongoAdapter.getOne(ArgumentMatchers.any(Bson.class))).thenThrow(new NoSuchEl...
5271aba1c85b3ec7706640a468fc785b
Write out the parent and peer links that form a fragment link list.
[ { "docid": "7772c24a9590ba20dc447b12b0c6cc0b", "score": "0.71442187", "text": "private void writeFragmentLinkList(Fragment fragment,\n FormatRendererContext context)\n throws IOException, RendererException {\n\n Fragment enclosingFragment = fragmen...
[ { "docid": "b2b68859b3f24f03b5a3c221249e17e4", "score": "0.7132331", "text": "private void writePeerFragmentLinks(FormatRendererContext context,\n Fragment fragment)\n throws IOException, RendererException {\n if (!fragment.getPeerLinks()) {\n ...
34c6143376975e6bfaef020aa2be4490
Show toast message when no text is entered
[ { "docid": "c4aae1d66571168e733a712a287bd9a9", "score": "0.0", "text": "@Override\n public void onClick(View v) {\n if (TextUtils.isEmpty(inputNote.getText().toString())) {\n Toast.makeText(Notes.this, \"Enter task!\", Toast.LENGTH_SHORT).show();\n ...
[ { "docid": "ad2ed73c13451efc2543e7a02e5c8472", "score": "0.81709856", "text": "private void makeToastNoInputProvidedText() {\n Toast.makeText(LoginActivity.this, \"No input provided\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "d5a9ad1ff966f6d36c39242b54ff6a83", ...
19b748e96db508d8037bc9d359eceb3a
string name = 2;
[ { "docid": "6b245d5eea62c8c69e84f76c6b6c4d53", "score": "0.0", "text": "java.lang.String getName();", "title": "" } ]
[ { "docid": "fb9f540d9dd33b98f98080d9ea0b2b3a", "score": "0.6178343", "text": "public void setName(String s)\r\n{\r\n name=s;\r\n}", "title": "" }, { "docid": "a8a1a24a1d628d32b2c34c7a13e759b0", "score": "0.61481136", "text": "String name ();", "title": "" }, { "docid":...
1ddaa37c8ee66124a917868d3d75a010
">" im NatRaum: zero b = false and succ(zero)b = true!
[ { "docid": "ae77f07a4b29bfe5872c442727cc1d8a", "score": "0.0", "text": "public static Nat gt(Nat a, Nat b) {\n\n\t\tif (Nat.sub(a, b).equals(Nat.zero()))\n\t\t\treturn Nat.zero();\n\n\t\treturn Nat.succ(Nat.zero());\n\t}", "title": "" } ]
[ { "docid": "941f9cfd9f423e874a89c64f480a0160", "score": "0.57930356", "text": "public boolean m111b() {\n return this.c == this.a && !a(false);\n }", "title": "" }, { "docid": "4b93f261c56116e4d51fc4a1d527a425", "score": "0.5682299", "text": "public boolean b() {\n C...
7422e14bf00fc43cb4347cf62fad50f1
Removes any outstanding requests from mOrderedPages.
[ { "docid": "b2ea44a84b99ab20c127048c5302da91", "score": "0.7252879", "text": "private void cancelOrders() {\n mOrderedPages.clear();\n }", "title": "" } ]
[ { "docid": "d6ec4fde2b4f33f583d3badc32f27631", "score": "0.62474114", "text": "public void removeAllRequests(){\n requestSet.clear();\n }", "title": "" }, { "docid": "1d45fc0d342acfa7dc7e1f8982f47753", "score": "0.6240988", "text": "public void clearItems() {\n mOrde...
3fb76325a1b7e4f6aa4eb838b964b473
Collect income and handle any COModifiers.
[ { "docid": "dd1ac8974c8f7ea5f3dc82125cb28085", "score": "0.0", "text": "public void initTurn(GameMap map)\n {\n myView.resetFog();\n myActiveAbilityName = \"\";\n // Accrue income for each city under your control.\n int turnIncome = 0;\n for( int w = 0; w < map.mapWidth; ++w )\n {\n ...
[ { "docid": "a84cce00cdfa8dea0581a53fcebcb053", "score": "0.52100945", "text": "public double getIncome() {\r\n return income;\r\n }", "title": "" }, { "docid": "0c6f2863b5ed6e0aec43982e5e2b02c3", "score": "0.52004707", "text": "@Override\r\n\tpublic double getCampainDiscoun...
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "9c64f1963f07399339e34138c5046d9b", "score": "0.0", "text": "private short getIndirect(IndirectEntry paramIndirectEntry)\n/* */ {\n/* 1898 */ Short localShort = (Short)this.map.get(paramIndirectEntry);\n/* 1899 */ if (localShort != null) {\n/* 1900 */ return local...
[ { "docid": "c4947249f564a8b23a47e2c447581677", "score": "0.5971987", "text": "private static void divide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9b4a639f85736255ddf7adcdd8bc9f17", "score": "0.55771154", "text": "public static void base()\n {\n for(int line = S...
9382886a3b523268b9df02008e3beef0
Statistics about the asset's performance over the previous 30day period. These are used to reorder assets an optimize sellthrough.
[ { "docid": "ce4502c14208deef732994d1aa51da22", "score": "0.5137565", "text": "public AssetPurchaseInfo getPurchaseInfoLast30Days() {\n return purchaseInfoLast30Days;\n }", "title": "" } ]
[ { "docid": "7794cc034000d13f9a85bad359527322", "score": "0.5511395", "text": "@Override\n public ArrayList<AssetStats<? extends CODAsset>> getAllStats() {\n ArrayList<AssetStats<? extends CODAsset>> assetStats = super.getAllStats();\n assetStats.addAll(commendationStats);\n asset...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "991f2130ccb69c017a8581f92082705c", "score": "0.0", "text": "public String createWorkBookJob(String username, String password,\n\t\t\tString jobPayLoad, String datameerServerIP, String portNumber) {\n\n\t\tlog.info(\"entering createWorkBookJob in DatameerWatchDog and jobPayLoad=\"\n\t\t\t\t+ ...
[ { "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": "" }, { ...
821a205b3e7b0df35b22c4df0d70de74
Instantiates a new No such currency exception.
[ { "docid": "9d5c1f95ae54a268b60e6629af37f66e", "score": "0.7817902", "text": "public NoSuchCurrencyException(final String ticker) {\n super(\"Currency with ticker \" + ticker + \" not found\");\n }", "title": "" } ]
[ { "docid": "c0b20f8ea77cb34081d37626b66e77f5", "score": "0.64051265", "text": "public StockTradingException() {\n\n }", "title": "" }, { "docid": "ee1e23e243c8995ff914e85a7d6acf00", "score": "0.6227595", "text": "public InvalidAmountException(){\n\t super(\"illegal amount\");\n...
3e6de95f77d78b1811b5d8aaba289e4a
Get file from repository with the ability of random access
[ { "docid": "fb8128ee728d0ff8db75628b10db9881", "score": "0.6229194", "text": "Optional<FileChannel> getFileRandomAccess(String id);", "title": "" } ]
[ { "docid": "80b2626e0577855860f322668701efaa", "score": "0.6921722", "text": "private File getFileFromRepository() throws IOException {\n boolean status = false;\n\n String repository = super.getRepositoryDir(collection);\n String directory = sid.getFieldValue(\"directory\").toStrin...
abb343bce8e3ab1d68960e97c2746756
2 3 4 = 2
[ { "docid": "ea6ec12bb2431e46137940a4c6f517ee", "score": "0.0", "text": "@Test\n public void testPrecedenceSameAsAppearOrder() {\n LexicalUnitImpl operand2 = LexicalUnitImpl.createInteger(0, 0, null, 2);\n LexicalUnitImpl operatorMultiply = LexicalUnitImpl.createMultiply(0, 0,\n ...
[ { "docid": "bc640702dbdefbb8c8ce82e301578319", "score": "0.56247514", "text": "public static int count4s(int[][] input)\n\t{\n\t\t//TODO: Part A Question 5\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "5412862ebfdf8deee6c389725163fe42", "score": "0.5545879", "text": "static int so...
4648021c4cb25db970535dcabf4d17d6
Constructor for objects of class Map
[ { "docid": "b14efd0fb00917e3d88854de44f8b1c8", "score": "0.84936386", "text": "public Map()\n {\n createMap();\n }", "title": "" } ]
[ { "docid": "41a38816e7642b14d7c03a9aa796032e", "score": "0.85124344", "text": "public Map() {\r\n super();\r\n }", "title": "" }, { "docid": "6db286467a8735ec6fa525172f367ebb", "score": "0.81906277", "text": "public Map() {\n this(0,0,0);\n }", "title": "" }...
a2988b66569bf89bd637a226e4622d26
add item to the leftmost object in the deque throw overflow exception if the deque is full
[ { "docid": "0908cc7ff5aee9a48606e5d58f0fbac1", "score": "0.75709856", "text": "public void pushLeft(E item) throws Overflow {\r\n if(isFull()) {\r\n throw new Overflow (\"THE QUEUE IS FULL\");\r\n } else {\r\n block[front]= item;\r\n front--;\r\n count++;\r\n }\r\n ...
[ { "docid": "aa38d8424e04e6b9f601ce27b308c081", "score": "0.7200167", "text": "public void pushRight(E item) throws Overflow{\r\n if(isFull()) {\r\n throw new Overflow (\"THE QUEUE IS FULL\");\r\n } else {\r\n block[rear]= item;\r\n rear++;\r\n count++;\r\n }\r\n i...
925a2b7244972b2fd4eb4378326e1ea6
Executes the given SQL Query and returns a single scalar value. The caller is responsible specify the output type of this method.
[ { "docid": "d14cbac2c6fa83bb2bf129c85cdd9157", "score": "0.80053157", "text": "public <TOutput> TOutput executeScalar(String query) throws SQLException {\r\n\r\n /* Make sure that you are connected, otherwise try to reconnect */\r\n if (!isConnected()) {\r\n connect();\r\n ...
[ { "docid": "01e61aad2eb23d8230ad07d1d6d15791", "score": "0.76853627", "text": "public Object executeScalar(String query){\r\n\t\t//Empty Declaration\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "7ca46d44c3d257a195ba27a92fbe1bb7", "score": "0.65972894", "text": "private Obje...
4e55f7545b5661e86ec2e9609f2cf7d5
If you create a mirage instance directly, call this to cancel all pending tasks and to release application resources.
[ { "docid": "d8040941c6b9d7e49ae2b5f38adbbfa6", "score": "0.68612045", "text": "public void dispose() {\n ((Application)applicationContext).unregisterActivityLifecycleCallbacks(activityLifecycles);\n Iterator<Map.Entry<Object, MirageTask>> it = runningRequests.entrySet().iterator();\n ...
[ { "docid": "aff00a494233c06769c60da15461b054", "score": "0.6114326", "text": "@Override\n public void onCancel() {\n createTask(null);\n }", "title": "" }, { "docid": "5d18900eb2a8f47a033e13605b27a025", "score": "0.58971494", "text": "...
41f4b9e831cb900d5bf70c1c118f15f0
SHA256 checksum of the source file
[ { "docid": "00478d53d4c3262f620c8e971ece06ac", "score": "0.59976083", "text": "public String getSha256();", "title": "" } ]
[ { "docid": "efa237161271e8beac46edbc9c9865bb", "score": "0.7065229", "text": "long getChecksum();", "title": "" }, { "docid": "efa237161271e8beac46edbc9c9865bb", "score": "0.7065229", "text": "long getChecksum();", "title": "" }, { "docid": "5db3707dc164d137aa977648fd74ed...
ab84867dc7bea3075262c48a2aa22307
Create a new bean using it's default constructor. This does not add it to any bean graph.
[ { "docid": "4ec0030ef06d7e3ef42e3e5fe5787e24", "score": "0.0", "text": "public NodeAgents newNodeAgents() {\n\t\treturn new NodeAgents();\n\t}", "title": "" } ]
[ { "docid": "fce9154fcf16c9a7e4f474270f30bcbd", "score": "0.7199239", "text": "public BasicBeanImpl() {\n }", "title": "" }, { "docid": "52ce9e28ccc0d2a5c6b09df3b9acb93f", "score": "0.6832051", "text": "public TestBean() {\r\n }", "title": "" }, { "docid": "969e37db9...
db48abd91df25f95cd380e75f45cd29d
no need shutdown, EmbeddedDatabaseFactoryBean will take care of this
[ { "docid": "c97f7d5cf82c46aee7839491eb66bd10", "score": "0.6197059", "text": "@Bean\n public DataSource getDataSource() {\n EmbeddedDatabaseBuilder builder = new EmbeddedDatabaseBuilder();\n EmbeddedDatabase db = builder\n .setType(EmbeddedDatabaseType.HSQL) //.H2 or .DER...
[ { "docid": "52331073a665cd1dc3b069f68b75ebf5", "score": "0.6716526", "text": "private static void shutdown()\n {\n db.shutdown();\n }", "title": "" }, { "docid": "9333591b48d4fd39c44ebdbd2656cd26", "score": "0.6503536", "text": "@Before\r\n public void before() throws...
455f28097c69cffe2f197fadedce5de3
Method to get the latests moisture reading from the sensor
[ { "docid": "b6f40ec1e82d6188ab70a933cf56ce79", "score": "0.68767315", "text": "public float getMoisture() throws RemoteException;", "title": "" } ]
[ { "docid": "304f7cd4cb78ee9569c0343ba8258ef8", "score": "0.67887175", "text": "public int getSensorReading(){\n return temp;\n }", "title": "" }, { "docid": "0825b17144924fab3aafa4fb0efc5eff", "score": "0.66839427", "text": "void readSensors();", "title": "" }, { ...
c2c773265a8db0e2bd3ea6e1be4740c5
Returns the value of the 'Temp Expr' reference.
[ { "docid": "5530b6ca2ff3839be7f0589c6a2d0b95", "score": "0.725123", "text": "TemporalExpression getTempExpr();", "title": "" } ]
[ { "docid": "77cad487827044e573c23b5c67030124", "score": "0.60971236", "text": "public java.lang.String getTEMP() {\n return TEMP;\n }", "title": "" }, { "docid": "52b5696cd1361705a0a099abb2dc5a07", "score": "0.6069618", "text": "Temp munchExp(TEMP t) {\r\n \treturn t.ge...
a1945c9619a6fcfb1af0bce87a6db9e4
Bubble the item up till it has no lower values above it
[ { "docid": "0dfead8e20561f7ce0b56fac1fc799c6", "score": "0.5710809", "text": "private void bubbleUpItem(Comparable[] heap, int indexOfItem) {\n if (indexOfItem == 0)\n return;\n\n int parentIndex = getIndexLocationOfParent(indexOfItem);\n\n if (heap[parentIndex].compareTo...
[ { "docid": "d24573544436a9463a1268e5bf508daa", "score": "0.6642119", "text": "private void bubble_down (int position) {\n\t\tInteger elem = list.get(position);\n\t\tint dominant_idx = -1;\n\t\tInteger min = elem;\n\t\t\n\t\tfor (int i = first_child_index(position); i<= first_child_index(position) + 1; i...
4a3886ce51401b6e4f19739f678d7b44
curl i user admin:secret H Accept:application/json
[ { "docid": "8b253bca59cde13527881b398bb863e4", "score": "0.0", "text": "@RequestMapping(value=\"/categories\",method=RequestMethod.GET)\n\tpublic @ResponseBody List<Category> getCategories(){\n\t\t\n\t\tList<Category> categories = homeService.getCategories();\n\t\t\n\t\tlogger.info(\"categories size is...
[ { "docid": "7b3aef7676dbb17bc7d6cea04c828d26", "score": "0.5668378", "text": "public static void main(String[] arg) {\n String url = \"http://192.168.3.43:8080/web/login.action\";\n// String url = \"http://121.43.225.110:8080/greentown/greentown/syncGreenTownUser.action\";\n Map<Str...
8f78f4b782d8d1f46b9edc1ae1dd01f8
/ access modifiers changed from: 0000 / renamed from: a
[ { "docid": "93c8e994a03aad3db45232fe9c60b42e", "score": "0.0", "text": "public abstract void mo123254a();", "title": "" } ]
[ { "docid": "092f51e9c99cd4188e1aae23e1830dfd", "score": "0.6968227", "text": "protected void func_70626_be() {}", "title": "" }, { "docid": "d805286a2cb4117868ee9690cf9d882c", "score": "0.6772209", "text": "abstract C1829b mo3014a();", "title": "" }, { "docid": "eb0196bb9...
a9dbe119d22b27b6f9be78ee88ac8333
This adds menu items to the app bar.
[ { "docid": "d7f642e59687b6249220a4d28d063e4e", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_catalog, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "a72b337ec360cfd7ac72444fd1b49fa0", "score": "0.75698256", "text": "private void addMenu() {\n\t\tMenuBar menu = new MenuBar(actions);\n\t\tthis.setJMenuBar(menu);\n\t}", "title": "" }, { "docid": "71551e6be1ba0ccca4edb95eb0e133fe", "score": "0.71345514", "text": "@Overrid...
38ad1fd31cc591c8e90ab5281717c18f
Gets all groups that contain a user
[ { "docid": "17fe63441dcd8b3e28db7a32078492f0", "score": "0.64814126", "text": "public List<AccessGroup> getGroupsWithUser(String username)\n {\n List<AccessGroup> groups = new ArrayList();\n for (AccessGroup group : this.getGroups())\n {\n AccessUser user = group.getMe...
[ { "docid": "82eedd516f70bbfce3afe84432ff8d87", "score": "0.7439844", "text": "private static Set<Group> getGroupsForUser(int idUser) {\n User user = User.findById(idUser);\n\n Set<Group> groups = new HashSet<>();\n\n if (user == null) {\n return groups;\n }\n\n ...
6acc16596c0394b629a41df8d48acb63
Determine if this column is a character type (String, VARCHAR, CHAR, etc.) This is derived from the columnType
[ { "docid": "fb0ce5123aee6f92c9de47fafef688c6", "score": "0.7025998", "text": "public boolean isCharacterType()\r\n {\r\n return this.characterType;\r\n }", "title": "" } ]
[ { "docid": "8afc728578b4b50c2aef315f571df41f", "score": "0.6814031", "text": "public boolean isString()\n {\n return myColumnClass == ColumnClass.STRING;\n }", "title": "" }, { "docid": "a0f28cb84be9f6e2ed536d6ad57d20f0", "score": "0.62664545", "text": "private static bo...
4c4a09d1436314b61007e43e903d9641
Returns a new object of class 'Observed Measure'.
[ { "docid": "298067107af7f8f087f8941fb6069986", "score": "0.84829414", "text": "ObservedMeasure createObservedMeasure();", "title": "" } ]
[ { "docid": "6463ad3b6acdbc348218d29b3c62e3b6", "score": "0.6504031", "text": "Measure createMeasure();", "title": "" }, { "docid": "a5f283979cf6caa4ba5dd57fa5ca60f4", "score": "0.64113533", "text": "CollectiveMeasurement createCollectiveMeasurement();", "title": "" }, { "...
c2cc577703fe59860266d55e70503d1b
Remove all items from order by id.
[ { "docid": "a4f3948157501ad7b9d229d3019cb4b3", "score": "0.0", "text": "@Override\n public boolean removeAllItemsFromUserCart(final Integer userId) {\n\n String sqlQuery = DELETE_ALL_ITEMS_FROM_CART_BY_USER_ID_QUERY + userId;\n\n return executeSimpleQueryInThePreparedStatement(sqlQuery)...
[ { "docid": "6ce998e07dae9523e82be3b9485ec6b2", "score": "0.68154216", "text": "public void removeOrder(String id)\n\t{\n\t\tfor(int i = 0; i < cooking.size(); i++)\n\t\t{\n\t\t\tif(cooking.get(i).getID().equals(id)) \n\t\t\t{ \n\t\t\t\tchangeRemainingCapacity(cooking.get(i).getOvenSpaceUnits());\n\t\t\t...
d12abdfee6a392120e990e058e652c6c
Defines the natural ordering for VectorComponents. VectorComponents sort descending, from most frequent to least frequent. This method is inconsistent with equals because it does not take the weight into consideration.
[ { "docid": "f4caa44f01fb6bd2f2e435043a11e41d", "score": "0.6658555", "text": "@Override\n\tpublic int compareTo(VectorComponent other) {\n\t\t// sorts descending, inconsistent with equals\n\t\treturn this.id == other.id ? 0 : this.id < other.id ? 1 : -1;\n\t}", "title": "" } ]
[ { "docid": "501d09dc776ef9d1d11b9561aca92bdd", "score": "0.5806233", "text": "public PriceComparator()\n\t{\n\t\tascending=true;\n\t}", "title": "" }, { "docid": "b9d8876694f8be1f7c5f49392e46150a", "score": "0.5667096", "text": "@Override\r\n\t\t\tpublic int compare(Presentor o1, Pre...
ec21b5cd60b26c4a94952b2691db634f
get a handle to the stage
[ { "docid": "cfdb25da82c1da4110f04da65445254f", "score": "0.0", "text": "@Override\n public void handle(ActionEvent event) {\n Stage stage = (Stage) buttonExit.getScene().getWindow();\n game.save();\n stage.close();\n }", "title"...
[ { "docid": "c4bb38354e989d6c2ecbf7a5df418771", "score": "0.6780489", "text": "java.lang.String getCurrentStage();", "title": "" }, { "docid": "79b20bdb68cb8cb6edf57ca703ef5bc3", "score": "0.6437031", "text": "java.lang.String getStage();", "title": "" }, { "docid": "7f46a...
7830035a6e8b41694d53e8bb574f6b5b
ADD CATALOGUE ( adds one at the time )
[ { "docid": "ea97b72504d82a891128e76297c81bf0", "score": "0.0", "text": "@RequestMapping(method = RequestMethod.POST, value=\"/addCatalogues\")\n public Catalogue addCatalogue(@RequestBody CatalogueDTO c)\n {\n return catalogueService.addCatalogue(c);\n }", "title": "" } ]
[ { "docid": "a251aecf9321f8e2c70deb4099247ca4", "score": "0.6465555", "text": "private static void addCat(String line) throws IOException {\n\t\tcatlist.add(parseCat(line));\n\t\twritePersistentLists();\n\t\tchan.sendMessage(\"New category added\");\n\t}", "title": "" }, { "docid": "df5a6b551...
c0441954f69e4b8fcd93ce08d1659505
Prepares all of the managers to start.
[ { "docid": "15a50d0b3a762f6d4809a28ed50cecbc", "score": "0.8139661", "text": "protected void prepareManagersToStart() throws Exception {\r\n visitManagers(IAeManagerVisitor.PREPARE);\r\n }", "title": "" } ]
[ { "docid": "fd0227227b13b944a0915bef1d5746a8", "score": "0.70170313", "text": "protected void startManagers() throws Exception {\r\n visitManagers(IAeManagerVisitor.START);\r\n }", "title": "" }, { "docid": "6e0fd8597c06c04dc5714a101b189709", "score": "0.6709459", "text": "...
4af75a39b75a3ece644a1ac5fee36c4d
Registers an instance of the high level client for Elasticsearch.
[ { "docid": "6f5ea8b142c0d5c0b4cf9a486db63c39", "score": "0.45947492", "text": "@Bean\n public RestHighLevelClient restHighLevelClient() {\n RestClientBuilder builder = RestClient.builder(new HttpHost(configProps.getHost(), configProps.getPort(), configProps.getScheme()));\n RestClientBu...
[ { "docid": "22b9e99b224317988b9068311ba76d8a", "score": "0.69239086", "text": "public interface ElasticsearchClient {\n\n String META_CLUSTER_NAME = \"CLUSTER_NAME\";\n\n /**\n * Fetch index mapping(s) according to index expression given.\n *\n * @param indexExpression index expression\n * @re...
cd0803e8659482fd1ab08c0a58efb4a2
if user pressed "yes", then he/she is allowed to exit from application
[ { "docid": "59067477d72c732cc4bd964f9638bb14", "score": "0.0", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n Intent myIntent = new Intent(getApplicationContext(), SignInActivityController.class);\n myInten...
[ { "docid": "80ea10b627c3445eddb8aa28a98890e6", "score": "0.8043216", "text": "private void confirmExit() {\n\t\tGDXDialogs dialogs = GDXDialogsSystem.install();\n\t\tGDXButtonDialog bDialog = dialogs.newDialog(GDXButtonDialog.class);\n\t\tbDialog.setTitle(\"Are You Sure?\");\n\t\tbDialog.setMessage(\"Ar...
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "a3cbb684c95bdeeb46651841f11997f7", "score": "0.0", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\...
[ { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7244922", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamE...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e6983d31ba9f6e96a18bc44aa14f5b0c", "score": "0.0", "text": "public void setRawIntermediateMessage(String theRawMessage) {\n\t \r\n }", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
bdb5c9cbfd8b499cf8d2d8052936e3f2
Validates command if it is two words.
[ { "docid": "c885e9744efecda97ff2a27dade21d90", "score": "0.77302754", "text": "public void validateCommandTwoWords(String command, String what) throws InvalidCommandException{\n action = null;\n noun = null;\n if(isValidCommand(COMMANDS_TWO_WORDS, command)){\n if(validate...
[ { "docid": "9ac6fe21737d684ab51158906ddadb64", "score": "0.7856453", "text": "public void validateCommandOneWord(String command) throws InvalidCommandException{\n action = null;\n if(isValidCommand(COMMANDS_ONE_WORD, command)){\n action = command;\n }else if(isValidComman...
700e4299b0c68764666c560134ccfcb8
Ultimately, the speed with which an attacker discovers a secret is directly proportional to the computational resources the attacker has at their disposal. This attack method is resource expensive: having large amounts of computational power do not guarantee timely success, but having only minimal resources makes the p...
[ { "docid": "4cda16d86f686404b877a8bed6b237db", "score": "0.0", "text": "@Given(\"prepare to Reduce search space\")\npublic void prereducesearchspace(){\n}", "title": "" } ]
[ { "docid": "11700f870d18cbeba534e56930d3664e", "score": "0.64713067", "text": "public String getHint1(String secret, String guess) {\n\n //part1\n int[] counter=new int[10];\n int a=0,b=0;\n for(int i=0;i<secret.length();i++){\n if(secret.charAt(i)==guess.charAt(i)...
5a3ecb5b55db11d50de48499a5395f5b
Written by Andy to test the UI4.0
[ { "docid": "cc13a8be193ab80ca63720ca010a2ed7", "score": "0.0", "text": "public SelectTab submitNewLogin() {\r\n \tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\r\n \tdriver.findElement(newLoginButtonLocator).click();\r\n \treturn new SelectTab(driver); \r\n }", "title"...
[ { "docid": "da747b719228b715e912ab9d2333097f", "score": "0.6726207", "text": "@Override\n\tprotected void initUI()\n\t{\n\n\n\n\t}", "title": "" }, { "docid": "50a436bfe4104477c97049086fd585c2", "score": "0.669035", "text": "private void initUI()\n\t{\n\n\t}", "title": "" }, ...
2aa4e02cbd99956afa26391dea06eaa0
Indicates whether the user active. Inactive users may not log into the system. Corresponds to the database column user.active.
[ { "docid": "162629bda8e120abddb76ff49416cc3f", "score": "0.6794155", "text": "public boolean isActive() {\n return active;\n }", "title": "" } ]
[ { "docid": "c1789d4595c1253535d75818d053cb5e", "score": "0.7752084", "text": "@ApiModelProperty(value = \"Whether the user is active.\")\n public Boolean getActive() {\n return active;\n }", "title": "" }, { "docid": "853e120cb826195cbb8978ffef849161", "score": "0.7208347", "tex...
8e975acc16ac1ea4070d4c8b0de6b3d1
Returns true if field rootID is set (has been assigned a value) and false otherwise
[ { "docid": "4eafe7f268dffbe2ebdcc093ea8d628e", "score": "0.84801656", "text": "public boolean isSetRootID() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROOTID_ISSET_ID);\n }", "title": "" } ]
[ { "docid": "05707eca9d5d72c0d45eaa59d2b944d0", "score": "0.7200418", "text": "public boolean isSetParentId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __PARENTID_ISSET_ID);\n }", "title": "" }, { "docid": "05707eca9d5d72c0d45eaa59d2b944d0", "score": "0.7200...
47df2f3555f17fa10edaf835977a0ce5
Gets a List of "parameters" elements
[ { "docid": "b3280201b28b82aa0749e5097a1aa860", "score": "0.67541206", "text": "public java.util.List<com.eviware.soapui.config.CheckedParameterConfig> getParametersList()\n {\n final class ParametersList extends java.util.AbstractList<com.eviware.soapui.config.CheckedParameterConfig>\n ...
[ { "docid": "c9bccfba62e710eb9f898c7b69c07eec", "score": "0.8622699", "text": "List<Object> getParameters();", "title": "" }, { "docid": "c7205b12070a1502fcc2679c6c2658cc", "score": "0.8084182", "text": "List<PropertyParameter> getParameters();", "title": "" }, { "docid": ...
6bc0659737b184fd81e7ca427c8718bc
Returns array with amplitudes of each frequency. Note: Call analyze(double[] samples) first
[ { "docid": "05f0cf2110b9578d27cbec4d67854ca2", "score": "0.6865788", "text": "double[] getAmplitudes();", "title": "" } ]
[ { "docid": "aa618c47d53ede4209a4fc99b9ebda86", "score": "0.6554616", "text": "public double[] getValues()\n {\n double[] ret = new double[freqs.length];\n\n for (int i = 0; i < ret.length; i++)\n {\n ret[i] = freqs[i][i];\n if(plotOption==PLOT_REL_FREQ)\n ...
45eb8aaa38856068164b2eba8fffd4ec
search action in all action maps from global context
[ { "docid": "20ed7da6ce60ed688494839218ff3787", "score": "0.51442075", "text": "public Action findGlobalAction(Object key, boolean surviveFocusChange) {\n Action a = null;\n for (Reference<ActionMap> ref : actionMaps) {\n ActionMap am = ref.get();\n a =...
[ { "docid": "1a0a747198a89e9294aec821409a9add", "score": "0.6484746", "text": "private Action findAction() {\n Collection<? extends ActionMap> c = result != null ? result.allInstances() : Collections.<ActionMap>emptySet();\n\n if (!c.isEmpty()) {\n Object key = delega...
955b572751feb311d1ce52e7f32e1db9
When receiving an incoming, accept to start a media session as earlymedia.
[ { "docid": "9c7a75b3c1672c17c9d06db628165dad", "score": "0.0", "text": "@Deprecated\n public void acceptEarlyMediaWithParams(Call call, CallParams params);", "title": "" } ]
[ { "docid": "03833d10f6fcdbc47f3c94cc9d0fe27f", "score": "0.6206575", "text": "public void sessionRequested(final JingleSessionRequest request) {\n incCounter();\n System.out.println(\"Session request detected, from \" + request.getFrom() + \": accepting.\");\n\n ...
289d61f968d12f3fc8f477c192faf0c7
/ A list of Identifiers seprated by commas
[ { "docid": "5be72f4edd4d8e41b4197764c99cf1b7", "score": "0.0", "text": "final public ColumnNameList ColumnNameList(PrintStream prn) throws ParseException {\n // --- JTB generated node declarations ---\n Identifier n0 = null;\n NodeListOptional n1 = new NodeListOptional();\n NodeSequence n2 = null;\n...
[ { "docid": "7ddc7582e6e3f9ea362a00c5ba8752f4", "score": "0.6962441", "text": "private ArrayList<String> IdList() throws Exception {\r\n ArrayList<String> idList = new ArrayList<String>();\r\n if (cToken.getTipo() == Token.TokenType.Identifier) {\r\n idList.add(cToken.getLexem...
7494f581cf1f22223542aa5a2adec03d
a reasonable antioptimization but userfriendly enhancement here would be this commented out conditional: if (nativeType == NativeType.STRING) return new XmlString(strval);
[ { "docid": "1691f5f80b1549ca41cbd0a5ad5a3b6b", "score": "0.6469059", "text": "@Override\n public XmlAtom createStringDerived(final String initialValue, final NativeType nativeType)\n {\n if (initialValue != null)\n {\n PreCondition.assertNotNull(nativeType, \"nativeType\")...
[ { "docid": "ebf82f2125d7f2d267c4a5ef12b2e2f1", "score": "0.6460141", "text": "protected XString(Object val) {\n/* 49 */ super(val);\n/* */ }", "title": "" }, { "docid": "8fe542ae1e8dbe7328ebe550f33e87e1", "score": "0.6314921", "text": "private Document createXmlFromStrin...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c932b54ad17bfcc8f484d4550ee57bfa", "score": "0.0", "text": "@Override\n\tpublic String servePUT(HttpServletRequest request, String task) {\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}", ...
174c7833306b0afa766908d793622628
is the site (row, col) open?
[ { "docid": "550b633a7bfee63bf30358167e703dd3", "score": "0.6105686", "text": "public boolean isOpen(int row, int col) {\n if (row > dmn || row < 1 || col > dmn || col < 1) {\n throw new IllegalArgumentException(\n \"value at isOpen method must be between 1 and \" + d...
[ { "docid": "590cab3b627ff64c67349c2c8563e062", "score": "0.7804686", "text": "public boolean isOpen(int row, int col)\n // is the site (row, col) open?\n {\n if (row <= 0 || row > myN || col <= 0 || col > myN) throw new IndexOutOfBoundsException();\n\n if (grid[row - 1][col - 1] == e...
176b2e9db4c032f2d112c65481e0e426
Sets the mouse cursor.
[ { "docid": "3c2799846eef3a9af70dce7722f776f5", "score": "0.79150957", "text": "public void setMouseCursor(Cursor cursor) {\n Container c = getTopLevelAncestor();\n setCursor(cursor);\n if(c!=null) {\n c.setCursor(cursor);\n }\n }", "title": "" } ]
[ { "docid": "be42f69b73b4557b6db9ba05fe780224", "score": "0.80350906", "text": "public void setCursor(Cursor paramCursor)\n/* */ {\n/* 9342 */ Component.this.setCursor(paramCursor);\n/* */ }", "title": "" }, { "docid": "7e1f318ee881dbdd596afe4c0b79a567", "score"...
7a5c5ef86e9860fb1bd67e29637c0982
to get the details of employee by id.query function in dao always returns a list hence return type id given as list
[ { "docid": "12b8500c90267a6dab19456b1b805a59", "score": "0.74036413", "text": "@GetMapping(\"employee-bydid/{id}\")\n\t\tpublic List<Employee> getEmplyeeDetailsById(@PathVariable int id){\n\t\treturn empSerivce.getEmplyeeDetailsById(id);\n\t\n\t}", "title": "" } ]
[ { "docid": "9ae77dd52e5b0a88b763b08ea346db3d", "score": "0.7536495", "text": "public Employee getEmployeeById(String id);", "title": "" }, { "docid": "26b76552c229ecf40361cb1b179cc265", "score": "0.75053775", "text": "public Employee getEmployeeById(Integer id);", "title": "" }...
a5f6a6786cf94a1cb4303733f94fc527
Returns the number of pages
[ { "docid": "96942b33729bf8d5a27e352a04a3bb8a", "score": "0.7986327", "text": "public int getNumberOfPages() {\r\n\t\treturn this.numberOfPages;\r\n\t}", "title": "" } ]
[ { "docid": "f9960dc61026916b07eef5183e782ec5", "score": "0.90997064", "text": "int getNumberOfPages();", "title": "" }, { "docid": "f9960dc61026916b07eef5183e782ec5", "score": "0.90997064", "text": "int getNumberOfPages();", "title": "" }, { "docid": "1f1a88de322216bb55d0...
25a70fdb5b40c539b6b6e24ffcd8e197
Read Database and returns class associated with the query
[ { "docid": "2cb23910ad250827559481323650a297", "score": "0.0", "text": "public List<Bird> getBird(String Query, String Column){\n List<Bird> birds = new LinkedList<Bird>();\n SQLiteDatabase db=this.getReadableDatabase();\n // Db exec : Search Table for Entry Related to Query of a Sp...
[ { "docid": "ef8f0a6440103c3ed00df870589433a3", "score": "0.6765405", "text": "public SelectQuery createQuery(Class classname) throws DBLayerException, RemoteException;", "title": "" }, { "docid": "d5f440e533ebe4d7a807ad5050efa3ed", "score": "0.62919456", "text": "@Override\n publi...
76fed6963bd7ab56fa2ae6fd5b1bee8f
For SCTE35_ENHANCED output, defines a value. MediaTailor; takes this value, and its associated key, and generates the key/value pair within the EXTXASSETtag. If you specify a value, you must also specify a corresponding key.
[ { "docid": "f54a7fac17d3ad6c63ff6e6311e2efd5", "score": "0.0", "text": "public String getValue() {\n return this.value;\n }", "title": "" } ]
[ { "docid": "ea6fed09743904579d8550fa48cf85df", "score": "0.5009237", "text": "@TagAttribute\n void setMedium(ValueExpression medium);", "title": "" }, { "docid": "780d284e055de103a2b5b804759068d2", "score": "0.45363632", "text": "public String getAsset() { return asset; }", "tit...
b8fb9c6e62b0cdd634d504c42e415c67
if the letter to is typed the show the teleporter dialog
[ { "docid": "52e1665810c5ddfe8fbae2591623ddb6", "score": "0.72650075", "text": "@Override\n public boolean keyTyped(InputEvent event, char key)\n {\n if(key == 'E' || key == 'e'){\n teleporterDialog.show(getStage());\n\n return tr...
[ { "docid": "212a834cfa3347cb92294d75b9a03852", "score": "0.59877515", "text": "@Override\r\n public Boolean interact(CharacterInterface character) {\r\n teleport(character);\r\n return false;\r\n }", "title": "" }, { "docid": "26db9df8500768ddd82e46c687c9030e", "score...
15b8aa2754ab0e8d49a7fa308c1c7ac2
TODO: Put the PB config location in the server.properties file
[ { "docid": "f44434c1e4bbf18220411947750b02b7", "score": "0.0", "text": "public void enable() {\n\t\tPropertiesFile properties = new PropertiesFile(\"porkbarrel.properties\");\n\t\t\n\t\ttry {\n\t\t\tdebug = properties.getBoolean(\"debug\", false);\n\t\t} catch (Exception ex) {\n\t\t\tlog.log(Level.SEVER...
[ { "docid": "0bb4e302df4fc5d0077a8b22a7a81d9c", "score": "0.57677966", "text": "ServerConfigOutput getServerconfigoutput();", "title": "" }, { "docid": "c06b580d01d2135afe5acd22ebca0db2", "score": "0.5582534", "text": "ServerConfigInput getServerconfiginput();", "title": "" }, ...
d9ca81c16c1b32242d22a982ed71360d
No parameters, name stars with "get" or is a boolean / Boolean isFoo hasFoo method.
[ { "docid": "9c3400623eccc17ccbb55430827d90c1", "score": "0.67656356", "text": "protected boolean isGetter(ExecutableElement x, State state) {\n String name = x.getSimpleName().toString();\n TypeMirror returnType = x.getReturnType();\n if (!x.getParameters().isEmpty()) {\n return false;\n ...
[ { "docid": "87676f7a24e4cc808d4365792fe61c84", "score": "0.6694522", "text": "public boolean isGet() {\n return this == GET;\n }", "title": "" }, { "docid": "92c248a48dc5031c5286ddc8dbf5968f", "score": "0.65157986", "text": "public interface VelPropertyGet\n{\n /**\n ...
62f0878be4b35fc0de143cef93215771
Gets the price_list_data value for this Price_list_request.
[ { "docid": "52031331b8453432fe0aab4de42e526d", "score": "0.73946375", "text": "public Think.XmlWebServices.Price_list_data[] getPrice_list_data() {\n return price_list_data;\n }", "title": "" } ]
[ { "docid": "f969fa2458c8ed15cd94705d25b05c20", "score": "0.66489923", "text": "public void setPrice_list_data(Think.XmlWebServices.Price_list_data[] price_list_data) {\n this.price_list_data = price_list_data;\n }", "title": "" }, { "docid": "ef082d665745a480ef91babb6bdbf9f2", ...
c91bec1edf2ba300dd09c9b9519d2916
use buttons that look like spinners but they are easier to style and add "Select..." onbutton prompt.
[ { "docid": "a9c126a28d8ed0a7fccc19251a227ff2", "score": "0.0", "text": "private void setupSpinners(View parentLayout) {\n\t\t\r\n\t\tButton buttonChooseClub = (Button)parentLayout.findViewById(R.id.buttonChooseClub);\r\n\t\tArrayAdapter<Club> adapterChooseClub = new ArrayAdapter<Club>(this.getActivity()...
[ { "docid": "22ac9442fdf65f482fae127411d56ea0", "score": "0.6486458", "text": "public ChoiceButton(String title) {\n\t\t\tsuper(title);\n\t\t\tsetFont(new Font(\"ºÚÌå\", Font.PLAIN, 15));\n\t\t\tsetForeground(Color.BLACK);\n\t\t\tsetBackground(Color.GREEN);//°´Å¥±³¾°É«\n\t\t}", "title": "" }, { ...
8203348f0d30b8b588150bf5edd56c78
Gets the label to be used when displaying the given object.
[ { "docid": "4a848e8d3053d15f8274744f16ac6285", "score": "0.80208355", "text": "String getLabel(Object obj);", "title": "" } ]
[ { "docid": "f87e48d1f91c90f98d97145e877c8f7b", "score": "0.7471055", "text": "public String getText(Object object) {\r\n\t\tString label = ((J2EEDatasource) object).getDisplayName();\r\n\t\tlabel = label == null || label.length() == 0 ? ((J2EEDatasource) object).getName() : label;\r\n\t\treturn label;\r...
275bb29f32951f985bd53a5e5d185fed
The doGet method of the servlet. This method is called when a form has its tag value method equals to get.
[ { "docid": "8e7243c2f1c8f2ea075dc0d6d292cf74", "score": "0.0", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response)\n\t\t\tthrows ServletException, IOException {\n//\t\tresponse.setIntHeader(\"Refresh\", 5);\n\n\t\tresponse.setContentType(\"text/html;charset=UTF-8\");\n\t...
[ { "docid": "1d6cb9e0cde9a417c3fab748c7708aa3", "score": "0.74559927", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n \n //je ne sait pas if get or post !!!!!!\n \n \n\...
772851d06f66d933b94166d8f601996a
Get the shardCount property: The number of shards to be created on a Premium Cluster Cache.
[ { "docid": "7805434cd2d8e528f15448c3b3d4dfef", "score": "0.793627", "text": "public Integer shardCount() {\n return this.innerProperties() == null ? null : this.innerProperties().shardCount();\n }", "title": "" } ]
[ { "docid": "3164f1d74e42f7ff8986b0cfeaa18ed7", "score": "0.75347835", "text": "public int shardSize() {\n return bucketCountThresholds.getShardSize();\n }", "title": "" }, { "docid": "266a6407db27ecc7749af27c3878d2e3", "score": "0.7501779", "text": "public int totalShards()...
610928cc6a8f15550ac37e4e8b7d6790
simple bubble sort to sort the pairs in this list by non ascending order of communcation frequency
[ { "docid": "f00ffad4b9e5642698051a1baaec1fd4", "score": "0.6686344", "text": "private void sortPairs(ArrayList<VMpair> pairlistcopy) {\n\t\tint n = pairlistcopy.size() ;\r\n for (int i = 0; i < n-1; i++) \r\n for (int j = 0; j < n-i-1; j++) \r\n if (pairlistcopy.get(j).c...
[ { "docid": "9376f44e774019d373acd183a256b832", "score": "0.65726167", "text": "public static void sortBubble(int[] tab) {\n for(int i=0 ; i<tab.length ; i++) {\n for(int j=0 ; j<tab.length-1-i ; j++) {\n if(tab[j] > tab[j+1]) {\n int n = tab[j];\n ...
487684416666a6f4c9c71265d2514645
Populate the dictionary combo with a new dictionary name
[ { "docid": "1867505c756d6b80c2d4b4db2d910a03", "score": "0.7123173", "text": "private void populateDictionaryCombo(String name) {\n try {\n List<String> dictionaryNames = dictionaryManager\n .getAllBMHDictionaryNames();\n Collections.sort(dictionaryNames);...
[ { "docid": "e6d4b37b06c67b951edfa76c397f495b", "score": "0.6256951", "text": "private static void FillNames(Dictionary dict) {\n\n for (String name : names) {\n\n md.update(name.getBytes());\n dict.put(bytesToHex(md.digest()), name);\n md.update(name.toLowerCase()...
c4cf43c7c6d5628bcc95d25025795002
This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed under the Public Domain license. Code changes provided by the JCodec project are distributed under FreeBSD license. Intensity stereo lookup table for all possible values for 0.50.25scaleFactor.
[ { "docid": "2364c10f8671c8cf765f050d3f417867", "score": "0.6990104", "text": "interface ISScaleTable {\n\n float[] SCALE_TABLE = { 1.0f, 0.8408964152537146f, 0.7071067811865476f, 0.5946035575013605f, 0.5f,\n 0.4204482076268573f, 0.35355339059327373f, 0.29730177875068026f, 0.25f, 0.21022410...
[ { "docid": "e9ab1956cf3e5c66d11492574c384027", "score": "0.57547265", "text": "public native int me_subpel_quality();", "title": "" }, { "docid": "cc904b30810db1d39fae02bcdc7116ba", "score": "0.5558193", "text": "public LookupTable quadraticFunctionTable(double m){\n double Ma...
5da8c54902a1cd356afac54d1f2eec70
/ / / / / / / /
[ { "docid": "78ef4835fadbc549ac82c336a4a72b69", "score": "0.0", "text": "public void addItem(ItemBean itemBean, int num, ResourceEvent resourceEvent) {\n/* 151 */ BagItemInfo itemInfo = new BagItemInfo();\n/* 152 */ itemInfo.itemId = itemBean.getId();\n/* */ \n/* 154 */ BagEntity bagE...
[ { "docid": "035f1350f51835e976527ee94aae34e4", "score": "0.55015206", "text": "public void truc(){\n left=(left+1)%8;\n middle=(middle+1)%8;\n right=(right+1)%8;\n }", "title": "" }, { "docid": "ed09b76919f53c65643ece0f61410ec7", "score": "0.5370295", "text": ...
68244891e5049e2586d1f2242293a9f1
Return the winner by finding the maximum score
[ { "docid": "ffb7b52ec232e2e1352e9ae99f5255b6", "score": "0.6695754", "text": "int winner() {\n System.out.println(\"\\nTotal Scores:\");\n\n AbstractMap.SimpleEntry<Integer, Double>[] places = new AbstractMap.SimpleEntry[scores.length];\n for (int i = 0; i < places.lengt...
[ { "docid": "28af9a5346c297360af9abd4fb983411", "score": "0.7774045", "text": "public double maximumScore();", "title": "" }, { "docid": "2e4baa2a09d75e9a07d02c24952127be", "score": "0.76241934", "text": "private Player getWinner(){\r\n int max = 0;\r\n Player mPlayer = ...
78fd70aa909251194ac573625ae8e690
This method was generated by MyBatis Generator. This method sets the value of the database column xt_zd_org.telephone
[ { "docid": "1fb572a3cabc70b3b893b024439a2726", "score": "0.6415088", "text": "public void setTelephone(String telephone) {\n\t\tthis.telephone = telephone;\n\t}", "title": "" } ]
[ { "docid": "ced3548176ee2b8e4019ff37e024f363", "score": "0.7014678", "text": "public void setPhoneNumber(java.lang.String param){\n \n this.localPhoneNumber=param;\n \n\n ...
9b29ba839fa56816edf133e47de479a7
Toast.makeText(getApplicationContext(), "Tes Fab", Toast.LENGTH_SHORT).show();
[ { "docid": "244c256a20684a8fb359fa89c386bd31", "score": "0.0", "text": "@Override\n public void onClick(View v) {\n startActivity(new Intent(Main2.this, Insert.class));\n }", "title": "" } ]
[ { "docid": "78297d6a63955ae347c43634d40e246e", "score": "0.8321039", "text": "public void displayToast (String message)\n {\n Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "b87beacf0d30a8f67d39d16fafb3709c", "sco...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "99c3c63dff88764264a3489e32440a42", "score": "0.0", "text": "@Override\n\tpublic Object getItem(int pos) {\n\t\treturn list.get(pos);\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": "" }, { ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "795dc7fab163f34788981edfafc13ae7", "score": "0.0", "text": "@Override\n\tpublic void setPoolable(boolean poolable) throws SQLException {\n\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
5ba7e0ca193adf54ef053880889756f4
Returns the filtered list of tasks according to importance
[ { "docid": "c4a54f29a62635d19d33ec56cf4c9ec3", "score": "0.81564426", "text": "ObservableList<ReadOnlyTask> getFilteredTaskListByImportance(String importance);", "title": "" } ]
[ { "docid": "e32a814a3cfaeb1a2cab5aaf75ea66d8", "score": "0.715365", "text": "Set<Task> getFilteredTasks();", "title": "" }, { "docid": "3668ec9271c6356d278b383f64733271", "score": "0.6492247", "text": "public final List<Task> getFilteredTaskList() {\n\t\tList<Task> filteredList = new...
bb6173d0f57101be782811b8ece9ac2b
visible or Not : Security_Next_Button
[ { "docid": "6f1df9205813aeee69254bea5db24147", "score": "0.8278166", "text": "public boolean isDisplayed_click_Security_Next_Button(){\r\n\t\tif(click_Security_Next_Button.isDisplayed()) { return true; } else { return false;} \r\n\t}", "title": "" } ]
[ { "docid": "8270af70b3b6f56344d9b3be4b46e775", "score": "0.7749138", "text": "public boolean isEnabled_click_Security_Next_Button(){\r\n\t\tif(click_Security_Next_Button.isEnabled()) { return true; } else { return false;} \r\n\t}", "title": "" }, { "docid": "06df55a1b38a37bf7cafb62872be914d"...
93d7419147edf92113fc561d8cbfb4c0
Initializes a MyColor by setting the individual values of the rgb.
[ { "docid": "5673d062d72bca1bf07f1d59d79b1ecc", "score": "0.6833259", "text": "MyColor(float r, float g, float b) throws IllegalArgumentException {\n if (r < 0 || r > 1 || g < 0 || g > 1 || b < 0 || b > 1) {\n throw new IllegalArgumentException(\"Illegal Color\");\n }\n this.r = r;\n thi...
[ { "docid": "a030b1ceebea127a1b9577d80ea16292", "score": "0.7907569", "text": "public MyColor(float[] rgb) {\n if (rgb.length != 3) {\n throw new IllegalArgumentException(\"RGB must be of size 3\");\n }\n for (float num : rgb) {\n if (num > 1 || num < 0) {\n throw new IllegalArg...
0f0da8d8e52dc879daa41c7f78c7efda
Refreshes OAuth2 password request
[ { "docid": "dc331eeae36a743038a7cddc7376440c", "score": "0.72495794", "text": "public OAuth2Request refreshOAuth2PasswordRequest(OAuth2Request lastOAuthRequest) throws IOException {\t\n\t\t\n\t\tfinal String grantType = \"refresh_token\";\n\t\tfinal String applicationId = configuration.getApplicationId(...
[ { "docid": "aac710dda2dfe34e5cff93f89843bde7", "score": "0.6513696", "text": "public void refreshToken() {\n HttpRequestBuilder requestBuilder = HttpRequestBuilder.get(authRequest.getRequestEndpoint());\n requestBuilder.acceptJson();\n requestBuilder.method(HttpMethod.POST).entity(a...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4c5f22d6ec57e35a7dbad682e5274088", "score": "0.0", "text": "@Override\n\t\t\t\t\t\t\tpublic Tuple2<Long, MostActiveUsersForLearningGoal> call(\n\t\t\t\t\t\t\t\t\tMostActiveUsersForLearningGoal arg0)\n\t\t\t\t\t\t\t\t\tthrows Exception {\n\t\t\t\t\t\t\t\tTuple2<Long, MostActiveUsersForLearnin...
[ { "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...
8b2f6043594b0f53a09dee7ec26f39d6
test that unknown field name cause exception
[ { "docid": "341840e3299c713ebec1e8fcd6cec02d", "score": "0.7381262", "text": "public void testUnknownFieldnameExpection() throws IOException {\n {\n XContentParseException e = expectParseThrows(\n XContentParseException.class,\n \"{\\n\" + \" \\\"bad_fi...
[ { "docid": "655a3763df0fdb6f215378cf77819fe3", "score": "0.7309283", "text": "public void testUnknownObjectFieldnameExpection() throws IOException {\n {\n XContentParseException e = expectParseThrows(\n XContentParseException.class,\n \"{\\n\" + \" \\\"...
804e8017456b699f66a787bb2b1df157
return all the record
[ { "docid": "2f1eeb6ce971e268c48fa11ffa8506b0", "score": "0.0", "text": "public ArrayList<LocationRecord> getData(){\n ArrayList<LocationRecord> locations = new ArrayList<>();\n Cursor cursor;\n SQLiteDatabase db = this.getReadableDatabase();\n cursor = db.rawQuery(\"SELECT * ...
[ { "docid": "f5588f142e969fa6449e69b05fc6f2f7", "score": "0.74234366", "text": "@Transactional(\"txnManagerCollections\")\n\tpublic List<Object[]> findAll() {\n\t\tList<Object[]> records = new ArrayList<Object[]>();\n\t\tSession session = null;\t\t\n\t\tString hql = \"select record.contractId,record.pers...
14612ece9d49ce905b698f31fdc6296a
Returns the number of dish tables.
[ { "docid": "23fce0e03beb60e12ded0e98591316da", "score": "0.0", "text": "public static int countAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getPersistence().countAll();\n\t}", "title": "" } ]
[ { "docid": "f9cf4cfa2409459c35647393c67e6f0b", "score": "0.7850939", "text": "public static int dishCount() {\n\n if (singleton == null)\n return 0;\n\n return singleton.availableDishes.size();\n }", "title": "" }, { "docid": "25b6d302ad0df46072e856348262c1e5", ...
efbf68dfdee4a4bc36799ac5dbfddf24
optional string buwi = 6;
[ { "docid": "f14668c509e3c21d27c43574f2857f8f", "score": "0.0", "text": "public java.lang.String getBuwi() {\n java.lang.Object ref = buwi_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n ...
[ { "docid": "17760652d559be942318d32bfc6b7abe", "score": "0.64928466", "text": "java.lang.String getBuwi();", "title": "" }, { "docid": "34fcab5aeda91af7a5f9ffeb4b1ddbe4", "score": "0.62260014", "text": "public void mo719o(String str) {\n }", "title": "" }, { "docid": "...
619dca33ca9eb5eaa4b0cb1d8949dd9a
Convert encoded duration to actual duration.
[ { "docid": "680eaac5b7dba78db02969c0a44d8750", "score": "0.51106304", "text": "private static Duration convert(long dur) {\n if (dur == DUR_UNCHANGED)\n return null;\n else if (dur == DUR_ETERNAL)\n return Duration.ETERNAL;\n else if (dur == DUR_ZERO)\n ...
[ { "docid": "5b420c82fb36a9288dd097a63c08f21c", "score": "0.6992598", "text": "public String decodeDuration(String duration)\n\t{\n\t\tString minutes = \"0\";\n\t\tString seconds = \"0\";\n\t\tString res = duration.replace(\"PT\", \"\");\n\t\tminutes = res.split(\"M\")[0];\n\t\tseconds = res.split(\"M\")...