query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
84cbb8ad23dfc5a5aef7424a511bd2fa
Send Message to Client
[ { "docid": "778e5f72d1777f89915257c907ca1c6f", "score": "0.74195004", "text": "private void sendMessage(String msg){\n\t\ttry{\n\t\t\toutput.writeObject(\"SERVER - \"+ msg);\n\t\t\toutput.flush();\n\t\t\tshowMessage(\"\\nSERVER - \" + msg);\n\t\t}catch(IOException io){\n\t\t\tchatWindow.append(\"\\n Err...
[ { "docid": "ae65cb0566c21aacf3623955a22b3fdb", "score": "0.7861993", "text": "private void sendMessageToClient(String aMessage) {\r\n\t\tmOut.println(aMessage);\r\n\t\tmOut.flush();\r\n\t}", "title": "" }, { "docid": "8eb7d465e0b9db106192a31729754092", "score": "0.78493243", "text": ...
d1ae101d88fe16e7dbb5480ad447b468
$ANTLR end "Becomes" $ANTLR start "Binding"
[ { "docid": "fa78303c7e16aad3578b28dbd7cff401", "score": "0.5913077", "text": "public final void mBinding() throws RecognitionException {\n try {\n int _type = Binding;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalAgreeLexer.g:94:9: ( ( 'B' | 'b' ) ( 'I' | ...
[ { "docid": "aa6697bcf93867adae3495ca2589dc56", "score": "0.64847016", "text": "public abstract Term bind(Term[] binding);", "title": "" }, { "docid": "969de13672d65ebe629e2a1f4fe964db", "score": "0.61696", "text": "public final void mBinding() throws RecognitionException {\n t...
e6672ddadc69eebb3aa674eeeb37f1d6
Method used to place the bet, each bet costs 10 coins deduction from wallet.
[ { "docid": "5bf07f0c18bd98171cbe373f5f6d20ac", "score": "0.59017813", "text": "public boolean placeBet(boolean freeGameHit) {\n if (freeGameHit) {\n return true;\n }\n return withdrawCoins() == 10;\n }", "title": "" } ]
[ { "docid": "50a462216eec75f25fbda749afd4a53b", "score": "0.71440923", "text": "public void placeBets(){\n System.out.println();\n System.out.println(\"Let's place your bet!\");\n System.out.println();\n for(Player player: players){\n player.placeBet(minBet, maxBet)...
7c4bb86bb1412fa062a91e764a04b1aa
Parses the commandline arguments
[ { "docid": "880d084b45a1c37999f43c6cd93cd8b2", "score": "0.6199044", "text": "private static void processArguments(String[] args) throws UnknownHostException {\n //\n // PROD indicates we should use the production network\n // TEST indicates we should use the test network\n /...
[ { "docid": "7f0bf94b91dca0d6933e42b4395ce2cd", "score": "0.73342115", "text": "public CommandArguments parse(String[] args) {\n ErrorSupport command = new ErrorSupport();\n command.checkLength(args);\n\n //parsing arguments\n CommandArguments arguments = new CommandArguments(...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "95eefc6d5d1fe96ba2e002480369b4de", "score": "0.0", "text": "@Override\n\tpublic void writeLog() {\n\t\tSystem.out.println(\"文件日志记录!!\");\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}", ...
719b36e207507a17481dec6f408def49
Function to store info on local storage
[ { "docid": "d19e80c7c48ca391d34d40994568ef3b", "score": "0.64545965", "text": "private void storeInfo(User user) {\n LocalStorage localStorage = null;\n if (getActivity() != null) localStorage = LocalStorage.getInstance(getActivity());\n\n if (localStorage == null) return;\n ...
[ { "docid": "e104adcbc21ea424b9ef63f08d6de377", "score": "0.694594", "text": "private void saveData() {\n int musicID = songsUtils.getCurrentMusicID();\n sharedPrefsUtils.writeSharedPrefs(\"audio_session_id\", getCurrentMediaPlayer().getAudioSessionId());\n try {\n sharedP...
a1560b2d4a81de934eaa1c10ee3cba2f
Created by root on 7/9/16.
[ { "docid": "62cbf148e8cf3f62ac2c2dd4251050a5", "score": "0.0", "text": "public interface IStaticDatabase {\n\n\n String TABLE_NAME = \"static_table\";\n String COLUMN_NAME_ID = \"id\";\n String COLUMN_NAME_NAME = \"name\";\n\n\n String SELECT_ALL = \" * \";\n String SELECT = \" SELECT \";...
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.64033103", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.5843851", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, ...
5d01d45b0109d9c80b29366ee9e72512
POST /foos : Create a new foo.
[ { "docid": "9edff280572a16de9cdd8caed117f667", "score": "0.74659026", "text": "@RequestMapping(value = \"/foos\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<FooDTO> createFoo(@RequestBody FooDTO foo) throws URISyntax...
[ { "docid": "950cc8a1052ea822dceb5b185614568e", "score": "0.64578825", "text": "@PostMapping(value=\"/\")\n\tpublic @ResponseBody String createFood(@RequestBody Food f) {\n\t\tSystem.out.println(\"In the create food method\");\n\t\tfDao.insert(f);\n\t\treturn \"Food created successfuly\";\n\t}", "tit...
547449db14913a1c3644ad28097da240
Checks whether an index is within bounds of current number of elements in ArrayList
[ { "docid": "2b034bdf871adf34cd658772095cd94c", "score": "0.6147377", "text": "private void withinBounds(int index) throws IndexOutOfBoundsException {\n\t\tif (index > numElements || index < 0) {\n\t\t\tthrow new IndexOutOfBoundsException();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "7801ad834fd87fd0dcbedb653f06344d", "score": "0.73606247", "text": "private boolean withInBounds(int index) {\r\n if ((index > size) || (index < 1)) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "9d1ef01c8808640a43c...
efbd14c386a5c203759227162f313112
Prints message on logger before each test
[ { "docid": "30b1ba93486d516f319cf3dea290626f", "score": "0.604778", "text": "@Override\n protected void starting(Description description) {\n LOG.info(String.format(\"Starting test: %s()...\",\n description.getMethodName()));\n }", "title": "" } ]
[ { "docid": "45d08dfe6d0e1b0cfebbd9378f7b7128", "score": "0.72842443", "text": "@Before(order = 1)\n public void alwaysTheFirst(){\n LOG.info(\"Your cat is watching you\");\n }", "title": "" }, { "docid": "c7e1b8b5bdf261d5023d25ae6be7c509", "score": "0.7033854", "text": "...
4e1c79c23296814acf740d49775b1cf8
Method to check if a bean is deployed on a node in a given cluster
[ { "docid": "ab45db5fdffb4b00fa89533a5eaa4b25", "score": "0.6783179", "text": "boolean isClusterMember(Object bean, String clusterName) {\n return clusterRegistry.isClusterMember(clusterName);\n }", "title": "" } ]
[ { "docid": "e32db057f7f4f962979c6f3f6593248e", "score": "0.6379484", "text": "boolean hasReplicas();", "title": "" }, { "docid": "a4eaad76788f6b5a9766c2936324bd8c", "score": "0.6081089", "text": "private boolean isClusterInUse(Cluster cluster) {\n List<Host> hosts =\n ...
df9a635142fd928e5204c1af9c1deb18
TODO known problem, try to fix later
[ { "docid": "86ad36210179167d569f0456bb63df8a", "score": "0.0", "text": "public void testGetterLazyEahcToString() throws IOException {\n doTest();\n }", "title": "" } ]
[ { "docid": "c8ceec30e6f3ebd2fb8cab39b477d3f3", "score": "0.5889942", "text": "private static void sapxep() {\n\t\t\n\t}", "title": "" }, { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.5860347", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title...
03a14f76234392d6b838c771b6ab308c
Find the total number of divisors of m, return true if it's greater than the total number of divisors of all composites smaller than m, false otherwise
[ { "docid": "4000c05b1625b6141b21252766c28f59", "score": "0.7038684", "text": "public static boolean isSuperCompo(int m){\n\t\tint NoD = findNumOfDivisor(m);\n\t\t//System.out.println(m);\n\t\tif ( NoD > maxNumDivisor){\n\t\t\tmaxNumDivisor = NoD;\n\t\t\tSystem.out.println(factorMap.get(m));\n\t\t\t//Sys...
[ { "docid": "4d6e5159349f7b611878c0e67c0c80ff", "score": "0.7076227", "text": "public static int findNumOfDivisor(int m){\n\t\tHashMap<Integer,Integer> h = new HashMap<Integer,Integer>();\n\t\th = primefactor(m,h);\n\t\tfactorMap.put(m, h);\n\t\tint numOfDivisor = 1;\n\t\tfor(Integer d: h.values()){\n\t\...
464db481c40636824e988895d9548a8b
wrap moveBlockTo but detect the destination based on the side hit
[ { "docid": "eb3ac5da989a4fc04c70e557c07d73cd", "score": "0.0", "text": "public static BlockPos pullBlock(World worldIn, EntityPlayer player, BlockPos pos, EnumFacing face) {\n BlockPos posTowardsPlayer = pos.offset(face);\n if (moveBlockTo(worldIn, player, pos, posTowardsPlayer)) {\n return p...
[ { "docid": "15cac7dd38cbf82f4a2ce86f5858a287", "score": "0.61843944", "text": "static void moveToTarget(MapLocation myLoc){\n Direction initDir = rc.getLocation().directionTo(target); //Direction chosen\n boolean hasMoved = false;\n for (int i = 0; i < MOVEMENT_GRANULARITY; i++){\n ...
68d381fc81363194dda16c480d562be9
/ JADX INFO: super call moved to the top of the method (can break code semantics)
[ { "docid": "301188cd8d0e87b95e082723e9d97aca", "score": "0.0", "text": "public a(SNSPreviewSelfieViewModel sNSPreviewSelfieViewModel, File file, Continuation continuation) {\n super(2, continuation);\n this.c = sNSPreviewSelfieViewModel;\n this.d = file;\n }", ...
[ { "docid": "c3bc7b82bc9ecd5015bdbe99b23a1ea2", "score": "0.7600753", "text": "public void method_484() {\r\n super();\r\n }", "title": "" }, { "docid": "cb77700a914077609e7c2b2f11116582", "score": "0.7415376", "text": "public void method_6349() {\r\n super.method_6349();\...
d516d01d8b607ee2c1f69db15ba90144
/System.setProperty("webdriver.chrome.driver", "/home/nagendra/Downloads/chromedriver"); WebDriver driver=new ChromeDriver(); driver.get(" + "siteid=203&co_partnerId=0&UsingSSL=1&rv4=1&ru=https%3A%2F%2F
[ { "docid": "8d6232d00688b9bc6b0c8691fb597fca", "score": "0.0", "text": "public static void main(String[] args) throws FileNotFoundException, IOException {\n\t\n\t\n MyXSSFReader reader=new MyXSSFReader(\"/src/com/example/config/DataSheet.xlsx\", \"Data\");\n \n Object[][] obj=reader.g...
[ { "docid": "98a8e4c895756033aa3797bfaaf95feb", "score": "0.74927443", "text": "public static void main(String[] args) {\n System.out.println(\"hello\");\n System.setProperty(\"webdriver.chrome.driver\", \"/D:/Driveri/chromedriver\");\n WebDriver obj = new ChromeDriver();\n obj.ge...
3c77b52f26e3f1f192b53e1e969505c9
Creates a warning message stating that the given element has content which might be nonCDATA HTML, which can cause problems for import.
[ { "docid": "5f78af372451cb6fa29aa938755b7dfb", "score": "0.742211", "text": "private String createHTMLWarningMsg(LineNumberElement element) {\n String msg = \"The element at line \" + element.getStartLine()\n + \" in \" + currentFile + \" has HTML content which may cause parsing pr...
[ { "docid": "bfac0ee395f18df74de18b4a6ed74d50", "score": "0.6493847", "text": "private void checkElement(LineNumberElement ele) {\n List<org.jdom.Content> contents = ((Element)ele).getContent();\n if ((contents.size() == 1) && (contents.get(0) instanceof org.jdom.CDATA)) {\n // C...
5e88cf3a976495961d4713784c7a921b
Indicates that this container should behave as a Property Owning container: It will change the ownership of any property added to it to it's owner, and will have the property broadcast propertyDeleted events.
[ { "docid": "c24da4d751387da3bfe298459ad252b4", "score": "0.6783564", "text": "@Override public boolean isPropertyOwner() {\n\t\treturn propertyOwningContainer;\n\t}", "title": "" } ]
[ { "docid": "12e9189b323fe1681530c51e14adf257", "score": "0.60382724", "text": "public interface PropertyContainer extends PropertyTarget, Releasable {\n\n\t/** Is the specified property supported by the container.\n\t * If the container is unconstrained this always returns true\n\t * \n\t * @param tag\n...
1fd344144df8eeff981683f24618f688
Return a String representation of this object.
[ { "docid": "863fca38adec1cea7254f87d33311023", "score": "0.0", "text": "@Override\n public String toString() {\n if (filterConfig == null) {\n return (\"AdminPageFilter()\");\n }\n StringBuffer sb = new StringBuffer(\"AdminPageFilter(\");\n sb.append(filterConfi...
[ { "docid": "3b777892b5074daea44482466c15ba82", "score": "0.8579889", "text": "@Override\n public String toString()\n {\n return TOSTRING_SERIALIZER.serialize(this);\n }", "title": "" }, { "docid": "ed5bfbdaea68447d17627fea6638736f", "score": "0.8403097", "text": "publ...
8a63e7b11b9820bb91afa179d4f1357d
Getters and Setters //
[ { "docid": "ced971ae9f8af01a44ff19adb339f1c9", "score": "0.0", "text": "public String getName() {\r\n return name;\r\n }", "title": "" } ]
[ { "docid": "0fdf77ce8a765329ac2f3b43e687113f", "score": "0.77713054", "text": "private void getter() {\n\n\t}", "title": "" }, { "docid": "0bdd7156418e07a48c2891d54f2fcc38", "score": "0.72398806", "text": "@Override\n\tpublic void get() {\n\t\t\n\t}", "title": "" }, { "do...
32d7829c972af99f561748403f2d1368
Returns the rating of a User
[ { "docid": "7763443a1f2280984a92e206ced52677", "score": "0.6439873", "text": "public int getRating() {\n\t\treturn rating;\n\t}", "title": "" } ]
[ { "docid": "6165e5e6f5d896c775675eb9f3b2d5bd", "score": "0.74418914", "text": "double getRating();", "title": "" }, { "docid": "189a43691ecf3650391f96d467d2a489", "score": "0.7161811", "text": "public int getUserRating(Long id)\r\n\t{\r\n\t\tint userRating = 0;\r\n\t\tfor (Rating r :...
5d179fa61396b37058f607c4320dccc9
Swaps the top two elements of the value stack.
[ { "docid": "6d24017a61abaee9ab58127a26751b70", "score": "0.0", "text": "public boolean swap() {\n check();\n context.getValueStack().swap();\n return true;\n }", "title": "" } ]
[ { "docid": "92c9202ae5c9b5d324a37507b575871d", "score": "0.7382179", "text": "public void swap() {\n\t\tint a = pop();\n\t\tint b = pop();\n\t\tpush(a);\n\t\tpush(b);\n\t}", "title": "" }, { "docid": "4483c649037286f64440eaedc806a64c", "score": "0.6907125", "text": "public void swap ...
602905c175c3f030abb0b04626941c5c
Fetching the download id received with the broadcast
[ { "docid": "ea1d72dcd76bc3f77142ee295e077843", "score": "0.7217534", "text": "@Override\n public void onReceive(Context context, Intent intent) {\n long id = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, -1);\n //Checking if the received broadcast is for our enqueue...
[ { "docid": "902b9148cbcd89c1d69fba0528183236", "score": "0.7135687", "text": "@Override\n public void onReceive(Context context, Intent intent) {\n long id = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, -1);\n //Checking if the received broadcast is for our enqueue...
761a7260ad0c9ddfdba49a0b4a40254d
Ensures that changing a label as stroke from tabbar works as expected (and also tests that the style is considered as custom).
[ { "docid": "884e3639ed1e9a3183605b245cc7c45a", "score": "0.49932867", "text": "public void testItalicFromToolbar() throws Exception {\n // Not available in fixed tabbar\n if (!TestsUtil.isDynamicTabbar()) {\n return;\n }\n\n SWTBotGefEditPart myEClassEP = selectAnd...
[ { "docid": "7c2554153b274240e08eaf8554daaeba", "score": "0.72264534", "text": "public void testChangeLabelColorFromTabbar() throws Exception {\n SWTBotGefEditPart selectedEditPart = selectAndCheckEditPart(\"myEClass\", AbstractDiagramListEditPart.class);\n final Predicate<SWTBotGefEditPart...
0ddc332e563c3bf7e64e73e0220fedc6
A list of the outtype aliases.
[ { "docid": "dc1a181a86b1e65ddf3ead1756e218e5", "score": "0.76437306", "text": "public List<EffectiveName> getOutAliases() {\n\t\t\n\t\tArrayList<EffectiveName> ns = new ArrayList();\n\t\taliases.stream().filter(a -> a.isOut()).forEachOrdered(a -> ns.add(a));\n\t\treturn Collections.unmodifiableList(ns);...
[ { "docid": "ecf58a5469b1182f6211b605012c0fa6", "score": "0.72221076", "text": "Set<String> getTypeAliases();", "title": "" }, { "docid": "71599bd256d6ce86452439a6865527de", "score": "0.6415209", "text": "public String[] getAliases()\t\t\t{ return aliases; }", "title": "" }, {...
eed316c9b25cd186b5383922510daf2f
Realiza el recalculo de la Boleta Recojo seleccionadas
[ { "docid": "15301c26fca333b47f869ed59aa0eee5", "score": "0.0", "text": "public void updateRecalcularBoletaRecojo(Map criteria, String[] ids);", "title": "" } ]
[ { "docid": "c0d0c1e583fe8dd0528bc764879eb527", "score": "0.680734", "text": "public lavanderia() {\r\n initComponents();\r\n cargarComboDepto();\r\n }", "title": "" }, { "docid": "df0a0c3119b5839183fb53a5de944e4a", "score": "0.6724036", "text": "private static void R...
f67eafd4bfb692f85798da4ea06a5093
Instantiates a new uid.
[ { "docid": "c91135b7e7abf7fc8f21e0512ce8fd53", "score": "0.5886587", "text": "public Uid(String type, String id) {\n\t\tthis.type = type;\n\t\tthis.id = id;\n\t}", "title": "" } ]
[ { "docid": "991ad09b7c2ac8a4333ccba08eb25712", "score": "0.6598316", "text": "public userID() {\n\n\t}", "title": "" }, { "docid": "be2575bd54ab75b6aa5c1a908841e70f", "score": "0.6362222", "text": "public String uid();", "title": "" }, { "docid": "30fa7bc5b95a13d8dd178e2b...
e08a91c1700942485faebf6c8626190c
Purpose: When button clicked, customer gets to view where he or she is able to book tickets for certain screenings
[ { "docid": "f41a98dfff74cc5a6b8f4d17d02c60f0", "score": "0.646302", "text": "public void BookTickets(ActionEvent event) {\n\t\ttry {\n\t\t\t((Node) event.getSource()).getScene().getWindow().hide();\n\t\t\tStage primaryStage = new Stage();\n\t\t\tFXMLLoader loader = new FXMLLoader();\n\t\t\tPane root = l...
[ { "docid": "4c45d32d7d85aeec7dd66be2b908f715", "score": "0.6927369", "text": "private void detail_buttonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_detail_buttonActionPerformed\n ViewTicketAuth.main(null);\n }", "title": "" }, { "docid": "85fe2dccb7ea6058730d...
9eb92914ec16de83d40493e74135f58f
This method handles the update of the file browser list in the activity
[ { "docid": "be0f3e9caaa04576dc239deed77328ea", "score": "0.82080984", "text": "private void updateListDisplay() {\r\n\t\tListView list = (ListView) findViewById(R.id.fileBrowserList);\r\n\t\tString[] itemsList = browser.listFiles();\r\n\t\tadapter = new ArrayAdapter<String>(this, android.R.layout.simple...
[ { "docid": "c55edb90818d2dad0c5c017bc1badfd0", "score": "0.7289384", "text": "private void setListEventHandlers(){\r\n\t\tfinal ListView list = (ListView) findViewById(R.id.fileBrowserList);\r\n\t\tlist.setOnItemClickListener(new OnItemClickListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void onItem...
25327a8a15ec0337925d7f1406fc4653
This method to update user record
[ { "docid": "9870d904c8be37ee316888df29841327", "score": "0.0", "text": "public void updateUser(User user) {\n SQLiteDatabase db = this.getWritableDatabase();\n\n ContentValues values = new ContentValues();\n values.put(COLUMN_USERNAME, user.getName());\n values.put(COLUMN_EMA...
[ { "docid": "f785c8e23f4c6ed36fb520d8e3bc8ac7", "score": "0.80368865", "text": "@Override\r\n\tpublic void updateUser() {\n\t\t\r\n\t}", "title": "" }, { "docid": "78092a0fdfd3f825aabc3a37bc67b64e", "score": "0.79460657", "text": "public void updateUser() {\n userDAO.updateUser...
5107edfcc41343107ea31f7922b18d98
Handles the HTTP GET method.
[ { "docid": "8181a1343d23944197b4659b7bd5ef1f", "score": "0.0", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
[ { "docid": "9278da4b1f80a19dddf98f4308e4eda2", "score": "0.7421125", "text": "@Override\n\tpublic void handleGET(CoapExchange exchange) {\n\t\texchange.respond(ResponseCode.VALID, \"Get resource \");\n\t\t_Logger.info(\"Get request:\" + super.getName());\n\t}", "title": "" }, { "docid": "c22...
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "43f873808b7d7ef0044a51cf85ef31ac", "score": "0.0", "text": "@Deprecated\n/* */ protected String getCommandName()\n/* */ {\n/* 164 */ return this.modelAttribute;\n/* */ }", "title": "" } ]
[ { "docid": "32e3ae2fc5e1c5a9b321c371f2a94424", "score": "0.5605747", "text": "@Override\n\tpublic String toString() {\n\t\treturn \" / \";\n\t}", "title": "" }, { "docid": "c2abac99adbb5cc23924536ed7ed5bb2", "score": "0.5445073", "text": "@Override\n\tpublic void divertir() {\n\t\t\n...
abb5b962b05ec767445577e15ff548db
simple check if this fruit link to previous fruit in the same row in any way
[ { "docid": "723fefb3299ed65e0262209e30d56824", "score": "0.0", "text": "private boolean checkDuplicate(Node root, int row, int col) {\n char checkFruit = root.box.get(row).charAt(col);\n if(checkFruit == '*') return false;\n // when the previous col is the same fruit\n if(col - 1 >= 0 && che...
[ { "docid": "d134cd84b6c295afdaa83488d4930b1a", "score": "0.7030926", "text": "public boolean hasPrevious();", "title": "" }, { "docid": "d134cd84b6c295afdaa83488d4930b1a", "score": "0.7030926", "text": "public boolean hasPrevious();", "title": "" }, { "docid": "a5cec78db0...
260aeae40b67a19904c247cf9a748f85
Setters for left and right nodes
[ { "docid": "cd69b375ae3348c3acc5021189b7d299", "score": "0.6388162", "text": "public void setLeft(TreapNode<K, V> node) {\n\t\t\tthis.left = node;\n\t\t}", "title": "" } ]
[ { "docid": "b651ed20d1315905325d731066ebbfab", "score": "0.7270981", "text": "public void setLeft(Node<T> left){\n this.left = left;\n }", "title": "" }, { "docid": "4bbf2b29e3483c772270c09847422b0d", "score": "0.7246054", "text": "public void setLeft(Node left) {\r\n ...
db14dff279aa6c424137005336968d4a
Find the _Fields constant that matches name, or null if its not found.
[ { "docid": "212f2fba0b82b3a410df02900a7b460a", "score": "0.0", "text": "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" } ]
[ { "docid": "2aedca74101f3519831ef106c8e1a7b6", "score": "0.7756459", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" }, { "docid": "2aedca74101f3519831ef106c8e1a7b6", "score": ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2413f16080845ddfe4df9ab422a38617", "score": "0.0", "text": "private void prepareCoinRacks() {\n\t\t\n\t}", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "87c926cc8789bfb2d517b6b653444e99", "score": "0.0", "text": "public void remove(T key) {\n\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}", ...
7f643216bc5a789759af2fd75b586eb2
Metodo que obtiene los datos de la interfaz grafica
[ { "docid": "d27492c2a7829e4bc7a3a161ae2b24c9", "score": "0.0", "text": "public JugadorDAO obtenerValores() {\n\n try {\n String user = fieldUsuario.getText();\n String clave = fieldContraseña.getText();\n JugadorDAO auxJugador = new JugadorDAO();\n juga...
[ { "docid": "c86bc079336be520e68c27ea87e1c159", "score": "0.6484087", "text": "@Override\r\n\tpublic void llenar_datos() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6ac412574c1e9af72cca04386f886df1", "score": "0.6365557", "text": "public Object [][] getDatos(){\n int registros = ...
a0a83c9f37406502f1ffcb08b207827c
Creates an empty TextString.
[ { "docid": "cf964756bf001f8300ba61bd4cb40fb9", "score": "0.6999263", "text": "public TextString() {\n this((BusinessObject) null);\n }", "title": "" } ]
[ { "docid": "a14a9740456917c4313d2090e4313be6", "score": "0.7335656", "text": "public static String createString() {\n\t\treturn \"\";\n\t\t\n\t}", "title": "" }, { "docid": "c04630a2fd815f192a0c98ab62bda2db", "score": "0.72827256", "text": "public TextComponent() {\n\t\tthis(\"\");\n...
2b80b22b08b0164676b5041996b0b5e5
runs preset code when new item is selected
[ { "docid": "64de9b1ef2459453cb609e5a4c9bf34c", "score": "0.0", "text": "void onSelected() {\n if(this.doThis != null) {\n this.doThis.onSelected(this);\n }\n }", "title": "" } ]
[ { "docid": "4297b9e10ca52cdc3472e83189818534", "score": "0.6720783", "text": "@Override\r\n\tpublic void selectedItem(Item item) {\n\t\t\r\n\t}", "title": "" }, { "docid": "d9403187555627f027a51b29a927b981", "score": "0.670367", "text": "public void trigger()\n {\n //add it...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "e009ae199188b0724bd8ab3895218237", "score": "0.0", "text": "@Override\r\n\t\t\tpublic void onTouchingLetterChanged(String s) {\n\t\t\t\tint position = contactAdapter.getPositionForSelection(s.charAt(0));\r\n\r\n\t\t\t\tif (position != -1) {\r\n\t\t\t\t\tcustomer_contact_list.setSelection(pos...
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
a2219ead520dcf897774af69aadfd168
Locate the named strategy implementation.
[ { "docid": "7444a2b53548d31085ce9645b2c5bfe6", "score": "0.7168914", "text": "public <T> Class<? extends T> selectStrategyImplementor(Class<T> strategy, String name);", "title": "" } ]
[ { "docid": "a4bee15b35a180f7416ee6352fce739d", "score": "0.657186", "text": "public <T> void registerStrategyImplementor(Class<T> strategy, String name, Class<? extends T> implementation);", "title": "" }, { "docid": "7cb0d5b257af54b7261a241c60437088", "score": "0.653613", "text": "p...
140f158dc4fdf69d703a6aa3d4d9b7ec
Validate that atribute knowns is not null and has no elements
[ { "docid": "5654548f27b01984455639a555104550", "score": "0.0", "text": "private boolean getNewMembers(Member element) {\n\t\treturn element.getKnowns() == null || element.getKnowns().size() == 0;\n\t}", "title": "" } ]
[ { "docid": "854681891f0c3ada28bd717d0b9a32f8", "score": "0.64065576", "text": "private void isEmptyFieldsRule() throws RuleException {\n\t\tif(bookwindow.getIsbnValue()== null || bookwindow.getTitleValue()==null || bookwindow.getPriceValue()==null ||\r\n\t\t\t\tbookwindow.getIsbnValue().isEmpty() || boo...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "ff6d744d71214284c65948187c6e6c8c", "score": "0.0", "text": "@Override\n\tpublic boolean isReady(CyNetwork network) {\n\t\treturn network != null;\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69752145", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.69362766", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}...
98c4deace597cbfe065f730ed4e40a54
creates an unordered, nonsplit color class
[ { "docid": "ae28519ba0ac615e67bf5e1ade5e5997", "score": "0.5719075", "text": "public ColorClass (String name, Interval interval) {\n this(name, interval, false);\n }", "title": "" } ]
[ { "docid": "d70a3e3de8ab247b0a7c36b68ff82fa8", "score": "0.66632956", "text": "private HepRepColor() {\n }", "title": "" }, { "docid": "8652fcb3ca4a510ae06658cb64139e8c", "score": "0.66053486", "text": "public ColorClass(String name, boolean ordered) {\n this (name, new Inte...
30f5617dfedc5648a5bfdfcc15244ad8
This method was generated by MyBatis Generator. This method sets the value of the database column ei_net_order.eino_consignee_ebsa_mobile
[ { "docid": "6ab266471c5d4755a40eb0a59cf68cb3", "score": "0.7911257", "text": "public void setEinoConsigneeEbsaMobile(String einoConsigneeEbsaMobile) {\r\n this.einoConsigneeEbsaMobile = einoConsigneeEbsaMobile;\r\n }", "title": "" } ]
[ { "docid": "4ef281f5e7e49d921232a0e770f4796b", "score": "0.6777502", "text": "public String getEinoConsigneeEbsaMobile() {\r\n return einoConsigneeEbsaMobile;\r\n }", "title": "" }, { "docid": "00ccf03eb82c46594946c53ebbf2d9b6", "score": "0.67759573", "text": "public void s...
04b33dc1655da471b5acf945eb3634eb
Created by v.suos on 2/7/2018.
[ { "docid": "65d04400396edfe530f272dff395da8c", "score": "0.0", "text": "@Dao\npublic interface HeroDao {\n\n @Query(\"SELECT * FROM hero\")\n Maybe<List<Hero>> getAll();\n\n @Query(\"SELECT COUNT(*) FROM hero\")\n long count();\n\n @Insert(onConflict = OnConflictStrategy.IGNORE)\n long...
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.58602375", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "ded15aaeb71ec68606fe2fb94e86fd30", "score": "0.5840939", "text": "@Override\n\tpublic void festlegen() {\n\t\t\n\t}", "title": "" ...
adf6d03dca6b491ba54f9645a7b86d41
Tests whether the correct count text for a single item is generated.
[ { "docid": "138eb2f8fb292b1513ea313158b38143", "score": "0.7106074", "text": "public void testGenerateCountTextSingle()\r\n {\r\n RemoveControllerDlg ctrl = new RemoveControllerDlg();\r\n assertEquals(\"Wrong text\", \"1 item\", ctrl.generateCountText(1));\r\n }", "title": "" }...
[ { "docid": "7ace6b96feab9eae67a66e2dc921f0c6", "score": "0.67909527", "text": "public String checkItemText(String str,int count){\n for(Item it: this.listItems()){\n if(!it.getTaken()){\n str = str+it.getName()+\"\\n\";\n }else{\n ...
5e29f68ba2680da29fa05f935fd905fe
/create a setter method to set the players score
[ { "docid": "1623797fa475da0d021051191d041afe", "score": "0.7634922", "text": "public void setScore(int scoreSet)\r\n {\r\n score = scoreSet;\r\n }", "title": "" } ]
[ { "docid": "c0feafb49e14be2c8943b15d7eac1782", "score": "0.8113304", "text": "void setPlayerScore(Label playerScore) {\n this.gamePlayerScore = playerScore;\n }", "title": "" }, { "docid": "f80d6c8a9f53b2ffe35e801edee118f1", "score": "0.79962605", "text": "public void SetSc...
19e9e2d333dc7f2357c5655748bfaf85
optional string site_group_id = 3;
[ { "docid": "0110f6d9fa3c99803f4fb2f898a83df5", "score": "0.6198754", "text": "public String getSiteGroupId() {\n return instance.getSiteGroupId();\n }", "title": "" } ]
[ { "docid": "a7e66416b3e25093c239c56925c35402", "score": "0.7501153", "text": "String getSiteGroupId();", "title": "" }, { "docid": "a7e66416b3e25093c239c56925c35402", "score": "0.7501153", "text": "String getSiteGroupId();", "title": "" }, { "docid": "a7e66416b3e25093c239...
076f2fdab5053bd7bb0bbd5f06128ac6
IMP > if headless then never displayed irrespctive of the vdbgui param Display the Report's contents in a simple GUI. JFrame with a JList holding objects in this reports > only Files and Charts Double clicking / right popup on an elemnt brings up the File/Chart in a viewer. For files, native viewers only > Acrobat, etc...
[ { "docid": "f58c5258c4837fb78154952599bbbd03", "score": "0.6892371", "text": "public void display() {\n\n if (SystemUtils.isHeadless()) {\n klog.info(\"Suppressing display reports as headless mode\");\n } else if (SystemUtils.isPropertyTrue(\"GSEA\")) {\n klog.info(\"...
[ { "docid": "7eb2461a0e4145a7d061d96bf057296c", "score": "0.6926087", "text": "public void displayReport() {\r\n\t\t\r\n\t\treport = new ReportFrame(program);\r\n\t\treport.setVisible(true);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6d11d2c9d518f24b0b75bd2457ffb652", "score": "0.6236844...
3a4d83757ba4a06fd31dedbf552159f9
Additional information regarding the ordinance status.
[ { "docid": "2aea453995514d402a86746dd9558216", "score": "0.0", "text": "@XmlElement(name=\"statusReason\")\n @JsonProperty(\"statusReasons\")\n // Do not include this annotation: @XmlQNameEnumRef(OrdinanceStatusReason.class) There is a bug in enunciate for Collection<URI/String>\n public List<URI> g...
[ { "docid": "63cc33c9685800022824c8516685f80e", "score": "0.68397635", "text": "public void getStatus() {\r\n\r\n\r\n // Mencetak output yang diharapkan.\r\n System.out.println(\"Status Doge:\");\r\n System.out.println(\"Energy = \" + this.energy);\r\n }", "title": "" }, {...
c7b809cc5bf75013118979d9ec5bab8a
Returns a measure of how "unsquare" the bounding box is.
[ { "docid": "dce5a3d9610cb2c624f79d425a9870b5", "score": "0.7545024", "text": "public double getUnsquareness() {\n\t\treturn Math.abs(1.0 - getAspectRatio());\n\t}", "title": "" } ]
[ { "docid": "78c2d3500d3a832d575f008b8a21ab97", "score": "0.6108097", "text": "@Override\r\n\tpublic double getWhiteSpaceArea() {\n\t\tdouble whiteSpaceArea = super.getAreaOfBoundingBox() - this.getAreaOf2DShape();\r\n\t\treturn whiteSpaceArea;\r\n\t}", "title": "" }, { "docid": "ff0ebc607bb1...
59117852ba67a32fd8c2f18aa1f00104
this is an unsued methof
[ { "docid": "7583716c04663627bf6211c6051d283d", "score": "0.0", "text": "@Generated(\"com.github.javaparser.generator.core.node.TypeCastingGenerator\")\n public void ifFieldDeclaration(Consumer<FieldDeclaration> action) {\n }", "title": "" } ]
[ { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.69667774", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }, { "docid": "b4d7f671f527efc3e048a88ada2fe816", "score": "0.69667774", "text": "@Override\n\tpublic void 말한다() {\n\t\t\n\t}", "title": "" }...
24a952792d535c8e847fb37e90b9b2e1
Leetcode 123: Best Time to Buy and Sell StockIII(only 2 transactions allowed)
[ { "docid": "6353b2e3e702eaccb74dc7328c8c7359", "score": "0.5601997", "text": "public int maxProfit(int[] prices) {\n \n if(prices.length==0)\n return 0;\n \n int Ti10= 0;\n int Ti11= -(int)1e9;\n \n int Ti20= 0;\n int Ti21= -(int)1e9;\n \n for(int price: pr...
[ { "docid": "c590812975c9a4a264c59ae8934848d7", "score": "0.71813893", "text": "public static int bestTimeToBuyAndSellStock(int[] stocks) {\n\n int profit = 0;\n for(int i = 0; i < stocks.length-1; i++){\n for(int j = i+1; j < stocks.length; j++){\n// prices.add(st...
6a31825d0efecf9d948667439aa0ce6a
The rectangle can have its width changed. Does not affect height. When applied, the center coordinate will not be affected.
[ { "docid": "19a7397a48e9b522b389e638ae976bd0", "score": "0.0", "text": "public void setWidth(int w) {\n rect.x = rect.x + rect.width / 2 - w / 2;\n rect.width = w;\n }", "title": "" } ]
[ { "docid": "ceb22ca4ff4880e8d83744af76ee3d96", "score": "0.71352535", "text": "Rectangle(double newWidth, double newHeight) {\n\t\twidth = newWidth;\n\t\theight = newHeight;\n\t}", "title": "" }, { "docid": "647bcaa0fd521bb69e8d549952501ce7", "score": "0.711123", "text": "public void...
b30bc94386d6f731fff48c802708c8dd
A URL of the input message type. optional string request_type_url = 2;
[ { "docid": "9995ab97cabc8f12aee523720c8d96bf", "score": "0.5823357", "text": "public com.google.protobuf.ByteString\n getRequestTypeUrlBytes() {\n return instance.getRequestTypeUrlBytes();\n }", "title": "" } ]
[ { "docid": "58daf21c75cc634f1dfcf67fc1f32e06", "score": "0.7069199", "text": "public java.lang.String getRequestTypeUrl() {\n return requestTypeUrl_;\n }", "title": "" }, { "docid": "a4b269bb692307794b44f393b7b7974a", "score": "0.7036235", "text": "private void setRequestTypeUrl(...
eda6dceaebcd364230b396b3edf1f478
Allows a component to set a message for itself
[ { "docid": "70450a09e067f81da4c9e440956a328f", "score": "0.65865433", "text": "public void setComponentMessage(String msg) {\n\t\tm_componentmsg = msg;\n\t}", "title": "" } ]
[ { "docid": "eef4a62b98ce7661dc3006d0e20df8a4", "score": "0.7542427", "text": "public void setMessage(String text);", "title": "" }, { "docid": "4b7c7803363bec930c299db592374e72", "score": "0.7526139", "text": "public void setMessage(String message);", "title": "" }, { "do...
12127095542257c7e90b52007fc9da60
Needed to convert from JSON in JAXRS to object
[ { "docid": "c6d51fc714c874b04ca9325843ddf5f2", "score": "0.0", "text": "public static Contact fromString(String jsonString) {\n ObjectMapper mapper = new ObjectMapper();\n Contact c = null;\n\n try {\n c = mapper.readValue(jsonString, Contact.class);\n } catch (IOE...
[ { "docid": "de306f93dfa9c830d4e9838ffa51be83", "score": "0.67752916", "text": "T fromJson(String json);", "title": "" }, { "docid": "8d6e4604741940cd8dccc7b760d1faf3", "score": "0.6730863", "text": "public T geObjectFromJSON(String objectAsJSON);", "title": "" }, { "docid...
470724edac29529e28a28cb868f4d3ee
TODO: implement your filtering here
[ { "docid": "488b410234a135190fa8ca67c0be4521", "score": "0.0", "text": "@Override\n\t\t\tpublic HttpResponse clientToProxyRequest(HttpObject httpObject) {\n\t\t\t\tSystem.out.println(\"clientToProxyRequest invoked\");\n\t\t\t\tSystem.out.println(httpObject.toString());\n\t\t\t\tif (httpObject instanceof...
[ { "docid": "7b67a34575cf61109deddc988c947646", "score": "0.6738076", "text": "@Override\n public int filterOrder() {\n return 1;\n }", "title": "" }, { "docid": "7b67a34575cf61109deddc988c947646", "score": "0.6738076", "text": "@Override\n public int filterOrder() {\n...
7eff493996e11be1156cf9a3db2a587b
$ANTLR end "rule__XTryCatchFinallyExpression__Group_3_0__0__Impl" $ANTLR start "rule__XTryCatchFinallyExpression__Group_3_0__1" ../org.eclipse.xtext.idea.example.entities.ui/srcgen/org/eclipse/xtext/idea/example/entities/ui/contentassist/antlr/internal/InternalEntities.g:15310:1: rule__XTryCatchFinallyExpression__Group...
[ { "docid": "f465bf2de69b31724ac7b56b59fed6fd", "score": "0.8072763", "text": "public final void rule__XTryCatchFinallyExpression__Group_3_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.idea.example.en...
[ { "docid": "9dc65f0abc92b76b5968b7bd542eca79", "score": "0.8073962", "text": "public final void rule__XTryCatchFinallyExpression__Group_3_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.idea.example....
3a64984e7f65748134d5e353ca067d4a
Creates a new instance of SourceInterestMapConverter
[ { "docid": "072a97625ff031405bb70c9e9e2bce43", "score": "0.8435155", "text": "public SourceInterestMapConverter() {\n\t\tentity = new SourceInterestMap();\n\t}", "title": "" } ]
[ { "docid": "47bbb387c478326734497b6232695bfc", "score": "0.5866561", "text": "public LocationsConverter() {\n }", "title": "" }, { "docid": "3e4ccf69f70b9ffc5399f23ce0b980bc", "score": "0.5733358", "text": "public SourceInterestMapConverter(SourceInterestMap entity, URI uri, int e...
e4a1c6f0170002a9d24b9eb2c40a97ea
Devuelve un string con todos los campos del filtro activos separados por comas para su representacion
[ { "docid": "9ac32549581aaad3c2a3a11e337e4bec", "score": "0.71865505", "text": "public String generateStringCamposFiltro(){\r\n\t\tString listCamposFiltro = super.generateStringCamposFiltro();\r\n\t\tif(getRegion() !=null && (getRegion().getId() != null || getRegion().getNombre() != null)){\r\n\t\t\tlist...
[ { "docid": "f81ecebc1b9b1cebdec3709d70ba9ec8", "score": "0.59645367", "text": "public String getSqlParameters() {\n String result = \"(\";\n for (String status : this.filter) {\n // append comma if not the first element\n if (this.filter.indexOf(status) > 0) {\n ...
7ecc147413ff5d5e7e774bd0a79bb68d
Any metadata attached to the method. repeated .google.protobuf.Option options = 6;
[ { "docid": "f53284430bf5dfbbfea3c863dfe9d1b7", "score": "0.53454757", "text": "public java.util.List<com.google.protobuf.Option> getOptionsList() {\n return java.util.Collections.unmodifiableList(\n instance.getOptionsList());\n }", "title": "" } ]
[ { "docid": "8601a09762cbd4cb69ef39e30db0535f", "score": "0.6308663", "text": "public interface CmdOptions {\n /*@Option(shortName = \"w\", longName = \"wait\", defaultValue = \"0\",\n description = \"Don't start publishing until \"\n + \"this many clients have connected\")\n ...
112fb941c56f8aa18c3fe4cac76f10e0
repeated .DRG3010Q12grdPalistInfo items = 1;
[ { "docid": "94c45f63784bb67e5a057d629dfb0993", "score": "0.5828437", "text": "public nta.med.service.ihis.proto.DrgsModelProto.DRG3010Q12grdPalistInfoOrBuilder getItemsOrBuilder(\n int index) {\n if (itemsBuilder_ == null) {\n return items_.get(index); } else {\n retur...
[ { "docid": "8a9dc73d6ed19d061277d1316216222d", "score": "0.68134975", "text": "nta.med.service.ihis.proto.DrgsModelProto.DRG3010Q12grdPalistInfo getItems(int index);", "title": "" }, { "docid": "b00bde1a3df0d7a40f08b9a6bdf896fd", "score": "0.6397263", "text": "java.util.List<nta.med....
8a172a275e04c67df92e17da9bfeb5fd
The port that the flow uses to send outbound requests to initiate connection with the sender.
[ { "docid": "6815b25a2309ba8fc02ef0beb99b2279", "score": "0.0", "text": "public void setSenderControlPort(Integer senderControlPort) {\n this.senderControlPort = senderControlPort;\n }", "title": "" } ]
[ { "docid": "a9d611a2591012bda3aa0892d064ca7f", "score": "0.764526", "text": "public int getPort() { return port; }", "title": "" }, { "docid": "6779cd8881aef8a8a770203478d3fa08", "score": "0.7530722", "text": "@Override\n public int getPort() {\n return PORT;\n }", "title": ...
5f992e9088d56ff73e4dc6b5ecde2b0e
intrusion sensors will use this function to pas along restores of TamperAlarms to the function of the space in turn the function will pas it to the global system
[ { "docid": "f6ad5e2ae000b7af33467da393b72eda", "score": "0.6097449", "text": "public void resetTamperAlarm(GenericSensor sensor)\n {\n checkInputs(sensor);\n if (tamperAlarm && !otherTamperAlarms())\n {\n tamperAlarm = false;\n intrusionSystem.resetTamperAlarm(this);\n ...
[ { "docid": "74a6bd50ec9f3add3a3c1bda3193ab5a", "score": "0.66923064", "text": "public void tamperingAlarm(GenericSensor sensor)\n {\n checkInputs(sensor);\n if (!tamperAlarm)\n {\n tamperAlarm = true;\n System.out.println(\"Tampering Alarm: \"+sensor.getSensorName()+\" v...
67e912e49319ce5ca83a09fc1c528717
/realiza a compra de um equipamento qualquer
[ { "docid": "276501ea9a28c0f106e84c27608bca04", "score": "0.6985955", "text": "public void comprarEquipamentos(String equipamento, double preco, int quantidade){\n //instancia os dados de um objeto\n Compra compra = new Compra(equipamento, preco);\n //faz o pagamento da compra\n ...
[ { "docid": "c26508cac67eaf988595834453d67ee5", "score": "0.6809082", "text": "public void compraEnMercado(Jugador jugadorActual, Equipamiento equipoElegido) throws JuegoException {\r\n // Establece el precio total del objeto incluyendo la Tasa del Mercader\r\n int precioTotal = equipoElegi...
15e01fc8a68e7fa0aea89a87c892522c
/ Set the width and height and initial values for the collision box. The only thing that will change
[ { "docid": "d0e74cfdcc01ef182b799d8ee17ad877", "score": "0.81690556", "text": "private void setUpCollisionBox()\n {\n \txLeftOffsetCollisionBox = width/COLLISION_WIDTH_DIV;\n \tcollisionBoxHeight = height - COLLISION_BOX_H_OFFSET;\n \n \tcollisionBox = new Rectangle(\n\t\t\t\t \t\txPos, \...
[ { "docid": "6b7196893d753ef614bde24eef700a20", "score": "0.7224806", "text": "public void colapse(){\n\t\tsetBounds(getX(), getY(), getDefaultWidth(), getHeight());\n\t\tcollisionBounds.setWidth(getDefaultWidth());\n\t}", "title": "" }, { "docid": "558b2b282bda759883411218f05aaf72", "sco...
2c5c4cbc34213589d391fd502ce9ffaf
Gets the posts that this user has posted
[ { "docid": "e5fa42a8a9a1ded886e28cf2e6433b2b", "score": "0.6940933", "text": "public ArrayList<Post> getPosts() {\r\n return posts;\r\n }", "title": "" } ]
[ { "docid": "555da7b54934578b530f45c20de1ec09", "score": "0.70992637", "text": "public void retrieveUserPosts() {\n final Post.Query postsQuery = new Post.Query();\n postsQuery.whereEqualTo(\"User\", ParseUser.getCurrentUser());\n\n postsQuery.addDescendingOrder(\"createdAt\");\n\n ...
029958003eb35a1fe68643e12ebc91d8
Creates new form SetRangeDialog for a single dataset
[ { "docid": "068657d341c5200faa5d52c121f257f9", "score": "0.7967832", "text": "public SetRangeDialog(MotifLabGUI gui, NumericDataset dataset) {\n super(gui.getFrame(), true);\n this.gui = gui;\n initComponents();\n setTitle(\"Set data range\");\n minTextField.setText(\"...
[ { "docid": "73b7fc46887f6ea31faa293edcda7ece", "score": "0.7558618", "text": "public SetRangeDialog(MotifLabGUI gui, NumericDataset[] datasets) {\n super(gui.getFrame(), true);\n this.gui = gui;\n initComponents();\n setTitle(\"Set data range\");\n double max = -Double...
cbcf39309285b65326f2d07b835514cf
Internal quicksort method that makes recursive calls. Uses medianofthree partitioning and a cutoff of 10.
[ { "docid": "310376b2eb858b2203024d21efd332b3", "score": "0.6039131", "text": "public static <AnyType extends Comparable<? super AnyType>>\n void quicksort4(AnyType[] a, int left, int right)\n {\n if( left + CUTOFF <= right )\n {\n AnyType pivot = medianElementPivot(a, left...
[ { "docid": "38e13617018f15e349c9218fbe0b7f52", "score": "0.7441914", "text": "private static void quickSort(int [] a, int left, int right)\n\t{\n\t\tif (left < right) // more remaining to sort?\n\t\t\t{\n\t // get median of 3\n int pivot = getPivot(a, left, right);\n ...
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": "2d3bb2317e95f225ecc81f473857ba56", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jScrollPane1 = new javax.swing.JScrollPane();\n ...
[ { "docid": "cd0b28bea46d143fe752578508c201dc", "score": "0.7728592", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n }", "title": "" }, { "docid": "e8b4768b3e3c4c6ca716dae9d0c39df9", "score": "0.749507", "text": "public RealEstatesForm() {\n initCompone...
f2d0de492a3572b1e134326c62127741
optional string key = 1;
[ { "docid": "1743079f210957b1efbbd4de1d7b8cd6", "score": "0.0", "text": "public java.lang.String getKey() {\n java.lang.Object ref = key_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n ...
[ { "docid": "a62a7cd807444a420ec2da608388ef53", "score": "0.7004464", "text": "private static String getKey(String key)\n {\n return key;\n }", "title": "" }, { "docid": "69f66e8d8cc60806bf8b85f455f06a2b", "score": "0.6771576", "text": "void setKey(String key);", "tit...
ffe51cdd911df0dd4f804eb587887658
Returns a tweet feed of the user specified by cookie
[ { "docid": "080f52e92ee150f11f60f6e5934b0a34", "score": "0.5572698", "text": "@GET\r\n\t@Path(\"tweets\")\r\n\t@Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })\r\n\tpublic Timeline getNewsFeed(@QueryParam(\"page\") @DefaultValue(\"1\") int page,\r\n\t\t\t@CookieParam(\"ITD_AuthToken\...
[ { "docid": "31a5bbbf0bc37f41077b1b4e16fa073b", "score": "0.67643476", "text": "public List<Tweet> getTweetsForUser(Long userId);", "title": "" }, { "docid": "b318cd22fe9bda2ea718f9fad932b7c9", "score": "0.59238917", "text": "public void getTweets(){\n\n\tfor (int i = 0; i < count; i ...
13314e289b814ca424609719f8196b08
Validate the fields and if the result is not null it tries to update based on the ID
[ { "docid": "db7fca79aee87f9da145c36037bda048", "score": "0.0", "text": "@FXML\r\n\t// CALLED WHEN UPDATE BUTTON IS CLICKED\r\n\t// Updates the informed Batch\r\n\tvoid updateBatch(ActionEvent event) {\n\t\tBatch updateBatch = validateFields(true);\r\n\t\tif (updateBatch != null) {\r\n\t\t\t// If the Upd...
[ { "docid": "7f352991df5f22f90705c8852b8f475c", "score": "0.61075604", "text": "void testUpdateById();", "title": "" }, { "docid": "8a5c07c39f2c5ddea6fe49bc3d34af9c", "score": "0.608288", "text": "@Override\n protected Response doUpdate(Long id, JSONObject data) {\n return n...
d114a8e5ebe91f0989e4ee733ca97b32
Can share space with a single robot.
[ { "docid": "6b08a20a79c023d8a03ba4b568617e7b", "score": "0.73743653", "text": "@Override\r\n\tpublic boolean shareSpace(Entity other) {\n\t\treturn other instanceof Robot;\r\n\t}", "title": "" } ]
[ { "docid": "79c783dc94fe6b394352059cc35f7d3e", "score": "0.6190087", "text": "void setSharing(Sharing sharing);", "title": "" }, { "docid": "151153b403ebb42e9b03f71483c56391", "score": "0.600575", "text": "public abstract void shareMaster();", "title": "" }, { "docid": "5...
42d55b7426e3597b81deb3733ff7e488
Deletes all the bulk processes associated to a report
[ { "docid": "de331f446528836319c70d0a4a924556", "score": "0.697211", "text": "public void deleteBulkByReport(ReportDefinition reportDefinition){\n //VIZIX-641, fix delete bulk registries\n\n\n\n BooleanBuilder be = new BooleanBuilder();\n be = be.and(QBackgroundProcessEntity.backgrou...
[ { "docid": "237ad36b7af8866966e5cf946dce29cf", "score": "0.7703884", "text": "private void deleteReportBulkProcessList(List<BackgroundProcessEntity> reportBulkProcessList){\n for(BackgroundProcessEntity backgroundProcess : reportBulkProcessList){\n BooleanBuilder beEntity = new Boolean...
7f7aed24e0b307da71c8cb64a7c0df8c
Gets program codes for family
[ { "docid": "0788b9247e54061878e4f494a33a622d", "score": "0.6853067", "text": "public StreamResult fetchProgramCodesForFamily() throws UnsupportedEncodingException {\r\n JSONObject root = new JSONObject();\r\n JSONArray arr = new JSONArray();\r\n root.put(DATA, arr);\r\n popul...
[ { "docid": "573e1fe9844651c260b0e2b98712c6e6", "score": "0.6459149", "text": "@Override\n public CodeList[] family() {\n return values();\n }", "title": "" }, { "docid": "24abe7d58087e290d73b2f9a0cc68f47", "score": "0.64509183", "text": "private static Map<Integer, Strin...
a0aa105f9599d874823e88eaebe5c7b6
// // // LED // // // SET LED
[ { "docid": "cb1a3dff9bfc173420096ae27ed7bc19", "score": "0.6725276", "text": "protected static final int setLed(Coreable core, LED_STATUS led_status){\r\n if( !hasDevice(core) || led_status == null) return -1;\r\n return FreenectLibrary.get().freenect_set_led(core.getDevice(), led_status.getValue(...
[ { "docid": "133f95a4049303db6ae573c96d564a06", "score": "0.7911557", "text": "void setLedStatus(LedStatus ledStatus);", "title": "" }, { "docid": "9fa9930dc74399437be5418331197ce6", "score": "0.7582092", "text": "public void setLED(boolean on) throws IOException {\r\n if (on) ...
e427adcb38e8b37b48bda0475b498efc
String sql="select count() from institution_training where institution_id=:insId ";
[ { "docid": "8195305e1a3ea0ff42223cc6479ca68a", "score": "0.66009974", "text": "@Override\r\n\tpublic int getTrainingCount(int insId, SearchInstitutionCondition condition) {\n\t\tMap<String,Object> param=new HashMap<String,Object>();\r\n\t\tparam.put(\"insId\", insId);\r\n\t\tparam.put(\"degree\", condit...
[ { "docid": "c658df16bb7a0b3193aa024cb073761d", "score": "0.723672", "text": "@Query(\"SELECT COUNT(*) FROM \" + IndexRomaji.TABLE_NAME)\n int count();", "title": "" }, { "docid": "00c529e5a0492cc36d82d6d965d7a895", "score": "0.7203028", "text": "int countByExample(IrpUserCovertGoo...
fefc01f190921f7e4efe51750d642085
Damage the cowl. Returns amount of excess damage
[ { "docid": "0765eed7fff325e1b23accd449d40c36", "score": "0.712661", "text": "public int damageCowl(int amount) {\n if (hasCowl()) {\n if (amount < cowlArmor) {\n cowlArmor -= amount;\n return 0;\n }\n amount -= cowlArmor;\n ...
[ { "docid": "84bceff1780579a8579f5ec7f7451468", "score": "0.7440673", "text": "@Override\n public int damage() {\n int newDamage=criticalStrike();\n return newDamage;\n }", "title": "" }, { "docid": "0a50b60c0a467417571efaa3edd6fe3c", "score": "0.7399584", "text": ...
da4d309c2e8a23f69d4206009969d51e
$ANTLR end "rule__Feature__Group__0__Impl" $ANTLR start "rule__Feature__Group__1" ../org.eclipse.papyrus.alf.ui/srcgen/org/eclipse/papyrus/alf/ui/contentassist/antlr/internal/InternalAlf.g:16662:1: rule__Feature__Group__1 : rule__Feature__Group__1__Impl ;
[ { "docid": "bad5622206affcb90e4fd13ffde5a1a2", "score": "0.7680815", "text": "public final void rule__Feature__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.eclipse.papyrus.alf.ui/src-gen/org/eclipse...
[ { "docid": "5f6c4a0b2dc242c849b05a145be170fb", "score": "0.74408674", "text": "public final void rule__Feature__Group__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.eclipse.papyrus.alf.ui/src-gen/org/eclips...
b1664a43e41c369704ee69360bdfb5ee
repeated .DRG0120U00GrdDrg0120ItemInfo list_info = 1;
[ { "docid": "ad21a2dacc1bbc5969b473574a17bd50", "score": "0.5929678", "text": "public java.util.List<? extends nta.med.service.ihis.proto.DrugModelProto.DRG0120U00GrdDrg0120ItemInfoOrBuilder> \n getListInfoOrBuilderList() {\n return listInfo_;\n }", "title": "" } ]
[ { "docid": "bb3b02ef3a171d50b7487c182a42246d", "score": "0.6581512", "text": "java.util.List<nta.med.service.ihis.proto.DrgsModelProto.DRG9001R02Lay9001Info> \n getLay9001ItemList();", "title": "" }, { "docid": "bb3b02ef3a171d50b7487c182a42246d", "score": "0.658104", "text": "...
a0ebb2b86104856be4a5724b13f22749
Returns the last element of the list, or zero if the list is empty.
[ { "docid": "bc152e73fa34ac1f90e245d015ed6fff", "score": "0.7457787", "text": "public final long last() {\n\t\treturn this.size > 0 ? this.values[this.size - 1] : 0L;\n\t}", "title": "" } ]
[ { "docid": "e8577871d28dc3b3cd8214ef659e401f", "score": "0.80199015", "text": "public int last(){\r\n\t\tint notThere = -1;\r\n\t\tif(count==0){\r\n\t\t\treturn notThere;\r\n\t\t}\r\n\t\telse{\r\n\t\t\treturn list[count-1];\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "87bf9636583200a29f16ef9...
49767b7152d2eadba6581bf94a4e2cef
Gifttaker g1=new Gifttaker(); g1.acceptGift(this);
[ { "docid": "605009bbb4e24e210dcaf47e4b8f6447", "score": "0.0", "text": "public void show()\r\n\t{\n\t\tSystem.out.println(length+\"\\n\"+bredth+\"\\n\"+height);\r\n\t}", "title": "" } ]
[ { "docid": "3d75055988307903f17f9aae66e7e652", "score": "0.6866526", "text": "public void sendBox() {\n\t\tGiftTaker gf = new GiftTaker();\n\t\tgf.acceptGift(this);\n\t}", "title": "" }, { "docid": "807a204d32fd94a3363cf3d93b5948f2", "score": "0.66428", "text": "public void give_gift...
d610c370f1c02052767230317a0c137c
This constructor creates the constraint instance.
[ { "docid": "2d80fa3095b9dba35e818d98d597cccb", "score": "0.5749236", "text": "public Constraint(Structure constraintStructure, Long ownerOMA,\r\n\t\t\tIpo influenceIpo, BlenderContext blenderContext) throws BlenderFileException {\r\n\t\tthis.blenderContext = blenderContext;\r\n\t\tthis.name = constraint...
[ { "docid": "7295334407973dfff3a7d6ace4ebd3a7", "score": "0.80465615", "text": "Constraint createConstraint();", "title": "" }, { "docid": "7295334407973dfff3a7d6ace4ebd3a7", "score": "0.80465615", "text": "Constraint createConstraint();", "title": "" }, { "docid": "729533...
5f590cbb583ca2c3e57e67efdafe9ef3
Created by plus on 14321.
[ { "docid": "70d415a22d3f3a9795b9b01fdc9e5a53", "score": "0.0", "text": "@Repository\npublic interface UserMapper {\n\n @Select(\"SELECT USER_ID AS USERID,NAME,EMAIL,PASSWORD,SEX FROM USER WHERE NAME = #{name}\")\n User getUser(String name);\n\n @Insert(\"INSERT INTO USER (USER_ID,NAME,EMAIL,PAS...
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6299451", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.62010175", "text": "public void mo3640e() {\n }", "title": "" }, { "docid...
ced9ed5f75573e5963bf80e56462d0b6
Make this return true when this Command no longer needs to run execute()
[ { "docid": "b15ab5b5dec6646fbde6cc3610cdbcbf", "score": "0.621065", "text": "protected boolean isFinished() {\r\n return false;\r\n }", "title": "" } ]
[ { "docid": "85596fd338399eb5eae9019df615bb49", "score": "0.764683", "text": "@Override\n\tpublic boolean Unexecute() \n\t{\n\t\treturn false;\n\t}", "title": "" }, { "docid": "731cd340842b79b78b00bf14bc04e049", "score": "0.7450012", "text": "@Override\r\n\t\t\tpublic boolean execute(...
ea56018637bfae98d9c08487cab3e33d
Called on OP_WRITE event
[ { "docid": "22f4151b8213ddda8a16b9e8d66e086e", "score": "0.0", "text": "public void canWrite() throws IOException;", "title": "" } ]
[ { "docid": "beda473da333fba59bf6c1a46686daf4", "score": "0.74030954", "text": "public void write(){\n }", "title": "" }, { "docid": "1b20f94f0dad48655ea309961dd0930a", "score": "0.73399806", "text": "@Override\n\tpublic void write() {\n\n\t}", "title": "" }, { "docid":...
da98e4b7b53a4d0101b58a9db2ed8b33
get the top of the stack
[ { "docid": "13a888aba76661fa954d4900dbe443cc", "score": "0.79893726", "text": "public int top() {\n //return -1 if stack is empty\n if (isEmpty()) {\n return -1;\n }\n return arrayStack[top];\n }", "title": "" } ]
[ { "docid": "539f80729bd56d68b41e23fc687b8aee", "score": "0.8461725", "text": "public E top(){\n\t\t\treturn Stack[top];\n\t\t}", "title": "" }, { "docid": "7a0ec722575169363aac6105d5d72f17", "score": "0.8381707", "text": "public int top() {\n return stack.peek();\n }", ...
1f45267df47430630f2c4e4e6abffc4d
Get all necessary parameters and prepare (resolve) the corresponding data (function) objects for reading valuePaths
[ { "docid": "e131c07f3d04f35921c8cb7a838f5d21", "score": "0.0", "text": "protected void evalUpdater(Range mainRange, EvalAccumulate lambda) {\n Object[] paramValues = new Object[this.paths.length]; // Will store valuePaths for all params\n Object result; // Will be written to output for eac...
[ { "docid": "0a4b37c4d2cf0999dfaabbe7b47f095b", "score": "0.5494294", "text": "@Override public List<List<Column>> getResolvedParamPaths() { return inputPaths; }", "title": "" }, { "docid": "0a4b37c4d2cf0999dfaabbe7b47f095b", "score": "0.5494294", "text": "@Override public List<List<C...
82edc7d6a1c0d98a5584efaa2e2c90cd
utility funcs:move to new position and print status
[ { "docid": "c5b2b83a5e6597062304428041323aaa", "score": "0.0", "text": "private void processLadder(int newPos){\r\n\t\tint topPos = Board.squares[newPos].getLadder().climb(newPos);\t\t\t\t\t\r\n\t\tSystem.out.print(\" -- LADDER --> \" + topPos);\r\n\t\tnewPos = topPos;\t\t\t\t\t\t\t\t\t\t\r\n\t}", "...
[ { "docid": "ab64a1fb762adb2f5ea74e298dbb5e2a", "score": "0.75466865", "text": "private void printPositionChange(){\n System.out.println(getName() + \" moved to \" + getPosition() + \".\");\n }", "title": "" }, { "docid": "23e71186817b1476d27d5dfe64d40bf7", "score": "0.6972553",...
e4a7debad07a60b72abb8f14c6136057
method called by DownloadReceiver when Notification is clicked
[ { "docid": "8bfbafa819560277565203b7fb9039b9", "score": "0.70306623", "text": "public static void onNotificationClicked(long downloadId, Context context) {\n String id = DownloadHelper.getStringId(downloadId, context);\n if(id != null) {\n onNotificationClicked(id, context);\n ...
[ { "docid": "8c5a4a0bc834e9654dc8da03ada53a77", "score": "0.7821426", "text": "private void sendNotification(Download download) {\n }", "title": "" }, { "docid": "bdfb4c80413a8cdf0a6b14c544885020", "score": "0.7092857", "text": "@Override\n public void onReceive(...
5137825f18d6d0788a5c434f3f1383a9
repeated .demo.Customer customer = 1;
[ { "docid": "4032f0bf6d8a793b368bfe0480954aec", "score": "0.0", "text": "public grpc.customerProto.CustomerProtos.Customer getCustomer(int index) {\n if (customerBuilder_ == null) {\n return customer_.get(index);\n } else {\n return customerBuilder_.getMessage(index);\n ...
[ { "docid": "c9e0abdd5fd8e65618ce31cbc987ba2b", "score": "0.5949998", "text": "void setCustomer(C customer);", "title": "" }, { "docid": "f9a461e9d308d2d116ccd96ba2c6d244", "score": "0.59110713", "text": "public static void addCustomer (Customer c){\n }", "title": "" }, { ...
bae44170176103750141ce77e97101a8
The architecture of the image. Constraints: Allowed Values: i386, x86_64
[ { "docid": "c403a70b4d7517779fd80a10151e64e3", "score": "0.591874", "text": "public void setArchitecture(String architecture) {\n this.architecture = architecture;\n }", "title": "" } ]
[ { "docid": "e3d35ce57feeace57f6d0010bae964da", "score": "0.7566446", "text": "public static String getPlatformArchitecture() {\r\n\t\treturn System.getProperty(\"os.arch\").contains(\"64\") ? \"x64\" : \"x86\";\r\n\t}", "title": "" }, { "docid": "92df887a32cc648825b8b998668cc3e8", "score...
04bcbd578daecc92ed45d24a8a38f96e
$ANTLR end "ruleMaximumFunction" $ANTLR start "entryRuleMinimumFunction" ../eu.artist.postmigration.nfrvt.lang.gml/srcgen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:3169:1: entryRuleMinimumFunction returns [EObject current=null] : iv_ruleMinimumFunction= ruleMinimumFunction EOF ;
[ { "docid": "f261b84f1798f924420a24c3b0084a85", "score": "0.7741099", "text": "public final EObject entryRuleMinimumFunction() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleMinimumFunction = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.pos...
[ { "docid": "5818d35dc9e22e87f7a5ce478996786d", "score": "0.6930633", "text": "public final EObject entryRuleMaximumFunction() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleMaximumFunction = null;\r\n\r\n\r\n try {\r\n // ../eu.artist.pos...
e32ac1dfb0360a7fccc63f7a6a7e5b08
requires all elements of a are nonnull, not empty, and sorted in nondecreasing order O(nkLogk) time where k is the of sorted arrays and n is the average length of the given arrays
[ { "docid": "691c951c3a02bd249ee433cab18b5a5c", "score": "0.0", "text": "public static int[] merge(int[][] a) {\n\t\tint totalSize = 0;\n\t\tQueue<HeapNode> firstElements = new PriorityQueue<HeapNode>();\n\t\tfor(int i = 0; i < a.length; i++) {\n\t\t\tfirstElements.add(new HeapNode(a[i][0], i, 0));\n\t\t...
[ { "docid": "430a30cd786a8425343ead9459ac9604", "score": "0.62399536", "text": "public static <T extends Comparable<? super T>> int naturalNp(T[] z){\n if (z == null) return 0;\n int N = z.length; if (N < 2) return 0;\n int[] passes = {0};\n @SuppressWarnings(\"unchecked\")\n T[] aux = (T[...
8b18be631ee55d83178226f64811091f
Metodo temporaneo per il test
[ { "docid": "e62602746e05463f6c3ca2bde27e4952", "score": "0.0", "text": "public Controllore controlloreCorrente() \r\n\t{\r\n\t\treturn k;\r\n\t}", "title": "" } ]
[ { "docid": "6e6c551cc00bbc1ce1c63aa9ce1dbe64", "score": "0.7571363", "text": "private void testthings() {\n\t}", "title": "" }, { "docid": "1ed33d36b97a19cd8ef2debec9d6d004", "score": "0.7136374", "text": "@Test\r\n\tpublic void testLeer() {\n\t\t\r\n\t}", "title": "" }, { ...
461100077ad7742dab6be1890394bb34
User chose not to enable Bluetooth.
[ { "docid": "11b4a70734ddce311e478cda566d9e6f", "score": "0.61960584", "text": "@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (requestCode == REQUEST_ENABLE_BT && resultCode == Activity.RESULT_CANCELED) {\n Toast.makeText(this, \"蓝牙不...
[ { "docid": "98b6f2795298d82e2a6b8ff546def38b", "score": "0.77174807", "text": "public void setupBluetooth(){\n btAdapter = BluetoothAdapter.getDefaultAdapter();\n if(btAdapter == null) {\n //Device doesn't support Bluetooth\n }\n if(!btAdapter.isEnabled()){\n ...