query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
aa6c7ac4f7637a04ceab4db980d3a08a
if pause condition is true, cancel (pause) the timer. If not, run the timer
[ { "docid": "6369cc4f5475b88317aa1507e8cdb306", "score": "0.0", "text": "@Override\r\n public void onTick(long millisUntilFinished) {\n if(isPaused1 || isPaused || isReset) {\r\n cancel();\r\n }\r\n else {\r\n N...
[ { "docid": "35afe0b0360fe170add0ac606d4e9eed", "score": "0.72222227", "text": "@Override\n public void pause() {\n timerForCPU.cancel();\n timerForCPU.purge();\n }", "title": "" }, { "docid": "aa3e466a5269114da926ffa5698ad580", "score": "0.7120978", "text": "priva...
9de12256b06e5a54534b25e82c133746
model.addAttribute("book", bk); System.out.println("++++++++++++"); System.out.println(cz);
[ { "docid": "268d43693955900ef3656a9a64f27d46", "score": "0.72571886", "text": "@GetMapping(\"/details\")\n\tpublic String bookDetails(@RequestParam int cz,Model model){\n\t\tBook book=bookMapper.findOneBook(cz);\n\t\tmodel.addAttribute(\"number\", number);\n\t\tmodel.addAttribute(\"Total\", Total);\n\t\...
[ { "docid": "62f08344c19a3d9ba4e78f0be95819b0", "score": "0.6543349", "text": "@RequestMapping(\"/books\")\n public String getBooks(Model model){\n model.addAttribute(\"books\", this.bookRepository.findAll());\n\n return \"books\";\n }", "title": "" }, { "docid": "9a113a16...
767589d5bb6b15448bf84b5a692458fb
Byte code: 0: getstatic 27android/support/v4/util/TimeUtils:sFormatStr[C 3: arraylength 4: istore_2 5: iload_1 6: istore_3 7: iload_2 8: iload_3 9: if_icmpge +11 > 20 12: iload_1 13: newarray char 15: astore_2 16: aload_2 17: putstatic 27android/support/v4/util/TimeUtils:sFormatStr[C 20: getstatic 27android/support/v4/...
[ { "docid": "69b8ee939537bbd80bbdca3e795ff908", "score": "0.0", "text": "private static int formatDurationLocked(long paramLong, int paramInt)\n {\n }", "title": "" } ]
[ { "docid": "0f1a90de209541838d3cb94f831faa08", "score": "0.5630113", "text": "public void zzqN() {\n // This method could not be decompiled.\n // \n // Original Bytecode:\n // \n // 0: aload_0 \n // 1: monitorenter \n ...
5e3466f37a3d85d1e4ffd6b012ee0d63
Sets lineNumber to the specified value.
[ { "docid": "9ac65a1122d44aeb43df4420afee8271", "score": "0.7791941", "text": "public void setLineNumber(Integer value){\n ((MvwDefinitionDMO) core).setLineNumber(value);\n }", "title": "" } ]
[ { "docid": "b920503d46bdaec13f93e885a8a3d36a", "score": "0.84443057", "text": "void setLineNumber(int lineNumber) {}", "title": "" }, { "docid": "f4ec39bacd983a0600ec56aa6cd29be6", "score": "0.8378549", "text": "public void setLineNumber(Integer lineNumber) {\r\n this.lineNumb...
7f848a1897f2c39162b73aec7f1612bc
on test swap Creation de la str
[ { "docid": "960934010fc2a7c8113309d598002053", "score": "0.0", "text": "@Test\n\t\tpublic void testASTswap () throws ParseException, JajaCodeException\n\t\t{\n\t\t\tString str = \"swap\";\n\t\t\tparser = new JajaCode(str);\n\t\t\tSimpleNode n = parser.instrs();\n\t\t\t\n\t\t\t//Creation de la memoire\n\...
[ { "docid": "c5609cd1f90fa1efcec2cbc0e7a88f0a", "score": "0.66546494", "text": "private String swap(char[] strArr, int a, int b) {\r\n char temp = strArr[a];\r\n strArr[a] = strArr[b];\r\n strArr[b] = temp;\r\n return new String(strArr);\r\n }", "title": "" }, { ...
d25abc03f7127007b6ff4f7ed41efff3
Sets the ticks per second (speed) of the animation.
[ { "docid": "0716bd5e9a739f4aeec8bfd050e7f7b8", "score": "0.0", "text": "protected void setTPS(int tps) {\n t.setDelay(tps);\n }", "title": "" } ]
[ { "docid": "7cda74aa15a985c149f5c6399f9af6f2", "score": "0.7063842", "text": "public void setTickSpeed(int tickSpeed) {\n this.tickSpeed = tickSpeed;\n }", "title": "" }, { "docid": "e334120b0235d540580a4d987252c7b4", "score": "0.69491714", "text": "public synchronized void...
68c70e045e4c3a13f08e2b2e29e44e37
called if the restaurant is confirmed in the pending list!!!
[ { "docid": "d88a881b93ba9f83d908f629cf37176b", "score": "0.0", "text": "public boolean createRestaurant(String name, String restaurantOwnerUsername) {\n\t\tif (doesRestaurantExist(name, restaurantOwnerUsername) || name == null || name.equals(\"\"))\n\t\t\treturn false;\n\t\telse {\n\t\t\tint id = udb.ge...
[ { "docid": "5cd643a94e2874bc8d5fd4782f3da137", "score": "0.6949067", "text": "boolean isConfirmed();", "title": "" }, { "docid": "afed7e75daef9e07cf1b3613427cef76", "score": "0.6713909", "text": "public boolean isConfirmed() {\n return confirmed;\n }", "title": "" }, ...
e17b7ad9e37b012ab8889169999f98f1
/ 23: / 24:
[ { "docid": "2ec0754cb9fd46fa6bf86e6e793f3832", "score": "0.0", "text": "public ContainerFilter(EntityPlayer player, int invId)\r\n/* 25: */ {\r\n/* 26: 23 */ this.player = player;\r\n/* 27: 24 */ this.currentFilter = invId;\r\n/* 28: 27 */ for (int k = 0; k < 9; k++) {\r\n/* 29: 28...
[ { "docid": "9cdbafd3d648ecefed9b528cab200b17", "score": "0.63653857", "text": "public static void timeConversion(String s) {\n String[] s24 = s.split(\":\");\n\n int s24i;\n if (s.contains(\"PM\")) {\n s24i = Integer.parseInt(s24[0])+12;\n // s24i = s24i + 12;\n...
3c44113e498d91c714b9250bcf17f8ad
Clears the value of the 'orderType' field.
[ { "docid": "0e5290168a98a22f4176666b54368523", "score": "0.85180974", "text": "public com.fretron.Model.FreightSalesOrder.Builder clearOrderType() {\n orderType = null;\n fieldSetFlags()[6] = false;\n return this;\n }", "title": "" } ]
[ { "docid": "3994107a4d946d1c1ede77b3cc655c03", "score": "0.78372335", "text": "public void clearOrderTypes() {\n unlogChange(\"orderTypes\");\n getJSONObject().remove(\"orderTypes\");\n cacheRemoveValue(CacheKey.orderTypes);\n }", "title": "" }, { "docid": "098e6b669fc7f8a98894fedc...
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "b2fa32fc5e73446e2d14fdd13561fc38", "score": "0.0", "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.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...
918f6dfde8bc3d582fd1ab813b2d2b73
$ANTLR end "primary_expr" $ANTLR start synpred1_Pico
[ { "docid": "9bedeb89156a86e170027172cb4f664e", "score": "0.4768782", "text": "public final void synpred1_Pico_fragment() throws RecognitionException { \r\n // D:\\\\workspace\\\\CompilerLab\\\\src\\\\pico\\\\Pico.g:165:10: ( LBRACKET INT )\r\n // D:\\\\workspace\\\\CompilerLab\\\\src\\\\...
[ { "docid": "f2ce4b3efa97d67f487d9a540acfd122", "score": "0.65547186", "text": "public final PicoParser.primary_expr_return primary_expr() throws RecognitionException {\r\n PicoParser.primary_expr_return retval = new PicoParser.primary_expr_return();\r\n retval.start = input.LT(1);\r\n\r\n ...
529a3166c584a776b860ec78f5dbe365
Created by daweizhuang on 8/11/16.
[ { "docid": "5dcfad20370d6b6dead59224f82f87ff", "score": "0.0", "text": "public interface UserDAO {\r UserDetailsVO findVOByUsername(String username);\r\r User findUserById(int userId);\r}", "title": "" } ]
[ { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.65071154", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.6254075", "text": "public void mo27791d() {\n }", "title": "" }, ...
451ff02f4d46fe5c6cd732f8dac9d42a
Gets a list of material groups belonging to a specific discipline
[ { "docid": "2a40f80b9203307467784170fa57c48d", "score": "0.8514969", "text": "public List<MaterialGroup> getMaterialGroupList( String Discipline ) {\r\n Cursor c = null;\r\n open();\r\n if ( Discipline == null ) {\r\n c = myDatabase.rawQuery( \"SELECT * FROM \" + MATERIAL...
[ { "docid": "a45db75ddf7c167705a5770841fcd662", "score": "0.64246976", "text": "GroupCollection getGroups();", "title": "" }, { "docid": "29293cee8aedbdb6d564786e2020aba1", "score": "0.6016645", "text": "List<Group> getGroupList();", "title": "" }, { "docid": "318093addf42...
a27f9a973ca28580d7fcd0d0cfaf4c57
This method will execute Java script with multiple arguments
[ { "docid": "abab57b97f2268ff7887d509528fca99", "score": "0.5435396", "text": "public static Object executeScript(WebDriver driver,String script, Object...args){\n\t\tJavascriptExecutor exe = (JavascriptExecutor)driver;\n\t\treturn exe.executeScript(script,args);\n\t}", "title": "" } ]
[ { "docid": "848962ac8e5e6c4f9f98ff34c07967e6", "score": "0.72649217", "text": "public abstract Object executeScript(String script, Object[] arguments);", "title": "" }, { "docid": "4a7c728cbbcfeae65f091661874047ed", "score": "0.66068536", "text": "public Object executeScript(String s...
4531a644f59fbf4e83fdeb462f8fc9ff
calculate the amount that will be increased by the alignment requirement.
[ { "docid": "6b23d126c9ad392b99a7317fd67eb30a", "score": "0.710234", "text": "public short alignment(int total, int req);", "title": "" } ]
[ { "docid": "28d378a379e04bdcffbaadcb7322e153", "score": "0.654777", "text": "protected float getAlignmentPrecent(LabelType type)\n {\n float retVal = 0.5f;\n\n if(type == LabelType.SOURCE)\n {\n retVal = 0f;\n }\n else if(type == LabelType.TARGET)\n ...
db399bf9e4296454c378a97793eb5313
reduces demand for resource to ground state.
[ { "docid": "aa9844a91b664c74a926631459f4fb59", "score": "0.5883799", "text": "public static void resetDemand() {\n gasDemand = 0;\n mineralDemand = 0;\n }", "title": "" } ]
[ { "docid": "3348436f91940dad5b6ec7b1ce7f9510", "score": "0.57554805", "text": "protected void relax() {\n\t\tif (hunting) return;\n\t\tenergy += energyRegeneration; // we are regaining our strength\n\t\tif (this.direction.length() < relaxedSpeed ) return;\n\t\t//this.direction.normalize().scale(relaxedS...
456fa041e7f6857592b2c7fbc7185459
return 1 : failed, 1 : ok same dest, 2 : ok, but new dest
[ { "docid": "ef4660b0b25db8acc60018aaf51bd3ba", "score": "0.0", "text": "private int parseDestination (HttpMessage req){\n\tString method = req.getMethod ();\n\tString url = req.getURL ();\n\tif (_nextProxy1){\n\t _serverAddress = _pxConf._proxy1._address;\n\t if (method.equals (\"CONNECT\")){\n\t\...
[ { "docid": "ce5e998aadd5339cccc377ed1eefdc61", "score": "0.6254126", "text": "private boolean isCompatible(File src, File dst) {\n\n if (src.getAbsolutePath().equals(dst.getAbsolutePath())) {\n this.outputLog += \"ERR\\nSource and Destination cannot be identical!\";\n return...
ecf0610e4c3f36db902c9a07c7e15a4c
retrieves the all the companies and their ratings
[ { "docid": "96d79d854ae2a7ee10772d15cacf5c23", "score": "0.61950886", "text": "public Cursor getAllCompanies() throws SQLException {\t\n \t Cursor mCursor = db.query(true, DATABASE_TABLE_RATINGS, new String[] {\"company_legal_name\",\"governance_impact\",\n \t\t\t \"board_impact\",\"pay_impact\",...
[ { "docid": "ac65b063adf14bb54a73db78b03e6f7f", "score": "0.63934046", "text": "List<Company> getAllCompanies();", "title": "" }, { "docid": "c193018606145dd2aee83f6fc0d1f522", "score": "0.6278145", "text": "@RequestMapping(method = RequestMethod.GET, path = \"/getAll/Prizes\")\n\tpub...
5e38d8d01baa9c7d870229bf345c34e9
Assigns value to the reference of name. If there is no reference of name in the table then a new one is added with a value of value.
[ { "docid": "441c8ee343d7afd7908fe71f545d6da4", "score": "0.6890995", "text": "public void assign(String name, int value)\n\t{\n\t\tboolean assigned = false;\n\n\t\tfor(int i = 0; i < size && !assigned; i++)\n\t\t\tif(variables[i].name.equalsIgnoreCase(name))\n\t\t\t{\n\t\t\t\tvariables[i].value = value;...
[ { "docid": "062af18985bfa3a05f89c0e6b088fdc7", "score": "0.7424308", "text": "public void setRef(String name, Ref value) throws SQLException {\n \n for (int i : getVariablePositions(name)) {\n setRef(i, value);\n }\n }", "title": "" }, { "docid": "348cdd8cd4cae9567d37c483e0a0b...
569a8ae3543d6a265bbdcca38204c4b9
Returns the file extension or an empty string iff there is no extension. This method is a convenience method for obtaining the extension of a url and has undefined results for other Strings.
[ { "docid": "b0829ca6041369a7c9bc441ab606c52c", "score": "0.7380543", "text": "public static String getFileExtensionFromUrl(String url) {\n if (url != null && url.length() > 0) {\n int query = url.lastIndexOf('?');\n if (query > 0) {\n url = url.substring(0, qu...
[ { "docid": "a6928145bcc3c00779cc93110814fac1", "score": "0.75276446", "text": "public String getExtension() {\n\t\tif(this.extension == null) {\n\t\t\tString[] split = this.getName().split(\"[.]\");\n\t\t\treturn this.extension = split.length <= 1 || (split.length == 2 && split[0].equals(\"\")) ? \"\" :...
b18c78ab9172474cd419ed77f344995b
param: boolean ignoreIdleThreads: Don't show threads that are in knownidle places, such as waiting on a socket select or pulling from an empty task queue (default: true)
[ { "docid": "43c749cc21f109bd91f06421df2c6d62", "score": "0.79388404", "text": "public NodesHotThreads ignoreIdleThreads(boolean ignoreIdleThreads){\n\t\taddParams(\"ignoreIdleThreads\", ignoreIdleThreads);\n\t\treturn this;\n\t}", "title": "" } ]
[ { "docid": "6b22d02853f681eab1dced0092a9251f", "score": "0.59064835", "text": "private synchronized boolean existsIdleThread() {\r\n for (int i=0; i<_threads.length; i++) {\r\n if (_threads[i].isIdle()) return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "a6...
25bb3ce53dfdc23bc13e1ca62ecf85b2
Removes a ship part from this Location if one exists. Sets containsShipPart to false in Planet class
[ { "docid": "09a321b4d3a041ecbcc49da3ae71c3f1", "score": "0.7795139", "text": "public void removeShipPart() {\n\t}", "title": "" } ]
[ { "docid": "b334eae0dd4b248383a4a7294014caf5", "score": "0.63385946", "text": "public void removeShip(Ship s) {\n \t\t\n \t}", "title": "" }, { "docid": "e7adcef702d5359d1e35b02223cb14ba", "score": "0.5977873", "text": "@Override\r\n\tpublic String deleteShip(Ship ship) {\n\t\treturn...
3e4053e5f870379e0c0ef11cd05edb54
Accept a string input
[ { "docid": "d21bfc3e48f5dfa8edb62ffa78f8ad10", "score": "0.0", "text": "public long evaluate(Integer input) {\n // If the value is null, return a null\n\n long number = (long) Math.floor(Math.random() * 9_000_000_000L) + 1_000_000_000L;\n // Lowercase the input string and return it\...
[ { "docid": "7d4c10785bba4b9bce1b05a3ae6c7759", "score": "0.7894463", "text": "void input(String input);", "title": "" }, { "docid": "a4e03efec2c7125c0bdf475d200ac552", "score": "0.77757806", "text": "void input(String s);", "title": "" }, { "docid": "affa977244339c110e089...
f699859bc1d784e87d59755397057a98
change numberBooked if able (not exceed capacity), update event size
[ { "docid": "045145b91e4a6189f0a35c4057d3ac88", "score": "0.54026276", "text": "public boolean modifyBooking (int eventID, int userID, int newNumber) throws SQLException {\n Booking booking = checkBooking(eventID,userID);\n if (booking != null) { //this pair exists already\n Even...
[ { "docid": "0df107bbd63a5723d4ba3b0d3db90f18", "score": "0.6413866", "text": "protected final int getPreallocatedEventCount() {\n // Preallocate objects to use on the ring buffer. The way that appends and syncs work, we will\n // be stuck and make no progress if the buffer is filled with appends o...
cb3b3f086b5c4817ee397dba00e8c00f
prompts user to choose number of dice sides
[ { "docid": "84b7ffac7e51d04e79a4636ac657e979", "score": "0.6975177", "text": "public static int getSides() {\n\n System.out.println(\"Let's roll the dice! How many sides do you want your dices to have?\");\n return scan.nextInt();\n }", "title": "" } ]
[ { "docid": "b2ff8fcbeb06ed45ad57768111b06de7", "score": "0.7192721", "text": "public static int dieSides() {\n\t\t// Instantiate the Scanner\n\t\tScanner input = new Scanner( System.in );\n\n\t\tSystem.out.print( \"How many sides will each die have (2-10)?: \" );\n\t\tint diceSides = input.nextInt();\n\...
bfc657bb78c8c3d8bef26e7a980c2180
This function adds the given basis element to the storage structure, with the supplied filtration index.
[ { "docid": "fd16cf8544600462abae8a624e9076a6", "score": "0.8684051", "text": "void addElement(T basisElement, int filtrationIndex);", "title": "" } ]
[ { "docid": "e9997d2cdd1663c5f3bc39a4be360651", "score": "0.5954014", "text": "int getFiltrationIndex(T basisElement);", "title": "" }, { "docid": "dc487fcc96bf6dd69cd5700f465f6e59", "score": "0.59352994", "text": "void add(int index, int element) {\r\n if (count == storage...
ae141a7cfbb5eed57cc714c23428b129
Returns the result of interpreting the object as an instance of 'Smm Relationship'. This implementation returns null; returning a nonnull result will terminate the switch.
[ { "docid": "7ee2ff7b1ca62279c4e250a3a5b08e91", "score": "0.7497067", "text": "public T caseSmmRelationship(SmmRelationship object) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "18edb85ed9974d0419b162c5b4ba56bd", "score": "0.6742239", "text": "public T caseRelationship(Relationship object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "b0f0bacc5136230a1cbee96f1e7cdd30", "score": "0.6570418", "text": "public T caseKDMRelationship(KDMRelatio...
5e7923ff8c826266c13bee04917d3a42
/ Note the inner bracket here. This is needed because precedence of '' operator is higher than '<<'
[ { "docid": "78a221283ce777d87d022018a8f5dee8", "score": "0.0", "text": "static int multiplyByFive( int n)\n\t{\n\t return ((n<<2) + n);\n\t}", "title": "" } ]
[ { "docid": "69d24fd67dca29d58d9ad0b7073be37b", "score": "0.5554029", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n SimpleNode simpleNode0 = new SimpleNode(63);\n FileSystemHandling fileSystemHandling0 = new FileSystemHandling();\n StringWriter stringWriter0...
3c55079bb1b8c02d9438a64897f0154d
True if the scenario was run with 100% success.
[ { "docid": "0a491625eb6a6052576cfc58b43286ae", "score": "0.8090913", "text": "public boolean wasSuccess() {\n return this.scenario.wasSuccessful();\n }", "title": "" } ]
[ { "docid": "10f0fd5b996225e8d483b53484d41e69", "score": "0.76323223", "text": "@Override\n\tpublic boolean isTestSuccessful() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "47b45195db08919c13ece2464ca20c30", "score": "0.7206774", "text": "public boolean isTestSuccessful() {\n...
6f4d78a09bb8d7ff835519eab5588fbc
Returns a new object of class 'Rule Call Statement'.
[ { "docid": "20363968e4e32ac4620176d25ef0eaea", "score": "0.84175545", "text": "RuleCallStatement createRuleCallStatement();", "title": "" } ]
[ { "docid": "8248e60c14a518c19333da97eb485b5f", "score": "0.64386326", "text": "Rule createRule();", "title": "" }, { "docid": "8248e60c14a518c19333da97eb485b5f", "score": "0.64386326", "text": "Rule createRule();", "title": "" }, { "docid": "d5481dbc7bcbfe0b11bfa6bf0f84be...
a047f6d054fcf98458fc2b4422e75106
Gets the list of pending remote sources, without clearing them. For testing.
[ { "docid": "5f1ff075750990a6278d3327cb2d6fb2", "score": "0.7277926", "text": "public List<SourcesToAddOrRemove> getQueuedRemoteSourceChanges()\n {\n synchronized (queuedRemoteSourceChanges)\n {\n return new ArrayList<>(queuedRemoteSourceChanges);\n }\n }", "titl...
[ { "docid": "8fbfc44597a6b6945d3feddda3dd635c", "score": "0.69736767", "text": "public List<SourcesToAddOrRemove> clearQueuedRemoteSourceChanges()\n {\n synchronized (queuedRemoteSourceChanges)\n {\n List<SourcesToAddOrRemove> ret = new ArrayList<>(queuedRemoteSourceChanges);\...
bdee05292f0d97ecef032cb3a22c6de5
maakt een kopie van de gegeven handelspositie.
[ { "docid": "728ef898720e214b6dfb21af174607b8", "score": "0.0", "text": "protected HandelsPositie(HandelsPositie pos) {\n Assert.notNull(pos);\n this.wereld = pos.wereld;\n this.stad = pos.stad;\n this.kapitaal = pos.kapitaal;\n this.ruimte = pos.ruimte;\n this.v...
[ { "docid": "a99e24264c7cd1c7972a8c46c1208087", "score": "0.5907268", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic ZahlenFolgenMerker machMirEineKopieDavon() {\n\t\tZahlenFolgenMerker kopie = new ZahlenFolgenMerker();\n\t\tkopie.notizblock = (java.util.LinkedList<Integer>) notizblock.clone();\n\t\...
c01a084b698972aef6da50b93bc24e16
uint64 rewardExp = 13;
[ { "docid": "f9952c499b0126aabd132ee527dbcebd", "score": "0.6909662", "text": "public long getRewardExp() {\n return rewardExp_;\n }", "title": "" } ]
[ { "docid": "9eb384124b905d4edebc471c78e00b6f", "score": "0.7751843", "text": "long getRewardExp();", "title": "" }, { "docid": "f1d8fe9ff212d698865668a7946922a2", "score": "0.69219875", "text": "BigInteger getTargetGasAtReward();", "title": "" }, { "docid": "f48f8f1a03678...
36f8ce273f412ffe10a406ea2fc231a8
To convert dp to px
[ { "docid": "ae507daf29d68fa140af4787c477ef1e", "score": "0.76400715", "text": "public int dpToPx(int dp) {\n float density = getResources()\n .getDisplayMetrics()\n .density;\n return Math.round((float) dp * density);\n }", "title": "" } ]
[ { "docid": "a750314fbc9e95e6bc0fc6276186556b", "score": "0.8015121", "text": "private int dpToPx(int dp) {\n Resources r = getResources();\n return Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, r.getDisplayMetrics()));\n }", "title": "" }, { "docid": ...
d3eaabdb62ce48a4e7438cd66d3405c6
Creates a new instance of this exception with the given message, cause and exception data.
[ { "docid": "bb459549fedf26e235a05dec16472cf3", "score": "0.6742408", "text": "public ComponentDependencyException(String message, Throwable cause, ExceptionData data) {\r\n super(message, cause, data);\r\n }", "title": "" } ]
[ { "docid": "ef1a62bdb9b4c6ecf6755e9b212c5448", "score": "0.6978487", "text": "public ReviewApplicationProcessorException(String message, Throwable cause, ExceptionData data) {\r\n super(message, cause, data);\r\n }", "title": "" }, { "docid": "3f4ee65656290d46e53fa0ae5743ff26", ...
d1993f1fd1947be2174aa5b3fbfde17b
Tries to login to firebase with the given credentials. If the current user is anonymous the shoppingcart is saved first so it can be transferred.
[ { "docid": "ec546e8cff31896d0e3d88b59b350229", "score": "0.7623627", "text": "private static void loginWithCredential(AuthCredential credential){\n FirebaseUser user = appData.firebaseAuth.getCurrentUser();\n if (user != null && user.isAnonymous()) {\n saveShoppingCart();\n ...
[ { "docid": "0ea1e65fcad58a89e3af41ef042b7094", "score": "0.6659953", "text": "private static void LoginAndTransfer(String userEmail, String userPassword) {\n\n String email = userEmail;\n String password = userPassword;\n\n email = email.trim();\n password = password.trim();\...
0021937913bf90e660199458a3dfacda
Integer imageId = product.getImage().getId(); imageService.setImageStatusInUse(imageId);
[ { "docid": "76e83519d5116c41215d1c107af72752", "score": "0.0", "text": "@Override\n public Product addProduct(Product product, Integer categoryId) {\n product.setCategory(categoryService.findOne(categoryId));\n return productRepository.save(product);\n }", "title": "" } ]
[ { "docid": "b501ab03f7d24144f751a228791b5ea4", "score": "0.7403849", "text": "@Override\n public void setImageStatusInUse(Long imageId) {\n Image image = imageRepository.findOne(imageId);\n image.setIsImageUsed(true);\n imageRepository.save(image);\n }", "title": "" }, ...
311311b9c8df88eb3cb7b11f3d0e85bc
Count all records of the underlying table.
[ { "docid": "63acbb6fc1a496491963fcb170cdbfe2", "score": "0.0", "text": "long count() throws DataAccessException;", "title": "" } ]
[ { "docid": "98d36f41d55aab80e02e49c249c3407a", "score": "0.7568211", "text": "public int countAll() throws SQLException {\n return countWhere(\"\");\n }", "title": "" }, { "docid": "ccf98e55eeec75efd25bafa9fba8c742", "score": "0.74777174", "text": "public int countAll() thr...
2a523765cc7140aab15b748d59cfc74a
Static Methods Pauses the model animation.
[ { "docid": "42947c5d1014ba285ea15551554ee5b1", "score": "0.8044348", "text": "public static void pauseModelAnimation()\n {\n if (timeline != null) {\n timeline.pause();\n }\n }", "title": "" } ]
[ { "docid": "7f0589819220b74ba5a9bbd321c7a9fa", "score": "0.68680316", "text": "public void pause() {\r\n if (rerun != null && !rerun.isDone()) {\r\n rerun.pause();\r\n rerunWas = true;\r\n }\r\n if (mogoAnimation.getStatus() == Animation.Status.RUNNING) {\r\n ...
e34a33097ab9be931e2d5b0597b02795
after successful student validation this method takes a student email and course id and checks in the join table (Student_course) generated by JPA to find if a student is currently attending a course with that ID if student is not attending that course register the student to that course, otherwise not
[ { "docid": "52c751d63418a27a78842ecbfd417ac2", "score": "0.68485034", "text": "public void registerStudentToCourse(String sEmail, int cId);", "title": "" } ]
[ { "docid": "2cf95b808ba60fb09a8bb68262cee5c2", "score": "0.69163764", "text": "@Override\r\n\tpublic void registerStudentToCourse(String email, int cId) {\n\t\tStudent student = manager.find(Student.class, email);\r\n\t\t//Find the course for the given course id\r\n\t\tCourse course = manager.find(Cours...
b5013bd09a0c66a545c7cf11a61f3f89
GENLAST:event_labelCorteCajaMouseClicked BOTON QUE REALIZA EL DESCUENTO POR PRODUCTO
[ { "docid": "f4f129e6a53bd81b379cb23a9a37af30", "score": "0.0", "text": "private void botonDescuentoPorProductoMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_botonDescuentoPorProductoMouseClicked\n int filaSeleccionadaPedidos = tablaPedidos.getSelectedRow();\n double importe...
[ { "docid": "9298ddaac93fd40de041e8d7b607bf4a", "score": "0.68941003", "text": "private void lPrendasEnCasaMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lPrendasEnCasaMouseClicked\n int seleccion = lPrendasEnCasa.getSelectedIndex();\n Prenda p = (Prenda) ModeloPrendas.get(s...
2c92f659c71df50db81d9ab7fbd8b287
combine the two trees with the same degree
[ { "docid": "274f20425eb72fd7d96119493e5647e7", "score": "0.0", "text": "private Node heapLink(Node x, Node y) {\n\t\tNode large = null;\n\t\tNode small = null;\n\t\t\n\t\t// current maxNode cannot add as a child\n\t\tif (x.val == y.val && x.val == maxVal) {\n\t\t\tif (x == maxNode) {\n\t\t\t\tlarge = x;...
[ { "docid": "6cd30165a2f32b69d86e5e11f72b039f", "score": "0.680824", "text": "public TreeNode mergeTrees(TreeNode t1, TreeNode t2) {\n\n if (t1 == null) return t2;\n if (t2 == null) return t1;\n\n TreeNode t = new TreeNode(t1.val + t2.val);\n t.left = mergeTrees(t1.left, t2.left);\n t.righ...
1fecbda73a9118779561da4593dd9588
Will cache request body into byte array
[ { "docid": "ecf9b91ba062ea271ee316b777b977ad", "score": "0.0", "text": "public void cache() throws IOException {\n\t\tif (cached)\n\t\t\treturn;\n\t\tInputStream is = socket.getInputStream();\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tbyte[] buffer = new byte[Constants.BUFFER_SI...
[ { "docid": "b9fa9096c8938e107c464946aa75d07a", "score": "0.68110675", "text": "byte[] getBodyAsBytes();", "title": "" }, { "docid": "a36e44d385677929db1d29f82625c3ac", "score": "0.604183", "text": "synchronized byte[] getBuffer() { return baos.toByteArray(); }", "title": "" }, ...
418e184e3da1909e5c965efffabe94a5
Search for articles with query. Right now uses location of query words in articles and instances of words in articles to determine score
[ { "docid": "1302a8ae2d9ef574cbbd49acace0faee", "score": "0.67553484", "text": "public List<Page> search(String query){\n\t\t//Get word ranking scores\n\t\tArrayList<Integer> wordIDs = getWordIDsForQuery(query, Application.getWordMap());\n\t\tArrayList<Page> result = wordRanking(wordIDs, Application.getA...
[ { "docid": "fb06da9d8811a955f0cc18bbb8a554bc", "score": "0.701951", "text": "private LinkedList<String> getQueryResults() {\n //parse query\n Parse p = new Parse(new CorpusDocument(\"\",\"\",\"\",\"\",q.getTitle() +\" \" + q.getDescription(),\"\",\"\"),stem);\n MiniDictionary md = p...
5ffb4b7291e0a045c8b9c18650b5db75
Creates the bufferstrategy and graphics library that will be used to render to the JFrame, and Draws from the graphics library into the JFrame, calls render methods from selected GameState
[ { "docid": "59d62dc4d25c7a3148f99d6bd4942468", "score": "0.6762352", "text": "public void render()\r\n\t{\r\n\t\tbs = this.getBufferStrategy();\r\n\t\tif(bs == null) { createBufferStrategy(2); return;}\r\n\t\t\r\n\t\tg = (Graphics2D) bs.getDrawGraphics();\r\n\t\t\r\n\t\tg.setColor(Color.BLACK);\r\n\t\tg...
[ { "docid": "ed06d6bec68ee6860f8ceed553c4311b", "score": "0.7539786", "text": "private void render() {\n\t\tbs = display.getCanvas().getBufferStrategy(); \r\n\t\t\r\n\t\tif(bs == null) { //For if we are just starting the game.\r\n\t\t\tdisplay.getCanvas().createBufferStrategy(3);\r\n\t\t\treturn;\r\n\t\t...
a5d9ae34e12da1ed6bb3d3afa3887c79
Returns the row for the last node of the index
[ { "docid": "ceddb0e945e44a75f558d549fcb6784a", "score": "0.0", "text": "public RowIterator lastRow(Session session, PersistentStore store,\n int distinctCount, boolean[] map) {\n\n store.readLock();\n\n try {\n NodeAVL x = getAccessor(store);\n ...
[ { "docid": "cf1bec3df23629d7d3900f16320cb21c", "score": "0.7044135", "text": "public int getLastIndex();", "title": "" }, { "docid": "9d38f2d13653131c2780b73a881a5dd6", "score": "0.6786658", "text": "@JsonIgnore\n\tpublic long getLastIndex() {\n\t\tif(this.getLastBlock() != null) {\n...
764889e1ead32094eb39ae1b385f5cc3
Get method for struct member 'uvlayer_tmp'.
[ { "docid": "fdd79a1c554bf039cdd8db6b3e939d57", "score": "0.64539343", "text": "public int getUvlayer_tmp() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readInt(__io__address + 264);\n\t\t} else {\n\t\t\treturn __io__block.readInt(__io__address + 240);\n\t\t}\n\t...
[ { "docid": "58ffba3ccad9593cafa2410317b56a85", "score": "0.5525673", "text": "public void setUvlayer_tmp(int uvlayer_tmp) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeInt(__io__address + 264, uvlayer_tmp);\n\t\t} else {\n\t\t\t__io__block.writeInt(__io__address + ...
2ba66bfb4c8c281b968daf90bab7aa6c
Test case number: 135 /Coverage entropy=1.6770237009083158
[ { "docid": "00e9d8035ba008c31dc40a1a07c02460", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test135() throws Throwable {\n StringReader stringReader0 = new StringReader(\"m..n\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenMan...
[ { "docid": "b90eb2fd568bdedde77706611f25599b", "score": "0.70268", "text": "@Test(timeout = 4000)\n public void test134() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evaluati...
c0ebe50205d42d43d8da39276f585100
Create a new object and validae email
[ { "docid": "5d65fded95df8d0e8cdf3a9f4bbcc882", "score": "0.0", "text": "@Test\n public void createObject() {\n\n for (int i = 1; i < 20; i++) {\n\n /**\n * Get the current array\n */\n RequestSpecification request = RestAssured.given();\n ...
[ { "docid": "c8955ada536e8ffeeac5484d0003fba6", "score": "0.7633741", "text": "public EmailValidation create(EmailValidation user);", "title": "" }, { "docid": "3fdd5c9b27dd70a8fa704d0777162c39", "score": "0.71156573", "text": "public Email(){}", "title": "" }, { "docid": ...
0ff905d314e4d5b34958f57164634e2c
Send a scroll event to this state.
[ { "docid": "1b1e47ae92ff4c0a52422a2a226faf36", "score": "0.6832575", "text": "@Override\n public void scrollEvent(long window, double xOffset, double yOffset) {\n\n }", "title": "" } ]
[ { "docid": "a3605e3d96c32709c9df0e7c6b39c860", "score": "0.7241027", "text": "public abstract void onScroll(double delta);", "title": "" }, { "docid": "2d39e7356c3da03d019e526d736a63ef", "score": "0.67234266", "text": "protected void scroll(MouseWheelEvent e) {}", "title": "" }...
5d02e505e200244fcc309b09414492b4
A helper method that searches for the sibling nodes that contain a value.
[ { "docid": "ad0ee6adfa35513db2d55d4c3fa98488", "score": "0.0", "text": "private boolean nodesRight(K[] keyarr, Node current){\n while(current.next() != null){\n current = current.next;\n if(current.value() != null){\n return true;\n }\n }\n return false;\n }", "title": "" } ]
[ { "docid": "cc8c7890d71eb4a25c8efcd8967b0c64", "score": "0.6525427", "text": "@Override\n public Optional<Node<E>> findBy(E value) {\n Optional<Node<E>> rsl = Optional.empty();\n Queue<Node<E>> data = new LinkedList<>();\n data.offer(this.root);\n while (!data.isEmpty()) {...
4e5ba8b67425d9ec64f433743986950c
repeated .domains.person.PhoneNumber phone_numbers = 5;
[ { "docid": "3a28008e9bd791cb5635e2dce09fe8fc", "score": "0.55288017", "text": "java.util.List<? extends com.thougtworks.domains.person.PhoneNumberOrBuilder> \n getPhoneNumbersOrBuilderList();", "title": "" } ]
[ { "docid": "ac48a2d49d1e931774b57bb80e2e3b9c", "score": "0.57188946", "text": "com.thougtworks.domains.person.PhoneNumber getPhoneNumbers(int index);", "title": "" }, { "docid": "4941e7ef7e35d3db455e93bed3b182e0", "score": "0.56492597", "text": "void addPhone(Contact contact, PhoneNu...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5d42902b5ed5539a44b5dda2479ffbf7", "score": "0.0", "text": "public View getView(int position, View v, ViewGroup parent) {\n\t\t\tif (v == null) {\n\t\t\t\tv = inflater.inflate(\n\t\t\t\t\t\tR.layout.admission_faq_sub_row, parent,\n\t\t\t\t\t\tfalse);\n\t\t\t}\n\n\t\t\tTextView tv_str1 = (Tex...
[ { "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": "" }, ...
3288d55b5e3c2f75a4ea72e59c562a6f
Check if we have write permission
[ { "docid": "4751d333aecedcea3af0778baaacc082", "score": "0.0", "text": "public boolean verifyStoragePermissions(Activity activity) {\n int permission = ActivityCompat.checkSelfPermission(activity, Manifest.permission.WRITE_EXTERNAL_STORAGE);\n\n if (permission != PackageManager.PERMISSION_...
[ { "docid": "69f2afe3147bab9ce807e8f925ec03c7", "score": "0.8272083", "text": "public boolean hasWritePermission() {\n\t\t\n\t\ttry {\n\t\t\tFileSystem dfs = HdfsOverFtpSystem.getDfs(user);\n\t\t\tdfs.access(this.path, WRITE);\n\t\t\treturn true;\n\t\t\t\n\t\t} catch (AccessControlException e) {\n\t\t\tl...
d5629a172833bc182c985d3439972306
optional .com.spotify.proto.Delta delta = 2;
[ { "docid": "dac87ed3c46c55e107c2a6430398b11e", "score": "0.6828678", "text": "public com.spotify.playlist4.proto.Playlist4Changes.DeltaOrBuilder getDeltaOrBuilder() {\n return delta_;\n }", "title": "" } ]
[ { "docid": "7e650140225019fc606a977d681e273e", "score": "0.80972004", "text": "com.spotify.playlist4.proto.Playlist4Changes.Delta getDelta();", "title": "" }, { "docid": "44d50549530d7d0a8116ed50ed0fc7cd", "score": "0.78693473", "text": "com.spotify.playlist4.proto.Playlist4Changes.D...
802e0cdc6762411611e79f6c327ac7ac
Input date in String format Date/time pattern of input date
[ { "docid": "6c733943e457314328c1d2713157737a", "score": "0.0", "text": "public static String getVendorFormattedTime(String format) {\n DateFormat df = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n //Date/time pattern of desired output date\n // if date is also required to show th...
[ { "docid": "b8eecf3741a3475a27df890b20f30908", "score": "0.6673517", "text": "public static void main(String[] args) {\n\t\tString string = \"08/31/2020 11:41:41\";\n \tDateFormat inFormat = new SimpleDateFormat( \"MMM dd, yyyy hh:mm:ss aa\");\n\n //This is already in 24 hour format so the out...
94115d18b5d760ba87cd79be51fe298c
Parsing Issues with id and date type
[ { "docid": "bb1c6edec3775cea2ac73a88dc212596", "score": "0.0", "text": "public ArrayList<Reservation> parseReservation(String jsonText) {\n try {\n reservationArrayList = new ArrayList<>();\n JSONParser j = new JSONParser();\n Map<String, Object> reservationListJs...
[ { "docid": "fd72377fd9d706b669a5af76f397aba3", "score": "0.5966375", "text": "private String parseDate(String str) {\n\t\treturn str.substring(0,10) + \" \" + str.substring(11,19);\n\t}", "title": "" }, { "docid": "d48e1b4f37d04721adcf970c607ec299", "score": "0.5665954", "text": "pri...
517568f588624c0dd1ae11442228365c
Returns true iff you can play other on this card.
[ { "docid": "6780e33605ef3a07ad80c54535f6551f", "score": "0.80967647", "text": "public boolean canPlay(Card other) {\r\n return this.color == other.color || this.number == other.number;\r\n }", "title": "" } ]
[ { "docid": "253b1c6d74622dc1ae5400a01bc3606c", "score": "0.692975", "text": "@Override\n public boolean canPlayCard() {\n return true;\n }", "title": "" }, { "docid": "68f89a4dcbf8aede39522ca6e3267ac5", "score": "0.6813816", "text": "@Override\n public boolean isPlaya...
8a6057852aaa3d1779b341b4678da9d1
/ access modifiers changed from: 0000
[ { "docid": "9e5c2d3ac8fd13f65d0c0d00753f3974", "score": "0.0", "text": "public final /* synthetic */ void zza(int i, zzef zzef, Intent intent) {\r\n if (((zzix) this.zzrz).zza(i)) {\r\n zzef.zzgs().zza(\"Local AppMeasurementService processed last upload request. StartId\", Integer.valu...
[ { "docid": "0b06f1c2066a7ed1df417a1383204e17", "score": "0.6879756", "text": "Internal internal();", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.6858492", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "cf1fe3fbd7326...
6d5c981a9d8f65c0e5d1e30fdb91ce17
Helper function that tells you how many cards in the player's hand are available
[ { "docid": "cfc7f10a1b5dcfdb6416dde48bd1d3e1", "score": "0.66222733", "text": "public ArrayList<Integer> getAvailablePlayerCards()\n {\n ArrayList<Integer> availablePlayerCards = new ArrayList<Integer>();\n\n for (int i = 0; i < playerCards.size(); i++)\n {\n\n availab...
[ { "docid": "517d22a1c559dec552325c1fe6934ca2", "score": "0.8319634", "text": "public int countCardsInHand() {\n return hand.size();\n }", "title": "" }, { "docid": "bca86418584ea0dd9b8a4fb8933ec88b", "score": "0.8122577", "text": "int getPlayerCardInfosCount();", "title...
e160db42d536a10b333fc5e04d5120da
Scanner in = new Scanner(new File("input.txt"));
[ { "docid": "ee66b519fb9697fcd75cc486e293d6cb", "score": "0.0", "text": "public static void main(String[] args) throws IOException {\n\t\tScanner in = new Scanner(new File(\"B-small-attempt0.in\"));\r\n // Scanner in = new Scanner(new File(\"B-large.in\"));\r\n\t\tFileWriter fw = new FileWriter(\"...
[ { "docid": "c168cbda5690826ae5a5ca69e37d67bb", "score": "0.7569032", "text": "public static void main(String[] args) throws FileNotFoundException {\n\n Scanner in = new Scanner(new File(\"exercise42_input.txt\"));\n\n }", "title": "" }, { "docid": "13a4e5ba462ace6905ec56658d9af271"...
6b9b235e31397c782726b766c3884c1c
Gets saved external folder tree uri
[ { "docid": "0b6c06b3a4b1a98b2674cd9c620d8f73", "score": "0.77636504", "text": "public static String getSavedExternalFolderTreeUri(@NonNull Context context) {\n return getDefaultSharedPreferences(context).getString(KEY_PREF_SAVED_EXTERNAL_FOLDER_TREE_URI,\n KEY_PREF_SAVED_EXTERNAL_FOLDE...
[ { "docid": "5c95d26c8a2a76324b4af071a16467f2", "score": "0.70533955", "text": "public static String getSavedExternalFolderUri(@NonNull Context context) {\n return getDefaultSharedPreferences(context).getString(KEY_PREF_SAVED_EXTERNAL_FOLDER_URI,\n KEY_PREF_SAVED_EXTERNAL_FOLDER_URI_DEF...
abc3d5103832d45efd9cf7bf9d23dec1
/ renamed from: x
[ { "docid": "2b991003c8e3a9a1279752d34637ad9b", "score": "0.0", "text": "public final void mo52164x() {\n m94063q();\n }", "title": "" } ]
[ { "docid": "7a01437d763f7aa07a94046cf8442374", "score": "0.64648134", "text": "public int getX() { return x; }", "title": "" }, { "docid": "b60ec937849d4827b5287235e0c40a8b", "score": "0.63486236", "text": "@Override\n public int getX() {\n return x;\n }", "title": "" }, ...
ac87502766d9065b9be62bbf5ae0edce
Obtener el mensaje de error del datePicker
[ { "docid": "cb9282c6db9898cf7a97e27e8d457c26", "score": "0.6324528", "text": "public String getDateError() {\n\t\treturn dateError.getText();\n\t}", "title": "" } ]
[ { "docid": "74977a7adedc6e1027f4468fc8164c40", "score": "0.7691414", "text": "public void dateError() {\r\n\t\tAlert alert = new Alert(AlertType.WARNING);\r\n \talert.setTitle(\"Date Error\");\r\n \talert.setContentText(\"Your input date already exists in the system or \\nYour start date is after ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5857cbac4dcbe2cc9d5ae28ab65c1745", "score": "0.0", "text": "@Override\r\n\tpublic boolean isAccountNonLocked() {\n\t\treturn true;\r\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
6437d55a0cf89a611667bfbebe7568e0
Inserts the ingredient step into the database.
[ { "docid": "e8c159798f248532b748d9123e0e7553", "score": "0.6116537", "text": "public long putPreparationStep(String preparationStep) {\n ContentValues values = new ContentValues();\n values.put(Contract.PreparationStepEntry.COLUMN_NAME_DESCRIPTION, preparationStep);\n long stepId = ...
[ { "docid": "891044dcd291639d7d518fbed995d606", "score": "0.67872393", "text": "org.hl7.fhir.SubstanceIngredient insertNewIngredient(int i);", "title": "" }, { "docid": "739404abb8cc4a3df6a48cee17c18532", "score": "0.66624546", "text": "public void addIngredient(Ingredient ingredient)...
62cfcbacecd3898fbef2748b07ba2c8e
PARA QUE ESTE METODO FUNCIONE SE DEBE HABER VALIDADO ANTERIORMENTE QUE LA ESQUINA ORIGEN SEA ESQUINA1 Y QUE LA ESQUINA DESTINO SEA ESQUINA2
[ { "docid": "c5d769745c977bcac14c3bd4810fd6bb", "score": "0.0", "text": "public static boolean existeNegocio(Negocio negocio){\n\t\tboolean existe = false;\n\t\tfor(int i=0; i<negocioExistente.size(); i++){\n\t\t\t\n\t\t\tif(negocioExistente.get(i).getEsquina1().getNombre().equalsIgnoreCase(negocio.getEs...
[ { "docid": "b6efdfbd4adc646dcb96b4fac9640872", "score": "0.62743425", "text": "public void validar(Cliente cliente, Cobro cobro, String fdesde, String fhasta, Actividad actividad) throws Exception{\n if (cliente == null) throw new Exception(\"El campo Cliente no puede ser vacio.\");\r\n \r...
430fe052bbe7dab38959e31c50dcc7fd
Removes the given element from the Description_L10N_ARRAY array. This is achieved by marking the element for removal.
[ { "docid": "9c83e8da15960ce3a3ccd091635df10b", "score": "0.85989636", "text": "public void removeFromDescription_L10N_ARRAY(entity.GL7DBTerritory_Description_L10N element);", "title": "" } ]
[ { "docid": "bfd2ee743acc3b1d1273ba0ed5a21269", "score": "0.78960073", "text": "@java.lang.Deprecated\n public void removeFromDescription_L10N_ARRAY(gw.pl.persistence.core.Key elementID);", "title": "" }, { "docid": "a801cab4d536f9c6009682957adf7a92", "score": "0.6302838", "text": "p...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "9666154c9bf0345da03a91a261cc94fa", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tobjectEx oe1 = new objectEx();\n\t\toe1.i = 10;\n\t\toe.i = 10;\n\t\toe1.function();\n\t\tSystem.out.println(oe.i);\n\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
527fe62d0d7e0423ae9ef096b81b79c9
Show new student form
[ { "docid": "79736e0c915feca84bb202da86e2471d", "score": "0.6730167", "text": "@Override\n public void onClick(View view) {\n showDialogAddStudent();\n }", "title": "" } ]
[ { "docid": "3b58c5168f7810ed20732d4ff555e50d", "score": "0.7992235", "text": "@GetMapping(\"/showNewStudentForm\")\n\tpublic String showNewStudentForm(Model model) {\n\t\tStudent student = new Student();\n\t\tmodel.addAttribute(\"student\", student);\n\t\treturn \"new_student\";\n\t}", "title": "" ...
7075521c54d36318df10efb840049972
ArrayList ipoints = new ArrayList();
[ { "docid": "103ff88db342ded2b38a5bcd5ec7fb03", "score": "0.0", "text": "public void start(String fileName, String dbName)\n {\n Idate id = new Idate();\n id.readDate(fileName);\n System.out.println(\"Прочитали дату: \" + id.getDate());\n //\n Database db = new DatabaseAccess(dbName);\n ...
[ { "docid": "f183dc4de9118f320352a2d54af7b501", "score": "0.6687427", "text": "public abstract List<Point> getPoints();", "title": "" }, { "docid": "455b886b75a56023e7fa79b00d701f86", "score": "0.66808665", "text": "public Solution (Integer n_points, ArrayList<Point> points){\n ...
dfaa8e85505f150dc186c72e75101c52
/ method add() returns nothing adds a given number (double) to the current number (double)
[ { "docid": "5cc5d86f67129f8f500e7d8ebb957e9f", "score": "0.7503032", "text": "public void add(double d) {\n\t\tcurrentNumber = currentNumber + d;\n\t}", "title": "" } ]
[ { "docid": "d224b7f9be924985c9843950c5f19707", "score": "0.78780895", "text": "public void add(double value) {\n add(value, 1);\n }", "title": "" }, { "docid": "c0d211d958a62e3ec9e81689ffe5a231", "score": "0.76922745", "text": "public void add(double v) {\n\t\tset( v + doub...
555b24faab2d460ecf1be9f7f05f708c
Created by Durga. Spring Data JPA repositories are interfaces that you can define to access data. JPA queries are created automatically from your method names SimpleJpaRepository has the implementations for CRUD operations.
[ { "docid": "a1d7c39611d6ac66b076be0bb2253a44", "score": "0.0", "text": "public interface ICandidateDao extends JpaRepository<CandidateModel, Long> {\n\n}", "title": "" } ]
[ { "docid": "4daace38d28a16c876f406f71dcfa06f", "score": "0.7771009", "text": "public interface UserRepository extends JpaRepository<User, String> {\n\t\n\t//Query necessary to create SimpleUser Objects with database info\n\t@Query(\"SELECT new com.example.demo.user.SimpleUser(u.id, u.name) FROM User u\"...
64d34842cbf0191ee34f69dde9af0e00
Updates the give key.
[ { "docid": "74e820c5cca03a19a113ccbe89ea3b3e", "score": "0.0", "text": "public void update(String key, String value)\n {\n this.properties.setProperty(key, value);\n }", "title": "" } ]
[ { "docid": "a1cdd9a9603d8db9f7ba1506ff91eb5a", "score": "0.76413566", "text": "public void setKey(String newKey) { key=newKey; }", "title": "" }, { "docid": "8d850ae74a927431bfc31a1c58341944", "score": "0.7573239", "text": "public void setKey(String newKey);", "title": "" }, ...
24571facc8870dab5f67ce722e4e67ce
Sets value as attribute value for VM_ID using the alias name VmId.
[ { "docid": "875b283f61456722a48b74597fa3a3df", "score": "0.7307139", "text": "public void setVmId(Number value) {\n setAttributeInternal(VMID, value);\n }", "title": "" } ]
[ { "docid": "35e754db477a4691697a19df18006c38", "score": "0.607765", "text": "public void setValueId(long valueId);", "title": "" }, { "docid": "0e983e6afec3e7d8ee6b6f1ba235176a", "score": "0.59088504", "text": "public Number getVmId() {\n return (Number) getAttributeInternal(V...
981bb63e5bc179dbd2c757abcd851993
Returns the default connector. This is the first configured connector in the configuration.
[ { "docid": "54d39856ff91b9649102079b3bb11aba", "score": "0.77164125", "text": "public static Connector getConnector() {\n Configuration config = getConfig();\n return config.getConnectors().getConnector(0);\n }", "title": "" } ]
[ { "docid": "e726a29fc73d63dba1f9c6ce96eb72ea", "score": "0.6354012", "text": "public String getDefaultConfigurationLocator();", "title": "" }, { "docid": "4094e6beb8ec8c47324c0e4a264b5168", "score": "0.6351868", "text": "public String getConnectorName() {\n return this.connect...
b42a3457555eb3367542527c218525a5
Gets (as xml) the "PmcPid" element
[ { "docid": "077d873a28a87621244f38b91804bd7e", "score": "0.80126196", "text": "public org.apache.xmlbeans.XmlString xgetPmcPid()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString...
[ { "docid": "80b4fbfbd429ba6ec64e031cdcfec103", "score": "0.8020795", "text": "public java.lang.String getPmcPid()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = nul...
5a7b60b3444398edcb8a2b2a5803e3d4
insere o elemento e como filho de f
[ { "docid": "b8d4ee45f3bfef5edc9bfa9dbae1a372", "score": "0.0", "text": "public boolean add(Integer e, Integer f){\n\t\ttry{\n\t\t\tsearchNodeRef(f).addSubtree(new Node(e));\n\t\t\tcount++;\n\t\t\treturn true;\n\t\t} catch (Exception exc) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "eb31adeec4e20e7a50c8fcaa9cd2f53b", "score": "0.720333", "text": "public void inserir(Filme obj) throws Exception {\n System.out.println(\"Salvar o objeto filme\");\r\n }", "title": "" }, { "docid": "890c6413df08264f8963fe7d080b0c8b", "score": "0.6414651", "text"...
637ec7047ea60a8860b4962cc8c5d0f5
Parses a full DDL file that contains multiple tables with multiple FK's The Tables in the DDL are arranged, such that the at least one table has FK reference to table defined later in the DDL and results in an Unresolved table reference that should be handled by a postProcess() method
[ { "docid": "fcaf3739126aa043954faf579ce16c33", "score": "0.5679265", "text": "@Test\n public void shouldParseTeiidStatements_2() {\n\n printTest(\"shouldParseTeiidStatements_2()\");\n String content = getFileContent(DDL_FILE_PATH + \"sap-flight.ddl\");\n assertScoreAndParse(conte...
[ { "docid": "7862d56a68c4a30efef0ceab77c7c49f", "score": "0.57167923", "text": "@Test\n public void shouldParseTeiidStatements_1() {\n\n printTest(\"shouldParseTeiidStatements_1()\");\n String content = getFileContent(DDL_FILE_PATH + \"sap_short_test.ddl\");\n assertScoreAndParse(...
73bc47f7bd2c4736d6d6305c30eecec3
Buffers a number of values. It always requests the number of values from the publisher that equals the buffer size. It emits the buffered values as a list.
[ { "docid": "022f6ddad2b03fee994d5094793cf86d", "score": "0.0", "text": "public Chain<List<T>> per(final int size, final Duration timeout) {\n return map(Per.per(size, timeout));\n }", "title": "" } ]
[ { "docid": "57cfaa1b0e77278bbc5163214aa6db73", "score": "0.66072965", "text": "@Test\n void fixedSizeBuffering1() {\n Observable.range(1, 50)\n .buffer(8)\n .subscribe(System.out::println);\n }", "title": "" }, { "docid": "d020da8681eaddb7a271a7fe54...
c35b9c0ec0321fc93f30fb5b5293721e
This is the main class that implements the AI algorithm for the computercontrolled player
[ { "docid": "2b3b9d3686545bf6368d9bf903e04b27", "score": "0.0", "text": "public void aiUpdate(List<TronPlayer> tronPlayerList,boolean[][] levelBlocks){\r\n\t\t//counter++;\r\n\t\tint row = myPlayer.blocks.length;\r\n\t\tint col = myPlayer.blocks[0].length;\r\n\t\t\r\n\t\tboolean[][] blocksTaken = new boo...
[ { "docid": "399483b30900528eac26955872be5ae3", "score": "0.6889847", "text": "public static void main(String[] args) {\n System.out.println(\"TicTacToe Using Adversarial Search\");\n //Default board settings - Please change if different as there is no API to get it easily\n int boar...
a6b8d15801b10644cb90f0a84780b40b
/ 153: / 154:
[ { "docid": "bf648349318b5bba6d18e30131b53592", "score": "0.0", "text": "public final boolean isNumber()\r\n/* 155: */ {\r\n/* 156:304 */ return this.number;\r\n/* 157: */ }", "title": "" } ]
[ { "docid": "359f2d42418bd15813bd7f9d837891d9", "score": "0.59643954", "text": "public float ao()\r\n/* 229: */ {\r\n/* 230:244 */ return 1.0F;\r\n/* 231: */ }", "title": "" }, { "docid": "c9830a93f438d7b85227e586f6bd99ea", "score": "0.5733259", "text": "public int mo231...
15524f12f5fc6773a064d13c678017ba
test for Prometheus sink in server publish mode.
[ { "docid": "cccc660f8a7c1652128da52cba21f96b", "score": "0.7389988", "text": "@Test(dependsOnMethods = \"prometheusSinkTest\")\n public void prometheusSinkTestServerMode() throws InterruptedException {\n\n log.info(\"-----------------------------------------------------------------------------...
[ { "docid": "0bcce54ace0afca2cbac8d09f90af1bc", "score": "0.69565356", "text": "@Test\n public void prometheusSinkTest() throws InterruptedException {\n\n SiddhiManager siddhiManager = new SiddhiManager();\n log.info(\"---------------------------------------------------------------------...
0ebf1c988e78f331291ab5f13fd71316
Find a step with its name in a given ArrayList of steps
[ { "docid": "2f2a6914275f5263ed59021fdd94bba5", "score": "0.7713263", "text": "public static final StepMeta findStep( List<StepMeta> steps, String stepname ) {\n if ( steps == null ) {\n return null;\n }\n\n for ( StepMeta stepMeta : steps ) {\n if ( stepMeta.getName().equalsIgnoreCase...
[ { "docid": "9959e5fc709cd8b6c0f9a4eae88bf325", "score": "0.659202", "text": "public static final StepMeta findStep( List<StepMeta> steps, ObjectId id ) {\n if ( steps == null ) {\n return null;\n }\n\n for ( StepMeta stepMeta : steps ) {\n if ( stepMeta.getObjectId() != null && stepMe...
663ee34cc381494c3eed4d5f98a5e486
Get staging linked service reference.
[ { "docid": "bccfbb834e9deba5328fbd741dfb7c17", "score": "0.6423339", "text": "public LinkedServiceReference linkedServiceName() {\n return this.linkedServiceName;\n }", "title": "" } ]
[ { "docid": "7d0e071c78e7dfccc38e6bb798e82418", "score": "0.66231906", "text": "public Reference getServiceRef() {\n return serviceRef;\n }", "title": "" }, { "docid": "0d9b16947768752497d1204744f77cdc", "score": "0.61040795", "text": "OfferedService getRefService();", "...
85694b0da4043eb277967a0d69204816
ARTICULATION POINTS AND BRIDGES
[ { "docid": "220d7a43eefe86e72437e79a491de255", "score": "0.5656433", "text": "public ISet getArticulationPoints(){\n\t\treturn articulationPoints;\n\t}", "title": "" } ]
[ { "docid": "4b89073a95297b97fcbd422ce5f52ba4", "score": "0.601741", "text": "public void computePoints() {}", "title": "" }, { "docid": "333e31445ff45c566c3aac74ac13f310", "score": "0.59291995", "text": "float getObtainedPoints();", "title": "" }, { "docid": "8a284dd685f...
cd16bb1f3f6510c2e674d98a8644713e
TODO Changed Stops the EventTimer Thread
[ { "docid": "d947ee9a55eff047c0ca452e54de7575", "score": "0.5934715", "text": "public void stopTimer () {\n if (timer != null) timer.interrupt();\n }", "title": "" } ]
[ { "docid": "a5e5f1dcefff7ef46cb0e591c949d595", "score": "0.66837525", "text": "@Override\n\t\tpublic void run() {\n\t\t\tif (m_timerlock || mIsNowTimerProc)\n\t\t\t\treturn;\n\n\t\t\t//citus_api.UI_OnTimer();\n\t\t\tmIsNowTimerProc = true;\n\t\t\tmTimerHandler.sendEmptyMessage(0xFFFF);\n\t\t}", "tit...
f538db942abb73f280259f03e0234bcd
Create a new SearchEndpoint. This client is used for calling the verify API's search endpoint.
[ { "docid": "57456165ac73bb1466524515ccb710cc", "score": "0.52678585", "text": "public SearchEndpoint(HttpWrapper httpWrapper) {\n super(httpWrapper);\n }", "title": "" } ]
[ { "docid": "fd2dbb481c1f11f15cba584846d3230b", "score": "0.5488638", "text": "private PSSearch createSearch(String name, String type)\n {\n if ((!type.equals(PSSearch.TYPE_STANDARDSEARCH)) && (!type.equals(PSSearch.TYPE_CUSTOMSEARCH))\n && (!type.equals(PSSearch.TYPE_USERSEARCH)) && (!...
86e6eeba167d25683ee998ac82385fe9
Update the model with a new WorkflowDefinition. The old source & sourceExtra of the model will be deteted.
[ { "docid": "ba3cb09c42f976317744ac05264a288d", "score": "0.536668", "text": "public Model updateModel(String modelId, WorkflowDefinition flow,\n\t\t\tString comment) throws DataPersistException {\n\t\tWorkflowDefinitionConversion con = conFactory\n\t\t\t\t.createWorkflowDefinitionConversion(flow);\n\t\t...
[ { "docid": "3f0dd67cd4a800e849d101e8631f92f4", "score": "0.5728732", "text": "public Model updateModel(String modelId, WorkflowDefinition flow) {\n\t\treturn updateModel(modelId, flow, null);\n\t}", "title": "" }, { "docid": "93fe806a7e8227a0ed9b740a03fc2cbb", "score": "0.53126377", ...
a3404f32f3f2acc98cfb981a5d8f68fd
Get a readingorder iterator to the results of LayoutAnalysis and/or Recognize. The returned iterator must be deleted after use. WARNING! This class points to data held within the TessBaseAPI class, and therefore can only be used while the TessBaseAPI class still exists and has not been subjected to a call of Init, SetI...
[ { "docid": "d03acaeb9040f8e980c536ba10451338", "score": "0.4863981", "text": "public native ResultIterator GetIterator();", "title": "" } ]
[ { "docid": "573c8d8cd43540a17c08f14fdaa774a2", "score": "0.69193155", "text": "public native PageIterator AnalyseLayout();", "title": "" }, { "docid": "acca734984dae44cbb3531d6d9d35bd3", "score": "0.53174", "text": "Iterator<int[]> iterator() {\n \n // Initialize\n ...
5948bc13b0dccdba526400179b9767d8
getAttrInvokeAccessor: generated method. Do not modify.
[ { "docid": "bd29eec1d1934bb97599f758c0025c1c", "score": "0.7096573", "text": "protected Object getAttrInvokeAccessor(int index,\n AttributeDefImpl attrDef) throws Exception {\n if ((index >= AttributesEnum.firstIndex()) && (index < AttributesEnum.count())...
[ { "docid": "39c9e1b2f16462210feda497abc9306b", "score": "0.71484756", "text": "protected Object getAttrInvokeAccessor(int index, \n AttributeDefImpl attrDef) throws Exception {\n if ((index >= AttributesEnum.firstIndex()) && (index < AttributesEnum.count(...
c088cc65617bcf2eb6d3ed75e2d8c089
This read method performs deserialization of the XML schema class type by traversing the contacts and instantiating them using details from the provided XML element. Because this will convert a nonprimitive value it delegates to other converters to perform deserialization of lists and primitives. If any of the required...
[ { "docid": "27de221579126814509cb388df69de1e", "score": "0.0", "text": "private Builder read(Schema schema, Instance value) throws Exception {\n Instantiator creator = schema.getInstantiator();\n \n if(creator.isDefault()) {\n return new Builder(this, criteria, schema, value);\n ...
[ { "docid": "20a34a94be2be436d06493c94548e5bf", "score": "0.64825964", "text": "public static Contact parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\r\n Contact object =\r\n new Contact();\r\n\r\n int event;\r\n java.lang.String ...
fc808688d27b10aef354551a2b352c94
Write a generic method to exchange the positions of two different elements in an array.
[ { "docid": "b1aca0593c6e587a93317f4f7e27ff01", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tInteger[] arr = new Integer[3];\r\n\t\tarr[0] = 111;\r\n\t\tarr[1] = 123;\r\n\t\tarr[3] = 355;\r\n\t\t\r\n\t\tSystem.out.println(\"before exchange\");\r\n\t\tGenericsExamples.displayArr...
[ { "docid": "59c0a79933bdc7731563ca20ce7ebade", "score": "0.7738602", "text": "private static <E extends Comparable<E>> void exchange(E[] array, int i, int j){\r\n\t\tE temp = array[i];\r\n\t\tarray[i] = array[j];\r\n\t\tarray[j] = temp;\r\n\t}", "title": "" }, { "docid": "1d1314fd8f81462881c...
dde3c5cb108fe583be3acb25f565ebb3
Launches the help and support link in the device browser.
[ { "docid": "38d7d0d3b46f934e7991bdd1216260dd", "score": "0.8228876", "text": "private void launchHelpAndSupport() {\n UrlUtils.openUrl(binding.getRoot(), getString(R.string.help_and_support_link));\n }", "title": "" } ]
[ { "docid": "b17811413e0e57cffa84b2c536b443ff", "score": "0.7247996", "text": "public void launchHelp() {\n if (OT.getHelpLauncher() != null) {\n OT.getHelpLauncher().launch();\n } else {\n URL url = ObservingToolUtilities.resourceURL(\"help/othelp.hs\",\n ...
255205c037bae8aa8d40cccd32d7c196
Returns the value of the 'Requires Index' attribute. If the meaning of the 'Requires Index' attribute isn't clear, there really should be more of a description here...
[ { "docid": "5364293df664fe4e2f43abab6417368c", "score": "0.70557916", "text": "boolean isRequiresIndex();", "title": "" } ]
[ { "docid": "7389e003f60b95403062123c5e4ed81a", "score": "0.6270116", "text": "public String getIndex() {\n return getString(\"index\");\n }", "title": "" }, { "docid": "83680a7ca71c276e67b1b42716407d38", "score": "0.6250474", "text": "public boolean isIndexed() {\n retur...
ede6d817a456184edfca91107e73f772
Check that the information in database and associated volume are consistent. In praticular, this method checks that The file exists That the actual file size matches information in database unless size in database is 0. That the last modification time matches that in the database. If the modification times differ the h...
[ { "docid": "0ed02ac54767f0ad4c7449938d0f87de", "score": "0.74557656", "text": "public boolean doConsistencyCheck() {\n boolean isConsistent = true;\n boolean needsHashCheck = false;\n ODMGXAWrapper txw = new ODMGXAWrapper();\n txw.lock(this, Transaction.WRITE);\n File ...
[ { "docid": "5e14cd1b49fd94872a5b5c35c779a5d2", "score": "0.61974335", "text": "private boolean hashIfNeeded(NimbusFile file) throws IOException {\n\t\t// Refresh the file - it may have changed\n\t\tfile = fileService.getFileByPath(file.getPath());\n\t\tif (!fileService.fileExistsOnDisk(file)) {\n\t\t\t/...
40c508a88e78d122e7f575292f6cc2db
get loadFromfile method code from the lab1 https:github.com/gimli001/lonelyTwitter/tree/w16Tuesday/app/src/main/java/ca/ualberta/cs/lonelytwitter
[ { "docid": "f6c18cf85285682cb3d48723fcb755fe", "score": "0.6116496", "text": "private void loadFromFile() {\n try {\n FileInputStream fis = openFileInput(FILENAME);\n BufferedReader in = new BufferedReader(new InputStreamReader(fis));\n Gson gson = new Gson();\n\n...
[ { "docid": "4cda8d67e65ae588b602457ff20c4388", "score": "0.74702966", "text": "private void loadFromFile() {\n }", "title": "" }, { "docid": "385ce74e03bc7e6bb871481a0c792ca3", "score": "0.7079308", "text": "FilePathPair load();", "title": "" }, { "docid": "7db3af73591...
3bc7e2fc7f194b1b5d9fbd9c8b61ece2
this is invoked for singletons only, so get the instance now.
[ { "docid": "87012d1dd2842eb663f01aa077b2449e", "score": "0.0", "text": "@Override\n public Boolean visit(ProviderBinding<?> binding) {\n return isSubtypeOf(injector.getInstance(binding.getProvidedKey()).getClass());\n }", "title": "" } ]
[ { "docid": "06f4e45097c95675101d91289d4b5269", "score": "0.7631619", "text": "public static Initial getInstance() {\n return instance;\n }", "title": "" }, { "docid": "6e02c6a87879fb9a1327b9b0e86a3048", "score": "0.7438417", "text": "public static Singleton getInstance() {\n\t\tr...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "3d581f8da4e634e0c085638e968bf6dd", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.71856296", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater mif= getMenuInflater();\n\t\tmif.inflate(R.menu.main_activity_action, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" ...
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": "787794e7fc0811466f97ae922a621717", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblTitulo = new javax.swing.JLabel();\n lblva...
[ { "docid": "5f8540ed063cf75672e07098d5395e1e", "score": "0.7699095", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n\n }", "title": "" }, { "docid": "f2a15d150dfd3ed84ee155b14e6cc757", "score": "0.7455488", "text": "public\n Form() {\n\n init...