query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
fa5cd64b690d7fcd47b093a7d6fc3158
Inserta un valor en la base de datos
[ { "docid": "b163ab30405b47ffda5554f4a2afea1a", "score": "0.0", "text": "DBInsertResponse insert(String tableName, Map<String,Object> data, TypeOfInsert type);", "title": "" } ]
[ { "docid": "43d68f5f901062c1b30d02e87e678851", "score": "0.6980625", "text": "public final void insert() {\r\n PreparedStatement sentencia = null;\r\n final Connection con = conexion.getConnection();\r\n // insertar los datos en movimiento dentro de la BD\r\n try {\r\n ...
fc7ad4c4e2fc0fb16de306b53d81fd2e
/ / / / / / / / / / / / / / /
[ { "docid": "e40bcf0298be5a1f2a6227349d9a8a8b", "score": "0.0", "text": "public void setUpdateSelectionOnSort(boolean paramBoolean) {\n/* 1878 */ if (this.updateSelectionOnSort != paramBoolean) {\n/* 1879 */ this.updateSelectionOnSort = paramBoolean;\n/* 1880 */ firePropertyChange(\"updat...
[ { "docid": "40250d8ac5d37747fdda383a712a674e", "score": "0.5508272", "text": "int whisper_full_n_segments (Pointer ctx);", "title": "" }, { "docid": "a74c758496d482b079833c1a94bd2305", "score": "0.53760403", "text": "public int getMinVertSpace () {return 80;}", "title": "" }, ...
562024950ba2dd5721647767c71bc038
This method will put on pause execution
[ { "docid": "ba2851eb42913c76911db999ec7e17c6", "score": "0.0", "text": "public static void waitPlease(int seconds){\n try{\n Thread.sleep(seconds*1000);\n }catch (Exception e){\n System.out.println(e.getMessage());\n }\n }", "title": "" } ]
[ { "docid": "01ca42115cea37c17aa8d0d37eccbb82", "score": "0.82050633", "text": "@Override\n\t\tpublic void pause() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "01ca42115cea37c17aa8d0d37eccbb82", "score": "0.82050633", "text": "@Override\n\t\tpublic void pause() {\n\t\t\t\n\t\t}", ...
612bdcc8957507a1a212d7b93bac6dd2
este es un constructor con proposito de test solamente
[ { "docid": "b486f07d989c9d954c6906c50aff6c93", "score": "0.0", "text": "public Producto(String nombre) {\n this.nombre = nombre;\n }", "title": "" } ]
[ { "docid": "d3b28b4fc83aa2b329dd529291dd71c2", "score": "0.8102496", "text": "public pruebasTest()\n {\n }", "title": "" }, { "docid": "d8d612f7854ff0973f38dc0dc912ab3b", "score": "0.80166286", "text": "public ExemplaarTest()\n {\n }", "title": "" }, { "docid"...
ad6c242c8cdfb43aa537e9a19737d080
Run the GCInfo2[] j2EEGetVMGCHistory2() method test.
[ { "docid": "315ed3ee6bc7138c03b61143714d49a0", "score": "0.8305101", "text": "@Test(expected = org.apache.axis.AxisFault.class)\n\tpublic void testJ2EEGetVMGCHistory2_4()\n\t\tthrows Exception {\n\t\tSAPControl_BindingStub fixture = new SAPControl_BindingStub(new URL(\"\"), new DeployWSServiceLocator())...
[ { "docid": "e57b52f8f296446e5ebe3c8c175e27ea", "score": "0.8455068", "text": "@Test\n\tpublic void testJ2EEGetVMGCHistory2_1()\n\t\tthrows Exception {\n\t\tSAPControl_BindingStub fixture = new SAPControl_BindingStub(new URL(\"\"), new DeployWSServiceLocator());\n\n\t\tGCInfo2[] result = fixture.j2EEGetV...
aca67b398aaa7806a047775f47b56411
getWeight() Get weights of all panes
[ { "docid": "b8f48b994a847a42102883bc0db948de", "score": "0.816084", "text": "public double[] getPaneWeights() {\n double[] weights = new double[paneCount];\n\n for (int i = 0; i < weights.length; i++) {\n weights[i] = panes.get(i).getWeight();\n }\n\n return weight...
[ { "docid": "3c44c1f9e53a69896ea275c9fdcf9556", "score": "0.7712896", "text": "public double getWeight(int index) {\n return panes.get(index).getWeight();\n }", "title": "" }, { "docid": "95dab2e2ad5616e0a4e5225bfc32a565", "score": "0.73237675", "text": "public double getTot...
5f5d7c18fa38df9b2cd6741a44ebcb8f
Make sure that the given import string is valid. That is, that it consists of a sequence of '.'separated Java identifiers, and ends with a Java identifier or a ''
[ { "docid": "79f12fd3e6f520f416459eee9d8236e5", "score": "0.8886085", "text": "private static void validateImportString(String importString)\r\n {\r\n String tokens[] = importString.split(\"\\\\.\");\r\n for (int i=0; i<tokens.length; i++)\r\n {\r\n String token = token...
[ { "docid": "4a23ca1ef30d7e97074a9935d7f6f745", "score": "0.71365774", "text": "@Test\r\n public void testImportStringAmbiguity() throws ClassNotFoundException\r\n {\r\n TypeParser typeParser = TypeParsers.create();\r\n typeParser.addImport(\"java.util.*\");\r\n typeParser.addI...
965bb68e461d2b95f3f098f68f2f139b
Update the selection provider intermediate.
[ { "docid": "2af4456c7b8800b739fa97d32bef3832", "score": "0.0", "text": "private void tabChanged(Widget tab) {\n\t\tif (tab == curveTab) {\r\n\t\t\tselectionProvider.setSelectionProviderDelegate(curveGrid.getSelectionProvider());\r\n\t\t} else if (tab == imageTab) {\r\n\t\t\tif (!imageTabInitialized) {\r...
[ { "docid": "ff5f5ef619ee09a9713fa43023050e48", "score": "0.6974063", "text": "protected void updateSelection() {\n if( selectionRef.update() || modelRef.needsUpdate() ) { \r\n Integer i = selectionRef.get();\r\n if( i == null ) {\r\n selectedItem.setObj...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7d83c05f2999d473ec05e4152c35937d", "score": "0.0", "text": "@Override\r\n\tpublic void showMileage(double petrol) {\n\t\tSystem.out.println(\"Car mileage is \" + petrol*20 +\"Kms\");\r\n\r\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
50c232b7142ee1d3f13941d11fb50ebe
Creates an instance of the interface which is backed by inmemory structures, only.
[ { "docid": "df1defff085213b5ae4deda081b740e7", "score": "0.53120106", "text": "public KernelInterfaceImpl() {\n this.dataStore = new MemoryBackedDataStore();\n IAccountStore premined = this.dataStore.createAccount(PREMINED_ADDRESS.toBytes());\n premined.setBalance(PREMINED_AMOUNT);\...
[ { "docid": "94a50cfe1f11062412596f88d4588595", "score": "0.6047219", "text": "interfaceModel createinterfaceModel();", "title": "" }, { "docid": "48d44157e6505d77099c368549641cca", "score": "0.60457414", "text": "@Override\n\tpublic IStorableObject construct() {\n\t\treturn null;\n\t...
2db78fde20f3b6a329f589ebca6db66b
Method to set list of notes (mNotes) in the adapter to the list obtained from the database This method is called in the NoteListActivity when a new note is created
[ { "docid": "75b2ad813bfe3c7b6e3e28aa2683195d", "score": "0.84841114", "text": "public void setNotes (List<Notes> notes) {\n mNotes = notes;\n notifyDataSetChanged();\n Log.d(TAG, \"setNotes: Success\");\n }", "title": "" } ]
[ { "docid": "304f61d267541c9e30f2f00d0e4f4ea5", "score": "0.7780263", "text": "public void setListedNotes(List<ListedNote> newListedNotes) {\n this.mListedNotes = newListedNotes;\n notifyDataSetChanged();\n }", "title": "" }, { "docid": "76f6692642db49b5374028b9080c2563", "sco...
16435b038f780c70df253031a0308471
Determines the attributes of $live, based on whether other parts depend on it. $live is either constant, accessor, or stored. constant (the default) if we can't die or no part depends on us. accessor if we only die in response to the death of our container or a referenced part. stored if we can die from $n, $p or $type...
[ { "docid": "932ca3a5813e66314fb6316dd2cc169f", "score": "0.6523869", "text": "public void setAttributesLive ()\n {\n for (EquationSet s : parts)\n {\n s.setAttributesLive ();\n }\n\n Variable live = find (new Variable (\"$live\"));\n if (live != null)\n ...
[ { "docid": "32d0b112856a61260c60b4b55c14be38", "score": "0.47629613", "text": "public boolean hasLife() {\n return result.hasLife();\n }", "title": "" }, { "docid": "6e61bcd71bd2e2c7e7df4d431cd2e66a", "score": "0.47412488", "text": "public boolean isLifetime() {return Lif...
f782af3a6e14a8de2e44a4a21f831ea3
after onCreateView, get latest taskCollectors and tasks
[ { "docid": "0e5d2f2dc17bdd06164d58d80de4353e", "score": "0.63138115", "text": "@Override\n protected void onStart(){\n taskCollectors = getLocallyStoredData(storeRetrieveData);\n int size = taskCollectors.size();\n if (size<3){\n switch (size){\n case 0:...
[ { "docid": "bea94a1ef388f367de1a5d4bffbaccb7", "score": "0.66033787", "text": "private void initTaskViews(){\n for (Task t : taskManager.getTasksList()){\n submit(t.getName(), t.getIdInView(), t.getTimeForTask(), t.isFinished());\n }\n }", "title": "" }, { "docid"...
60e5b46e0d7073cc6f87d9f14c717dd5
$ANTLR end "entryRuleInterNodeAlt" $ANTLR start "ruleInterNodeAlt" ../co.edu.uniandes.enar.picture.ui/srcgen/co/edu/uniandes/enar/ui/contentassist/antlr/internal/InternalPicture.g:1415:1: ruleInterNodeAlt : ( ( rule__InterNodeAlt__Group__0 ) ) ;
[ { "docid": "133a771d88b2ef85ed9a6b36121d70c0", "score": "0.84441465", "text": "public final void ruleInterNodeAlt() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../co.edu.uniandes.enar.picture.ui/src-gen/co/edu/uniandes/enar/u...
[ { "docid": "ee3496b55feea93ffbd151cadbeae2a4", "score": "0.79378366", "text": "public final void rule__InterNodeAlt__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../co.edu.uniandes.enar.picture.ui/src-gen/co/edu/uni...
ea00c06e82b1311cd17d130a75fc672d
Returns the default afternoon shift start time.
[ { "docid": "df63ee4a509203bf7433cc377ce28950", "score": "0.7835729", "text": "public static LocalTime getDefaultAfternoonStartTime() {\n return defaultAfternoonStartTime;\n }", "title": "" } ]
[ { "docid": "3553926f19bd2f4565cafaaa24e519ba", "score": "0.7521524", "text": "public static LocalTime getDefaultMorningStartTime() {\n return defaultMorningStartTime;\n }", "title": "" }, { "docid": "d5f83596c89f0839445d98456724ae0e", "score": "0.6824142", "text": "public s...
cb8ffa0e2cf5dc9776944c3fb915c92e
.dstore.values.IntegerValue payment_type_id = 2;
[ { "docid": "391adf94cba76bc35f0e920e1944811b", "score": "0.0", "text": "public Builder clearPaymentTypeId() {\n if (paymentTypeIdBuilder_ == null) {\n paymentTypeId_ = null;\n onChanged();\n } else {\n paymentTypeId_ = null;\n paymentTypeIdBuilder_ = nul...
[ { "docid": "f2f8cd3b6242d1abccc5c697b605f680", "score": "0.79326195", "text": "io.dstore.values.IntegerValue getPaymentTypeId();", "title": "" }, { "docid": "1bdf0c5d8110486122488a03a403d927", "score": "0.69732004", "text": "io.dstore.values.IntegerValue getSurchargeTypeId();", "...
8b285cd72dd479ed3fb95179da3c01dd
Sync action Pre: canRequest(r1, [[r2]]) and canAccept(r2, [[r1]]), where [[r]] is a matching action with peer r e.g., via via SConfig.getFireable Return an updated copy
[ { "docid": "1f9b61724d447b5b2f1d0b14409b72fc", "score": "0.0", "text": "public SingleBuffers connect(Role r1, Role r2) // Role sides and message don't matter\n\t{\n\t\tSingleBuffers copy = new SingleBuffers(this);\n\t\tcopy.connected.get(r1).put(r2, true);\n\t\tcopy.connected.get(r2).put(r1, true);\n\t...
[ { "docid": "731ce4cfffbad5eebe38818b74d33c60", "score": "0.5246568", "text": "private Set<Role> isWaitingFor(Role r)\n\t{\n\t\t//EndpointState s = this.states.get(r);\n\t\tEFSM s = this.efsms.get(r);\n\t\tEStateKind k = s.getStateKind();\n\t\tif (k == EStateKind.UNARY_INPUT || k == EStateKind.POLY_INPUT...
ad8670663904c565912ff9a15b7f39bc
Get a numbering format.
[ { "docid": "bd27222379ba51e6b9bceff34b485f95", "score": "0.59997535", "text": "public String getNumberFormat(int level, String blocklabel) {\r\n return this.formats.get(level + \"-\" + blocklabel);\r\n }", "title": "" } ]
[ { "docid": "744b306d6be40ebfb2c77be81ec242dc", "score": "0.6909192", "text": "public NumberFormat getNumberFormat()\r\n/* 90: */ {\r\n/* 91:190 */ return this.format;\r\n/* 92: */ }", "title": "" }, { "docid": "85988413d808ebe0fff6a91581a062cf", "score": "0.6879475", ...
05fe53d9c3ba6548ea754997d36d1f4f
This class is not meant to be instantiated.
[ { "docid": "fad7cc4fc27c68afa72ccaeb4a76eee0", "score": "0.0", "text": "private TextEncodingUtilities() {}", "title": "" } ]
[ { "docid": "434e4a5ff222046d0f614414fae44211", "score": "0.6879303", "text": "private Reflexion() {\n\t}", "title": "" }, { "docid": "a02f8e0f4ed0eefc7c02ba56f806759b", "score": "0.6728044", "text": "private Implementation() {\n \t}", "title": "" }, { "docid": "baa7a60bd2...
fa369ce14bce1fd1ebb895195a213f64
don't override this method
[ { "docid": "c195dddf457014c0b23fbf8fa7f6dd71", "score": "0.0", "text": "public boolean next() {\n\t\tsetup(); return ok();\n\t}", "title": "" } ]
[ { "docid": "096eb77080c8c192fe461650f49ca14b", "score": "0.74164695", "text": "@Override\r\n public void catering() {\r\n\r\n }", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.7404219", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", ...
311784b0020d8f9d8f86eba7dbb34697
Add a RtcCandidate that is received form the other peer.
[ { "docid": "c40a9c434287840e323d2068da06b055", "score": "0.7973425", "text": "void addRemoteCandidate(RtcCandidate candidate);", "title": "" } ]
[ { "docid": "9566842cc733cdf8316863542ed4a0a8", "score": "0.58374333", "text": "void onLocalCandidate(RtcCandidate candidate);", "title": "" }, { "docid": "e6548dbf3f42db67077586effc6eb0c0", "score": "0.56513274", "text": "public void addRtcp(int local_port, String dest_addr, int dest...
9c936b6a1aaa1aa4153f87e2556a776d
Get the next node Id to be attributed
[ { "docid": "aaeafb3b3e8a816c742e639a89a2388a", "score": "0.65320003", "text": "public String getNextNodeId(String sNodeId)\r\n\t{\r\n\t\tif (\"\".equals(sNodeId))\r\n\t\t{\r\n\t\t\tString sResult = \"\" ;\r\n\t\t\tif (isLocalServer())\r\n\t\t\t\tsResult += LdvGraphConfig.LOCAL_CHAR ;\r\n\t\t\telse ...
[ { "docid": "5f0422c42245338a3fc18c885ae34c2c", "score": "0.7403669", "text": "private int GetNextId()\n {\n int id = nextId;\n nextId++;\n return id;\n }", "title": "" }, { "docid": "fdd31ef42f4d5b675dd154089bcd9abb", "score": "0.73337847", "text": "private...
cf52b08ec9273ca738edc9962d2f7de2
<< define FldINSupDemSupplier 12
[ { "docid": "d57087e884bce854832a4aab17cd8d89", "score": "0.6256479", "text": "public static Object $$$FldINSupDemSupplier(mContext m$) {\n return (12);\n }", "title": "" } ]
[ { "docid": "616fa8ab43f4e2e62698e183f96910eb", "score": "0.65537", "text": "public static Object $$$FldINSupDemSupplierName(mContext m$) {\n return (17);\n }", "title": "" }, { "docid": "53666eade9fe9a790e8b786696ebddbc", "score": "0.6240921", "text": "public static Object $$$Fld...
4f23bb96f545295238ba7a7f91c1c6e0
Creates an &x60;InteractionModel&x60; for the skill.
[ { "docid": "119ef44cd2ca529f18d8fe4e69ccf7c6", "score": "0.47002605", "text": "public void setInteractionModelV1(String skillId, String stageV2, String locale, com.amazon.ask.smapi.model.v1.skill.interactionModel.InteractionModelData interactionModel, String ifMatch) throws ServiceException {\n this....
[ { "docid": "457fb2624d97c4e95ad4a205aa6ec490", "score": "0.608438", "text": "public static Skill createEntity() {\n Skill skill = new Skill()\n .skill(DEFAULT_SKILL)\n .skillDesc(DEFAULT_SKILL_DESC)\n .icon(DEFAULT_ICON)\n .language(DEFAULT_LANGUAGE)\n ...
f18feca874db1f6afcdec66f026d58e9
basic search across Title, Author, ISBN, and Dewey Index Number
[ { "docid": "674e8420dba506d6e601765330132732", "score": "0.0", "text": "static List<Book> searchBooks(DataSnapshot dataSnapshot, String searchWord) {\n return searchBooks(dataSnapshot, searchWord, false);\n }", "title": "" } ]
[ { "docid": "f106d5b86cac274a7fd3eaa4ed09cebf", "score": "0.7290358", "text": "private void searchByISBN() {\n\t\t\n\t\tSystem.out.println(\"Search by ISBN\");\n\t\tString isbn = this.searchField.getText().trim();\n\t\tif(!validateISBNFormat(isbn)) {\n\t\t\tthis.searchTermFormatError.setText(this.isbnFor...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2ae5122b937310a01ed256808c0359be", "score": "0.0", "text": "@Override\r\n\tpublic List<SatisContract> GetById(int id) {\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
900ca507467f74794120b91432bab773
Get the notBefore property: Not before date in seconds since 19700101T00:00:00Z.
[ { "docid": "ccf2ea145ebe1f1793fd5cb8fb26f3f2", "score": "0.6721432", "text": "public Long notBefore() {\n return this.notBefore;\n }", "title": "" } ]
[ { "docid": "d981ea66eb30106f6c74eba7771ecb98", "score": "0.7084512", "text": "public java.util.Date getNotValidBefore() {\n return this.notValidBefore;\n }", "title": "" }, { "docid": "05dc7c48263f70d1b88487efb0ca3e9d", "score": "0.658416", "text": "public GregorianCalendar...
f17dac01dfd2b54030435366a7f44b7d
/ renamed from: iO
[ { "docid": "7e80ab0463e8978872bbbb90efd61a83", "score": "0.0", "text": "public final void mo68823iO(boolean z) {\n AppMethodBeat.m2504i(43042);\n if (z) {\n this.ohX.setVisibility(8);\n AppMethodBeat.m2505o(43042);\n return;\n }\n this.ohX.set...
[ { "docid": "71000b5e2e96624445c3cd60985dc08b", "score": "0.6730689", "text": "private IO () {\n\t/* Empty body. */\n }", "title": "" }, { "docid": "fa2ab0e541552c398bda0e13e8ad5395", "score": "0.67275923", "text": "public void fileIO();", "title": "" }, { "docid": "916...
2bfa7e1891c162bf4949f8cf06b4de04
Checking for a change
[ { "docid": "6cb2cbf8dbb1dece9ceb99bbd11fa88d", "score": "0.0", "text": "@Test\r\n\t\t//Function is called to test the extract function\r\n\t\tpublic void testExtract() {\r\n\t\t\tISoundProgrammer soundprogram = new SoundProgrammerImpl();\r\n\t\t\tString exp_output = new String(\"public class Apple {\\r\...
[ { "docid": "7c6564547b8b8c402dd2594f4665d960", "score": "0.7828836", "text": "boolean hasChanged();", "title": "" }, { "docid": "4b15ef72a559a12f54ae9715aa4103b8", "score": "0.7698406", "text": "boolean isChanging();", "title": "" }, { "docid": "4b15ef72a559a12f54ae9715aa...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cf97a2569cef6877320757451b247e25", "score": "0.0", "text": "@Override\n public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n ...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
ece526e3a8764e3cd15170676cfe9ea8
This is the ending scene. This will send them back to menuScreen
[ { "docid": "9b087836a0609c9d40c5d706eee7977e", "score": "0.7904775", "text": "public void theEnd(){\n\n // clear the array from the old scenes\n scene.clearSegments();\n\n // sets the background\n background.setAnimation( background.theEnd );\n scene.addSegment( new Sc...
[ { "docid": "4a54fc13609073653e77382d9868076a", "score": "0.774742", "text": "private void returnToMenu() {\n try {\n multiplayerClient.sendForfeit();\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n GameManager.changeScene(\"MenuScreen.fxml\");\n...
80a75d2e010fb45372be9bdc66e603f0
Noargument constructor as requested for the java beans
[ { "docid": "13dd64d53a5c415f91b552f73bd8b169", "score": "0.0", "text": "RasterBeanAccessor() {\n }", "title": "" } ]
[ { "docid": "9359298f27786f3384074915d6cdc915", "score": "0.7585083", "text": "public bajaBean() {\r\n }", "title": "" }, { "docid": "587eed4d377d606955d72a03bfb73a7c", "score": "0.7534479", "text": "public PO_Bean() {\n }", "title": "" }, { "docid": "f8e7e3c6f990e5c...
519fdba92535c2895afa851bd1d26200
Takes the JSON Objects and maps them to pure Java objects
[ { "docid": "a1fd61032d85f88fc5e1e8237b2d469a", "score": "0.0", "text": "public void buildMainArray() throws IOException {\n\t\ttry {\n\t\t\tint count = returnedDeals.size(); // get totalCount of all\n\t\t\t\t\t\t\t\t\t\t\t\t// jsonObjects in the arraylist\n\t\t\tfor (int i = 0; i < count; i++) { // iter...
[ { "docid": "90c94b150ec3dad7c1cea60e472dec5d", "score": "0.67563117", "text": "Mapping createMappingFromJSON(String json) throws IOException;", "title": "" }, { "docid": "5010544127185cce8b8fa8a33350880d", "score": "0.67290014", "text": "Mapping createMappingFromJSON(JsonNode json) t...
2810a7357d569c08764544b7d5218eb3
Test of readRichSequence method, of class Part. This test doesn't do anything particularly useful because the Part p.equals() method is weak
[ { "docid": "f4fa24ad7e0c5c86236a38aeb3efd36b", "score": "0.7430743", "text": "@Test\n public void testValidReadRichSequence() throws BioException {\n System.out.println(\"readRichSequence\");\n RichSequence rs;\n\n // input for test\n String testfileString = \"B0015.ape\";...
[ { "docid": "3e2dd9a7be3e20f2f80920d69e54f9ef", "score": "0.6934213", "text": "@Test\n public void testEmptyReadRichSequence() throws IllegalSymbolException {\n System.out.println(\"EmptyReadRichSequence\");\n Sequence sseq = DNATools.createDNASequence(\"\", \"\");\n RichSequence ...
6cf79e365912b5910a4ed9ad994dfee7
Get all of the indexes on this table.
[ { "docid": "85bc17727cfc6f40fe91c1ca948a2311", "score": "0.72085357", "text": "public Map<String, Field> getIndexes() {\n return Collections.unmodifiableMap(indexes);\n }", "title": "" } ]
[ { "docid": "104d88437dfce5292b4c99421606bbfd", "score": "0.7849002", "text": "List<Index> getIndexes();", "title": "" }, { "docid": "be07bba23378208bcba6e8abdfbfb9c6", "score": "0.78242445", "text": "Set<Index> getIndexes();", "title": "" }, { "docid": "ecc1f3e19cc3f30331...
56733c4210f6e21e76cfb2cc1494f656
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
[ { "docid": "12fddf206fd292af75ba4f0ae29f423a", "score": "0.0", "text": "public static _Fields findByThriftIdOrThrow(int fieldId) {\n _Fields fields = findByThriftId(fieldId);\n if (fields == null) throw new IllegalArgumentException(\"Field \" + fieldId + \" doesn't exist!\");\n retu...
[ { "docid": "27a2a2491541bca476aaff5dab9a03ed", "score": "0.74356407", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ERR\n return ERR;\n default:\n return null;\n }\n }", "title": "" }, { ...
08775891d5fc7bf777c9476a223f0072
Service Interface for managing PriceRange.
[ { "docid": "45d40fde9fa090f78833960e06a93445", "score": "0.7432835", "text": "public interface PriceRangeService {\n\n /**\n * Save a priceRange.\n *\n * @param priceRangeDTO the entity to save\n * @return the persisted entity\n */\n PriceRangeDTO save(PriceRangeDTO priceRangeD...
[ { "docid": "f7465403b0bcbb5260d84d7c281f502f", "score": "0.6700475", "text": "public interface PricingService {\n\n double findProductPrice(Product product) throws DaoException;\n\n ListPrice findLatestListPrice();\n\n List<ListPriceItem> addAllProductFamilies(Fabric fabric, Stripe stripe, doub...
dae10f23a9d67643a2b5e04124764035
Asigna la propiedad con el valor especificado.
[ { "docid": "96a793241e47f921c7653b6b4fd7318f", "score": "0.0", "text": "public SemanticObject setProperty(SemanticProperty prop, String value, boolean evalExtInvo)\n {\n return setProperty(prop, value,null,evalExtInvo);\n }", "title": "" } ]
[ { "docid": "c1d2af718b35ffe998a82ae04c610e0d", "score": "0.6545175", "text": "private void setNombre(String pNombre){\n nombre = pNombre;\n }", "title": "" }, { "docid": "de1ea885d30eae58af599f75b1bc8d4a", "score": "0.6471436", "text": "private void setNombre (String p_nombr...
561274d1d72bc2ed408dbd6cbad72eb4
/ Acquire the semphore and add the task to the completed tasks list
[ { "docid": "a208a9142fa6364f79300a8f9fe1dad7", "score": "0.585626", "text": "public void completeTask(TaskEntry task) {\n \tthis.completedTasksProtect.acquireUninterruptibly();\n \tthis.completedTasks.add(task.id);\n \tthis.completedTasksProtect.release();\n this.junkFiles.offer(task.fil...
[ { "docid": "ebfe3da1bcc2946cdea4de8045e20654", "score": "0.6352246", "text": "@Override\n public void execute() {\n tasks.add(taskToAdd);\n dukePrint.printAdd(taskToAdd, tasks.getSize());\n }", "title": "" }, { "docid": "026c2df8076cc684b002864bdf7aeedb", "score": "0....
0f6cff91a1059cd19d8e449dc1d25431
DbgpConnectionConfig dbgpConfig = DbgpConnectionConfig.load(config);
[ { "docid": "ec3d12a6136921f1c25f72283d4fa35d", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n @Override\n protected InterpreterConfig alterConfig(InterpreterConfig config,\n PreferencesLookupDelegate delegate) throws CoreException {\n\n if (config != null) {\n config.setPrope...
[ { "docid": "d078c80ddca86aac36cf141d99734662", "score": "0.6050999", "text": "public static JsonObject getDbConfig() {\n return glbConfig.getJsonObject(\"database\", new JsonObject());\n }", "title": "" }, { "docid": "6cde408050928165da523554e518b190", "score": "0.59423023", ...
2ad921e7fdcdce084d58997b3b93dfef
judge whether two points can be matched in two lines
[ { "docid": "89b8e30a4a28b3412dc1c56b459cdc8f", "score": "0.0", "text": "public boolean oneCornerMatch(int[][] map, int firstRow, int firstColumn, int secondRow, int secondColumn)\n {\n return map[firstRow][secondColumn] == 0\n && zeroCornerMatch(map, firstRow, firstColumn, first...
[ { "docid": "4c4e69838c3906c7b60848143e340d50", "score": "0.8038797", "text": "boolean isLineUsingTwoPoints(Point p1, Point p2);", "title": "" }, { "docid": "e61285a306938c5f5d9b49b88e43eb70", "score": "0.7527141", "text": "private boolean existsALineBetweenTwoPoints(Element e1, Eleme...
c995dab125334363b857b5a4af5e4d15
Renders the welcome message users see upon first invocation of a Gradle distribution with a given Gradle user home directory. By default the message is never rendered.
[ { "docid": "558f0481c25be8653f746500b720bc8b", "score": "0.7119013", "text": "GradleExecuter withWelcomeMessageEnabled();", "title": "" } ]
[ { "docid": "5e92982b6f6a9914d2b806f7198f3752", "score": "0.69320655", "text": "protected void displayWelcomeMessage() {\n displayToUser(Constants.MESSAGE_WELCOME);\n }", "title": "" }, { "docid": "142463ddee25af1a419efd65afc7af8b", "score": "0.6342877", "text": "public stat...
93f5d58e1b17890b74455ac2b11114b5
region Gets e Sets
[ { "docid": "4f997de02212e39bd02df452a163512d", "score": "0.0", "text": "public Integer getNumero() {\n return this.numero;\n }", "title": "" } ]
[ { "docid": "d9a016d3d15ed0f583854b06b9ecfb41", "score": "0.6757228", "text": "public List<SetType> getSets() {\r\n return setList;\r\n }", "title": "" }, { "docid": "6c9ffda4f44b9dee3b2b9cc3cc1a34d8", "score": "0.67341554", "text": "public Set e() {\n return ...
3ca5bb117c72bb95522cbf0283d44297
Get base component class, targetted for this renderer. Used for check arguments in decode/encode.
[ { "docid": "b69ad06de9e2553f386cc1a3dc7720cc", "score": "0.6288358", "text": "protected Class getComponentClass() {\r\n\t\treturn org.omidbiz.component.UIWindowPopup.class;\r\n\t}", "title": "" } ]
[ { "docid": "31ca8da1068464c050e0e4291dace6be", "score": "0.737985", "text": "public Class<? extends Component> getComponentClassOverride();", "title": "" }, { "docid": "370a9cad782e18dd6db36c99b07ea969", "score": "0.67929065", "text": "protected Class<?> getComponentType()\n {\n ...
49c4e897e635e8e6e324a4af76ef7ff6
This method returns an object stored in the hashtable by giving it its key, this method works with the help of the hashing method
[ { "docid": "14528581fd557e52785ae55062b42342", "score": "0.0", "text": "V find(K key) throws InvalidPositionException;", "title": "" } ]
[ { "docid": "7c76939fa6ea354be3f9418fb0e10d0d", "score": "0.66339386", "text": "Object getObject(String key);", "title": "" }, { "docid": "50f74d9c961ab74cd9c06a9188244a92", "score": "0.6630781", "text": "public T get(K key) throws NotFoundException {\r\n\t\t int hash = (int) h1(key...
a25bcd547f2528cbafa3d27eb8fc057b
Function name: setupCurrentPokemon Description: Set initial image for each Pokemon Parameters: None Return value: None
[ { "docid": "2bac02bdf89aa08f872cc4ea143597b6", "score": "0.7325462", "text": "private void setupCurrentPokemon() {\n\t // Display image for player and opponent Pokemon\n\t for(int i = 0; i < labelPokemon.length-2; i++) {\n\t labelPokemon[i].setIcon(new ImageIcon(\"images/pokeball.png\"));\n\t ...
[ { "docid": "a2b1b94db9ae336f1181754921649d5c", "score": "0.5831868", "text": "public static List<Pokemon> initialPokemon() {\r\n List<Pokemon> output = PokemonDataJson.load(\"data/poke.json\");\r\n for (Pokemon pokemon : output) {\r\n pokemon.setMainType(Types.Empty);\r\n ...
e46fa6c4217a599a6f7bb7863f1a1f57
$ANTLR end "T__125" $ANTLR start "RULE_ID"
[ { "docid": "9da249137f08fbe3c9687ce5b2683c1d", "score": "0.6972513", "text": "public final void mRULE_ID() throws RecognitionException {\r\n try {\r\n int _type = RULE_ID;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // ../org.wsn.sennet.xtext/src-gen/org/wsn/sen...
[ { "docid": "aa39db43e7f84c5732b264706060a9be", "score": "0.6990452", "text": "public final void mRULE_ID() throws RecognitionException {\n try {\n int _type = RULE_ID;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../dk.itu.smdp.junit.asrt.MyDsl.ui/src-gen/dk/itu/s...
223d875f0054be1cce6e48e4cd1f5c3a
double minDelta = Math.max(minTickSize, (this.max this.min) (minPixels / this.length));
[ { "docid": "22b9714b4947d5a6c6634477bf448cda", "score": "0.6902959", "text": "private double computeTimeTickSize(double minPixels) {\n \t\tdouble minDelta = (this.max - this.min) * (minPixels / this.length);\n \n \t\tif (minDelta < 1)\n \t\t\treturn computeTickSize(minPixels);\n \n \t\tfor (int unit = 0...
[ { "docid": "85103ce4a7e8306e14ef217cd2275bd6", "score": "0.644796", "text": "protected double getMinScale() {\n return 0;\n }", "title": "" }, { "docid": "5ac0ef53a8d622b131c83fb82b78c16b", "score": "0.6429537", "text": "float getMinDeltaTrig();", "title": "" }, { "do...
9ebfde8a47924458c63be8141bd17dd2
Removes services for a subscriber.
[ { "docid": "63da78ee1f64f2fea914013d449856a3", "score": "0.53735256", "text": "@DELETE\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"services/{portName}\")\n public Response deleteServices(\n @PathParam(\"portName\") String portName) {\n AccessDeviceService service = get(A...
[ { "docid": "aecec47df2355551f3632686dc833890", "score": "0.7409081", "text": "public void removeSubscriber(ISubscriber subscriber);", "title": "" }, { "docid": "13faeaaddc6919bbc9dbcd6caed2f743", "score": "0.71968436", "text": "public void removeSubscriberById(Long subscriberId);", ...
2af483cea9f9832dded02c3c400dcc18
Sets the currently selected index.
[ { "docid": "0358d74da82709dc33ca29ec600b5295", "score": "0.7252544", "text": "public void setSelectedIndex(int i) {\r\n\t\tselect.setSelectedIndex(i);\r\n\t\trefresh();\r\n\t}", "title": "" } ]
[ { "docid": "8291179e4ec1842f849df7be5ea0fc93", "score": "0.78518707", "text": "public abstract void setSelectedIndex(int index);", "title": "" }, { "docid": "79a39386ccb2c7015cc50ccf195de270", "score": "0.780079", "text": "public void setSelectedIndex(int index);", "title": "" ...
95496a91e7eabd159c0cd0d766ac8423
Set the addressPrefixes property: List of address prefixes for the subnet.
[ { "docid": "bff022962f9aa8d556604bae22b95d4e", "score": "0.728446", "text": "public SubnetInner withAddressPrefixes(List<String> addressPrefixes) {\n if (this.innerProperties() == null) {\n this.innerProperties = new SubnetPropertiesFormatInner();\n }\n this.innerProperti...
[ { "docid": "66fe1875b446b3578474ebf069eed04f", "score": "0.6493158", "text": "static void setConfigurationPrefixes(String[] prefixes) {\n _prefixes = prefixes;\n }", "title": "" }, { "docid": "2256d3821a9bef303d41613b14a2dff1", "score": "0.645627", "text": "public void setC...
f268f56fc224f8d23ce88f5426bc9859
/ Access modifiers changed, original: protected
[ { "docid": "90b43e6225f6d61dbb28b3cc8e38350f", "score": "0.0", "text": "public void onDetachedFromWindow() {\n AppMethodBeat.m2504i(67195);\n super.onDetachedFromWindow();\n if (VERSION.SDK_INT >= 21 && this.f14962x != null) {\n this.f14962x.getLooper().quitSafely();\n ...
[ { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.70901453", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "a950e5461bc5b7cd6d91d79c31f6e322", "score": "0.6799504", "text": "protected void protectedMethod() {\n }", ...
fcf692a3f8ed42c77aef2135146f72a1
Sets value as the attribute value for Fullname.
[ { "docid": "e2e9810882fd734f6af27e62c8ee5f00", "score": "0.8206322", "text": "public void setFullname(String value) {\n setAttributeInternal(FULLNAME, value);\n }", "title": "" } ]
[ { "docid": "1377dcff6f3c5c8f180066e7815f29d2", "score": "0.8196176", "text": "public void setFullName(String value) {\r\n setAttributeInternal(FULLNAME, value);\r\n }", "title": "" }, { "docid": "515a654bd88ff1bd29da27e6cf186c22", "score": "0.7737443", "text": "public void ...
26d2f024f819dd19ec99de6e61751a0e
optional uint32 dwCreateTime = 4;
[ { "docid": "65cca558948e90e4956b9135d6b74446", "score": "0.70779395", "text": "public int getDwCreateTime() {\n return dwCreateTime_;\n }", "title": "" } ]
[ { "docid": "4bd526428fb38869e5852448fba727ff", "score": "0.7184908", "text": "int getDwCreateTime();", "title": "" }, { "docid": "4bd526428fb38869e5852448fba727ff", "score": "0.7184908", "text": "int getDwCreateTime();", "title": "" }, { "docid": "7a87e0c40a191904fe5b59ff...
f4f81482738e4995e3a8a40d4d83a972
====================================================================== Stop the archiving for specified attribute on specified subscriber
[ { "docid": "91ff87147de9662d4a8799085990ac12", "score": "0.56019014", "text": "@SuppressWarnings(\"unused\")\n public void stopAttribute(HdbAttribute attribute) throws DevFailed {\n ManageAttributes.stopAttribute(configuratorProxy, attribute);\n }", "title": "" } ]
[ { "docid": "01a9ba3c1f1eb4c3203cb8342edcd7a0", "score": "0.5636852", "text": "public void stop() {\n myDistributor = null;\n }", "title": "" }, { "docid": "a15e4a42260993550522ad2a8b73f6a5", "score": "0.54930407", "text": "public void stopEmailAgents();", "title": "" }, {...
c29ff8195676d15cb995245270614ce2
optional string isin = 5;
[ { "docid": "ca06cab9cb7b6a935972233dd70d995d", "score": "0.5267744", "text": "public com.google.protobuf.ByteString\n getIsinBytes() {\n java.lang.Object ref = isin_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.B...
[ { "docid": "7bfffde38905f16a0aee830806048a01", "score": "0.7130344", "text": "java.lang.String getIsin();", "title": "" }, { "docid": "a7431b4be9f10e5abb6b52742e4f36ef", "score": "0.6280085", "text": "boolean hasIsin();", "title": "" }, { "docid": "d9ce883c0599e07ac0cbe0f...
7e3be03b8cd724bb5eef4e08e135b573
Creates or finds a FontWeight from its string representation.
[ { "docid": "304ea5e09da234b65fae50700bb16158", "score": "0.75426435", "text": "@JsonCreator\n public static FontWeight fromString(String name) {\n return fromString(name, FontWeight.class);\n }", "title": "" } ]
[ { "docid": "92a5a8d5b70d656405c407a6e2e405aa", "score": "0.6147914", "text": "public static Font decode(String str) {\n String fontName = str;\n int fontSize = 12;\n int fontStyle = Font.PLAIN;\n\n int i = str.indexOf('-');\n if (i >= 0) {\n fontName = str.substring(0, i);\n str...
905d9df3641efc8207c760596581440e
/Time Complexity: O(h), h = height of binary search Tree Space Complexity: O(1)
[ { "docid": "d994699d7396441bd75788722621abdc", "score": "0.0", "text": "public BSTree Find(int key, boolean exact)\n {\n\t\tBSTree it = this.getRoot(); //the root is called\n\t\tif(it != null){\n\t\t\t//if the root element is not null\n\t\t\tit = it.Find_current(key, exact); //find the element with g...
[ { "docid": "9ee38ee9625660b5e4676d313c936924", "score": "0.70238864", "text": "public void treeSearch(Node r, int h) {\n\t\t\t\tint itCount = 1;\n\t\t\t\t//we want to store the nodes separately so we can order them in terms of f(x) cost\n\t\t\t\tArrayList<Node> nodeChildren = new ArrayList<Node>();\n\t\...
6654b941cb81115141aec0fe84c67d1e
If the node is leaf.
[ { "docid": "f2722ef35460ee576e3051d600a08d1d", "score": "0.80073804", "text": "abstract boolean isLeaf();", "title": "" } ]
[ { "docid": "b7279bbf3d1517266fb7af9eb8971b19", "score": "0.849388", "text": "@Override\r\n\tpublic boolean isLeaf()\r\n\t{\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "665776a4b1d094abbbe705a57d3a5cf1", "score": "0.8421729", "text": "@Override\n\t\tpublic boolean isLeaf() {...
5f6dfa0c6d4a90df8faf0468cd92146c
This method was generated by MyBatis Generator. This method corresponds to the database table flume_info
[ { "docid": "2708659546844b60d6236101d2b28445", "score": "0.0", "text": "public boolean isDistinct() {\n return distinct;\n }", "title": "" } ]
[ { "docid": "0d5cda0c3c3cbfd81c1c5c53e7a40099", "score": "0.5685667", "text": "public abstract String getMetadataTableName();", "title": "" }, { "docid": "603761e4fb581b378b59625c3d322e0d", "score": "0.56342494", "text": "public interface UserInfoMapper {\n\n\n /**\n * 查询 user_...
9c1bde8b738abbfdd91872eb298e6f16
Gets the start time for the agent, if set. NOTE: Agents set to run more than once a day and all day don't have a start time or end time in DXL. This API returns what you see in Agent UI, which is midnight to midnight, so return T000000,00 for both.
[ { "docid": "8c918e2c1980a8870a54ec43bfba6825", "score": "0.6201741", "text": "public String getStartTime();", "title": "" } ]
[ { "docid": "20836ff4b044bce8d0c95a11d3200bc9", "score": "0.7241076", "text": "public LocalTime getStartTime () {\n\t\treturn DateUtils.toLocalTime(this.start);\n\t}", "title": "" }, { "docid": "0a71224f242b55f1e58cd723b7411b00", "score": "0.7061741", "text": "public Date getStartTime...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "0df074c827026b62b032896e43745c10", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2...
[ { "docid": "98e3f367d20a60eb829a633a5ff465e6", "score": "0.7293492", "text": "public LeTanForm() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7291065", "text": "public MainForm() {\n initComponents();\n }", ...
facd82fc1456c28dce287f08b2d95729
Deletes the specified license configuration. You cannot delete a license configuration that is in use.
[ { "docid": "a0f378dfbec9f13b7866b9385a3542e1", "score": "0.7433975", "text": "java.util.concurrent.Future<DeleteLicenseConfigurationResult> deleteLicenseConfigurationAsync(\n DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest);", "title": "" } ]
[ { "docid": "1f3688b7d905f327ae9cc7a1397f1527", "score": "0.80070555", "text": "DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest);", "title": "" }, { "docid": "3ccc9687be714f442ca266f9891ccfa4", "score": "0.659...
dc1df351d680a17673081a99bd90395f
Returns all keys in the symbol table as an Iterable. To iterate over all of the keys in the symbol table named st, use the foreach notation: for (Key key : st.keys()).
[ { "docid": "baeccbbfb74a890d5571256afb429f33", "score": "0.6765313", "text": "public Iterable<Key> keys() {\n Queue<Key> queue = new Queue<Key>();\n for (Node x = first; x != null; x = x.next)\n queue.enqueue(x.key);\n return queue;\n }", "title": "" } ]
[ { "docid": "43afe652b2bee26135f61abef8846e33", "score": "0.7526414", "text": "Iterable<Key> keys();", "title": "" }, { "docid": "76b21807b15a3f5ad033555c18f5121e", "score": "0.7276995", "text": "public Iterable<K> keys()\n {\n return new Iterable<K>()\n {\n public Ite...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6b474c8b04ba30629aecd1bdc2c88b9e", "score": "0.0", "text": "@Override\n\tpublic int saveTePhoto(tephoto te) {\n\t\treturn tephotoDao.saveTePhoto(te);\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}", ...
51ed2c1d150ec87c1783f4ce9b877c21
System.out.println("s1>s2? = "+ s1>=s2); System.out.println("s1<s2? = " + s1<=s2);
[ { "docid": "b090f44d18326f443ea7bc093ca31d74", "score": "0.5660151", "text": "static void CompareStrings(String s1, String s2) {\n System.out.println(\"s1==s2? = \" + s1 == s2);\n System.out.println(\"s1!=s2? = \" + s1 != s2);\n System.out.println(\"s1.eq s2? = \" + s1.equals(s2));\...
[ { "docid": "1c4b001b4736bba093e773acf68bd9f4", "score": "0.69434685", "text": "public static void main(String[] args) {\n\t\tint a=8,b=16;\n\t\tSystem.out.println((a>b));\n\t\tSystem.out.println((a>=b));\n\t\tSystem.out.println((a==b));\n\t\tSystem.out.println((a!=b));\n\t\tSystem.out.println((a<b));\n\...
e694fc49f53ea67ea260e5f05ffd6058
GENLAST:event_windGustButtonActionPerformed Switches the graph to display rainfall
[ { "docid": "8296a7d49f16bd5b34dd7f836b76e18c", "score": "0.7593601", "text": "private void rainfallButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_rainfallButtonActionPerformed\n yAxisLabel.setText(\"Rainfall\");\n lineGraph.showPercipitationData();\n lineGr...
[ { "docid": "e316dda4701e464fc3c10d7723000707", "score": "0.6675867", "text": "private void windGustButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_windGustButtonActionPerformed\n yAxisLabel.setText(\"Wind Gust\");\n lineGraph.showWindGustData();\n lineGraph....
27cbd18916e03581ecd215e893bec454
.google.protobuf.Int64Value id = 1;
[ { "docid": "e9b50a1f81f198886f819b63620d326a", "score": "0.83747077", "text": "com.google.protobuf.Int64Value getId();", "title": "" } ]
[ { "docid": "87c09f421690282542d971180ecd94da", "score": "0.8282129", "text": "com.google.protobuf.Int64ValueOrBuilder getIdOrBuilder();", "title": "" }, { "docid": "aa29aa9ee56163174d486c6c00b4db75", "score": "0.7108499", "text": "com.google.protobuf.StringValueOrBuilder getIdOrBuild...
393f5a3d6ed99f41605c9105600e3091
This is an O(n^2) solution
[ { "docid": "656e063ede4ceb38355493b06fc1679f", "score": "0.0", "text": "public boolean isBalanced(BSTNode root) {\n if (root == null) {\n return true;\n }\n int leftHeight = getHeight(root.left);\n int rightHeight = getHeight(root.right);\n if (Math.abs(leftHeight - rightHeight) <= 1...
[ { "docid": "58fc498eb80e0472574b58657d623bb4", "score": "0.623047", "text": "private static int solution() {\n\t\tint sum=0;\n\t\t\n\t\twhile(!qu.isEmpty()) {\n\t\t\tPerson now = qu.poll();\n\t\t\t//System.out.println(\"현재 : \"+now.next);\n\t\t\tsum+=now.length;\n\t\t\tfor (int i = 0; i < N; i++) {\n\t\...
a5984adf6cdc177bbf5ad5300ec066ea
For showing info about all the io.springboot.survey taken by an user
[ { "docid": "d3d02d315e373273ff3fa3219e967045", "score": "0.58576876", "text": "@GetMapping(value = \"/user/surveys/taken\",produces = {\"application/json\"})\n @APIResponseOk()\n @ApiOperation(value = \"For showing info about all the io.springboot.survey taken by an user\")\n public MappingJack...
[ { "docid": "7edfbb17bd0f7ce91d44f616b359b8e5", "score": "0.6548435", "text": "@GetMapping(value = \"/survey/info\",produces = {\"application/json\"})\n @APIResponseOk()\n @ApiOperation(value = \"For showing all the information for a io.springboot.survey\")\n public MappingJacksonValue surveyInf...
0d42c15b1f8cecf36401e3c6e4cdc042
Read data at specified path.
[ { "docid": "d55c532b3447c4ff4230f11c1675a302", "score": "0.0", "text": "public synchronized <T extends DataObject> FluentFuture<java.util.Optional<T>> read(\n final InstanceIdentifier<T> path, final LogicalDatastoreType logicalDatastoreType) {\n LOG.debug(\"Read {}\", path);\n i...
[ { "docid": "8ebe72a4243957c1041dfd58512b4bee", "score": "0.6983224", "text": "public byte[] read(Path p) throws IOException;", "title": "" }, { "docid": "5f6ce5d8dbefb05645ec1aa56e92cde8", "score": "0.69101685", "text": "public byte[] getData(String path) {\n\t\tbyte[] bytes = null;\...
685eb4493ed2e72e249b814fbeccd75b
Check to see if the named method is already present.
[ { "docid": "706e2dec66e36f404eacb7ba35b33fbb", "score": "0.0", "text": "boolean isRequired(String testMethod) {\r\n\r\n //if null there wasn't any tests in the class or there was no class\r\n if (ignoreTests == null) {\r\n return true;\r\n }\r\n\r\n for (int i = 0;...
[ { "docid": "1053e2693ea92a4b2049b808d8f6c8b1", "score": "0.8042835", "text": "boolean hasMethodname();", "title": "" }, { "docid": "844473a111d9d529b21a5209bb2038af", "score": "0.7493671", "text": "public boolean isMethodExist(String methodName) {\n\t\treturn methods.containsKey(meth...
99cef8e036e936b34ed05acff82ccf3c
Get time stamp as string.
[ { "docid": "d39a6061629df8fbfbc04bb05eb0e734", "score": "0.79782635", "text": "private String getTimestampString()\n\t{\n\t\treturn Long.toHexString(System.currentTimeMillis());\n\t}", "title": "" } ]
[ { "docid": "9aad67c16d9c6ba76d597a2552ef822b", "score": "0.824072", "text": "String getTimestampAsString();", "title": "" }, { "docid": "fb395c1db08572d91351f518012902c6", "score": "0.7917575", "text": "public static String getTimeStamp() {\n\t\tCalendar now = Calendar.getInstance();...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "1a239553d1a9a50807c9256d7901f3e1", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n return true;\n ...
[ { "docid": "ac3e1bc71579c444b2b4c8c6f32f17e7", "score": "0.77076644", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n //or c...
6ff4a997a054f96ed3a58595009e8bd2
/ / / / / / / / / / /
[ { "docid": "b8876a8423a992a3ad4744019b6240b9", "score": "0.0", "text": "private Page getPageResult(Query query, int totalCount, int pageNo, int pageSize)\r\n/* */ {\r\n/* 409 */ if (totalCount < 1) {\r\n/* 410 */ return new Page();\r\n/* */ }\r\n/* */ \r\n/* 413 */ in...
[ { "docid": "c4947249f564a8b23a47e2c447581677", "score": "0.5731298", "text": "private static void divide() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ccaf5f7aff0d6de105f523c68f63383c", "score": "0.53471726", "text": "private void cathc() {\n\t\t\r\n\t}", "title": "" }, { ...
4bf062503463d27a8b8fdd954cddb161
randomly generates and loads an arena according to the preferences set and informs the openlisteners that this has happened.
[ { "docid": "80cbb7ef3c1497866061424766a68c5e", "score": "0.58205265", "text": "protected final void generateRandomArena(final int numberOfVertices,\r\n final double averageDegree, final int maxPriority) {\r\n final Arena arena = ArenaManager.generateRandomArena(numberOfVertices,\r\n ...
[ { "docid": "a63b0d074711cd44fd26fa10fe23e002", "score": "0.5794934", "text": "Arena createArena();", "title": "" }, { "docid": "1d34190a2397f1a27c8fc435d1af711f", "score": "0.5668568", "text": "private void arenaLock() {\r\n lockArena = true;\r\n m_botAction.toggleLocke...
6399e1638a527d7eadfe8b129da5c793
simple getter for enabled
[ { "docid": "5cd51eec8e8b0551f2b7571d4cffc9a7", "score": "0.7243576", "text": "public boolean isEnabled();", "title": "" } ]
[ { "docid": "0b70cecce1ba2dc499d15392fb63a285", "score": "0.86236113", "text": "boolean getEnabled();", "title": "" }, { "docid": "0b70cecce1ba2dc499d15392fb63a285", "score": "0.86236113", "text": "boolean getEnabled();", "title": "" }, { "docid": "f06573b62990a7dfb34009a8...
19967c6ac6471dceb60df75b56d2115e
Gets the chartOfAccountsCode attribute.
[ { "docid": "027c6685db4282b7bff64516e97ea719", "score": "0.75147426", "text": "public abstract String getChartOfAccountsCode();", "title": "" } ]
[ { "docid": "e901b31d45dab611f5a76b77c610c35d", "score": "0.68548065", "text": "public String getAccountCode() {\n return accountCode;\n }", "title": "" }, { "docid": "e901b31d45dab611f5a76b77c610c35d", "score": "0.68548065", "text": "public String getAccountCode() {\n ...
6c6be17a8f6ade0cfe181391c1bcaa40
Compares this object to another, and returns true if they're equal. Compares both pointers directly, then checks if there's a type mismatch, and checks the local fields.
[ { "docid": "69c1e1418daccb7b32696189c46228ad", "score": "0.0", "text": "public boolean equals(Object other) {\n\t\tif (this == other)\n\t\t\treturn true;\n\n\t\tif (!(other instanceof NonStandardPackage))\n\t\t\treturn false;\n\n\t\tNonStandardPackage temp = ((NonStandardPackage) other);\n\t\treturn (wi...
[ { "docid": "de1d62204ac9feadb286df89d96c3a65", "score": "0.65819997", "text": "private boolean equality(Type t1, Type t2){\n\t\tif(t1.typeKind == TypeKind.ERROR || t2.typeKind == TypeKind.ERROR) return true;\n\t\telse if(t1.typeKind == TypeKind.UNSUPPORTED || t2.typeKind == TypeKind.UNSUPPORTED) return ...
914726fc444b5ecd729ec963e5be5eae
2^MAX_EXP (64 KB) = buffer size
[ { "docid": "45c09193f5cffdc255cf550771b11c6e", "score": "0.0", "text": "RemoteOutputStream(final Writeable target) {\r\n\t\tthis.target = target;\r\n\t}", "title": "" } ]
[ { "docid": "c85998b23ed46d33629cf5c1a5c9ea66", "score": "0.7051177", "text": "float getMaxNumBytes();", "title": "" }, { "docid": "1dbda2beb35fc2d65354335306ebfadd", "score": "0.68674374", "text": "Integer getMaximumMemoryBufferSize();", "title": "" }, { "docid": "ae03aa5...
a1a32ab3330117cd2dd60a6e45292df7
Prevent this class from being instantiated.
[ { "docid": "36e400a516499204257ae497b7df4f8f", "score": "0.0", "text": "private Util() {}", "title": "" } ]
[ { "docid": "ece78c1f7e4671045cb1e2ab8801158f", "score": "0.6555382", "text": "private LazyInstantiation(){}", "title": "" }, { "docid": "3b55079faf2a37dfb97f6eaf67291ccf", "score": "0.6536435", "text": "private Debugs() {\n // Hiding the constructor.\n }", "title": "" ...
6a1cd55a2dc3878f483e81adfb6431c0
Set the latitude of the GPS position
[ { "docid": "357d740d527d1ecb9094b144ab96e4b0", "score": "0.7705388", "text": "public void setPosLatitude(double latitude) {\n this.PosLatitude = latitude;\n }", "title": "" } ]
[ { "docid": "6f28bab48ed4e5d3eaf9effdecdd47f6", "score": "0.7931709", "text": "public edu.berkeley.path.model_elements_base.PeMSStation.Builder setLatitude(double value) {\n validate(fields()[8], value);\n this.latitude = value;\n fieldSetFlags()[8] = true;\n return this; \n }", ...
f3f97e864075d22e28eead46dd24eedc
collection of loggers Create an AuthPoint.
[ { "docid": "e9fbc33b6718c6245a2c70dab353f332", "score": "0.7241481", "text": "protected AuthPoint() {\n loggers = new ArrayList<>();\n }", "title": "" } ]
[ { "docid": "8c9f3a9f8e9aca10e45d973096b1f205", "score": "0.55163807", "text": "protected static void setupLogging() throws SecurityException {\n org.eclipse.jetty.util.log.Log.setLog(new JavaUtilLog());\n\n // Now, set up java.util.log\n for (final java.util.logging.Handler handler ...
1824738a1032ec44d51e251f93d84733
A list of attached target groups for the network load balancer. repeated .yandex.cloud.loadbalancer.v1.AttachedTargetGroup attached_target_groups = 7 [(.yandex.cloud.size) = "&lt;=1000"];
[ { "docid": "0336f5c4f68ebbdedd4fae4bc5cff4ae", "score": "0.7584473", "text": "@java.lang.Override\n public yandex.cloud.api.loadbalancer.v1.NetworkLoadBalancerOuterClass.AttachedTargetGroup getAttachedTargetGroups(int index) {\n return attachedTargetGroups_.get(index);\n }", "title": "" ...
[ { "docid": "b482758c9166f743262206914a69fc84", "score": "0.834702", "text": "java.util.List<yandex.cloud.api.loadbalancer.v1.NetworkLoadBalancerOuterClass.AttachedTargetGroup> \n getAttachedTargetGroupsList();", "title": "" }, { "docid": "b482758c9166f743262206914a69fc84", "score"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2f876730a72614e91b82816a4fc7538b", "score": "0.0", "text": "@Override\n\tpublic void initialize(URL arg0, ResourceBundle arg1) {\n\t\t\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}", ...
d8e9d8e751b819398371802b0dca8132
Get the number of games won of a NimPlayer object
[ { "docid": "7900e98242d65e549ed69cc460df704d", "score": "0.66304547", "text": "public int getPlayed() {\r\n\t\treturn (int) this.gamesplayed;\r\n\t}", "title": "" } ]
[ { "docid": "ebd39c2d687c50b26753db09df99caa4", "score": "0.8030023", "text": "int getPlayersCount();", "title": "" }, { "docid": "ebd39c2d687c50b26753db09df99caa4", "score": "0.8030023", "text": "int getPlayersCount();", "title": "" }, { "docid": "ebd39c2d687c50b26753db09...
ad1f3e96899f6f47d5cdbe3e4e52fb24
Sets the position of the attachment within the body of the item.
[ { "docid": "3095bc918748b908a2eff47f4c872fba", "score": "0.5565301", "text": "public void setPosition(int position)\n {\n put(\"Position\", position);\n }", "title": "" } ]
[ { "docid": "273ac91414e83ca0ced2018d0b4fa2bb", "score": "0.59384483", "text": "public void setPosition(Position pos);", "title": "" }, { "docid": "4f46cbdba233298d447f56ff7f605deb", "score": "0.58911747", "text": "public void setPosition(int position);", "title": "" }, { ...
29f378add9ea10042cc21966c4f9b17b
Gets the location that is being targeted or null if no target is selected
[ { "docid": "015d42d5e35556aad6ebf45e43efc6fc", "score": "0.6209282", "text": "public Point2D getTarget() {\n return target;\n }", "title": "" } ]
[ { "docid": "b9213d9794308c8694ac052e1aab3ba5", "score": "0.72584635", "text": "@Nullable\n/* */ public Vec3d getTargetLocation() {\n/* 112 */ return this.targetLocation;\n/* */ }", "title": "" }, { "docid": "2c26d513a3e879ae80a70d2efe432f53", "score": "0.70655197", "t...
1c82a988f20b5909e9f39c5323dbf5aa
/ / / / / / / / /
[ { "docid": "d08976c25f8e4e0051b150ade721418a", "score": "0.0", "text": "public static void notEmpty(Collection collection) {\n/* 273 */ notEmpty(collection, \"[Assertion failed] - this collection must not be empty: it must contain at least 1 element\");\n/* */ }", "title": "" } ]
[ { "docid": "0022fd8a33c9a06ec94d5eca80a9a8b1", "score": "0.5252953", "text": "public void divide() {\n\t\t\n\t}", "title": "" }, { "docid": "d397bf2b198037b6a5099b7ab955e765", "score": "0.5225518", "text": "@Override\n public int getWidth(){\n //Offset for collision incase ...
1899a65a637921296c867739a6e339b2
Create an aliased schuldatenbank.g_gegenstaende table reference
[ { "docid": "aecb7c31121921a6b45d8e50e585e6ae", "score": "0.6456669", "text": "public GGegenstaende(java.lang.String alias) {\n\t\tsuper(alias, at.halbarth.alexander.model.Schuldatenbank.SCHULDATENBANK, at.halbarth.alexander.model.tables.GGegenstaende.G_GEGENSTAENDE);\n\t}", "title": "" } ]
[ { "docid": "7e8aa5114a8b6b773c21cb54f20dce4c", "score": "0.6265394", "text": "public GGegenstaende() {\n\t\tsuper(\"g_gegenstaende\", at.halbarth.alexander.model.Schuldatenbank.SCHULDATENBANK);\n\t}", "title": "" }, { "docid": "b27fcfff857074e2fa4b68ff3261193b", "score": "0.52159834", ...
280460389d9456a239a76fbbcef51571
Delete the cache directory.
[ { "docid": "76eb38d6363ec5e4c90f92e08a67686d", "score": "0.7539155", "text": "public synchronized void delete() throws Exception\n {\n File cacheDir = determineCacheDir(m_configMap);\n deleteDirectoryTree(cacheDir);\n }", "title": "" } ]
[ { "docid": "c59daba903f475eed8837d5757fa357a", "score": "0.74991286", "text": "public void removeCache()\n {\n if ( this.dirTmp != null ) {\n removeTreeAt( this.dirTmp );\n }\n\n this.dirTmp = this.context.getCacheDir();\n }", "title": "" }, { "docid": "...
d335c732eed2f0ad6c78714f4ae6233b
Retorna el simbolo que genera una produccion
[ { "docid": "9fb40e0fe2873a9370286ebcc6dd1748", "score": "0.0", "text": "public String getProduction() {\n\t\treturn production;\n\t}", "title": "" } ]
[ { "docid": "1e99a0790c1b4280751026ce053ac278", "score": "0.6109642", "text": "private Poblacion poblacionGenerada() {\n Poblacion pob = new Poblacion();\n pob.setIndividuos(nuevos);\n pob.setMedia(sum / m);\n pob.setDesviacion(Math.pow((sum2 / m) - (pob.getMedia() * pob.getMe...
8bff538a326e9f3ce6625b68a5664e67
Initialize the contents of the frame.
[ { "docid": "eea3ce7450638255d414dd79e121d228", "score": "0.0", "text": "private void initialize() {\n\t\ttry {\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\n } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAnd...
[ { "docid": "d4fff0e613cd857e291a1f95c0257615", "score": "0.77704835", "text": "public BreukFrame() {\n super();\n initialize();\n }", "title": "" }, { "docid": "21f8fac4b5f0a16b691ecb8695fe4a4a", "score": "0.75652915", "text": "public MainFrame() {\n\t\tsuper();\n\t\tinitializ...
4883abdcd9c52bbc5c9a73f754f5f3bb
Called when the user clicks the Start button
[ { "docid": "a9cbf52d1cddb1309b93203235127442", "score": "0.0", "text": "public void startResponses(View view) {\n\t\tresponsesSent = 0;\n \tstartResponses();\n }", "title": "" } ]
[ { "docid": "193a8da8fa5e93ebd994b0af7027c15b", "score": "0.83292043", "text": "@Override\n\tpublic void startButton() {\n\t\tSystem.out.println(\"Start the Machine\");\n\t\t\n\t}", "title": "" }, { "docid": "86bcb30e04757b0aca376d8e5cce6335", "score": "0.8161492", "text": "public voi...
2daa78b869303352498553b59e51930f
Method that makes the internal changes for the engine
[ { "docid": "0b004f5c7e8b78a1e1cffeb6886ffbac", "score": "0.0", "text": "public abstract void execute();", "title": "" } ]
[ { "docid": "87bd15c5a381f1d01e5ea1e001b2488c", "score": "0.64866817", "text": "private void notifyEngine() { // Equivalent à l'update\n this.gameStatement.clear();\n\n level.updateGameStatement(this.gameStatement);\n\n // this.engine.update();\n }", "title": "" }, { "d...
a38bd8ae30bd4f96e786a72d896333ee
Check of stability tested device
[ { "docid": "5af2aab3e267fbd1cf06da7c2c2253f0", "score": "0.5966966", "text": "public boolean check(Device device) {\n return device.response();\n }", "title": "" } ]
[ { "docid": "c64abbd0c83e162b019e20e566bde983", "score": "0.6719795", "text": "boolean hasDeviceType();", "title": "" }, { "docid": "c64abbd0c83e162b019e20e566bde983", "score": "0.6719795", "text": "boolean hasDeviceType();", "title": "" }, { "docid": "c64abbd0c83e162b019e...
1cf0f86bd812a81c39eac5da4d367b3a
binary search: left<= want <right;
[ { "docid": "43cdd6a2bbf92a2be14cd45dad7548b7", "score": "0.0", "text": "public static int findMagicIndex(int[] arr, int start, int end){\n\tif(arr[0] > 0 || arr[arr.lenght-1] < arr.length-1)\n\t\treturn -1;\n\telse{\n\t\tint middle = (start + end)/2;\n\t\tif(arr[middle] == middle)\n\t\t\treturn middle;\...
[ { "docid": "80ed49ced2c2af1899ce034164c0f5d1", "score": "0.72695297", "text": "private static int binarySearchRecursiveWithParams(int[] array, int x, int left, int right) {\n if (right - left < 2) {\n //Pre, right - left = 1, result = right\n return right;\n //For...
cb5b83a136730481041bb00259b6c5b8
/ ALL USER COMMANDS BELOW NOTE CMDS FOR AUTH USER,ACCT,PASS LIST,CDIR for Directory managment TYPE for encoding RETR for sending to client (coupled with SEND) STOR for receiving from client (coupled with SIZE) NAME,KILL for file management (TOBE coupled with NAME)
[ { "docid": "3fa4443f0e062c9ffd24bbeed307fc83", "score": "0.49006504", "text": "private void USER(String[] msgParsed){\n int numArguments = msgParsed.length-1;\n\n // If no users in database return + and Personal Name\n if (this.users==null) {\n this.connection.sendMsg(\"+...
[ { "docid": "429e82af85b85336fe68db96819ace40", "score": "0.6086107", "text": "private void _mapUserCommands() throws Exception {\n Command[] commands = {\n new Command(this, new String[] { \"addFileType\" }, \"addFileType\",\n ClientHelp.getUsage(\"addFileType\"), null,\...
245fde7d063a45fc5c5949d1dce07874
SubSystem interface Created by frodo on 2015/6/20.
[ { "docid": "aa0ec22798f504325160629ce275f982", "score": "0.626715", "text": "public interface ChildSystem {\n IController getController();\n\n String systemName();\n}", "title": "" } ]
[ { "docid": "73b8b8eec1e17eae8b8035336277ea1b", "score": "0.67196256", "text": "@Override\n\tpublic void sub() {\n\t\t\n\t}", "title": "" }, { "docid": "7610cded9c66b80b7e054cb2e83d1a7b", "score": "0.66524714", "text": "public interface SubsystemConnector {\n\n /**\n * Loads al...
f2f56fd14889471bfbd34c825d419340
delete and return a random item
[ { "docid": "b6d6ff653b5e7cfcc0b29a1cc2815b89", "score": "0.60611147", "text": "public Item dequeue() {\n int randomIdx = StdRandom.uniform(N);\n Item tmp = array[randomIdx];\n shrink(randomIdx, array);\n N--;\n return tmp;\n }", "title": "" } ]
[ { "docid": "86f629d5dde6de5f209a09db8eddcf3c", "score": "0.7664319", "text": "private <T> T removeRandomItem(List<T> list)\n {\n if (list.size() == 1) {\n return list.remove(0);\n }\n\n final int ind = rng.nextInt(list.size());\n return list.remove(ind);\n }"...